# bpf: Reject narrower access to pointer ctx fields

CVE record · `CVE-2025-38591`

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

Published by the CVE Program (CNA: Linux) at 19 Aug 2025, 17:03 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: `f96da09473b52c09125cc9bf7d7d4576ae8229e0 to before 7847c4140e06f6e87229faae22cc38525334c156` (git)
  - affected: `f96da09473b52c09125cc9bf7d7d4576ae8229e0 to before feae34c992eb7191862fb1594c704fbbf650fef8` (git)
  - affected: `f96da09473b52c09125cc9bf7d7d4576ae8229e0 to before 33660d44e789edb4f303210c813fc56d56377a90` (git)
  - affected: `f96da09473b52c09125cc9bf7d7d4576ae8229e0 to before e2e9599f3503df7cf3569d2b6c50d5488fb59435` (git)
  - affected: `f96da09473b52c09125cc9bf7d7d4576ae8229e0 to before 058a0da4f6d916a79b693384111bb80a90d73763` (git)
  - affected: `f96da09473b52c09125cc9bf7d7d4576ae8229e0 to before 202900ceeef67458c964c2af6e1427c8e533ea7c` (git)
  - affected: `f96da09473b52c09125cc9bf7d7d4576ae8229e0 to before e09299225d5ba3916c91ef70565f7d2187e4cca0` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.13`
  - unaffected: `before 4.13` (semver)
  - unaffected: `5.10.249 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.199 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.162 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.157 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.67 to 6.12.*, inclusive` (semver)
  - unaffected: `6.16.1 to 6.16.*, inclusive` (semver)
  - unaffected: `6.17 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 Linux kernel BPF verifier is affected from version 4.13 until fixed. A user who can load a BPF program can trigger a kernel warning by making a narrower-than-expected read of a pointer field in a context structure. Upgrade to 5.10.249, 5.15.199, 6.1.162, 6.6.157, or a later version in those series.

Written 19 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.0024, the 15th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 19 Aug 2025, 17:03 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2025-38591)
- 19 Aug 2025, 17:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-38591)

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/7847c4140e06f6e87229faae22cc38525334c156>
- <https://git.kernel.org/stable/c/feae34c992eb7191862fb1594c704fbbf650fef8>
- <https://git.kernel.org/stable/c/33660d44e789edb4f303210c813fc56d56377a90>
- <https://git.kernel.org/stable/c/e2e9599f3503df7cf3569d2b6c50d5488fb59435>
- <https://git.kernel.org/stable/c/058a0da4f6d916a79b693384111bb80a90d73763>
- <https://git.kernel.org/stable/c/202900ceeef67458c964c2af6e1427c8e533ea7c>
- <https://git.kernel.org/stable/c/e09299225d5ba3916c91ef70565f7d2187e4cca0>

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

---

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