Kernel crash via unchecked NULL CAN frame dereference
Published Feb 27, 2025 · Updated May 11, 2026
NULL pointer dereference in the ctucanfd CAN driver in Linux allows local users to crash the kernel during an error interrupt. When CAN-frame socket-buffer allocation fails, ctucan_err_interrupt() leaves struct can_frame NULL but writes through it in one controller-state branch. Exploitation requires local low-privileged access, an active CTU CAN FD controller, and memory pressure sufficient to fail allocation; the bounded impact is a kernel crash.
Summary
What happened
NULL pointer dereference in the ctucanfd CAN driver in Linux allows local users to crash the kernel during an error interrupt. When CAN-frame socket-buffer allocation fails, ctucan_err_interrupt() leaves struct can_frame NULL but writes through it in one controller-state branch. Exploitation requires local low-privileged access, an active CTU CAN FD controller, and memory pressure sufficient to fail allocation; the bounded impact is a kernel crash.
The record
- CVE
- CVE-2025-21775
- Published
- Feb 27, 2025
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-476, T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Feb 27, 2025CVE 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=2dcb8e8782d8e4c38903bf37b1a24d3ffd193da7 <84b9ac59978a6a4e0812d1c938fad97306272cef
- Affected versionversion=2dcb8e8782d8e4c38903bf37b1a24d3ffd193da7 <9bd24927e3eeb85642c7baa3b28be8bea6c2a078
- Affected versionversion=2dcb8e8782d8e4c38903bf37b1a24d3ffd193da7 <b0e592dd46a0a952b41c3bf6c963afdd6a42b526
- Affected versionversion=2dcb8e8782d8e4c38903bf37b1a24d3ffd193da7 <e505b83b9ee6aa0ae2f4395f573a66579ae403fb
- Affected versionversion=2dcb8e8782d8e4c38903bf37b1a24d3ffd193da7 <e7e2e2318b1f085044126ba553a4e619842fc36d
- Affected versionversion=5.19
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.
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