CVE-2024-40934: HID: logitech-dj: Fix memory leak in logi_dj_recv_switch_to_dj_mode()

Published Jul 12, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

HID: logitech-dj: Fix memory leak in logidjrecvswitchtodjmode()

Fix a memory leak on logidjrecvsendreport() error path.

Affected Software

20 affected componentsFixes available
Linux Linux kernel>=5.4.257<5.4.279
Linux Linux kernel>=5.10.195<5.10.221
Linux Linux kernel>=5.15.132<5.15.162
Linux Linux kernel>=6.1.53<6.1.95
Linux Linux kernel>=6.6<6.6.35
Linux Linux kernel>=6.7<6.9.6
Linux Linux kernel=6.10-rc1
Linux Linux kernel=6.10-rc2
debian/linux<6.1.99-1
6.1.99-1
debian/linux<6.9.7-1
6.9.7-1
debian/linux<6.9.7-1
6.9.7-1
linux/kernel>=5.4.257<5.4.279
5.4.279
linux/kernel>=5.10.195<5.10.221
5.10.221
linux/kernel>=5.15.132<5.15.162
5.15.162
linux/kernel>=6.1.53<6.1.95
6.1.95
linux/kernel>=6.4.16<6.5
6.5
linux/kernel>=6.5.3<6.6
6.6
linux/kernel>=6.6.0<6.6.35
6.6.35
linux/kernel>=6.7.0<6.9.6
6.9.6
debian/linux
6.1.176-16.1.192-26.12.107-16.12.117-17.3.4-17.3.5-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.99-1
  2. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.9.7-1
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.4.279
  4. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.10.221
  5. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.15.162
  6. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.1.95
  7. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.5
  8. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.6
  9. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.6.35
  10. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.9.6
  11. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.176-1Fixed in 6.1.192-2Fixed in 6.12.107-1Fixed in 6.12.117-1Fixed in 7.3.4-1Fixed in 7.3.5-1

Event History

Jul 12, 2024
CVE Published
via MITRE·12:25 PM
Data Sourced
via MITRE·12:25 PM
Description
Data Sourced
via OSV·12:25 PM
DescriptionAffected Software
Data Sourced
via NVD·01:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Nov 2, 2026
Data Sourced
via OSV·12:02 PM
Severity

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2024-40934?

CVE-2024-40934 has a medium severity level due to a memory leak in the Linux kernel's HID subsystem.

2

How do I fix CVE-2024-40934?

To fix CVE-2024-40934, update to the patched versions of the Linux kernel, specifically those released after 5.4.279, 5.10.221, 5.15.162, 6.1.95, 6.6.35, 6.9.6, and 6.10-rc2.

3

Which versions of the Linux kernel are affected by CVE-2024-40934?

CVE-2024-40934 affects Linux kernel versions from 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.0 to 6.6.35, and 6.7.0 to 6.9.6.

4

What component is impacted by CVE-2024-40934?

CVE-2024-40934 impacts the HID: logitech-dj component of the Linux kernel.

5

Is there a workaround for CVE-2024-40934?

There are no known workarounds for CVE-2024-40934, and applying the appropriate kernel updates is the recommended solution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203