CVE-2022-50313

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

published September 15, 2025

CVSS
—
EPSS
0%
Percentile
4.8
In the wild
Unconfirmed
What it is

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]

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00160 · 4.8th percentile
Published
2025-09-15T14:46Z
EPSS history
Timeline
  • 15 SEP 14:46Z
    erofs: fix order >= MAX_ORDER warning due to crafted negative i_size
    cvelistv5