rxrpc: fix io_thread race in rxrpc_wake_up_io_thread()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 092b42cf3f6013eec43607ecbcad674723649514, Kernel 745fb794c3e933c023af9dbb5876a5e16ad2dc71 and Kernel c9165e199f56997f2f2deb5d3ec2dfab98dfa288.
In the Linux kernel, the following vulnerability has been resolved: rxrpc: fix io_thread race in rxrpc_wake_up_io_thread() rxrpc_wake_up_io_thread() checks local->io_thread before waking it, but then reloads the pointer for wake_up_process(). local->io_thread is cleared with WRITE_ONCE() when the I/O thread exits, so the second load can see NULL even if the first load did not. Take a READ_ONCE() snapshot and use it for both the NULL check and the wake_up_process() call, as rxrpc_encap_rcv() already does.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.16, >=5800b1cf3fd8ccab752a101865be1e76dac33142 <092b42cf3f6013eec43607ecbcad674723649514, >=5800b1cf3fd8ccab752a101865be1e76dac33142 <745fb794c3e933c023af9dbb5876a5e16ad2dc71, >=5800b1cf3fd8ccab752a101865be1e76dac33142 <c9165e199f56997f2f2deb5d3ec2dfab98dfa288 | 092b42cf3f6013eec43607ecbcad674723649514, 745fb794c3e933c023af9dbb5876a5e16ad2dc71, c9165e199f56997f2f2deb5d3ec2dfab98dfa288 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket