CVE-2022-50020: ext4: avoid resizing to a partial cluster size

Published Jun 18, 2025
·
Updated

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

ext4: avoid resizing to a partial cluster size

This patch avoids an attempt to resize the filesystem to an unaligned cluster boundary. An online resize to a size that is not integral to cluster size results in the last iteration attempting to grow the fs by a negative amount, which trips a BUGON and leaves the fs with a corrupted in-memory superblock.

Affected Software

8 affected components
Linux Kernel
Linux Linux kernel<4.9.326
Linux Linux kernel>=4.10<4.14.291
Linux Linux kernel>=4.15<4.19.256
Linux Linux kernel>=4.20<5.4.211
Linux Linux kernel>=5.5<5.10.138
Linux Linux kernel>=5.11<5.15.63
Linux Linux kernel>=5.16<5.19.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Apply the described Linux kernel fix: ext4 should avoid resizing to a partial cluster size (the resolved change prevents the last iteration from attempting an unaligned cluster boundary that could trip BUG_ON and leave the filesystem with a corrupted in-memory superblock).

Event History

Jun 18, 2025
CVE Published
via MITRE·11:01 AM
Data Sourced
via MITRE·11:01 AM
Description
Data Sourced
via NVD·11:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via Red Hat·12:11 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2022-50020?

CVE-2022-50020 has been classified as a medium severity vulnerability in the Linux kernel.

2

How do I fix CVE-2022-50020?

To fix CVE-2022-50020, you should update to a patched version of the Linux kernel that addresses this vulnerability.

3

What does CVE-2022-50020 affect?

CVE-2022-50020 affects the ext4 filesystem within the Linux kernel.

4

What kind of vulnerability is CVE-2022-50020?

CVE-2022-50020 is a filesystem-related vulnerability that involves resizing the ext4 filesystem to an unaligned cluster size.

5

Is CVE-2022-50020 a local or remote vulnerability?

CVE-2022-50020 is considered a local vulnerability that could be exploited by users with access to the affected system.

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