Kernel warning via unlocked ext4 bmap path
Published Jun 18, 2025 · Updated May 11, 2026
Race condition in ext4 in Linux kernel 5.7 allows local users to trigger a kernel warning through concurrent bmap and write operations. The ext4_bmap path calls ext4_iomap_begin without holding the inode lock, while a concurrent write can create inline data and set EXT4_INODE_INLINE_DATA before the warning check. A local user needs access to the same ext4 inode and must win the race; the documented outcome is a WARN_ON_ONCE kernel warning.
Summary
What happened
Race condition in ext4 in Linux kernel 5.7 allows local users to trigger a kernel warning through concurrent bmap and write operations. The ext4_bmap path calls ext4_iomap_begin without holding the inode lock, while a concurrent write can create inline data and set EXT4_INODE_INLINE_DATA before the warning check. A local user needs access to the same ext4 inode and must win the race; the documented outcome is a WARN_ON_ONCE kernel warning.
The record
- CVE
- CVE-2022-50082
- Published
- Jun 18, 2025
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-362
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jun 18, 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=5.7
- Affected versionversion=ac58e4fb03f9d111d733a4ad379d06eef3a24705 <30dfb75e1f8645404a536c74d468d498adcd4e74
- Affected versionversion=ac58e4fb03f9d111d733a4ad379d06eef3a24705 <51ae846cff568c8c29921b1b28eb2dfbcd4ac12d
- Affected versionversion=ac58e4fb03f9d111d733a4ad379d06eef3a24705 <a9fe6d1e3d343d7309f501b1f48020ce7127221f
- Affected versionversion=ac58e4fb03f9d111d733a4ad379d06eef3a24705 <e1682c7171a6c0ff576fe8116b8cba5b8f538b94
- Affected versionversion=ac58e4fb03f9d111d733a4ad379d06eef3a24705 <fa6482f374fda29a71ad44d76d35b4842d43cda4
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