CVE-2026-31532: can: raw: fix ro->uniq use-after-free in raw_rcv()
Vulnerability summary
CVE-2026-31532 is a high (CVSS 7.8) Use After Free vulnerability in linux. EPSS estimates a 0.17% chance of exploitation in the next 30 days, higher than 5.7% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 63 · Related 47Timeline
- 23-04-2026PublishedVulnerability first disclosed.
- 19-10-2026Last modifiedVulnerability information updated.
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 metrics
6 scores · 5 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.17%
Chance of exploitation in the next 30 days
Percentile
6%
Versus all other CVEs
30-day change
Decrease -0.01 pp
From 0.17% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu158 products
- linuxAll versions (No fix recorded) | < 5.15.0-186.196 | < 6.8.0-136.136 | < 7.0.0-27.27
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 5.15.0-1112.119 | < 6.8.0-1061.64 | < 7.0.0-1008.8
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Chainguard9 products
- linux-aws-6.12< 6.12.85-r0
- linux-aws-6.18< 6.18.31-r0
- linux-azure-6.18< 6.18.31-r0
- linux-gcp-6.18< 6.18.31-r0
- linux-qemu-6.12< 6.12.85-r0
Linux2 products
- linux≥ 514ac99c64b22d83b52dfee3b8becaa69a92bc4a, < 1de30576a6dfeaaa27ef91fa272e6b9240b6fbd3 | ≥ 514ac99c64b22d83b52dfee3b8becaa69a92bc4a, < 64c8553decf5a5f2417bd54761ea0a832c56c4ca | ≥ 514ac99c64b22d83b52dfee3b8becaa69a92bc4a, < 3f43f12fde34737fba091b7e3ab391e14ddbb0be | ≥ 514ac99c64b22d83b52dfee3b8becaa69a92bc4a, < 5e9cfffad898bbeaafd0ea608a6d267362f050fc | ≥ 514ac99c64b22d83b52dfee3b8becaa69a92bc4a, < 572f0bf536ebc14f6e7da3d21a85cf076de8358e | ≥ 514ac99c64b22d83b52dfee3b8becaa69a92bc4a, < 1a0f2de81f7fbdc538fc72d7d74609b79bc83cc0 | ≥ 514ac99c64b22d83b52dfee3b8becaa69a92bc4a, < 7201a531b9a5ed892bfda5ded9194ef622de8ffa | ≥ 514ac99c64b22d83b52dfee3b8becaa69a92bc4a, < 34c1741254ff972e8375faf176678a248826fe3a | ≥ 514ac99c64b22d83b52dfee3b8becaa69a92bc4a, < a535a9217ca3f2fccedaafb2fddb4c48f27d36dc | 4.1
- linux_kernel≥ 4.1, ≤ 6.6.136 | ≥ 6.7, < 6.12.83 | ≥ 6.18, < 6.18.24 | ≥ 6.19, < 6.19.14 | ≥ 7.0, < 7.0.1
Debian1 product
- linux< 6.1.176-1 | < 6.12.85-1 | < 6.19.14-1
4 vendors · 170 products