# CVE-2026-99819: ntfs3: fix out-of-bounds read in ntfs_read_mft()

- Severity: not scored yet
- 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: 2026-11-30T07:52:20.616Z
- Modified: 2026-11-30T08:18:02.770Z
- Assigned by: Linux

## Description

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

ntfs3: fix out-of-bounds read in ntfs_read_mft()

ntfs_read_mft() walks the attributes of an MFT record and, for each
FILE_NAME attribute, compares the resident on-disk name with the name
being looked up.  The only size check before the compare is
rsize >= SIZEOF_ATTRIBUTE_FILENAME, which covers the fixed header up to
and including name_len, but not the variable-length name that follows it.

name_len comes straight from disk and is not validated against the
resident data_size.  A crafted image can set name_len large while keeping
data_size at the header size, so ntfs_cmp_names_cpu() reads name_len
le16 characters past the end of the MFT record buffer:

  BUG: KASAN: slab-out-of-bounds in ntfs_cmp_names_cpu (fs/ntfs3/upcase.c:84)
  Read of size 2 at addr ffff888031879c00 by task a.out
   ntfs_cmp_names_cpu (fs/ntfs3/upcase.c:84)
   ntfs_iget5 (fs/ntfs3/inode.c:209)
   dir_search_u (fs/ntfs3/dir.c:265)
   ntfs_lookup (fs/ntfs3/namei.c:85)
   __lookup_slow (fs/namei.c:1915)
   lookup_slow (fs/namei.c:1932)
   path_lookupat (fs/namei.c:2278)
   vfs_statx (fs/stat.c)
   vfs_fstatat (fs/stat.c)
   __do_sys_newfstatat (fs/stat.c)

  Allocated by task:
   mi_init (fs/ntfs3/record.c)
   ntfs_iget5 (fs/ntfs3/inode.c)
   dir_search_u (fs/ntfs3/dir.c)
   ntfs_lookup (fs/ntfs3/namei.c)

Check that the name fits in the resident data before using it.

(As written by CVE List.)

## Affected

- Linux Linux: from 82cae269cfa953032fbb8980a7d554d60fb00b17 before feeddef5523d56e9a0d101181d5645d6881d3830; from 82cae269cfa953032fbb8980a7d554d60fb00b17 before a0340f7bc98d5eef1654201f881b6893b457f9dc; from 82cae269cfa953032fbb8980a7d554d60fb00b17 before c0c73f63c47ee44fc7e07708217e8b7aaf816ab4; from 82cae269cfa953032fbb8980a7d554d60fb00b17 before 39ee57c2f55a5720c5a6de2b16de358fb53e0089; from 82cae269cfa953032fbb8980a7d554d60fb00b17 before f47f4fb45607062c46dd15b4b37b6b527d556f14; from 82cae269cfa953032fbb8980a7d554d60fb00b17 before 5193cdc5e113df0198d1074fd268fc3c8e912284; from 82cae269cfa953032fbb8980a7d554d60fb00b17 before 7a374d9be8267834dc534e55f01e5e01765cab4c; 5.15 (not affected: before 5.15; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.119 up to 6.12.*; from 6.18.65 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/feeddef5523d56e9a0d101181d5645d6881d3830>
- <https://git.kernel.org/stable/c/a0340f7bc98d5eef1654201f881b6893b457f9dc>
- <https://git.kernel.org/stable/c/c0c73f63c47ee44fc7e07708217e8b7aaf816ab4>
- <https://git.kernel.org/stable/c/39ee57c2f55a5720c5a6de2b16de358fb53e0089>
- <https://git.kernel.org/stable/c/f47f4fb45607062c46dd15b4b37b6b527d556f14>
- <https://git.kernel.org/stable/c/5193cdc5e113df0198d1074fd268fc3c8e912284>
- <https://git.kernel.org/stable/c/7a374d9be8267834dc534e55f01e5e01765cab4c>

## Sources

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

---

Page: https://cve.day/CVE-2026-99819 · Whole record: https://cve.day/CVE-2026-99819.json · Rebuilt by cve.day 2026-11-30T08:32:36.191Z
