Linux kernel CAN raw socket use-after-free in raw_rcv()
CVE-2026-31532High
The Linux kernel's CAN raw socket implementation has a use-after-free vulnerability in the raw_rcv() function. When raw_release() unregisters receive filters, it frees the ro->uniq percpu storage immediately, but the actual receiver deletion is deferred via call_rcu(). This creates a window where raw_rcv() may still be executing and accessing the freed uniq storage. An attacker with the ability to create and release CAN raw sockets whilst receive operations are in progress could trigger this vulnerability.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Detail
Affected versions
- linux linux kernel: from 4.1, up to 6.6.136
- linux linux kernel: from 6.7, before 6.12.83
- linux linux kernel: from 6.18, before 6.18.24
- linux linux kernel: from 6.19, before 6.19.14
- linux linux kernel: from 7.0, before 7.0.1
Reports naming this CVE1 in total
· All CISA Advisories
Siemens SIMATIC S7-1500 TM MFP (opens in a new tab)