CVE-2026-31532
In the Linux kernel, the following vulnerability has been resolved: …
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]
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/1a0f2de81f7fbdc538fc72d7d74609b79bc83cc0
- git.kernel.org/stable/c/34c1741254ff972e8375faf176678a248826fe3a
- git.kernel.org/stable/c/572f0bf536ebc14f6e7da3d21a85cf076de8358e
- git.kernel.org/stable/c/7201a531b9a5ed892bfda5ded9194ef622de8ffa
- git.kernel.org/stable/c/a535a9217ca3f2fccedaafb2fddb4c48f27d36dc
- git.kernel.org/stable/c/5e9cfffad898bbeaafd0ea608a6d267362f050fc
- git.kernel.org/stable/c/1de30576a6dfeaaa27ef91fa272e6b9240b6fbd3
- git.kernel.org/stable/c/3f43f12fde34737fba091b7e3ab391e14ddbb0be
- nvd.nist.gov/vuln/detail/CVE-2026-31532
- cve.org/CVERecord?id=CVE-2026-31532
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.