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

CVE record · `CVE-2024-40934`

- **Identifiers:** `CVE-2024-40934`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 12 Jul 2024
- **Updated:** 15 Oct 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 12 Jul 2024, 12:25 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `cf48a7ba5c095f76bb9c1951f120fa048442422f to before 15122dc140d82c51c216535c57b044c4587aae45` (git)
  - affected: `e38a6f12685d8a2189b72078f6254b069ff84650 to before caa9c9acb93db7ad7b74b157cf101579bac9596d` (git)
  - affected: `4fb28379b3c735398b252a979c991b340baa6b5b to before a0503757947f2e46e59c1962326b53b3208c8213` (git)
  - affected: `6e59609541514d2ed3472f5bc999c55bdb6144ee to before 789c99a1d7d2c8f6096d75fc2930505840ec9ea0` (git)
  - affected: `6f20d3261265885f6a6be4cda49d7019728760e0 to before f677ca8cfefee2a729ca315f660cd4868abdf8de` (git)
  - affected: `6f20d3261265885f6a6be4cda49d7019728760e0 to before 1df2ead5dfad5f8f92467bd94889392d53100b98` (git)
  - affected: `6f20d3261265885f6a6be4cda49d7019728760e0 to before ce3af2ee95170b7d9e15fff6e500d67deab1e7b3` (git)
  - affected: `144becd79c196f02143ca71fc10766bd0cc660a1` (git)
  - affected: `00ab92481d3a40a5ad323df4c518068f66ce49f1` (git)
  - affected: `5.4.257 to before 5.4.279` (semver)
  - affected: `5.10.195 to before 5.10.221` (semver)
  - affected: `5.15.132 to before 5.15.162` (semver)
  - and 3 more
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `6.6`
  - unaffected: `before 6.6` (semver)
  - unaffected: `5.4.279 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.221 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.162 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.95 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.35 to 6.6.*, inclusive` (semver)
  - unaffected: `6.9.6 to 6.9.*, inclusive` (semver)
  - unaffected: `6.10 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0026, the 17th percentile, on 21 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 12 Jul 2024. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2024-40934](https://www.cve.org/CVERecord?id=CVE-2024-40934)
- [NVD: CVE-2024-40934](https://nvd.nist.gov/vuln/detail/CVE-2024-40934)

### References from the CNA

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

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2024-40934>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2024-40934/>. Everything for agents: <https://agentprime.io/llms.txt>.
