# bpf, sockmap: Fix panic when calling skb_linearize

CVE record · `CVE-2025-38165`

- **Identifiers:** `CVE-2025-38165`
- **State:** Confirmed
- **Severity:** CVSS 7.5 High
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 3 Jul 2025
- **Updated:** 5 Aug 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 3 Jul 2025, 08:36 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: `65ad600b9bde68d2d28709943ab00b51ca8f0a1d to before 4dba44333a11522df54b49aa1f2edfaf6ce35fc7` (git)
  - affected: `923877254f002ae87d441382bb1096d9e773d56d to before 9718ba6490732dbe70190d42c21deb1440834402` (git)
  - affected: `a454d84ee20baf7bd7be90721b9821f73c7d23d9 to before db1d15a26f21f97459508c42ae87cabe8d3afc3b` (git)
  - affected: `a454d84ee20baf7bd7be90721b9821f73c7d23d9 to before 3d25fa2d7f127348c818e1dab9e58534f7ac56cc` (git)
  - affected: `a454d84ee20baf7bd7be90721b9821f73c7d23d9 to before e9c1299d813fc04668042690f2c3cc76d013959a` (git)
  - affected: `a454d84ee20baf7bd7be90721b9821f73c7d23d9 to before 5ca2e29f6834c64c0e5a9ccf1278c21fb49b827e` (git)
  - affected: `e6b5e47adb9166e732cdf7e6e034946e3f89f36d` (git)
  - affected: `5.15.189 to before 5.15.190` (semver)
  - affected: `6.1.54 to before 6.1.142` (semver)
  - affected: `6.5.4 to before 6.6` (semver)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `6.6`
  - unaffected: `before 6.6` (semver)
  - unaffected: `5.15.190 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.142 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.94 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.34 to 6.12.*, inclusive` (semver)
  - unaffected: `6.15.3 to 6.15.*, inclusive` (semver)
  - unaffected: `6.16 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

- 7.5 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`, from CNA (Linux)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0036, the 30th percentile, on 20 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 3 Jul 2025. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/4dba44333a11522df54b49aa1f2edfaf6ce35fc7>
- <https://git.kernel.org/stable/c/9718ba6490732dbe70190d42c21deb1440834402>
- <https://git.kernel.org/stable/c/db1d15a26f21f97459508c42ae87cabe8d3afc3b>
- <https://git.kernel.org/stable/c/3d25fa2d7f127348c818e1dab9e58534f7ac56cc>
- <https://git.kernel.org/stable/c/e9c1299d813fc04668042690f2c3cc76d013959a>
- <https://git.kernel.org/stable/c/5ca2e29f6834c64c0e5a9ccf1278c21fb49b827e>

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

---

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