CVE-2026-31532can: raw: fix ro->uniq use-after-free in raw_rcv()
- 7.8HighCVSS base score
- 0.17%Exploitation in 30 daysEPSS · top 94% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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]
Timeline
ID reserved
By Linux
- 45 days later
· 45 days later
Published
- 6 months later
· 6 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.17% · top 94% of all CVEs (18 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Affected products
- affected 514ac99c64b22d83b52dfee3b8becaa69a92bc4a – < 1de30576a6dfeaaa27ef91fa272e6b9240b6fbd3
- affected 514ac99c64b22d83b52dfee3b8becaa69a92bc4a – < 64c8553decf5a5f2417bd54761ea0a832c56c4ca
- affected 514ac99c64b22d83b52dfee3b8becaa69a92bc4a – < 3f43f12fde34737fba091b7e3ab391e14ddbb0be
- affected 514ac99c64b22d83b52dfee3b8becaa69a92bc4a – < 5e9cfffad898bbeaafd0ea608a6d267362f050fc
- affected 514ac99c64b22d83b52dfee3b8becaa69a92bc4a – < 572f0bf536ebc14f6e7da3d21a85cf076de8358e
- affected 514ac99c64b22d83b52dfee3b8becaa69a92bc4a – < 1a0f2de81f7fbdc538fc72d7d74609b79bc83cc0
- affected 514ac99c64b22d83b52dfee3b8becaa69a92bc4a – < 7201a531b9a5ed892bfda5ded9194ef622de8ffa
- affected 514ac99c64b22d83b52dfee3b8becaa69a92bc4a – < 34c1741254ff972e8375faf176678a248826fe3a
- affected 514ac99c64b22d83b52dfee3b8becaa69a92bc4a – < a535a9217ca3f2fccedaafb2fddb4c48f27d36dc
- affected 4.1
- unaffected < 4.1
- unaffected 5.10.258 – ≤ 5.10.*
- unaffected 5.15.209 – ≤ 5.15.*
- unaffected 6.1.175 – ≤ 6.1.*
- unaffected 6.6.136 – ≤ 6.6.*
- unaffected 6.12.83 – ≤ 6.12.*
- unaffected 6.18.24 – ≤ 6.18.*
- unaffected 6.19.14 – ≤ 6.19.*
- unaffected 7.0.1 – ≤ 7.0.*
- unaffected 7.1 – ≤ *
References
References10
- https://git.kernel.org/stable/c/1de30576a6dfeaaa27ef91fa272e6b9240b6fbd3 (opens in a new tab)
- https://git.kernel.org/stable/c/64c8553decf5a5f2417bd54761ea0a832c56c4ca (opens in a new tab)
- https://git.kernel.org/stable/c/3f43f12fde34737fba091b7e3ab391e14ddbb0be (opens in a new tab)
- https://git.kernel.org/stable/c/5e9cfffad898bbeaafd0ea608a6d267362f050fc (opens in a new tab)
- https://git.kernel.org/stable/c/572f0bf536ebc14f6e7da3d21a85cf076de8358e (opens in a new tab)
- https://git.kernel.org/stable/c/1a0f2de81f7fbdc538fc72d7d74609b79bc83cc0 (opens in a new tab)
- https://git.kernel.org/stable/c/7201a531b9a5ed892bfda5ded9194ef622de8ffa (opens in a new tab)
- https://git.kernel.org/stable/c/34c1741254ff972e8375faf176678a248826fe3a (opens in a new tab)
- https://git.kernel.org/stable/c/a535a9217ca3f2fccedaafb2fddb4c48f27d36dc (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-784472.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-25219 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-31532)Record last updated .