In the Linux kernel, the following vulnerability has been resolved: SUNRPC: trace an accepted...
🔗 CVE IDs covered (1)
📋 Description
In the Linux kernel, the following vulnerability has been resolved:
SUNRPC: trace an accepted transport before publishing it
svc_handle_xprt() publishes a newly accepted transport before tracing it. svc_add_new_temp_xprt() places the transport on sv_tempsocks and clears XPT_BUSY, so another nfsd thread can dequeue it at once. If the peer has already closed the connection, that thread runs svc_delete_xprt(), which drops the list reference, the only reference the new transport holds. trace_svc_xprt_accept() then reads the transport's addresses and network namespace from freed memory.
Before publication the accepting thread owns the transport exclusively: XPT_BUSY is still set from svc_xprt_init() and the transport is on no list. Emit the tracepoint there.
[ cel: trace before publication instead of taking an extra reference ]
🔗 References (6)
- https://nvd.nist.gov/vuln/detail/CVE-2026-99352
- https://git.kernel.org/stable/c/06f90cf104fc21ee01e7ef1eb80e092173089b9f
- https://git.kernel.org/stable/c/4d20ecd289ede2487ee5a23962fa78fcb47c0500
- https://git.kernel.org/stable/c/86f3078ed2bd6645f5d44fa41917453b774808c1
- https://git.kernel.org/stable/c/fd7b12865b2078f16406834631c4a68262d28346
- https://github.com/advisories/GHSA-j3rh-4mpq-rpmw