{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "82cae269cfa953032fbb8980a7d554d60fb00b17"
            },
            {
              "fixed": "a25ff2c3469e2f5774ccf03785b8f98b57fda74f"
            },
            {
              "fixed": "92dfb05d7e947110e8baa0f5ca2125f6faea2122"
            },
            {
              "fixed": "aa9e9261daec2e46c100b6df2be4892de5aee4c9"
            },
            {
              "fixed": "bc6ba85987b809855f6997b9a8d2bef91fd5c54c"
            },
            {
              "fixed": "47d638327828256774494a707f8da390ce218043"
            },
            {
              "fixed": "1366a00d35950a7f73d9e6a6d9a3c01c0d391f84"
            },
            {
              "fixed": "d0ac69ce3af4dbae01d4f064b7482f0c5440dbde"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.15.0"
            },
            {
              "fixed": "5.15.226"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.193"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.119"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.65"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99813.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nfs/ntfs3: check INDEX_ROOT resident size before use in ntfs_read_mft()\n\nWhen ntfs_read_mft() parses an ATTR_ROOT attribute it computes\n\n\troot = Add2Ptr(attr, roff);\n\nusing the on-disk resident data offset (roff = attr-\u003eres.data_off) and\nthen dereferences root-\u003etype and root-\u003erule, and later passes root on to\nindx_init(). Unlike the ATTR_STD and ATTR_NAME cases, which validate that\nthe resident data is large enough (asize \u003e= sizeof(struct X) + roff and\nrsize \u003e= sizeof(struct X)) before accessing it, the ATTR_ROOT case has no\nsuch check.\n\nmi_enum_attr() only guarantees data_off + data_size \u003c= attribute size, so\na crafted image can set data_off such that root lands at (or past) the end\nof the MFT record's slab allocation while still passing that check (e.g.\ndata_size == 0). The subsequent read of root-\u003etype is then a\nslab-out-of-bounds read, reported by KASAN when mounting the image:\n\n  BUG: KASAN: slab-out-of-bounds in ntfs_iget5 (fs/ntfs3/inode.c:283)\n  Read of size 4 at addr ffff88800c06a400 by task exploit/142\n  Call Trace:\n   ...  [KASAN report internals]\n   ntfs_iget5 (fs/ntfs3/inode.c:283 fs/ntfs3/inode.c:542)\n   ntfs_fill_super (fs/ntfs3/super.c:1690)\n   get_tree_bdev_flags (fs/super.c:1634)\n   vfs_get_tree (fs/super.c:1694)\n   fc_mount (fs/namespace.c:1198)\n   path_mount (fs/namespace.c:3765 ...)\n   __x64_sys_mount (fs/namespace.c:4174 ...)\n   do_syscall_64 (arch/x86/entry/syscall_64.c:63)\n   entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:121)\n  The buggy address is located 0 bytes to the right of\n   allocated 1024-byte region [ffff88800c06a000, ffff88800c06a400)\n   which belongs to the cache kmalloc-1k of size 1024\n\nValidate the resident data size in the ATTR_ROOT case the same way the\nneighbouring cases do, so that a truncated or mis-offset INDEX_ROOT is\nrejected before root is dereferenced.",
  "id": "CVE-2026-99813",
  "modified": "2026-11-30T08:46:04.261790008Z",
  "published": "2026-11-30T07:52:17.343Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/1366a00d35950a7f73d9e6a6d9a3c01c0d391f84"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/47d638327828256774494a707f8da390ce218043"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/92dfb05d7e947110e8baa0f5ca2125f6faea2122"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a25ff2c3469e2f5774ccf03785b8f98b57fda74f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/aa9e9261daec2e46c100b6df2be4892de5aee4c9"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/bc6ba85987b809855f6997b9a8d2bef91fd5c54c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d0ac69ce3af4dbae01d4f064b7482f0c5440dbde"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99813.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99813"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "fs/ntfs3: check INDEX_ROOT resident size before use in ntfs_read_mft()"
}