CVE-2022-49553 fs/ntfs3: validate BOOT sectors_per_clusters
A missing validation in the Linux kernel NTFS3 driver allows a crafted filesystem to cause a shift-out-of-bounds error, leading to a denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2022-49553?
CVE-2022-49553 is a high-severity vulnerability in Linux kernel, published on 26 Feb 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official 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
Weakness: CWE-190
Which versions are affected by CVE-2022-49553?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2022-49553?
Apply the vendor's patch.
Is CVE-2022-49553 being exploited?
There is no known exploitation of CVE-2022-49553 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2022-49553, GHSA-prmq-f3cr-h276, UBUNTU-CVE-2022-49553.