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

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2024-07-12T12:25:11.836Z
- Modified: 2026-10-15T01:18:37.483Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from cf48a7ba5c095f76bb9c1951f120fa048442422f before 15122dc140d82c51c216535c57b044c4587aae45; from e38a6f12685d8a2189b72078f6254b069ff84650 before caa9c9acb93db7ad7b74b157cf101579bac9596d; from 4fb28379b3c735398b252a979c991b340baa6b5b before a0503757947f2e46e59c1962326b53b3208c8213; from 6e59609541514d2ed3472f5bc999c55bdb6144ee before 789c99a1d7d2c8f6096d75fc2930505840ec9ea0; from 6f20d3261265885f6a6be4cda49d7019728760e0 before f677ca8cfefee2a729ca315f660cd4868abdf8de; from 6f20d3261265885f6a6be4cda49d7019728760e0 before 1df2ead5dfad5f8f92467bd94889392d53100b98; from 6f20d3261265885f6a6be4cda49d7019728760e0 before ce3af2ee95170b7d9e15fff6e500d67deab1e7b3; 144becd79c196f02143ca71fc10766bd0cc660a1; 00ab92481d3a40a5ad323df4c518068f66ce49f1; from 5.4.257 before 5.4.279; from 5.10.195 before 5.10.221; from 5.15.132 before 5.15.162; and 4 more (not affected: before 6.6; from 5.4.279 up to 5.4.*; from 5.10.221 up to 5.10.*; from 5.15.162 up to 5.15.*; from 6.1.95 up to 6.1.*; from 6.6.35 up to 6.6.*; from 6.9.6 up to 6.9.*; from 6.10 up to *)
- linux linux_kernel: from 5.4.257 before 5.4.279; from 5.10.195 before 5.10.221; from 5.15.132 before 5.15.162; from 6.1.53 before 6.1.95; from 6.6 before 6.6.35; from 6.7 before 6.9.6; 6.10

## References

- <https://git.kernel.org/stable/c/15122dc140d82c51c216535c57b044c4587aae45> (patch)
- <https://git.kernel.org/stable/c/caa9c9acb93db7ad7b74b157cf101579bac9596d> (patch)
- <https://git.kernel.org/stable/c/a0503757947f2e46e59c1962326b53b3208c8213> (patch)
- <https://git.kernel.org/stable/c/789c99a1d7d2c8f6096d75fc2930505840ec9ea0> (patch)
- <https://git.kernel.org/stable/c/f677ca8cfefee2a729ca315f660cd4868abdf8de> (patch)
- <https://git.kernel.org/stable/c/1df2ead5dfad5f8f92467bd94889392d53100b98> (patch)
- <https://git.kernel.org/stable/c/ce3af2ee95170b7d9e15fff6e500d67deab1e7b3> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-355557.html>

## Sources

- CVE List: [CVE-2024-40934](https://www.cve.org/CVERecord?id=CVE-2024-40934), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2024-40934](https://nvd.nist.gov/vuln/detail/CVE-2024-40934), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2024-40934 · Whole record: https://cve.day/CVE-2024-40934.json · Rebuilt by cve.day 2026-11-25T22:58:42.847Z
