{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-50020","id":"CVE-2022-50020","title":"ext4: avoid resizing to a partial cluster size","description":"In the Linux kernel, the following vulnerability has been resolved:\n\next4: avoid resizing to a partial cluster size\n\nThis patch avoids an attempt to resize the filesystem to an\nunaligned cluster boundary.  An online resize to a size that is not\nintegral to cluster size results in the last iteration attempting to\ngrow the fs by a negative amount, which trips a BUG_ON and leaves the fs\nwith a corrup","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\next4: avoid resizing to a partial cluster size\n\nThis patch avoids an attempt to resize the filesystem to an\nunaligned cluster boundary.  An online resize to a size that is not\nintegral to cluster size results in the last iteration attempting to\ngrow the fs by a negative amount, which trips a BUG_ON and leaves the fs\nwith a corrupted in-memory superblock.","published":"2025-06-18T11:01:24.227Z","updated":"2026-11-07T02:30:54.567674442Z","reserved":"2025-06-18T10:57:27.393Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d77147ff443b255d82c907a632c825b2cc610b10","lessThan":"7bdfb01fc5f6b3696728aeb527c50386e0ee09a1","status":"affected","versionType":"git"},{"version":"d77147ff443b255d82c907a632c825b2cc610b10","lessThan":"a6805b3dcf5cd41f2ae3a03dca43411135b99849","status":"affected","versionType":"git"},{"version":"d77147ff443b255d82c907a632c825b2cc610b10","lessThan":"80288883294c5b4ed18bae0d8bd9c4a12f297074","status":"affected","versionType":"git"},{"version":"d77147ff443b255d82c907a632c825b2cc610b10","lessThan":"72b850a2a996f72541172e7cf686d54a2b29bcd8","status":"affected","versionType":"git"},{"version":"d77147ff443b255d82c907a632c825b2cc610b10","lessThan":"0082e99a9074ff88eff729c70c93454c8588d8e1","status":"affected","versionType":"git"},{"version":"d77147ff443b255d82c907a632c825b2cc610b10","lessThan":"69cb8e9d8cd97cdf5e293b26d70a9dee3e35e6bd","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.15","status":"affected"},{"version":"0","lessThan":"4.15","status":"unaffected","versionType":"semver"},{"version":"4.19.256","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.211","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.138","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.63","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.19.4","lessThanOrEqual":"5.19.*","status":"unaffected","versionType":"semver"},{"version":"6.0","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-1284"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/7bdfb01fc5f6b3696728aeb527c50386e0ee09a1","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/a6805b3dcf5cd41f2ae3a03dca43411135b99849","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/80288883294c5b4ed18bae0d8bd9c4a12f297074","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/72b850a2a996f72541172e7cf686d54a2b29bcd8","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/0082e99a9074ff88eff729c70c93454c8588d8e1","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/69cb8e9d8cd97cdf5e293b26d70a9dee3e35e6bd","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50020.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50020","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00218,"epssPercentile":0.12363,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-50020","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50020","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-50020","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-50020","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}