CVE-2022-50746: erofs: validate the extent length for uncompressed pclusters

Published Dec 24, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

erofs: validate the extent length for uncompressed pclusters

syzkaller reported a KASAN use-after-free: https://syzkaller.appspot.com/bug?extid=2ae90e873e97f1faf6f2

The referenced fuzzed image actually has two issues: - mpa == 0 as a non-inlined pcluster; - The logical length is longer than its physical length.

The first issue has already been addressed. This patch addresses the second issue by checking the extent length validity.

Affected Software

1 affected component
linux/kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Patch erofs: validate the extent length for uncompressed pclusters

Event History

Dec 24, 2025
CVE Published
via MITRE·01:05 PM
Data Sourced
via MITRE·01:05 PM
DescriptionSeverity
Data Sourced
via NVD·01:16 PM
DescriptionSeverity

Frequently Asked Questions

1

What malformed filesystem condition is required to trigger this issue?

The affected image contains an uncompressed, non-inlined pcluster whose logical extent length is greater than its physical length. The report also identified an m_pa == 0 condition, but that separate issue had already been addressed.

2

What should be done if the kernel is affected?

Apply the extent-length validation fix referenced in the listed stable kernel commits. The fix rejects invalid extent lengths for uncompressed pclusters.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203