Local service interruption via negative EROFS inode
Published Sep 15, 2025 · Updated Sep 15, 2025
Improper inode-size validation in Linux EROFS allows local users to trigger a kernel warning through a crafted filesystem image. The EROFS inode reader compares signed i_size with EROFS_BLKSIZ without first rejecting negative values, misclassifies the inode as a fast symlink, and passes the invalid size into allocation handling. The crafted image must be processed locally; the warning can crash systems configured to panic on kernel warnings, while other systems log the fault.
Summary
What happened
Improper inode-size validation in Linux EROFS allows local users to trigger a kernel warning through a crafted filesystem image. The EROFS inode reader compares signed i_size with EROFS_BLKSIZ without first rejecting negative values, misclassifies the inode as a fast symlink, and passes the invalid size into allocation handling. The crafted image must be processed locally; the warning can crash systems configured to panic on kernel warnings, while other systems log the fault.
The record
- CVE
- CVE-2022-50313
- Published
- Sep 15, 2025
- Updated
- Sep 15, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Sep 15, 2025CVE publishedPublication date reported by the CVE source.
- Sep 15, 2025Record 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=4.19
- Affected versionversion=431339ba90423a038914c6032bfd71f0ba7ef2f2 <0ab621fcdff1a58ff4de51a8590fa92a0ecd34be
- Affected versionversion=431339ba90423a038914c6032bfd71f0ba7ef2f2 <17a0cdbd7b0cf0fc0d7ca4187a67f8f1c18c291f
- Affected versionversion=431339ba90423a038914c6032bfd71f0ba7ef2f2 <1dd73601a1cba37a0ed5f89a8662c90191df5873
- Affected versionversion=431339ba90423a038914c6032bfd71f0ba7ef2f2 <6235fb899b25fd287d5e42635ff82196395708cc
- Affected versionversion=431339ba90423a038914c6032bfd71f0ba7ef2f2 <acc2f40b980c61a9178b72cdedd150b829064997
- Affected versionversion=431339ba90423a038914c6032bfd71f0ba7ef2f2 <b6c8330f5b0f22149957a2e4977fd0f01a9db7cd
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 EROFS negative i_size 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