Kernel memory disclosure via uninitialized J1939 frame
Published Jul 29, 2024 · Updated May 11, 2026
Information disclosure in the Linux kernel J1939 CAN subsystem allows local users to read uninitialized kernel memory through raw CAN sockets. j1939_send_one() builds a full 16-byte CAN frame but leaves bytes 12–15 uninitialized, and raw_recvmsg() copies those bytes to user space. A low-privileged local user must reach the J1939 send path and read from a raw CAN socket; the demonstrated consequence is disclosure of four kernel-memory bytes per frame.
Summary
What happened
Information disclosure in the Linux kernel J1939 CAN subsystem allows local users to read uninitialized kernel memory through raw CAN sockets. j1939_send_one() builds a full 16-byte CAN frame but leaves bytes 12–15 uninitialized, and raw_recvmsg() copies those bytes to user space. A low-privileged local user must reach the J1939 send path and read from a raw CAN socket; the demonstrated consequence is disclosure of four kernel-memory bytes per frame.
The record
- CVE
- CVE-2024-42076
- Published
- Jul 29, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-908, T1005
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 29, 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.4
- Affected versionversion=9d71dd0c70099914fcd063135da3c580865e924c <4c5dc3927e17489c1cae6f48c0d5e4acb4cae01f
- Affected versionversion=9d71dd0c70099914fcd063135da3c580865e924c <5e4ed38eb17eaca42de57d500cc0f9668d2b6abf
- Affected versionversion=9d71dd0c70099914fcd063135da3c580865e924c <a2a0ebff7fdeb2f66e29335adf64b9e457300dd4
- Affected versionversion=9d71dd0c70099914fcd063135da3c580865e924c <ab2a683938ba4416d389c2f5651cbbb2c41b779f
- Affected versionversion=9d71dd0c70099914fcd063135da3c580865e924c <b7cdf1dd5d2a2d8200efd98d1893684db48fe134
- Affected versionversion=9d71dd0c70099914fcd063135da3c580865e924c <ba7e5ae8208ac07d8e1eace0951a34c169a2d298
- Affected versionversion=9d71dd0c70099914fcd063135da3c580865e924c <f97cbce633923588307049c4aef9feb2987e371b
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