Kernel heap corruption via raw negative indices
Published Apr 24, 2026 · Updated Apr 24, 2026
Out-of-bounds access in Linux Kernel 5.4 through 7.0-rc7 allows adjacent attackers to corrupt kernel heap memory via CAN FD frames. cgw_csum_crc8_rel() validates normalized indices but reads and writes with the original signed fields, allowing negative offsets before canfd_frame. A matching CRC8-relative CAN gateway rule must already exist; creating that rule requires CAP_NET_ADMIN, while injected bus traffic can expose heap data or destabilize the kernel.
Summary
What happened
Out-of-bounds access in Linux Kernel 5.4 through 7.0-rc7 allows adjacent attackers to corrupt kernel heap memory via CAN FD frames. cgw_csum_crc8_rel() validates normalized indices but reads and writes with the original signed fields, allowing negative offsets before canfd_frame. A matching CRC8-relative CAN gateway rule must already exist; creating that rule requires CAP_NET_ADMIN, while injected bus traffic can expose heap data or destabilize the kernel.
The record
- CVE
- CVE-2026-31570
- Published
- Apr 24, 2026
- Updated
- Apr 24, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux Kernel
- Classifications
- CWE-125
- Attack vector
- adjacent
- Privileges
- unauthenticated
Timeline
How it unfolded
- Apr 24, 2026CVE publishedPublication date reported by the CVE source.
- Apr 24, 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=456a8a646b2563438c16a9b27decf9aa717f1ebb <54ecdf76a55e75c1f5085e440f8ab671a3283ef5
- Affected versionversion=456a8a646b2563438c16a9b27decf9aa717f1ebb <66b689efd08227da2c5ca49b58b30a95d23c695a
- Affected versionversion=456a8a646b2563438c16a9b27decf9aa717f1ebb <84f8b76d24273175a22713e83e90874e1880d801
- Affected versionversion=456a8a646b2563438c16a9b27decf9aa717f1ebb <999ca48d55a8a46da21519db7e834e5867200379
- Affected versionversion=456a8a646b2563438c16a9b27decf9aa717f1ebb <a025283d7f7404c739225e457fb99db2368bb544
- Affected versionversion=456a8a646b2563438c16a9b27decf9aa717f1ebb <b9c310d72783cc2f30d103eed83920a5a29c671a
- Affected versionversion=456a8a646b2563438c16a9b27decf9aa717f1ebb <c4e8eaa75fa0b6bcbfa5356d6195c4ad0e05e57a
- Affected versionversion=456a8a646b2563438c16a9b27decf9aa717f1ebb <e7c99348b0612b2bc02d5ce6ff9873261cc7605f
- Affected versionversion=5.4
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