Kernel warning via unterminated ext4 volume label
Published Aug 8, 2024 · Updated May 11, 2026
Out-of-bounds read in Linux 6.10 allows local users to trigger a kernel warning through a crafted ext4 volume label. The ext4_ioctl_getlabel function passes the fixed-width s_volume_name field to strscpy_pad even though the field need not contain a NUL terminator, so fortified string handling reads beyond the 16-byte field and raises a warning. A local user must invoke the filesystem-label read on a mounted ext4 filesystem with a full-length label; the warning becomes a kernel panic only when panic_on_warn is enabled.
Summary
What happened
Out-of-bounds read in Linux 6.10 allows local users to trigger a kernel warning through a crafted ext4 volume label. The ext4_ioctl_getlabel function passes the fixed-width s_volume_name field to strscpy_pad even though the field need not contain a NUL terminator, so fortified string handling reads beyond the 16-byte field and raises a warning. A local user must invoke the filesystem-label read on a mounted ext4 filesystem with a full-length label; the warning becomes a kernel panic only when panic_on_warn is enabled.
The record
- CVE
- CVE-2024-42257
- Published
- Aug 8, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Aug 8, 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=6.10
- Affected versionversion=744a56389f7398f286231e062c2e63f0de01bcc6 <4378be89ddb7de88d984b67ecfd6191686c42817
- Affected versionversion=744a56389f7398f286231e062c2e63f0de01bcc6 <be27cd64461c45a6088a91a04eba5cd44e1767ef
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
- syzbot ext4 filesystem-label reproducerproof of concept · demonstrated
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