# CVE-2026-72222: sunrpc: pin svc\_xprt across the asynchronous TLS handshake callback

> 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.67% (percentile 47, 2026-11-26)
- **Published:** 2026-08-15T05:54:15.277Z
- **Modified:** 2026-10-16T19:17:14.847Z

## Who should check

- Anyone running Linux \>= b3cbf98e2fdf3cb147a95161560cd25987284330, \< f3b55945dd99f29d83e1965d0141040a35262346; \>= b3cbf98e2fdf3cb147a95161560cd25987284330, \< 2d4f97d13fff91e0bc539216be88b884b544d49f; \>= b3cbf98e2fdf3cb147a95161560cd25987284330, \< 3f9ee75a97a769be258784c22b89657acb5ed9bd; \>= b3cbf98e2fdf3cb147a95161560cd25987284330, \< 083e9c2ec7e8bb13b79c9fd7b337abdd758ecc5f; \>= b3cbf98e2fdf3cb147a95161560cd25987284330, \< 4f988f3a2808fb659f3880c282041ff067acad78
- Anyone running Linux 6.4

## Description

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

sunrpc: pin svc\_xprt across the asynchronous TLS handshake callback

svc\_tcp\_handshake() stores the raw svc\_xprt pointer in
tls\_handshake\_args.ta\_data and submits the request through
tls\_server\_hello\_x509(). The handshake core takes only
sock\_hold(req-\>hr\_sk); nothing references the embedding struct
svc\_sock that svc\_tcp\_handshake\_done() reaches via container\_of().

Two close races leave the in-flight callback writing through a freed
svc\_sock. svc\_sock\_free() calls tls\_handshake\_cancel() and discards
its return value: a false return means handshake\_complete() has
already set HANDSHAKE\_F\_REQ\_COMPLETED but hp\_done() may not have
finished, yet svc\_sock\_free() proceeds to kfree(svsk). The
cancel-loser fall-through inside svc\_tcp\_handshake() itself produces
the same window: when wait\_for\_completion\_interruptible\_timeout()
returns \<= 0 (timeout or signal) and tls\_handshake\_cancel() returns
false, the function does not drain, returns, and svc\_handle\_xprt()
calls svc\_xprt\_received(), which clears XPT\_BUSY and can drop the
last reference. A concurrent close then runs svc\_sock\_free() while
svc\_tcp\_handshake\_done() is still updating xpt\_flags and walking
svsk-\>sk\_handshake\_done.

The corruption surfaces as set\_bit/clear\_bit RMW into the freed
xpt\_flags slab slot and as complete\_all() walking and writing the
freed wait\_queue\_head\_t list embedded in sk\_handshake\_done -- a
slab-corruption primitive, not a benign read. The path is reachable
on any TLS-enabled NFS server whenever a connection close overlaps
the tlshd downcall delivery window; the interruptible wait means
signal delivery suffices, not just SVC\_HANDSHAKE\_TO expiry.

Take svc\_xprt\_get(xprt) immediately before tls\_server\_hello\_x509()
so the in-flight callback owns its own reference. Release it on the
two edges where the callback is guaranteed not to fire -- submission
failure from tls\_server\_hello\_x509() and a successful
tls\_handshake\_cancel() -- and at the tail of
svc\_tcp\_handshake\_done() after complete\_all().

\[cel: rewrote commit message to describe the actual change\]

## Affected and fixed versions

- Linux: \>= b3cbf98e2fdf3cb147a95161560cd25987284330, \< f3b55945dd99f29d83e1965d0141040a35262346; \>= b3cbf98e2fdf3cb147a95161560cd25987284330, \< 2d4f97d13fff91e0bc539216be88b884b544d49f; \>= b3cbf98e2fdf3cb147a95161560cd25987284330, \< 3f9ee75a97a769be258784c22b89657acb5ed9bd; \>= b3cbf98e2fdf3cb147a95161560cd25987284330, \< 083e9c2ec7e8bb13b79c9fd7b337abdd758ecc5f; \>= b3cbf98e2fdf3cb147a95161560cd25987284330, \< 4f988f3a2808fb659f3880c282041ff067acad78 (cvelist)
- Linux: 6.4 (cvelist)

## Mitigation

- Upgrade Linux to 4f988f3a2808fb659f3880c282041ff067acad78 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-72222.md
Affected: Linux >= b3cbf98e2fdf3cb147a95161560cd25987284330, < f3b55945dd99f29d83e1965d0141040a35262346; >= b3cbf98e2fdf3cb147a95161560cd25987284330, < 2d4f97d13fff91e0bc539216be88b884b544d49f; >= b3cbf98e2fdf3cb147a95161560cd25987284330, < 3f9ee75a97a769be258784c22b89657acb5ed9bd; >= b3cbf98e2fdf3cb147a9516…
Fixed in: Linux 2d4f97d13fff91e0bc539216be88b884b544d49f, Linux 3f9ee75a97a769be258784c22b89657acb5ed9bd, Linux 083e9c2ec7e8bb13b79c9fd7b337abdd758ecc5f, Linux 4f988f3a2808fb659f3880c282041ff067acad78

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-72222 being exploited?

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

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

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

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

Linux \>= b3cbf98e2fdf3cb147a95161560cd25987284330, \< f3b55945dd99f29d83e1965d0141040a35262346; \>= b3cbf98e2fdf3cb147a95161560cd25987284330, \< 2d4f97d13fff91e0bc539216be88b884b544d49f; \>= b3cbf98e2fdf3cb147a95161560cd25987284330, \< 3f9ee75a97a769be258784c22b89657acb5ed9bd; \>= b3cbf98e2fdf3cb147a95161560cd25987284330, \< 083e9c2ec7e8bb13b79c9fd7b337abdd758ecc5f; \>= b3cbf98e2fdf3cb147a95161560cd25987284330, \< 4f988f3a2808fb659f3880c282041ff067acad78; Linux 6.4.

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

Yes. Fixed in Linux 2d4f97d13fff91e0bc539216be88b884b544d49f, Linux 3f9ee75a97a769be258784c22b89657acb5ed9bd, Linux 083e9c2ec7e8bb13b79c9fd7b337abdd758ecc5f, Linux 4f988f3a2808fb659f3880c282041ff067acad78. Upgrade Linux to 4f988f3a2808fb659f3880c282041ff067acad78 or later.

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

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

- other: <https://git.kernel.org/stable/c/f3b55945dd99f29d83e1965d0141040a35262346>
- other: <https://git.kernel.org/stable/c/2d4f97d13fff91e0bc539216be88b884b544d49f>
- other: <https://git.kernel.org/stable/c/3f9ee75a97a769be258784c22b89657acb5ed9bd>
- other: <https://git.kernel.org/stable/c/083e9c2ec7e8bb13b79c9fd7b337abdd758ecc5f>
- other: <https://git.kernel.org/stable/c/4f988f3a2808fb659f3880c282041ff067acad78>

## 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-72222>

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