Kernel memory exhaustion via leaked receive buffers
Published May 24, 2024 · Updated May 11, 2026
Memory leak in the M_CAN receive path in Linux 5.15 allows local users to exhaust kernel memory by provoking a FIFO read failure. The m_can_read_fifo function allocates an skb, but its second m_can_fifo_read error path returns without freeing that buffer. Repeated triggering requires an active M_CAN controller and a FIFO bus read error and can progressively reduce available kernel memory.
Summary
What happened
Memory leak in the M_CAN receive path in Linux 5.15 allows local users to exhaust kernel memory by provoking a FIFO read failure. The m_can_read_fifo function allocates an skb, but its second m_can_fifo_read error path returns without freeing that buffer. Repeated triggering requires an active M_CAN controller and a FIFO bus read error and can progressively reduce available kernel memory.
The record
- CVE
- CVE-2021-47519
- Published
- May 24, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-401, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 24, 2024CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=5.15
- Affected versionversion=e39381770ec9ca3c51d8b9bd9cc6e01d78ea974a <31cb32a590d62b18f69a9a6d433f4e69c74fdd56
- Affected versionversion=e39381770ec9ca3c51d8b9bd9cc6e01d78ea974a <75a422165477dd12d2d20aa7c9ee7c9a281c9908
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo