CVE-2022-50313Improper Validation of Specified Quantity in Input in Linux

Severity
5.5MEDIUMNVD
EPSS
0.0%
top 95.77%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedSep 15

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]

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitability: 1.8 | Impact: 3.6

Affected Packages4 packages

NVDlinux/linux_kernel4.195.4.289+4
Debianlinux/linux_kernel< 5.10.234-1+3
CVEListV5linux/linux431339ba90423a038914c6032bfd71f0ba7ef2f217a0cdbd7b0cf0fc0d7ca4187a67f8f1c18c291f+6
debiandebian/linux< linux 6.0.3-1 (bookworm)

Patches

🔴Vulnerability Details

2
GHSA
GHSA-8w2v-rqc9-m6rw: In the Linux kernel, the following vulnerability has been resolved: erofs: fix order >= MAX_ORDER warning due to crafted negative i_size As syzbot r2025-09-15
OSV
CVE-2022-50313: In the Linux kernel, the following vulnerability has been resolved: erofs: fix order >= MAX_ORDER warning due to crafted negative i_size As syzbot rep2025-09-15

📋Vendor Advisories

2
Red Hat
kernel: erofs: fix order >= MAX_ORDER warning due to crafted negative i_size2025-09-15
Debian
CVE-2022-50313: linux - In the Linux kernel, the following vulnerability has been resolved: erofs: fix ...2022
CVE-2022-50313 — Linux vulnerability | cvebase