
CVE-2026-31532
Linux Kernel
•
severity
published
A race in the Linux kernel's CAN raw socket handling can leave raw_rcv() accessing per-CPU uniqueness data after it has been freed, resulting in a use-after-free. A local, low-privileged attacker could exploit the flaw without user interaction, potentially affecting system confidentiality, integrity, and availability.
The issue occurs because raw_release() unregisters CAN receive filters while their deletion is deferred through RCU, but previously freed ro->uniq before the relevant callbacks had drained. The fix moves free_percpu(ro->uniq) into a raw-specific socket destructor so the storage remains valid until deferred receiver cleanup is complete. The vulnerability is classified as CWE-416.
References
Explore our other findings
