CVE-2022-50313: erofs: fix order >= MAX_ORDER warning due to crafted negative i_size
Vulnerability summary
CVE-2022-50313 is a medium (CVSS 5.5) vulnerability in linux. EPSS estimates a 0.16% chance of exploitation in the next 30 days, higher than 5.1% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1Timeline
- 15-09-2025PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: erofs: fix order >= MAX_ORDER warning due to crafted negative i_size As syzbot reported [1], the root cause is that i_size field is a signed type, and negative i_size is also less than EROFS_BLKSIZ. As a consequence, it's handled as fast symlink unexpectedly. Let's fall back to the generic path to deal with such unusual i_size. [1] https://lore.kernel.org/r/000000000000ac8efa05e7feaa1f@google.com
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.16%
Chance of exploitation in the next 30 days
Percentile
5%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.16% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu116 products
- linux< 5.4.0-211.231 | < 5.15.0-67.74
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 5.4.0-1142.152 | < 5.15.0-1031.35
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 431339ba90423a038914c6032bfd71f0ba7ef2f2, < 17a0cdbd7b0cf0fc0d7ca4187a67f8f1c18c291f | ≥ 431339ba90423a038914c6032bfd71f0ba7ef2f2, < 0ab621fcdff1a58ff4de51a8590fa92a0ecd34be | ≥ 431339ba90423a038914c6032bfd71f0ba7ef2f2, < acc2f40b980c61a9178b72cdedd150b829064997 | ≥ 431339ba90423a038914c6032bfd71f0ba7ef2f2, < b6c8330f5b0f22149957a2e4977fd0f01a9db7cd | ≥ 431339ba90423a038914c6032bfd71f0ba7ef2f2, < 6235fb899b25fd287d5e42635ff82196395708cc | ≥ 431339ba90423a038914c6032bfd71f0ba7ef2f2, < 1dd73601a1cba37a0ed5f89a8662c90191df5873 | 4.19
- linux_kernel≥ 4.19, < 5.4.289 | ≥ 5.5, < 5.10.233 | ≥ 5.11, < 5.15.82 | ≥ 5.16, < 5.19.17 | ≥ 6.0, < 6.0.3
Debian1 product
- linux< 6.0.3-1
3 vendors · 119 products