ext4: avoid resizing to a partial cluster size (Linux Linux)

CVE-2022-50020
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.21 % · percentile 11 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

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.

Weaknesses (CWE)

  • CWE-1284 — Improper Validation of Specified Quantity in Input

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected d77147ff443b255d82c907a632c825b2cc610b10 < 7bdfb01fc5f6b3696728aeb527c50386e0ee09a1 ; affected d77147ff443b255d82c907a632c825b2cc610b10 < a6805b3dcf5cd41f2ae3a03dca43411135b99849 ; affected d77147ff443b255d82c907a632c825b2cc610b10 < 80288883294c5b4ed18bae0d8bd9c4a12f297074 ; affected d77147ff443b255d82c907a632c825b2cc610b10 < 72b850a2a996f72541172e7cf686d54a2b29bcd8 ; affected d77147ff443b255d82c907a632c825b2cc610b10 < 0082e99a9074ff88eff729c70c93454c8588d8e1 ; affected d77147ff443b255d82c907a632c825b2cc610b10 < 69cb8e9d8cd97cdf5e293b26d70a9dee3e35e6bd
Linux · Linuxaffected 4.15 ; unaffected 0 < 4.15 ; unaffected 4.19.256 ≤ 4.19.* ; unaffected 5.4.211 ≤ 5.4.* ; unaffected 5.10.138 ≤ 5.10.* ; unaffected 5.15.63 ≤ 5.15.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD