# kprobes: Fix possible use-after-free issue on kprobe registration

CVE record · `CVE-2024-35955`

- **Identifiers:** `CVE-2024-35955`
- **State:** Confirmed
- **Severity:** CVSS 8.8 High
- **Critical:** No
- **CNA:** Linux
- **Weakness (CWE):** [CWE-416](https://cwe.mitre.org/data/definitions/416.html)
- **Tags:** [Memory corruption](https://agentprime.io/advisories/tag/memory-corruption.md)
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 20 May 2024
- **Updated:** 15 Oct 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 20 May 2024, 09:41 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: `1c836bad43f3e2ff71cc397a6e6ccb4e7bd116f8 to before b5808d40093403334d939e2c3c417144d12a6f33` (git)
  - affected: `6a119c1a584aa7a2c6216458f1f272bf1bc93a93 to before 93eb31e7c3399e326259f2caa17be1e821f5a412` (git)
  - affected: `2a49b025c36ae749cee7ccc4b7e456e02539cdc3 to before 5062d1f4f07facbdade0f402d9a04a788f52e26d` (git)
  - affected: `a1edb85e60fdab1e14db63ae8af8db3f0d798fb6 to before 2df2dd27066cdba8041e46a64362325626bdfb2e` (git)
  - affected: `28f6c37a2910f565b4f5960df52b2eccae28c891 to before 62029bc9ff2c17a4e3a2478d83418ec575413808` (git)
  - affected: `28f6c37a2910f565b4f5960df52b2eccae28c891 to before d15023fb407337028a654237d8968fefdcf87c2f` (git)
  - affected: `28f6c37a2910f565b4f5960df52b2eccae28c891 to before 36b57c7d2f8b7de224980f1a284432846ad71ca0` (git)
  - affected: `28f6c37a2910f565b4f5960df52b2eccae28c891 to before 325f3fb551f8cd672dbbfc4cf58b14f9ee3fc9e8` (git)
  - affected: `4262b6eb057d86c7829168c541654fe0d48fdac8` (git)
  - affected: `97e813e6a143edf4208e15c72199c495ed80cea5` (git)
  - affected: `16a544f1e013ba0660612f3fe35393b143b19a84` (git)
  - affected: `4.19.256 to before 4.19.313` (semver)
  - and 6 more
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `6.0`
  - unaffected: `before 6.0` (semver)
  - unaffected: `4.19.313 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.275 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.216 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.157 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.87 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.28 to 6.6.*, inclusive` (semver)
  - unaffected: `6.8.7 to 6.8.*, inclusive` (semver)
  - unaffected: `6.9 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

- 8.8 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from ADP (CISA-ADP)

- **CISA KEV:** Not listed.
- **EPSS:** 0.012, the 68th 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 20 May 2024. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/b5808d40093403334d939e2c3c417144d12a6f33>
- <https://git.kernel.org/stable/c/93eb31e7c3399e326259f2caa17be1e821f5a412>
- <https://git.kernel.org/stable/c/5062d1f4f07facbdade0f402d9a04a788f52e26d>
- <https://git.kernel.org/stable/c/2df2dd27066cdba8041e46a64362325626bdfb2e>
- <https://git.kernel.org/stable/c/62029bc9ff2c17a4e3a2478d83418ec575413808>
- <https://git.kernel.org/stable/c/d15023fb407337028a654237d8968fefdcf87c2f>
- <https://git.kernel.org/stable/c/36b57c7d2f8b7de224980f1a284432846ad71ca0>
- <https://git.kernel.org/stable/c/325f3fb551f8cd672dbbfc4cf58b14f9ee3fc9e8>

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-35955>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

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