Independent & educational platform Not a government body. No link or affiliation with any government organisation. Made for learning only. Test only systems you own or are authorised to test. Become a Partner or Sponsor → Full disclaimer

CVE-2026-31532

high

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 rece…

Vendor / product: Linux — linux kernel

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
7.8
7.8 (CVSS v3.1)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Severity source: NVD CVSS v3.1 (nvd@nist.gov)
Timeline (UTC)
Published: 2026-04-23 12:17
Modified: 2026-11-11 23:10
NVD status: Modified
Last synced 3 hours ago
Verified against the source API 2026-11-11 23:12 UTC
Exploitation
Not listed in CISA KEV (as of last catalog sync)
Absence from KEV does not mean a CVE is not exploited. Exploitation status: unknown (no authoritative evidence in our sources).

Affected products

linux / 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

Weakness classification (CWE)

Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.

Mitigation & advisories

Patch / mitigation: https://git.kernel.org/stable/c/1a0f2de81f7fbdc538fc72d7d74609b79bc83cc0
Patch / mitigation: https://git.kernel.org/stable/c/34c1741254ff972e8375faf176678a248826fe3a
Patch / mitigation: https://git.kernel.org/stable/c/572f0bf536ebc14f6e7da3d21a85cf076de8358e
Patch / mitigation: https://git.kernel.org/stable/c/5e9cfffad898bbeaafd0ea608a6d267362f050fc
Patch / mitigation: https://git.kernel.org/stable/c/7201a531b9a5ed892bfda5ded9194ef622de8ffa
Patch / mitigation: https://git.kernel.org/stable/c/a535a9217ca3f2fccedaafb2fddb4c48f27d36dc

References

Data sources

NVD CVE API 2.0 — fetched 2026-11-11 23:12 UTC · record ↗

Learn the basics

Understanding CVEs and CVSS Scores

Related CVEs