Signed overflow via media-change timestamp subtraction
Published Jul 30, 2024 · Updated May 11, 2026
Signed integer overflow in the Linux kernel cdrom driver from 5.16 allows local users to trigger invalid arithmetic through an ioctl. cdrom_ioctl_timed_media_change subtracts the stored device timestamp from a supplied last_media_change value and compares the signed result, so extreme input wraps. A local account with access to a CD-ROM block device and its ioctl path is required; public evidence demonstrates a sanitizer fault, not a confirmed crash or privilege gain.
Summary
What happened
Signed integer overflow in the Linux kernel cdrom driver from 5.16 allows local users to trigger invalid arithmetic through an ioctl. cdrom_ioctl_timed_media_change subtracts the stored device timestamp from a supplied last_media_change value and compares the signed result, so extreme input wraps. A local account with access to a CD-ROM block device and its ioctl path is required; public evidence demonstrates a sanitizer fault, not a confirmed crash or privilege gain.
The record
- CVE
- CVE-2024-42136
- Published
- Jul 30, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-190
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 30, 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.16
- Affected versionversion=67f1e027c27054e641584655020a417eaac9cb3a <0c97527e916054acc4a46ffb02842988acb2e92b
- Affected versionversion=67f1e027c27054e641584655020a417eaac9cb3a <3ee21e14c8c329168a0b66bab00ecd18f5d0dee3
- Affected versionversion=67f1e027c27054e641584655020a417eaac9cb3a <e809bc112712da8f7e15822674c6562da6cdf24c
- Affected versionversion=67f1e027c27054e641584655020a417eaac9cb3a <efb905aeb44b0e99c0e6b07865b1885ae0471ebf
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