Junglewise Threat Intelligence

CVE-2024-40934: Linux Kernel memory leak in Logitech-DJ HID driver

CVE-2024-40934 · Severity: medium · CVSS 5.5 · Published 2024-07-12

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability was identified in the Linux kernel's Logitech input device driver. This flaw could allow a local user to cause a memory leak, which over time may lead to system instability or a crash (denial of service). The issue specifically affects systems using Logitech Unifying receivers or similar HID devices.

Technical details

A memory leak exists in the logitech-dj HID driver, specifically within the logi_dj_recv_switch_to_dj_mode() function. The vulnerability is triggered when logi_dj_recv_send_report() encounters an error; the allocated 'dj_report' memory is not freed on the error exit path. A local attacker with low privileges could potentially exploit this to exhaust system memory, leading to a denial of service. The issue has been resolved by adding a kfree(dj_report) call in the error handling block.

Affected products

  • Linux Linux Kernel 5.4.257 to 5.4.279, 5.10.195 to 5.10.221, 5.15.132 to 5.15.162, 6.1.53 to 6.1.95, 6.6 to 6.6.35, 6.7 to 6.9.6

Timeline

  • 2024-05-24: other: Vulnerability fixed in source code
  • 2024-07-12: disclosed: CVE published
  • 2024-07-12: advisory

References

Related threats