CVE-2022-50313 Details
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]
A vulnerability in the Linux kernel's EROFS (Enhanced Read-Only File System) implementation has been addressed. The issue arose because the i_size field is a signed integer, allowing for negative values that could be interpreted as less than the EROFS block size. This anomaly caused the filesystem to mistakenly treat certain entries as fast symbolic links, leading to potential misbehavior. The vulnerability has been fixed by modifying the symlink handling code to properly account for negative i_size values.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for downloading the patched kernel can be found on the official Linux kernel website.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/0ab621fcdff1a58ff4de51a8590fa92a0ecd34be | kernel.org | Patch |
| https://git.kernel.org/stable/c/17a0cdbd7b0cf0fc0d7ca4187a67f8f1c18c291f | kernel.org | Patch |
| https://git.kernel.org/stable/c/1dd73601a1cba37a0ed5f89a8662c90191df5873 | kernel.org | Patch |
| https://git.kernel.org/stable/c/6235fb899b25fd287d5e42635ff82196395708cc | kernel.org | Patch |
| https://git.kernel.org/stable/c/acc2f40b980c61a9178b72cdedd150b829064997 | kernel.org | Patch |
| https://git.kernel.org/stable/c/b6c8330f5b0f22149957a2e4977fd0f01a9db7cd | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux 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 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 4, 2025 | Initial Analysis | [email protected] |
| Sep 15, 2025 | New CVE Received | kernel.org |