---
id: CVE-2022-50020
title: 'ext4: avoid resizing to a partial cluster size'
summary: |-
  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…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= d77147ff443b255d82c907a632c825b2cc610b10 <
    7bdfb01fc5f6b3696728aeb527c50386e0ee09a1
  - >-
    Linux >= d77147ff443b255d82c907a632c825b2cc610b10 <
    a6805b3dcf5cd41f2ae3a03dca43411135b99849
  - >-
    Linux >= d77147ff443b255d82c907a632c825b2cc610b10 <
    80288883294c5b4ed18bae0d8bd9c4a12f297074
  - >-
    Linux >= d77147ff443b255d82c907a632c825b2cc610b10 <
    72b850a2a996f72541172e7cf686d54a2b29bcd8
  - >-
    Linux >= d77147ff443b255d82c907a632c825b2cc610b10 <
    0082e99a9074ff88eff729c70c93454c8588d8e1
  - >-
    Linux >= d77147ff443b255d82c907a632c825b2cc610b10 <
    69cb8e9d8cd97cdf5e293b26d70a9dee3e35e6bd
  - Linux 4.15
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-05T19:53:04.939897Z'
published: '2025-06-18'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T20:00:13.937Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2022-50020'
references:
  - url: 'https://git.kernel.org/stable/c/7bdfb01fc5f6b3696728aeb527c50386e0ee09a1'
  - url: 'https://git.kernel.org/stable/c/a6805b3dcf5cd41f2ae3a03dca43411135b99849'
  - url: 'https://git.kernel.org/stable/c/80288883294c5b4ed18bae0d8bd9c4a12f297074'
  - url: 'https://git.kernel.org/stable/c/72b850a2a996f72541172e7cf686d54a2b29bcd8'
  - url: 'https://git.kernel.org/stable/c/0082e99a9074ff88eff729c70c93454c8588d8e1'
  - url: 'https://git.kernel.org/stable/c/69cb8e9d8cd97cdf5e293b26d70a9dee3e35e6bd'
tags:
  - cve.org
epss: 0.00208
epssPercentile: 0.11047
ingestedAt: '2026-11-05T22:38:31.637Z'
---

## Overview

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 BUG_ON and leaves the fs
with a corrupted in-memory superblock.

## Affected

- `Linux >= d77147ff443b255d82c907a632c825b2cc610b10 < 7bdfb01fc5f6b3696728aeb527c50386e0ee09a1`
- `Linux >= d77147ff443b255d82c907a632c825b2cc610b10 < a6805b3dcf5cd41f2ae3a03dca43411135b99849`
- `Linux >= d77147ff443b255d82c907a632c825b2cc610b10 < 80288883294c5b4ed18bae0d8bd9c4a12f297074`
- `Linux >= d77147ff443b255d82c907a632c825b2cc610b10 < 72b850a2a996f72541172e7cf686d54a2b29bcd8`
- `Linux >= d77147ff443b255d82c907a632c825b2cc610b10 < 0082e99a9074ff88eff729c70c93454c8588d8e1`
- `Linux >= d77147ff443b255d82c907a632c825b2cc610b10 < 69cb8e9d8cd97cdf5e293b26d70a9dee3e35e6bd`
- `Linux 4.15`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
