7.8

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

Modified
AliasesUBUNTU-CVE-2026-31532DEBIAN-CVE-2026-31532CGA-3x2w-25hv-m587
Published 23-04-2026Last modified 19-10-2026

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.

Priority
Routine

Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.17%
0%100%
Low · -0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 63 · Related 47

Timeline

  1. 23-04-2026
    PublishedVulnerability first disclosed.
  2. 19-10-2026
    Last 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

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

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

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

References

49 links
Show all 49 references