{"id":"CVE-2022-50020","aliases":["CVE-2022-50020"],"related":[],"kind":"vulnerability","state":"published","title":"ext4: avoid resizing to a partial cluster size","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ext4: evitar redimensionar a un tamaño de clúster parcial. Este parche evita que se intente redimensionar el sistema de archivos a un límite de clúster no alineado. Un redimensionamiento en línea a un tamaño que no es integral al tamaño del clúster provoca que la última iteración intente aumentar el sistema de archivos en una cantidad negativa, lo que activa un BUG_ON y deja el sistema de archivos con un superbloque en memoria dañado.","source":"nvd"}],"published":"2025-06-18T11:01:24.227Z","modified":"2026-11-05T20:17:20.763Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-1284"],"affected":[{"ranges":[{"type":"git","introduced":"d77147ff443b255d82c907a632c825b2cc610b10","fixed":"7bdfb01fc5f6b3696728aeb527c50386e0ee09a1","status":"affected"},{"type":"git","introduced":"d77147ff443b255d82c907a632c825b2cc610b10","fixed":"a6805b3dcf5cd41f2ae3a03dca43411135b99849","status":"affected"},{"type":"git","introduced":"d77147ff443b255d82c907a632c825b2cc610b10","fixed":"80288883294c5b4ed18bae0d8bd9c4a12f297074","status":"affected"},{"type":"git","introduced":"d77147ff443b255d82c907a632c825b2cc610b10","fixed":"72b850a2a996f72541172e7cf686d54a2b29bcd8","status":"affected"},{"type":"git","introduced":"d77147ff443b255d82c907a632c825b2cc610b10","fixed":"0082e99a9074ff88eff729c70c93454c8588d8e1","status":"affected"},{"type":"git","introduced":"d77147ff443b255d82c907a632c825b2cc610b10","fixed":"69cb8e9d8cd97cdf5e293b26d70a9dee3e35e6bd","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.15","status":"unaffected"},{"type":"semver","introduced":"4.19.256","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.211","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.138","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.63","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.19.4","lastAffected":"5.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"4.9.326"},{"status":"affected","introduced":"4.10","fixed":"4.14.291"},{"status":"affected","introduced":"4.15","fixed":"4.19.256"},{"status":"affected","introduced":"4.20","fixed":"5.4.211"},{"status":"affected","introduced":"5.5","fixed":"5.10.138"},{"status":"affected","introduced":"5.11","fixed":"5.15.63"},{"status":"affected","introduced":"5.16","fixed":"5.19.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/7bdfb01fc5f6b3696728aeb527c50386e0ee09a1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a6805b3dcf5cd41f2ae3a03dca43411135b99849","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/80288883294c5b4ed18bae0d8bd9c4a12f297074","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/72b850a2a996f72541172e7cf686d54a2b29bcd8","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0082e99a9074ff88eff729c70c93454c8588d8e1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/69cb8e9d8cd97cdf5e293b26d70a9dee3e35e6bd","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T19:53:04.939Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50020","url":"https://www.cve.org/CVERecord?id=CVE-2022-50020","licence":"CVE Terms of Use","modified":"2026-11-05T20:00:13.937Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50020","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50020","licence":"Public domain","modified":"2026-11-05T20:17:20.763Z"}],"updatedAt":"2026-11-25T22:58:21.014Z","epss":{"score":0.0022,"percentile":0.1337,"date":"2026-12-01T12:00:22.000Z"}}