{"id":"CVE-2022-49553","state":"PUBLISHED","title":"fs/ntfs3: validate BOOT sectors_per_clusters","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/ntfs3: validate BOOT sectors_per_clusters\n\nWhen the NTFS BOOT sectors_per_clusters field is > 0x80, it represents a\nshift value.  Make sure that the shift value is not too large before using\nit (NTFS max cluster size is 2MB).  Return -EVINVAL if it too large.\n\nThis prevents negative shift values and shift values that are larger than\nthe field size.\n\nPrevents this UBSAN error:\n\n UBSAN: shift-out-of-bounds in ../fs/ntfs3/super.c:673:16\n shift exponent -192 is negative","publishedAt":"2025-02-26T02:14:02.183Z","updatedAt":"2026-08-05T08:55:39.688Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"82cae269cfa953032fbb8980a7d554d60fb00b17","status":"affected","lessThan":"58cf68a1886d14ffdc5c892ce483a82156769e88","versionType":"git"},{"version":"82cae269cfa953032fbb8980a7d554d60fb00b17","status":"affected","lessThan":"4746c49b11b2403f5b5b07c6eac9e60663dcd9a3","versionType":"git"},{"version":"82cae269cfa953032fbb8980a7d554d60fb00b17","status":"affected","lessThan":"a2b6986316a2d106f6951e76db70fa4b2fde64a9","versionType":"git"},{"version":"82cae269cfa953032fbb8980a7d554d60fb00b17","status":"affected","lessThan":"a3b774342fa752a5290c0de36375289dfcf4a260","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ntfs3/super.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.15","versionType":"semver"},{"version":"5.15.45","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"5.17.13","status":"unaffected","lessThanOrEqual":"5.17.*","versionType":"semver"},{"version":"5.18.2","status":"unaffected","lessThanOrEqual":"5.18.*","versionType":"semver"},{"version":"5.19","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ntfs3/super.c"]}],"references":["https://git.kernel.org/stable/c/58cf68a1886d14ffdc5c892ce483a82156769e88","https://git.kernel.org/stable/c/4746c49b11b2403f5b5b07c6eac9e60663dcd9a3","https://git.kernel.org/stable/c/a2b6986316a2d106f6951e76db70fa4b2fde64a9","https://git.kernel.org/stable/c/a3b774342fa752a5290c0de36375289dfcf4a260"],"weaknesses":[],"ingestedAt":"2026-10-29T20:05:26.763Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/49xxx/CVE-2022-49553.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-49553","state":"PUBLISHED","datePublished":"2025-02-26T02:14:02.183Z","dateUpdated":"2026-08-05T08:55:39.688Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-02-26T02:08:31.590Z"},"containers":{"cna":{"title":"fs/ntfs3: validate BOOT sectors_per_clusters","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/ntfs3: validate BOOT sectors_per_clusters\n\nWhen the NTFS BOOT sectors_per_clusters field is > 0x80, it represents a\nshift value.  Make sure that the shift value is not too large before using\nit (NTFS max cluster size is 2MB).  Return -EVINVAL if it too large.\n\nThis prevents negative shift values and shift values that are larger than\nthe field size.\n\nPrevents this UBSAN error:\n\n UBSAN: shift-out-of-bounds in ../fs/ntfs3/super.c:673:16\n shift exponent -192 is negative"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"82cae269cfa953032fbb8980a7d554d60fb00b17","status":"affected","lessThan":"58cf68a1886d14ffdc5c892ce483a82156769e88","versionType":"git"},{"version":"82cae269cfa953032fbb8980a7d554d60fb00b17","status":"affected","lessThan":"4746c49b11b2403f5b5b07c6eac9e60663dcd9a3","versionType":"git"},{"version":"82cae269cfa953032fbb8980a7d554d60fb00b17","status":"affected","lessThan":"a2b6986316a2d106f6951e76db70fa4b2fde64a9","versionType":"git"},{"version":"82cae269cfa953032fbb8980a7d554d60fb00b17","status":"affected","lessThan":"a3b774342fa752a5290c0de36375289dfcf4a260","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ntfs3/super.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.15","versionType":"semver"},{"version":"5.15.45","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"5.17.13","status":"unaffected","lessThanOrEqual":"5.17.*","versionType":"semver"},{"version":"5.18.2","status":"unaffected","lessThanOrEqual":"5.18.*","versionType":"semver"},{"version":"5.19","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ntfs3/super.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/58cf68a1886d14ffdc5c892ce483a82156769e88"},{"url":"https://git.kernel.org/stable/c/4746c49b11b2403f5b5b07c6eac9e60663dcd9a3"},{"url":"https://git.kernel.org/stable/c/a2b6986316a2d106f6951e76db70fa4b2fde64a9"},{"url":"https://git.kernel.org/stable/c/a3b774342fa752a5290c0de36375289dfcf4a260"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The bug is reached only by mounting a crafted NTFS block device/image so ntfs_init_from_boot reads attacker-controlled BOOT.sectors_per_clusters; there is no network or adjacent-protocol entry into fs/ntfs3.\nAC:L - A malicious BOOT with sectors_per_clusters in 0x81–0xF3 deterministically triggers the out-of-bounds shift in true_sectors_per_clst(); the attacker fully controls that field with no race or special memory layout required.\nPR:N - The attacker needs no account on the target—only a malicious NTFS image (USB stick, disk/container image, or media presented to udisks2/automount), matching the established hostile-image scoring for this ntfs3 class.\nUI:R - ntfs3 is FS_REQUIRES_DEV without FS_USERNS_MOUNT, so a victim or automount daemon must mount the attacker-supplied volume before the vulnerable boot-sector parse runs.\nS:U - Impact is confined to the host kernel’s handling of the mounted volume under the same OS security authority; it is not a VM escape, IOMMU bypass, or sandbox boundary crossing.\nC:H - The undefined shift yields attacker-influenced sectors_per_cluster/cluster_size geometry that can pass mount checks and drive subsequent NTFS parsing; wrong cluster geometry enables out-of-bounds reads of kernel/on-disk structures, so Confidentiality is High.\nI:H - The same poisoned cluster_size/cluster_bits feed allocation, MFT, and runlist paths that perform size-based copies and updates, enabling heap/metadata corruption and control-flow hijack primitives; Integrity is High.\nA:H - The demonstrated UBSAN shift-out-of-bounds in ntfs_fill_super and subsequent operations on invalid cluster geometry can oops/panic the kernel, so Availability impact is High."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T08:55:39.688Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"5.15.45"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"5.17.13"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"5.18.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"5.19"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}