# CVE-2026-64025: bpf, skmsg: fix verdict sk\_data\_ready racing with ktls rx

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.54% (percentile 39, 2026-11-26)
- **CWE:** CWE-362
- **Published:** 2026-07-19T15:39:17.178Z
- **Modified:** 2026-10-30T13:19:28.260Z

## Who should check

- Anyone running Linux \>= ef5659280eb13e8ac31c296f58cfdfa1684ac06b, \< d698bdba0f9969a6e390d1b1a9a3e283f1f174a7; \>= ef5659280eb13e8ac31c296f58cfdfa1684ac06b, \< c9ea01768903ae47f210cd457af1dead6de7a9c3; \>= ef5659280eb13e8ac31c296f58cfdfa1684ac06b, \< 7c8cf21bc4efb4af18d6096db3f8bd06d622251c; \>= ef5659280eb13e8ac31c296f58cfdfa1684ac06b, \< 1861d369efd62d67796563bf3e01fc22e5626f8b; \>= ef5659280eb13e8ac31c296f58cfdfa1684ac06b, \< 8a52139560f833c3975032e1f5762611e3a36d71; \>= ef5659280eb13e8ac31c296f58cfdfa1684ac06b, \< ddf8029623a1af20e984c040e89ff918158397ab
- Anyone running Linux 5.10

## Description

In the Linux kernel, the following vulnerability has been resolved:

bpf, skmsg: fix verdict sk\_data\_ready racing with ktls rx

sk\_psock\_strp\_data\_ready() already checks tls\_sw\_has\_ctx\_rx() and
defers to psock-\>saved\_data\_ready when a TLS RX context is present,
avoiding a conflict with the TLS strparser's ownership of the receive
queue (commit e91de6afa81c, "bpf: Fix running sk\_skb program types
with ktls").

sk\_psock\_verdict\_data\_ready() has no equivalent guard.  When a socket
is inserted into a sockmap (BPF\_SK\_SKB\_VERDICT) before TLS RX is
configured, tls\_sw\_strparser\_arm() saves sk\_psock\_verdict\_data\_ready
as rx\_ctx-\>saved\_data\_ready.  On data arrival:

  tls\_data\_ready -\> tls\_strp\_data\_ready -\> tls\_rx\_msg\_ready
    -\> saved\_data\_ready() = sk\_psock\_verdict\_data\_ready()
      -\> tcp\_read\_skb() drains sk\_receive\_queue via \_\_skb\_unlink()
         without calling tcp\_eat\_skb(), so copied\_seq is not advanced.

tls\_strp\_msg\_load() then finds tcp\_inq() \>= full\_len (stale), calls
tcp\_recv\_skb() on the now-empty queue, hits WARN\_ON\_ONCE(!first), and
returns with rx\_ctx-\>strp.anchor.frag\_list pointing at a psock-owned
(potentially freed) skb.  tls\_decrypt\_sg() subsequently walks that
frag\_list: use-after-free.

Apply the same fix as sk\_psock\_strp\_data\_ready(): if a TLS RX context
is present, call psock-\>saved\_data\_ready (sock\_def\_readable) to wake
recv() waiters and return immediately, leaving the receive queue
untouched.  TLS retains sole ownership of the queue and decrypts the
record normally through tls\_sw\_recvmsg().

## Affected and fixed versions

- Linux: \>= ef5659280eb13e8ac31c296f58cfdfa1684ac06b, \< d698bdba0f9969a6e390d1b1a9a3e283f1f174a7; \>= ef5659280eb13e8ac31c296f58cfdfa1684ac06b, \< c9ea01768903ae47f210cd457af1dead6de7a9c3; \>= ef5659280eb13e8ac31c296f58cfdfa1684ac06b, \< 7c8cf21bc4efb4af18d6096db3f8bd06d622251c; \>= ef5659280eb13e8ac31c296f58cfdfa1684ac06b, \< 1861d369efd62d67796563bf3e01fc22e5626f8b; \>= ef5659280eb13e8ac31c296f58cfdfa1684ac06b, \< 8a52139560f833c3975032e1f5762611e3a36d71; \>= ef5659280eb13e8ac31c296f58cfdfa1684ac06b, \< ddf8029623a1af20e984c040e89ff918158397ab (cvelist)
- Linux: 5.10 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-64025. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-64025.md
Affected: Linux >= ef5659280eb13e8ac31c296f58cfdfa1684ac06b, < d698bdba0f9969a6e390d1b1a9a3e283f1f174a7; >= ef5659280eb13e8ac31c296f58cfdfa1684ac06b, < c9ea01768903ae47f210cd457af1dead6de7a9c3; >= ef5659280eb13e8ac31c296f58cfdfa1684ac06b, < 7c8cf21bc4efb4af18d6096db3f8bd06d622251c; >= ef5659280eb13e8ac31c296…
Fixed in: Linux 7c8cf21bc4efb4af18d6096db3f8bd06d622251c, Linux 1861d369efd62d67796563bf3e01fc22e5626f8b, Linux 8a52139560f833c3975032e1f5762611e3a36d71

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-64025 being exploited?

There is no confirmed exploitation: CVE-2026-64025 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.54% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-64025?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-64025?

Linux \>= ef5659280eb13e8ac31c296f58cfdfa1684ac06b, \< d698bdba0f9969a6e390d1b1a9a3e283f1f174a7; \>= ef5659280eb13e8ac31c296f58cfdfa1684ac06b, \< c9ea01768903ae47f210cd457af1dead6de7a9c3; \>= ef5659280eb13e8ac31c296f58cfdfa1684ac06b, \< 7c8cf21bc4efb4af18d6096db3f8bd06d622251c; \>= ef5659280eb13e8ac31c296f58cfdfa1684ac06b, \< 1861d369efd62d67796563bf3e01fc22e5626f8b; \>= ef5659280eb13e8ac31c296f58cfdfa1684ac06b, \< 8a52139560f833c3975032e1f5762611e3a36d71; \>= ef5659280eb13e8ac31c296f58cfdfa1684ac06b, \< ddf8029623a1af20e984c040e89ff918158397ab; Linux 5.10.

### Is there a fix for CVE-2026-64025?

Yes. Fixed in Linux 7c8cf21bc4efb4af18d6096db3f8bd06d622251c, Linux 1861d369efd62d67796563bf3e01fc22e5626f8b, Linux 8a52139560f833c3975032e1f5762611e3a36d71. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-64025?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/c9ea01768903ae47f210cd457af1dead6de7a9c3>
- patch: <https://git.kernel.org/stable/c/7c8cf21bc4efb4af18d6096db3f8bd06d622251c>
- patch: <https://git.kernel.org/stable/c/1861d369efd62d67796563bf3e01fc22e5626f8b>
- patch: <https://git.kernel.org/stable/c/8a52139560f833c3975032e1f5762611e3a36d71>
- patch: <https://git.kernel.org/stable/c/ddf8029623a1af20e984c040e89ff918158397ab>
- other: <https://git.kernel.org/stable/c/d698bdba0f9969a6e390d1b1a9a3e283f1f174a7>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-64025>

HTML: <https://flawdb.com/CVE-2026-64025> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-64025>
