Linux
SUNRPC: wait for in-flight client TLS handshake callback
In the Linux kernel, the following vulnerability has been resolved: SUNRPC: wait for in-flight client TLS handshake callback xs_tls_handshake_sync() gives xs_tls_handshake_done() a reference to the lower transport before submitting the handshake request. On timeout or signal, the synchronous waiter drops that reference after calling tls_handshake_cancel(). handshake_req_cancel() returns false when handshake_complete() has already marked the request complete. In that case the completion callback can still be running, so dropping the callback-owned reference in the waiter can free the lower transport before xs_tls_handshake_done() stores xprt_err or drops its own reference. If cancellation loses to completion, wait until xs_tls_handshake_done() signals handshake_done and let the callback release its reference. This mirrors the server-side handshake lifetime handling and keeps the timeout or signal return value unchanged.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 75eb6af7acdf566c68d61e98e67ee2f235201c02, < fb43997407bc17ee39bac81ab708101312e255f5
- >= 75eb6af7acdf566c68d61e98e67ee2f235201c02, < 15431820f448e09f8029b670d5c82aa5917d4625
- >= 75eb6af7acdf566c68d61e98e67ee2f235201c02, < 1de391e8b94e31b45c19c16dbf315e294810c7de
- >= 75eb6af7acdf566c68d61e98e67ee2f235201c02, < 7fbb6d2ab0391eb8d1f1a68e6bc263ef02cea61b
- >= 75eb6af7acdf566c68d61e98e67ee2f235201c02, < a89dd597458848b463d284b15e42a8078beeb046
Fixed in fb43997407bc17ee39bac81ab708101312e255f5, 15431820f448e09f8029b670d5c82aa5917d4625, 1de391e8b94e31b45c19c16dbf315e294810c7de, 7fbb6d2ab0391eb8d1f1a68e6bc263ef02cea61b, a89dd597458848b463d284b15e42a8078beeb046
- 6.5
Fixed in 0, 6.6.157, 6.12.109, 6.18.50, 7.2.4, 7.3
Mitigation
Upgrade Linux to fb43997407bc17ee39bac81ab708101312e255f5 or 15431820f448e09f8029b670d5c82aa5917d4625 or 1de391e8b94e31b45c19c16dbf315e294810c7de or 7fbb6d2ab0391eb8d1f1a68e6bc263ef02cea61b or a89dd597458848b463d284b15e42a8078beeb046 or later.
Upgrade Linux to 0 or 6.6.157 or 6.12.109 or 6.18.50 or 7.2.4 or 7.3 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.