Vulnerability Description
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]
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 4.1, <= 6.6.136 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/1a0f2de81f7fbdc538fc72d7d74609b79bc83cc0Patch
- https://git.kernel.org/stable/c/34c1741254ff972e8375faf176678a248826fe3aPatch
- https://git.kernel.org/stable/c/572f0bf536ebc14f6e7da3d21a85cf076de8358ePatch
- https://git.kernel.org/stable/c/5e9cfffad898bbeaafd0ea608a6d267362f050fcPatch
- https://git.kernel.org/stable/c/7201a531b9a5ed892bfda5ded9194ef622de8ffaPatch
- https://git.kernel.org/stable/c/a535a9217ca3f2fccedaafb2fddb4c48f27d36dcPatch
FAQ
What is CVE-2026-31532?
CVE-2026-31532 is a vulnerability with a CVSS score of 7.8 (HIGH). 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 ...
How severe is CVE-2026-31532?
CVE-2026-31532 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-31532?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.