SUNRPC: trace an accepted transport before publishing it
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel fd7b12865b2078f16406834631c4a68262d28346, Kernel 06f90cf104fc21ee01e7ef1eb80e092173089b9f, Kernel 4d20ecd289ede2487ee5a23962fa78fcb47c0500 and 4 more.
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 ]
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=11bbb0f76e995cb617f582e7a4ec6cb8f6daf910 <fd7b12865b2078f16406834631c4a68262d28346, >=11bbb0f76e995cb617f582e7a4ec6cb8f6daf910 <06f90cf104fc21ee01e7ef1eb80e092173089b9f, >=11bbb0f76e995cb617f582e7a4ec6cb8f6daf910 <4d20ecd289ede2487ee5a23962fa78fcb47c0500, >=11bbb0f76e995cb617f582e7a4ec6cb8f6daf910 <86f3078ed2bd6645f5d44fa41917453b774808c1, =5.8 | fd7b12865b2078f16406834631c4a68262d28346, 06f90cf104fc21ee01e7ef1eb80e092173089b9f, 4d20ecd289ede2487ee5a23962fa78fcb47c0500, 86f3078ed2bd6645f5d44fa41917453b774808c1 |
| linux-kernel: Kernel | >=6.13.0 <6.18.61, >=6.19.0 <7.3.2, >=5.8.0 <6.12.117 | 6.18.61, 7.3.2, 6.12.117 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket