CVE-2022-50313
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-09-15

Last updated on: 2025-12-04

Assigner: kernel.org

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 Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-09-15
Last Modified
2025-12-04
Generated
2026-06-16
AI Q&A
2025-09-15
EPSS Evaluated
2026-06-15
NVD
Affected Vendors & Products
Showing 5 associated CPEs
Vendor Product Version / Range
linux linux_kernel From 4.19 (inc) to 5.4.289 (exc)
linux linux_kernel From 5.5 (inc) to 5.10.233 (exc)
linux linux_kernel From 5.11 (inc) to 5.15.82 (exc)
linux linux_kernel From 5.16 (inc) to 5.19.17 (exc)
linux linux_kernel From 6.0 (inc) to 6.0.3 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-NVD-CWE-noinfo
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability in the Linux kernel's erofs filesystem occurs because the i_size field is a signed type, allowing it to have a negative value. When i_size is negative and less than EROFS_BLKSIZ, it is mistakenly treated as a fast symlink, which is unexpected behavior. The fix involves falling back to a generic handling path for such unusual i_size values to prevent this incorrect processing.

Impact Analysis

The vulnerability could cause the erofs filesystem to incorrectly handle files with crafted negative i_size values, potentially leading to unexpected behavior or errors when processing such files. This may affect system stability or security depending on how the filesystem is used, but specific impacts are not detailed in the provided information.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2022-50313. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart