CVE-2022-50313

published 15 Sep 2025 · updated 11 May 2026

erofs: fix order >= MAX_ORDER warning due to crafted negative i_size

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0ab621fcdff1a58ff4de51a8590fa92a0ecd34be, Kernel 17a0cdbd7b0cf0fc0d7ca4187a67f8f1c18c291f, Kernel 1dd73601a1cba37a0ed5f89a8662c90191df5873 and 3 more.

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

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.19, >=431339ba90423a038914c6032bfd71f0ba7ef2f2 <0ab621fcdff1a58ff4de51a8590fa92a0ecd34be, >=431339ba90423a038914c6032bfd71f0ba7ef2f2 <17a0cdbd7b0cf0fc0d7ca4187a67f8f1c18c291f, >=431339ba90423a038914c6032bfd71f0ba7ef2f2 <1dd73601a1cba37a0ed5f89a8662c90191df5873, >=431339ba90423a038914c6032bfd71f0ba7ef2f2 <6235fb899b25fd287d5e42635ff82196395708cc, >=431339ba90423a038914c6032bfd71f0ba7ef2f2 <acc2f40b980c61a9178b72cdedd150b829064997, >=431339ba90423a038914c6032bfd71f0ba7ef2f2 <b6c8330f5b0f22149957a2e4977fd0f01a9db7cd0ab621fcdff1a58ff4de51a8590fa92a0ecd34be, 17a0cdbd7b0cf0fc0d7ca4187a67f8f1c18c291f, 1dd73601a1cba37a0ed5f89a8662c90191df5873, 6235fb899b25fd287d5e42635ff82196395708cc, acc2f40b980c61a9178b72cdedd150b829064997, b6c8330f5b0f22149957a2e4977fd0f01a9db7cd

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-50313 severity on Zeptric[![CVE-2022-50313](https://zeptric.io/badge/cve/CVE-2022-50313.svg)](https://zeptric.io/cve/CVE-2022-50313)