{"id":"CVE-2022-49553","summary":"fs/ntfs3: validate BOOT sectors_per_clusters","details":"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 \u003e 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","modified":"2026-04-02T08:27:41.985376Z","published":"2025-02-26T02:14:02.183Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49553.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/4746c49b11b2403f5b5b07c6eac9e60663dcd9a3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/58cf68a1886d14ffdc5c892ce483a82156769e88"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a2b6986316a2d106f6951e76db70fa4b2fde64a9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a3b774342fa752a5290c0de36375289dfcf4a260"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49553.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49553"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"82cae269cfa953032fbb8980a7d554d60fb00b17"},{"fixed":"58cf68a1886d14ffdc5c892ce483a82156769e88"},{"fixed":"4746c49b11b2403f5b5b07c6eac9e60663dcd9a3"},{"fixed":"a2b6986316a2d106f6951e76db70fa4b2fde64a9"},{"fixed":"a3b774342fa752a5290c0de36375289dfcf4a260"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49553.json"}}],"schema_version":"1.7.5"}