{"id":"CVE-2026-99819","aliases":["CVE-2026-99819"],"related":[],"kind":"vulnerability","state":"published","title":"ntfs3: fix out-of-bounds read in ntfs_read_mft()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nntfs3: fix out-of-bounds read in ntfs_read_mft()\n\nntfs_read_mft() walks the attributes of an MFT record and, for each\nFILE_NAME attribute, compares the resident on-disk name with the name\nbeing looked up.  The only size check before the compare is\nrsize >= SIZEOF_ATTRIBUTE_FILENAME, which covers the fixed header up to\nand including name_len, but not the variable-length name that follows it.\n\nname_len comes straight from disk and is not validated against the\nresident data_size.  A crafted image can set name_len large while keeping\ndata_size at the header size, so ntfs_cmp_names_cpu() reads name_len\nle16 characters past the end of the MFT record buffer:\n\n  BUG: KASAN: slab-out-of-bounds in ntfs_cmp_names_cpu (fs/ntfs3/upcase.c:84)\n  Read of size 2 at addr ffff888031879c00 by task a.out\n   ntfs_cmp_names_cpu (fs/ntfs3/upcase.c:84)\n   ntfs_iget5 (fs/ntfs3/inode.c:209)\n   dir_search_u (fs/ntfs3/dir.c:265)\n   ntfs_lookup (fs/ntfs3/namei.c:85)\n   __lookup_slow (fs/namei.c:1915)\n   lookup_slow (fs/namei.c:1932)\n   path_lookupat (fs/namei.c:2278)\n   vfs_statx (fs/stat.c)\n   vfs_fstatat (fs/stat.c)\n   __do_sys_newfstatat (fs/stat.c)\n\n  Allocated by task:\n   mi_init (fs/ntfs3/record.c)\n   ntfs_iget5 (fs/ntfs3/inode.c)\n   dir_search_u (fs/ntfs3/dir.c)\n   ntfs_lookup (fs/ntfs3/namei.c)\n\nCheck that the name fits in the resident data before using it.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nntfs3: fix out-of-bounds read in ntfs_read_mft()\n\nntfs_read_mft() walks the attributes of an MFT record and, for each\nFILE_NAME attribute, compares the resident on-disk name with the name\nbeing looked up.  The only size check before the compare is\nrsize >= SIZEOF_ATTRIBUTE_FILENAME, which covers the fixed header up to\nand including name_len, but not the variable-length name that follows it.\n\nname_len comes straight from disk and is not validated against the\nresident data_size.  A crafted image can set name_len large while keeping\ndata_size at the header size, so ntfs_cmp_names_cpu() reads name_len\nle16 characters past the end of the MFT record buffer:\n\n  BUG: KASAN: slab-out-of-bounds in ntfs_cmp_names_cpu (fs/ntfs3/upcase.c:84)\n  Read of size 2 at addr ffff888031879c00 by task a.out\n   ntfs_cmp_names_cpu (fs/ntfs3/upcase.c:84)\n   ntfs_iget5 (fs/ntfs3/inode.c:209)\n   dir_search_u (fs/ntfs3/dir.c:265)\n   ntfs_lookup (fs/ntfs3/namei.c:85)\n   __lookup_slow (fs/namei.c:1915)\n   lookup_slow (fs/namei.c:1932)\n   path_lookupat (fs/namei.c:2278)\n   vfs_statx (fs/stat.c)\n   vfs_fstatat (fs/stat.c)\n   __do_sys_newfstatat (fs/stat.c)\n\n  Allocated by task:\n   mi_init (fs/ntfs3/record.c)\n   ntfs_iget5 (fs/ntfs3/inode.c)\n   dir_search_u (fs/ntfs3/dir.c)\n   ntfs_lookup (fs/ntfs3/namei.c)\n\nCheck that the name fits in the resident data before using it.","source":"cvelist"}],"published":"2026-11-30T07:52:20.616Z","modified":"2026-11-30T08:18:02.770Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"82cae269cfa953032fbb8980a7d554d60fb00b17","fixed":"feeddef5523d56e9a0d101181d5645d6881d3830","status":"affected"},{"type":"git","introduced":"82cae269cfa953032fbb8980a7d554d60fb00b17","fixed":"a0340f7bc98d5eef1654201f881b6893b457f9dc","status":"affected"},{"type":"git","introduced":"82cae269cfa953032fbb8980a7d554d60fb00b17","fixed":"c0c73f63c47ee44fc7e07708217e8b7aaf816ab4","status":"affected"},{"type":"git","introduced":"82cae269cfa953032fbb8980a7d554d60fb00b17","fixed":"39ee57c2f55a5720c5a6de2b16de358fb53e0089","status":"affected"},{"type":"git","introduced":"82cae269cfa953032fbb8980a7d554d60fb00b17","fixed":"f47f4fb45607062c46dd15b4b37b6b527d556f14","status":"affected"},{"type":"git","introduced":"82cae269cfa953032fbb8980a7d554d60fb00b17","fixed":"5193cdc5e113df0198d1074fd268fc3c8e912284","status":"affected"},{"type":"git","introduced":"82cae269cfa953032fbb8980a7d554d60fb00b17","fixed":"7a374d9be8267834dc534e55f01e5e01765cab4c","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.15","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.119","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/feeddef5523d56e9a0d101181d5645d6881d3830","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a0340f7bc98d5eef1654201f881b6893b457f9dc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c0c73f63c47ee44fc7e07708217e8b7aaf816ab4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/39ee57c2f55a5720c5a6de2b16de358fb53e0089","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f47f4fb45607062c46dd15b4b37b6b527d556f14","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5193cdc5e113df0198d1074fd268fc3c8e912284","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7a374d9be8267834dc534e55f01e5e01765cab4c","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99819","url":"https://www.cve.org/CVERecord?id=CVE-2026-99819","licence":"CVE Terms of Use","modified":"2026-11-30T07:52:20.616Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99819","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99819","licence":"Public domain","modified":"2026-11-30T08:18:02.770Z"}],"updatedAt":"2026-11-30T08:32:36.191Z","epss":{"score":0.00284,"percentile":0.22464,"date":"2026-12-01T12:00:22.000Z"}}