# sockmap: Fix use-after-free in udp_bpf_recvmsg()

CVE record · `CVE-2026-74257`

- **Identifiers:** `CVE-2026-74257`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 15 Aug 2026
- **Updated:** 30 Oct 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 15 Aug 2026, 05:57 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: `9f2470fbc4cb4583c080bb729a998933ba61aca4 to before 6ea94949a5afe457647def276cd6958721481abd` (git)
  - affected: `9f2470fbc4cb4583c080bb729a998933ba61aca4 to before 6b59007d95aeef6619a72f5ea51f58752c47c198` (git)
  - affected: `9f2470fbc4cb4583c080bb729a998933ba61aca4 to before 05c29e7d42926170f0595c7188d60d8ecb665593` (git)
  - affected: `9f2470fbc4cb4583c080bb729a998933ba61aca4 to before 81567d2b3f4dc4fc32f8b61433738bce2cafd4a1` (git)
  - affected: `9f2470fbc4cb4583c080bb729a998933ba61aca4 to before 39d44ed6904bfa9a1c6d0538672dd50c7b85520e` (git)
  - affected: `9f2470fbc4cb4583c080bb729a998933ba61aca4 to before c010995b29c8939c6aa69e3cb26f8dbee163d156` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.14`
  - unaffected: `before 5.14` (semver)
  - unaffected: `6.1.191 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.160 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.114 to 6.12.*, inclusive` (semver)
  - unaffected: `6.18.40 to 6.18.*, inclusive` (semver)
  - unaffected: `7.1.5 to 7.1.*, inclusive` (semver)
  - unaffected: `7.2 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 is affected by a use-after-free in the sockmap UDP receive path (udp_bpf_recvmsg), starting from version 5.14 until fixed. The source gives few details on what an attacker can achieve beyond a crash or memory corruption. Upgrade to 6.1.191 or later in the 6.1 series, 6.6.160 or later in 6.6, 6.12.114 or later in 6.12, or 6.18.40 or later in 6.18.

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

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

- **CISA KEV:** Not listed.
- **EPSS:** 0.0013, the 2nd percentile, on 16 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 15 Aug 2026. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/6ea94949a5afe457647def276cd6958721481abd>
- <https://git.kernel.org/stable/c/6b59007d95aeef6619a72f5ea51f58752c47c198>
- <https://git.kernel.org/stable/c/05c29e7d42926170f0595c7188d60d8ecb665593>
- <https://git.kernel.org/stable/c/81567d2b3f4dc4fc32f8b61433738bce2cafd4a1>
- <https://git.kernel.org/stable/c/39d44ed6904bfa9a1c6d0538672dd50c7b85520e>
- <https://git.kernel.org/stable/c/c010995b29c8939c6aa69e3cb26f8dbee163d156>

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

---

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