CVE-2026-31532
In the Linux kernel, the following vulnerability has been resolved: can: raw: fix ro->uniq use-after-free in raw_rcv() raw_release() unregisters raw CAN receive filters via can_rx_unregister(), but receiver deletion is deferred with call_rcu(). This leaves a window where raw_rcv() may still be running in an RCU read-side critical section after raw_release() frees ro->uniq, leading to a use-after-free of the percpu uniq storage. Move free_percpu(ro->uniq) out of raw_release() and into a raw-specific socket destructor. can_rx_unregister() takes an extra reference to the socket and only drops it from the RCU callback, so freeing uniq from sk_destruct ensures the percpu area is not released until the relevant callbacks have drained. [mkl: applied manually]
EPSS 0.01% · 2.6th percentile
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 6.18.24, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 6.12.83 |
| linux | linux_kernel | 0, 0, 0 |
Timeline
- Apr 23, 2026 CVE Published
- Apr 23, 2026 PoC Published
- Apr 23, 2026 PoC Published
- Apr 24, 2026 Security Advisory
- May 6, 2026 Distribution Patch
- May 6, 2026 Security Advisory
- May 7, 2026 Distribution Patch
- May 7, 2026 Security Advisory
- May 11, 2026 Distribution Patch
- May 11, 2026 Security Advisory
- May 18, 2026 EPSS Score
- May 19, 2026 EPSS Score
References
- https://git.kernel.org/stable/c/572f0bf536ebc14f6e7da3d21a85cf076de8358e url
- https://git.kernel.org/stable/c/1a0f2de81f7fbdc538fc72d7d74609b79bc83cc0 url
- https://git.kernel.org/stable/c/7201a531b9a5ed892bfda5ded9194ef622de8ffa url
- https://git.kernel.org/stable/c/34c1741254ff972e8375faf176678a248826fe3a url
- https://nvd.nist.gov/vuln/detail/CVE-2026-31532 advisory
- https://lists.debian.org/debian-security-announce/2026/msg00154.html advisory
- https://lists.debian.org/debian-security-announce/2026/msg00148.html advisory