Back
CVE-2022-50313
erofs: fix order >= MAX_ORDER warning due to crafted negative i_size
Medium5.5EPSS 0.16%
- Published
- Updated
- Reserved
- Assigned by
- Linux
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/[email protected]
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Analyzed | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.16% · top 95% of all CVEs (6 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected 431339ba90423a038914c6032bfd71f0ba7ef2f2 – < 17a0cdbd7b0cf0fc0d7ca4187a67f8f1c18c291f
- affected 431339ba90423a038914c6032bfd71f0ba7ef2f2 – < 0ab621fcdff1a58ff4de51a8590fa92a0ecd34be
- affected 431339ba90423a038914c6032bfd71f0ba7ef2f2 – < acc2f40b980c61a9178b72cdedd150b829064997
- affected 431339ba90423a038914c6032bfd71f0ba7ef2f2 – < b6c8330f5b0f22149957a2e4977fd0f01a9db7cd
- affected 431339ba90423a038914c6032bfd71f0ba7ef2f2 – < 6235fb899b25fd287d5e42635ff82196395708cc
- affected 431339ba90423a038914c6032bfd71f0ba7ef2f2 – < 1dd73601a1cba37a0ed5f89a8662c90191df5873
- affected 4.19
- unaffected < 4.19
- unaffected 5.4.289 – ≤ 5.4.*
- unaffected 5.10.233 – ≤ 5.10.*
- unaffected 5.15.82 – ≤ 5.15.*
- unaffected 5.19.17 – ≤ 5.19.*
- unaffected 6.0.3 – ≤ 6.0.*
- unaffected 6.1 – ≤ *
References (6)
- https://git.kernel.org/stable/c/17a0cdbd7b0cf0fc0d7ca4187a67f8f1c18c291f (opens in a new tab)
- https://git.kernel.org/stable/c/0ab621fcdff1a58ff4de51a8590fa92a0ecd34be (opens in a new tab)
- https://git.kernel.org/stable/c/acc2f40b980c61a9178b72cdedd150b829064997 (opens in a new tab)
- https://git.kernel.org/stable/c/b6c8330f5b0f22149957a2e4977fd0f01a9db7cd (opens in a new tab)
- https://git.kernel.org/stable/c/6235fb899b25fd287d5e42635ff82196395708cc (opens in a new tab)
- https://git.kernel.org/stable/c/1dd73601a1cba37a0ed5f89a8662c90191df5873 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-50313)Record last updated .