Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-72317

CRITICAL 9.8EPSS 46%

SUNRPC: pin upper rpc_clnt across the TLS connect_worker

Mitigation

  • Upgrade Linux to 46bc86c833956219bbfd246c1ffd832a479c5199 or later.

Who should check

  • Anyone running Linux >= 75eb6af7acdf566c68d61e98e67ee2f235201c02, < 79cd550f8c884523b604fbfa43eb02def74d6224; >= 75eb6af7acdf566c68d61e98e67ee2f235201c02, < 7a65b41b657b71d5a77861f47dd13eb4bc8e10d0; >= 75eb6af7acdf566c68d61e98e67ee2f235201c02, < 5b0427ba582d143a364301f825f4e32272f06d2d; >= 75eb6af7acdf566c68d61e98e67ee2f235201c02, < d49f6d098ed48775b9d27a9f9c5c220fdf76f102; >= 75eb6af7acdf566c68d61e98e67ee2f235201c02, < 46bc86c833956219bbfd246c1ffd832a479c5199
  • Anyone running Linux 6.5

Vulnerability facts

Affected
Linux >= 75eb6af7acdf566c68d61e98e67ee2f235201c02, < 79cd550f8c884523b604fbfa43eb02def74d6224; >= 75eb6af7acdf566c68d61e98e67ee2f235201c02, < 7a65b41b657b71d5a77861f47dd13eb4bc8e10d0; >= 75eb6af7acdf566c68d61e98e67ee2f235201c02, < 5b0427ba582d143a364301f825f4e32272f06d2d; >= 75eb6af7acdf566c68d61e98e67ee2f235201c02, < d49f6d098ed48775b9d27a9f9c5c220fdf76f102; >= 75eb6af7acdf566c68d61e98e67ee2f235201c02, < 46bc86c833956219bbfd246c1ffd832a479c5199; Linux 6.5
Fixed in
Linux 79cd550f8c884523b604fbfa43eb02def74d6224, Linux 7a65b41b657b71d5a77861f47dd13eb4bc8e10d0, Linux 5b0427ba582d143a364301f825f4e32272f06d2d, Linux 46bc86c833956219bbfd246c1ffd832a479c5199
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
9.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 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
EPSS
0.65% chance of exploitation in 30 days (percentile 46, 2026-11-26)
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: SUNRPC: pin upper rpc_clnt across the TLS connect_worker The TLS connect path has a use-after-free: nothing pins the upper rpc_clnt across the delayed connect_worker. xs_connect() stores task->tk_client in sock_xprt::clnt as a raw pointer and queues the worker; for TLS-secured transports that worker is xs_tcp_tls_setup_socket(), which reads several fields out of the saved pointer (cl_timeout, cl_program, cl_prog, cl_vers, cl_cred, cl_stats) to construct the args for the inner handshake rpc_clnt. The xprt does not reference the rpc_clnt; the rpc_clnt references the xprt. xs_destroy() does cancel the connect_worker, but it runs only when the xprt's refcount drops to zero, which cannot happen until the rpc_clnt releases its cl_xprt reference in rpc_free_client_work(). When a TLS handshake fails fatally (for example, an mTLS mount whose client cert does not match the server), the connecting task is woken with -EACCES and exits, the mount caller invokes rpc_shutdown_client(), and the upper rpc_clnt is freed before the queued connect_worker fires. xs_tcp_tls_setup_socket() then dereferences the freed clnt, producing the refcount_t underflow Michael Nemanov reported. Take a reference on the upper rpc_clnt in xs_connect() for TLS transports via a new rpc_hold_client() helper, and drop it in the connect_worker's exit path with rpc_release_client(). The xprt_lock_connect() / xprt_unlock_connect() pairing already serialises xs_connect() with xs_tcp_tls_setup_socket(), so the take and release are balanced one-for-one. The non-TLS connect worker (xs_tcp_setup_socket) never reads sock_xprt::clnt, so leave that path alone and avoid the clnt-holds-xprt-holds-clnt cycle that would otherwise prevent xprt destruction.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 75eb6af7acdf566c68d61e98e67ee2f235201c02, < 79cd550f8c884523b604fbfa43eb02def74d6224; >= 75eb6af7acdf566c68d61e98e67ee2f235201c02, < 7a65b41b657b71d5a77861f47dd13eb4bc8e10d0; >= 75eb6af7acdf566c68d61e98e67ee2f235201c02, < 5b0427ba582d143a364301f825f4e32272f06d2d; >= 75eb6af7acdf566c68d61e98e67ee2f235201c02, < d49f6d098ed48775b9d27a9f9c5c220fdf76f102; >= 75eb6af7acdf566c68d61e98e67ee2f235201c02, < 46bc86c833956219bbfd246c1ffd832a479c5199—cvelist
Linux6.5—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

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

Details: https://flawdb.com/CVE-2026-72317.md
Affected: Linux >= 75eb6af7acdf566c68d61e98e67ee2f235201c02, < 79cd550f8c884523b604fbfa43eb02def74d6224; >= 75eb6af7acdf566c68d61e98e67ee2f235201c02, < 7a65b41b657b71d5a77861f47dd13eb4bc8e10d0; >= 75eb6af7acdf566c68d61e98e67ee2f235201c02, < 5b0427ba582d143a364301f825f4e32272f06d2d; >= 75eb6af7acdf566c68d61e9…
Fixed in: Linux 79cd550f8c884523b604fbfa43eb02def74d6224, Linux 7a65b41b657b71d5a77861f47dd13eb4bc8e10d0, Linux 5b0427ba582d143a364301f825f4e32272f06d2d, Linux 46bc86c833956219bbfd246c1ffd832a479c5199

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.

References

FAQ

Is CVE-2026-72317 being exploited?

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

How serious is CVE-2026-72317?

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

Which versions are affected by CVE-2026-72317?

Linux >= 75eb6af7acdf566c68d61e98e67ee2f235201c02, < 79cd550f8c884523b604fbfa43eb02def74d6224; >= 75eb6af7acdf566c68d61e98e67ee2f235201c02, < 7a65b41b657b71d5a77861f47dd13eb4bc8e10d0; >= 75eb6af7acdf566c68d61e98e67ee2f235201c02, < 5b0427ba582d143a364301f825f4e32272f06d2d; >= 75eb6af7acdf566c68d61e98e67ee2f235201c02, < d49f6d098ed48775b9d27a9f9c5c220fdf76f102; >= 75eb6af7acdf566c68d61e98e67ee2f235201c02, < 46bc86c833956219bbfd246c1ffd832a479c5199; Linux 6.5.

Is there a fix for CVE-2026-72317?

Yes. Fixed in Linux 79cd550f8c884523b604fbfa43eb02def74d6224, Linux 7a65b41b657b71d5a77861f47dd13eb4bc8e10d0, Linux 5b0427ba582d143a364301f825f4e32272f06d2d, Linux 46bc86c833956219bbfd246c1ffd832a479c5199. Upgrade Linux to 46bc86c833956219bbfd246c1ffd832a479c5199 or later.

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

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.

Sponsors