Skip to main content
VulnerabilityPublished Updated

CVE-2026-31532: Linux kernel · can: raw: fix ro->uniq use-after-free in raw_rcv()

Affects Linux kernelSource CVE Database V5

0

Not known to be exploited · CVSS 7.8 High · fixed in a535a9217ca3f2fccedaafb2fddb4c48f27d36dc : patch Linux kernel soon.

Data as of 26 Oct 2026, 17:30 UTC

CVSS 3.1 base score
7.8High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 5% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CISA SSVC
Exploitation
No evidence of active exploitation and no public proof of concept
Automatable
Attackers cannot reliably automate steps 1–4 of the kill chain
Technical impact
Total control over the software or total information disclosure

CISA SSVC assessment, 2026-10-16.

Patch
Available – fixed in a535a9217ca3f2fccedaafb2fddb4c48f27d36dc, 7201a531b9a5ed892bfda5ded9194ef622de8ffa, 572f0bf536ebc14f6e7da3d21a85cf076de8358e +6
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 23 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
LinuxLinuxAffected
  • ≥ 514ac99c64b22d83b52dfee3b8becaa69a92bc4a, < a535a9217ca3f2fccedaafb2fddb4c48f27d36dc
Fixed in
  • a535a9217ca3f2fccedaafb2fddb4c48f27d36dc
LinuxLinuxAffected
  • ≥ 514ac99c64b22d83b52dfee3b8becaa69a92bc4a, < 7201a531b9a5ed892bfda5ded9194ef622de8ffa
Fixed in
  • 7201a531b9a5ed892bfda5ded9194ef622de8ffa
LinuxLinuxAffected
  • ≥ 514ac99c64b22d83b52dfee3b8becaa69a92bc4a, < 572f0bf536ebc14f6e7da3d21a85cf076de8358e
Fixed in
  • 572f0bf536ebc14f6e7da3d21a85cf076de8358e
LinuxLinuxAffected
  • ≥ 514ac99c64b22d83b52dfee3b8becaa69a92bc4a, < 64c8553decf5a5f2417bd54761ea0a832c56c4ca
Fixed in
  • 64c8553decf5a5f2417bd54761ea0a832c56c4ca
LinuxLinuxAffected
  • ≥ 514ac99c64b22d83b52dfee3b8becaa69a92bc4a, < 34c1741254ff972e8375faf176678a248826fe3a
Fixed in
  • 34c1741254ff972e8375faf176678a248826fe3a
LinuxLinuxAffected
  • ≥ 514ac99c64b22d83b52dfee3b8becaa69a92bc4a, < 5e9cfffad898bbeaafd0ea608a6d267362f050fc
Fixed in
  • 5e9cfffad898bbeaafd0ea608a6d267362f050fc

AI-suggested

A fix is available and has been applied in multiple Linux kernel commits. Users should update to a Linux kernel version that includes these fixes to remediate the vulnerability. No additional mitigation steps are required beyond applying the official patch.

Description

CVE-2026-31532 is a use-after-free vulnerability in the Linux kernel's CAN raw socket implementation. The flaw occurs because raw_release() frees a per-CPU resource (ro->uniq) prematurely while raw_rcv() may still access it in an RCU read-side critical section. This can lead to memory corruption. The issue is fixed by deferring the freeing of this resource to the socket destructor, ensuring safe cleanup after all callbacks complete.

References

Community reviews

Loading reviews…