sunrpc: pin svc_xprt across the asynchronous TLS handshake callback
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.
Summary
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]
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA Linux (Linux) Fixed in 6.6.145, 6.12.97, 6.18.40, 7.1.5, 7.2
Red Hat 2 advisories
- RHSA-2026:95370 Released 2026-11-05 · Red Hat rating Importantkernel security update
- Red Hat Enterprise Linux AppStream (v. 9) kernel-64k-debug-devel-5.14.0-687.66.1.el9_8, kernel-64k-debug-devel-matched-5.14.0-687.66.1.el9_8, kernel-64k-devel-5.14.0-687.66.1.el9_8 +12
- Red Hat Enterprise Linux BaseOS (v. 9) kernel-5.14.0-687.66.1.el9_8, kernel-64k-5.14.0-687.66.1.el9_8, kernel-64k-core-5.14.0-687.66.1.el9_8 +28
- Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) kernel-tools-libs-devel-5.14.0-687.66.1.el9_8, libperf-5.14.0-687.66.1.el9_8
- Red Hat Enterprise Linux Real Time (v. 9) kernel-rt-5.14.0-687.66.1.el9_8, kernel-rt-64k-5.14.0-687.66.1.el9_8, kernel-rt-64k-core-5.14.0-687.66.1.el9_8 +21
- Red Hat Enterprise Linux Real Time for NFV (v. 9) kernel-rt-5.14.0-687.66.1.el9_8, kernel-rt-core-5.14.0-687.66.1.el9_8, kernel-rt-debug-5.14.0-687.66.1.el9_8 +9
- RHSA-2026:95367 Released 2026-11-05 · Red Hat rating Importantkernel security update
- 10Base-SMTV kernel-modules-internal-6.12.0-211.74.1.el10_2
- Red Hat Enterprise Linux AppStream (v. 10) kernel-64k-debug-devel-6.12.0-211.74.1.el10_2, kernel-64k-debug-devel-matched-6.12.0-211.74.1.el10_2, kernel-64k-devel-6.12.0-211.74.1.el10_2 +12
- Red Hat Enterprise Linux BaseOS (v. 10) kernel-6.12.0-211.74.1.el10_2, kernel-64k-6.12.0-211.74.1.el10_2, kernel-64k-core-6.12.0-211.74.1.el10_2 +29
- Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) kernel-tools-libs-devel-6.12.0-211.74.1.el10_2, libperf-6.12.0-211.74.1.el10_2
- Red Hat Enterprise Linux Hidden (v. 10) kernel-modules-internal-6.12.0-211.74.1.el10_2
- Red Hat Enterprise Linux Real Time (v. 10) kernel-rt-6.12.0-211.74.1.el10_2, kernel-rt-64k-6.12.0-211.74.1.el10_2, kernel-rt-64k-core-6.12.0-211.74.1.el10_2 +21
- Red Hat Enterprise Linux Real Time for NFV (v. 10) kernel-rt-6.12.0-211.74.1.el10_2, kernel-rt-core-6.12.0-211.74.1.el10_2, kernel-rt-debug-6.12.0-211.74.1.el10_2 +9
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| 10Base-SMTV | Fixed | RHSA-2026:95367 |
| Red Hat Enterprise Linux AppStream (v. 10) | Fixed | RHSA-2026:95367 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2026:95370 |
| Red Hat Enterprise Linux BaseOS (v. 10) | Fixed | RHSA-2026:95367 |
| Red Hat Enterprise Linux BaseOS (v. 9) | Fixed | RHSA-2026:95370 |
| Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) | Fixed | RHSA-2026:95367 |
| Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) | Fixed | RHSA-2026:95370 |
| Red Hat Enterprise Linux Hidden (v. 10) | Fixed | RHSA-2026:95367 |
| Red Hat Enterprise Linux Real Time (v. 10) | Fixed | RHSA-2026:95367 |
| Red Hat Enterprise Linux Real Time (v. 9) | Fixed | RHSA-2026:95370 |
| Red Hat Enterprise Linux Real Time for NFV (v. 10) | Fixed | RHSA-2026:95367 |
| Red Hat Enterprise Linux Real Time for NFV (v. 9) | Fixed | RHSA-2026:95370 |
Not affected: 4 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2026-72222
- 2026-10-03 Alias added: GHSA-6mfm-2hg9-7gww
- 2026-10-16 Affected versions changed · Red Hat
- 2026-10-16 CVSS score changed · Red Hat
- 2026-10-16 CISA SSVC decision points changed
- 2026-10-25 EPSS moved to the 50th–90th percentile
- 2026-10-29 Affected versions changed · Red Hat
- 2026-11-05 Fix available: 10Base-SMTV, Red Hat Enterprise Linux AppStream (v. 10), Red Hat Enterprise Linux AppStream (v. 9) +9 · Red Hat
- 2026-11-06 Fix available: RHSA-2026:95370 · Red Hat
- 2026-11-06 Fix available: RHSA-2026:95367 · Red Hat
References
Other 5
- https://git.kernel.org/stable/c/f3b55945dd99f29d83e1965d0141040a35262346
- https://git.kernel.org/stable/c/2d4f97d13fff91e0bc539216be88b884b544d49f
- https://git.kernel.org/stable/c/3f9ee75a97a769be258784c22b89657acb5ed9bd
- https://git.kernel.org/stable/c/083e9c2ec7e8bb13b79c9fd7b337abdd758ecc5f
- https://git.kernel.org/stable/c/4f988f3a2808fb659f3880c282041ff067acad78
More Linux vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Incorrect authorization in Ubuntu linux kernel KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-72222 · CVE Program
- CVE-2026-72222 · NVD
- FIRST EPSS
- GHSA-6mfm-2hg9-7gww · GitHub Advisory Database · CC BY 4.0
- CVE-2026-72222 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences