# bpf: Use raw_spinlock_t in ringbuf

CVE record · `CVE-2024-50138`

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

Published by the CVE Program (CNA: Linux) at 5 Nov 2024, 17:11 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: `457f44363a8894135c85b7a9afd2bd8196db24ab to before 5eb34999d118e69a20dc0c6556f315fcb0a1f8d3` (git)
  - affected: `457f44363a8894135c85b7a9afd2bd8196db24ab to before f9543375d9b150b2bcf16bb182e6b62309db0888` (git)
  - affected: `457f44363a8894135c85b7a9afd2bd8196db24ab to before ca30e682e5d6de44d12c4610767811c9a21d59ba` (git)
  - affected: `457f44363a8894135c85b7a9afd2bd8196db24ab to before 8b62645b09f870d70c7910e7550289d444239a46` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.8`
  - unaffected: `before 5.8` (semver)
  - unaffected: `6.1.115 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.84 to 6.6.*, inclusive` (semver)
  - unaffected: `6.11.6 to 6.11.*, inclusive` (semver)
  - unaffected: `6.12 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The BPF ring buffer in the Linux kernel is affected from version 5.8 until fixed. The source describes a "sleep in atomic" warning on PREEMPT_RT kernels when a tracepoint reserves ring buffer space, and gives few details on attacker access or impact. Upgrade to Linux kernel 6.1.115, 6.6.84, 6.11.6, or 6.12 or later, depending on your branch.

Written 16 Nov 2026.

## 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.0022, the 13th percentile, on 21 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 5 Nov 2024, 17:11 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2024-50138)
- 5 Nov 2024, 18:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2024-50138)

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/5eb34999d118e69a20dc0c6556f315fcb0a1f8d3>
- <https://git.kernel.org/stable/c/f9543375d9b150b2bcf16bb182e6b62309db0888>
- <https://git.kernel.org/stable/c/ca30e682e5d6de44d12c4610767811c9a21d59ba>
- <https://git.kernel.org/stable/c/8b62645b09f870d70c7910e7550289d444239a46>

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

---

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