Kernel memory corruption via unchecked CAN frame length
Published Oct 15, 2025 · Updated Oct 15, 2025
Buffer overflow in the Linux kernel allows local users to corrupt kernel memory by sending crafted CAN XL frames to an HI-3110 interface. The hi3110_hard_start_xmit path misreads CAN XL flags as frame->len, and hi3110_hw_tx copies that unchecked length into a 14-byte buffer. Exploitation requires local CAP_NET_RAW access and an SPI-attached HI-3110 controller; it enables kernel data disclosure, privilege escalation, or a panic.
Summary
What happened
Buffer overflow in the Linux kernel allows local users to corrupt kernel memory by sending crafted CAN XL frames to an HI-3110 interface. The hi3110_hard_start_xmit path misreads CAN XL flags as frame->len, and hi3110_hw_tx copies that unchecked length into a 14-byte buffer. Exploitation requires local CAP_NET_RAW access and an SPI-attached HI-3110 controller; it enables kernel data disclosure, privilege escalation, or a panic.
The record
- CVE
- CVE-2025-39987
- Published
- Oct 15, 2025
- Updated
- Oct 15, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Oct 15, 2025CVE publishedPublication date reported by the CVE source.
- Oct 15, 2025Record 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=4.12
- Affected versionversion=57e83fb9b7468c75cb65cde1d23043553c346c6d <57d332ce8c921d0e340650470bb0c1d707f216ee
- Affected versionversion=57e83fb9b7468c75cb65cde1d23043553c346c6d <7ab85762274c0fa997f0ef9a2307b2001aae43c4
- Affected versionversion=57e83fb9b7468c75cb65cde1d23043553c346c6d <8f351db6b2367991f0736b2cff082f5de4872113
- Affected versionversion=57e83fb9b7468c75cb65cde1d23043553c346c6d <ac1c7656fa717f29fac3ea073af63f0b9919ec9a
- Affected versionversion=57e83fb9b7468c75cb65cde1d23043553c346c6d <be1b25005fd0f9d4e78bec6695711ef87ee33398
- Affected versionversion=57e83fb9b7468c75cb65cde1d23043553c346c6d <def814b4ba31b563584061d6895d5ff447d5bc14
- Affected versionversion=57e83fb9b7468c75cb65cde1d23043553c346c6d <e77fdf9e33a83a08f04ab0cb68c19ddb365a622f
- Affected versionversion=57e83fb9b7468c75cb65cde1d23043553c346c6d <f2c247e9581024d8b3dd44cbe086bf2bebbef42c
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