CVE-2026-31532can: raw: fix ro->uniq use-after-free in raw_rcv()
Updated under an hour ago ()
Does this affect you?
It affects Linux and 2 other products. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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
- 7.8 HIGH (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weakness (CWE)
- Not given
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- Linux
- NVD analysis
- Modified
- Record last updated
- Oct 16, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
Linux Linux linux:linux (from the name) | 514ac99c64b22d83b52dfee3b8becaa69a92bc4a builds before 1de30576a6dfeaaa27ef91fa272e6b9240b6fbd3; 514ac99c64b22d83b52dfee3b8becaa69a92bc4a builds before 64c8553decf5a5f2417bd54761ea0a832c56c4ca; 514ac99c64b22d83b52dfee3b8becaa69a92bc4a builds before 3f43f12fde34737fba091b7e3ab391e14ddbb0be; 514ac99c64b22d83b52dfee3b8becaa69a92bc4a builds before 5e9cfffad898bbeaafd0ea608a6d267362f050fc; from 514ac99c64b22d83b52dfee3b8becaa69a92bc4a before 572f0bf536ebc14f6e7da3d21a85cf076de8358e; 514ac99c64b22d83b52dfee3b8becaa69a92bc4a builds before 1a0f2de81f7fbdc538fc72d7d74609b79bc83cc0; from 514ac99c64b22d83b52dfee3b8becaa69a92bc4a before 7201a531b9a5ed892bfda5ded9194ef622de8ffa; 514ac99c64b22d83b52dfee3b8becaa69a92bc4a builds before 34c1741254ff972e8375faf176678a248826fe3a; and 1 more ranges | CNA record |
Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem siemens:simatic_s7_1500_tm_mfp_gnu_linux_subsystem (from the name) | all versions | CISA ADP |
linux linux_kernel linux:linux_kernel | from 4.1 through 6.6.136; from 6.7 before 6.12.83; from 6.18 before 6.18.24; from 6.19 before 6.19.14; from 7.0 before 7.0.1 | NVD |
References
- https://git.kernel.org/stable/c/1de30576a6dfeaaa27ef91fa272e6b9240b6fbd3
- https://git.kernel.org/stable/c/64c8553decf5a5f2417bd54761ea0a832c56c4ca
- https://git.kernel.org/stable/c/3f43f12fde34737fba091b7e3ab391e14ddbb0be
- https://git.kernel.org/stable/c/5e9cfffad898bbeaafd0ea608a6d267362f050fcpatch
- https://git.kernel.org/stable/c/572f0bf536ebc14f6e7da3d21a85cf076de8358epatch
- https://git.kernel.org/stable/c/1a0f2de81f7fbdc538fc72d7d74609b79bc83cc0patch
- https://git.kernel.org/stable/c/7201a531b9a5ed892bfda5ded9194ef622de8ffapatch
- https://git.kernel.org/stable/c/34c1741254ff972e8375faf176678a248826fe3apatch
- https://git.kernel.org/stable/c/a535a9217ca3f2fccedaafb2fddb4c48f27d36dcpatch
- https://cert-portal.siemens.com/productcert/html/ssa-784472.html
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.