Vulnerabilities · 2022 · Linux
CVE-2022-50313
Linux Kernel vulnerability
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]
Affected products
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/0ab621fcdff1a58ff4de51a8590fa92a0ecd34be · Patch
- git.kernel.org/stable/c/17a0cdbd7b0cf0fc0d7ca4187a67f8f1c18c291f · Patch
- git.kernel.org/stable/c/1dd73601a1cba37a0ed5f89a8662c90191df5873 · Patch
- git.kernel.org/stable/c/6235fb899b25fd287d5e42635ff82196395708cc · Patch
- git.kernel.org/stable/c/acc2f40b980c61a9178b72cdedd150b829064997 · Patch
- git.kernel.org/stable/c/b6c8330f5b0f22149957a2e4977fd0f01a9db7cd · Patch
- nvd.nist.gov/vuln/detail/CVE-2022-50313
- cve.org/CVERecord?id=CVE-2022-50313
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.