VDB

CVE-2026-31532

CVE-2026-31532 PUBLISHED CVSS 9.300000190734863 CRITICAL

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]

EPSS 0.01% · 2.6th percentile

Risk Scores

CVSS v4.0
9.300000190734863
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS Score
0.01%
2.6th percentile

Affected Products

VendorProductVersions
LinuxLinux6.18.24, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 6.12.83
linuxlinux_kernel0, 0, 0

Timeline

  • Apr 23, 2026 CVE Published
  • Apr 23, 2026 PoC Published
  • Apr 23, 2026 PoC Published
  • Apr 24, 2026 Security Advisory
  • May 6, 2026 Distribution Patch
  • May 6, 2026 Security Advisory
  • May 7, 2026 Distribution Patch
  • May 7, 2026 Security Advisory
  • May 11, 2026 Distribution Patch
  • May 11, 2026 Security Advisory
  • May 18, 2026 EPSS Score
  • May 19, 2026 EPSS Score
Open in Interactive Console →
$ Console Community · 100/wk Open console ›