CVE-2026-72222
sunrpc: pin svc_xprt across the asynchronous TLS handshake callback
Reported by linux · Published August 15, 2026
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]
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-zfcpdump-modules | errata.rockylinux.org | 0:6.12.0-211.74.1.el10_2.s390x |
| kernel-debug-modules-extra | errata.rockylinux.org | 0:6.12.0-211.74.1.el10_2.aarch64, 0:5.14.0-687.66.1.el9_8.x86_64, 0:5.14.0-687.66.1.el9_8.ppc64le |
| kernel-modules-core | errata.rockylinux.org | 0:6.12.0-211.74.1.el10_2.x86_64, 0:6.12.0-211.74.1.el10_2.ppc64le, 0:5.14.0-687.66.1.el9_8.s390x, 0:5.14.0-687.66.1.el9_8.ppc64le |
| kernel-debuginfo | errata.rockylinux.org | 0:6.12.0-211.74.1.el10_2.s390x, 0:6.12.0-211.74.1.el10_2.ppc64le, 0:6.12.0-211.74.1.el10_2.aarch64, 0:5.14.0-687.66.1.el9_8.ppc64le |
| kernel | errata.rockylinux.org | 0:6.12.0-211.74.1.el10_2.src, 0:6.12.0-211.74.1.el10_2.aarch64, 0:5.14.0-687.66.1.el9_8.src, 0:5.14.0-687.66.1.el9_8.aarch64 |
| libperf-debuginfo | errata.rockylinux.org | 0:6.12.0-211.74.1.el10_2.aarch64, 0:5.14.0-687.66.1.el9_8.s390x |
| kernel-rt-debug-debuginfo | errata.rockylinux.org | 0:5.14.0-687.66.1.el9_8.aarch64 |
| kernel-debug | errata.rockylinux.org | 0:6.12.0-211.74.1.el10_2.s390x, 0:5.14.0-687.66.1.el9_8.x86_64, 0:5.14.0-687.66.1.el9_8.ppc64le |
| kernel-tools-libs-devel | errata.rockylinux.org | 0:6.12.0-211.74.1.el10_2.x86_64 |
| kernel-debug-modules | errata.rockylinux.org | 0:6.12.0-211.74.1.el10_2.x86_64, 0:6.12.0-211.74.1.el10_2.aarch64 |
| kernel-debug-debuginfo | errata.rockylinux.org | 0:6.12.0-211.74.1.el10_2.s390x, 0:5.14.0-687.66.1.el9_8.s390x, 0:5.14.0-687.66.1.el9_8.ppc64le |
| kernel-debug-devel | errata.rockylinux.org | 0:6.12.0-211.74.1.el10_2.s390x, 0:5.14.0-687.66.1.el9_8.s390x |
47 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | b3cbf98e2fdf3cb147a95161560cd25987284330, b3cbf98e2fdf3cb147a95161560cd25987284330, b3cbf98e2fdf3cb147a95161560cd25987284330 |
| Linux | Linux | 6.4, 0, 6.6.145 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel-livepatch-6.18.41-94.142 | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| linux | linux_kernel | 6.4, 6.4, 6.4 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | perf6.12 | 0 |
…and 7 more
Timeline
- Aug 15, 2026 Coalition ESS Score
- Aug 15, 2026 CVE Published
- Aug 19, 2026 Security Advisory (3 in total, the first dated here)
- Aug 24, 2026 EPSS Score (30 in total, the first dated here)
- Oct 16, 2026 CVE Updated
- Nov 12, 2026 Distribution Patch (4 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-72222
vulnetix vdb fixes CVE-2026-72222
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-72222/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart