rxrpc: fix a race in rxrpc_exit_net()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ ace45bec6d77bc061c3c3d8ad99e298ea9800c2b · < cd8aef1f30d1215648e4e6686cfb422004851429| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
rxrpc: fix a race in rxrpc_exit_net()
Current code can lead to the following race:
CPU0 CPU1
rxrpc_exit_net() rxrpc_peer_keepalive_worker() if (rxnet->live)
rxnet->live = false; del_timer_sync(&rxnet->peer_keepalive_timer);
timer_reduce(&rxnet->peer_keepalive_timer, jiffies + delay);
cancel_work_sync(&rxnet->peer_keepalive_work);
From the CVE record · Linux
A race between rxrpc network-namespace cleanup and the peer keepalive worker can leave a timer armed after its associated memory is freed, causing a use-after-free. The input does not specify how an attacker could trigger the race or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with rxrpc should check their exposure; affected versions are not specified.