CVE-2024-40934

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

No CVSS score yet EPSS 0.26%

Published 12 Jul 2024 Updated 15 Oct 2026 CNA: Linux

Check your servers for CVE-2024-40934

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-40934 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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

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

Fix a memory leak on logi_dj_recv_send_report() error path.

Exploitation

EPSS 0.26%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 18.8% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 10 Sep 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from cf48a7ba5c095f76bb9c1951f120fa048442422f, before 15122dc140d82c51c216535c57b044c4587aae45
affected from e38a6f12685d8a2189b72078f6254b069ff84650, before caa9c9acb93db7ad7b74b157cf101579bac9596d
affected from 4fb28379b3c735398b252a979c991b340baa6b5b, before a0503757947f2e46e59c1962326b53b3208c8213
affected from 6e59609541514d2ed3472f5bc999c55bdb6144ee, before 789c99a1d7d2c8f6096d75fc2930505840ec9ea0
affected from 6f20d3261265885f6a6be4cda49d7019728760e0, before f677ca8cfefee2a729ca315f660cd4868abdf8de
affected from 6f20d3261265885f6a6be4cda49d7019728760e0, before 1df2ead5dfad5f8f92467bd94889392d53100b98
affected from 6f20d3261265885f6a6be4cda49d7019728760e0, before ce3af2ee95170b7d9e15fff6e500d67deab1e7b3
affected 144becd79c196f02143ca71fc10766bd0cc660a1
affected 00ab92481d3a40a5ad323df4c518068f66ce49f1
affected from 5.4.257, before 5.4.279
affected from 5.10.195, before 5.10.221
affected from 5.15.132, before 5.15.162
affected from 6.1.53, before 6.1.95
affected from 6.4.16, before 6.5
affected from 6.5.3, before 6.6
Other versions: unaffected
Linux
affected 6.6
unaffected before 6.6
unaffected from 5.4.279 up to and including 5.4.*
unaffected from 5.10.221 up to and including 5.10.*
unaffected from 5.15.162 up to and including 5.15.*
unaffected from 6.1.95 up to and including 6.1.*
unaffected from 6.6.35 up to and including 6.6.*
unaffected from 6.9.6 up to and including 6.9.*
unaffected 6.10 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-40934 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-40934

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2024-40934
trivy image --scanners vuln IMAGE | grep CVE-2024-40934

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2024-40934 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.