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]
References
Configurations
Configuration 1 (hide)
|
History
29 Apr 2026, 15:26
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Linux
Linux linux Kernel |
|
| CWE | CWE-416 | |
| CPE | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | |
| References | () https://git.kernel.org/stable/c/1a0f2de81f7fbdc538fc72d7d74609b79bc83cc0 - Patch | |
| References | () https://git.kernel.org/stable/c/34c1741254ff972e8375faf176678a248826fe3a - Patch | |
| References | () https://git.kernel.org/stable/c/572f0bf536ebc14f6e7da3d21a85cf076de8358e - Patch | |
| References | () https://git.kernel.org/stable/c/5e9cfffad898bbeaafd0ea608a6d267362f050fc - Patch | |
| References | () https://git.kernel.org/stable/c/7201a531b9a5ed892bfda5ded9194ef622de8ffa - Patch | |
| References | () https://git.kernel.org/stable/c/a535a9217ca3f2fccedaafb2fddb4c48f27d36dc - Patch |
27 Apr 2026, 15:16
| Type | Values Removed | Values Added |
|---|---|---|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 7.8 |
27 Apr 2026, 14:16
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
27 Apr 2026, 12:16
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
23 Apr 2026, 12:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-04-23 12:17
Updated : 2026-04-29 15:26
NVD link : CVE-2026-31532
Mitre link : CVE-2026-31532
CVE.ORG link : CVE-2026-31532
JSON object : View
Products Affected
linux
- linux_kernel
CWE
CWE-416
Use After Free
