# CVE-2022-49553: fs/ntfs3: validate BOOT sectors_per_clusters

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 22% of CVEs (2026-12-01)
- Published: 2025-02-26T02:14:02.183Z
- Modified: 2026-08-05T08:55:39.688Z
- Weaknesses: CWE-190
- Assigned by: Linux

## Description

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

fs/ntfs3: validate BOOT sectors_per_clusters

When the NTFS BOOT sectors_per_clusters field is > 0x80, it represents a
shift value.  Make sure that the shift value is not too large before using
it (NTFS max cluster size is 2MB).  Return -EVINVAL if it too large.

This prevents negative shift values and shift values that are larger than
the field size.

Prevents this UBSAN error:

 UBSAN: shift-out-of-bounds in ../fs/ntfs3/super.c:673:16
 shift exponent -192 is negative

(As written by CVE List.)

## Affected

- Linux Linux: from 82cae269cfa953032fbb8980a7d554d60fb00b17 before 58cf68a1886d14ffdc5c892ce483a82156769e88; from 82cae269cfa953032fbb8980a7d554d60fb00b17 before 4746c49b11b2403f5b5b07c6eac9e60663dcd9a3; from 82cae269cfa953032fbb8980a7d554d60fb00b17 before a2b6986316a2d106f6951e76db70fa4b2fde64a9; from 82cae269cfa953032fbb8980a7d554d60fb00b17 before a3b774342fa752a5290c0de36375289dfcf4a260; 5.15 (not affected: before 5.15; from 5.15.45 up to 5.15.*; from 5.17.13 up to 5.17.*; from 5.18.2 up to 5.18.*; from 5.19 up to *)
- linux linux_kernel: from 5.15 before 5.15.45; from 5.16 before 5.17.13; from 5.18 before 5.18.2

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/58cf68a1886d14ffdc5c892ce483a82156769e88> (patch)
- <https://git.kernel.org/stable/c/4746c49b11b2403f5b5b07c6eac9e60663dcd9a3> (patch)
- <https://git.kernel.org/stable/c/a2b6986316a2d106f6951e76db70fa4b2fde64a9> (patch)
- <https://git.kernel.org/stable/c/a3b774342fa752a5290c0de36375289dfcf4a260> (patch)

## Sources

- CVE List: [CVE-2022-49553](https://www.cve.org/CVERecord?id=CVE-2022-49553), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2022-49553](https://nvd.nist.gov/vuln/detail/CVE-2022-49553), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2022-49553 · Whole record: https://cve.day/CVE-2022-49553.json · Rebuilt by cve.day 2026-11-25T22:58:20.726Z
