CVE-2026-99862 (GCVE-0-2026-99862)

Vulnerability from cvelistv5 – Published: 2026-11-30 13:17 – Updated: 2026-12-01 05:43
VLAI
Title
fs/ntfs3: bound DeleteAttribute asize against rec->used in do_action
Summary
In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: bound DeleteAttribute asize against rec->used in do_action In do_action()'s DeleteAttribute case (fslog.c:3316), attr is Add2Ptr(rec, roff) with roff taken from the on-disk lrh->record_off, and asize = le32_to_cpu(attr->size) is read straight out of the MFT record: asize = le32_to_cpu(attr->size); used = le32_to_cpu(rec->used); if (!check_if_attr(rec, lrh)) goto dirty_vol; ... memmove(attr, Add2Ptr(attr, asize), used - asize - roff); check_if_attr() (fslog.c:2869) walks the attribute chain from rec->attr_off and returns o == ro. Its loop breaks on ATTR_END, so ro may legitimately equal the offset of the ATTR_END marker; that is exactly how CreateAttribute appends to a record. But check_file_record()'s walk (fslog.c:2831) also stops at ATTR_END, so check_attr() never inspects the bytes there. When roff is the ATTR_END offset, those never-validated bytes are what gets read as attr->size, and used - asize - roff underflows. The read itself is also unbounded: roff is a u16 and attr->size is dereferenced at fslog.c:3317, before check_if_attr() has constrained roff at all, so it can be up to ~64K past a record_size-sized object. Commit 0ca0485e4b2e ("fs/ntfs3: validate rec->used in journal-replay file record check") added at fslog.c:2844 if (used < PtrOffset(rec, attr) + sizeof(attr->type)) return false; and its changelog names this very memmove. It bounds rec->used against the ATTR_END offset; it does not bound asize. With record_size 0x400, attr_off 0x38, a valid three-attribute chain ending in ATTR_END at 0x158 and used 0x160, a record whose four bytes at 0x15c read 0x100 gives used - asize - roff = 0x160 - 0x100 - 0x158 = 0xffffff08 i.e. a ~4 GiB memmove whose source and destination both run off the end of rec, a kmalloc(sbi->record_size) object (record.c:105). The equivalent non-replay path already refuses this. mi_remove_attr() performs the same removal and starts with (record.c:548): if (aoff + asize > used) return false; Apply the same bound, spelled as a subtraction to match the neighbouring cases, and move the attr->size read after check_if_attr() so that the header is known to lie inside the record before it is dereferenced. Requiring roff + SIZEOF_RESIDENT <= used rejects the ATTR_END offset without rejecting any real attribute: for an attribute the walk validated, roff + asize <= off(ATTR_END) <= used - 4, and any attribute a DeleteAttribute record can legitimately name carries a full resident header, so roff + SIZEOF_RESIDENT <= roff + asize <= used - 4. check_attr() itself imposes no lower bound on asize, so a crafted sub-header asize can still pass the first test; the second test then bounds it and the memmove stays inside the record. Reproduced by mounting a crafted image on v7.2-rc5, which already contains 0ca0485e4b2e, under KASAN. The image is an ordinary mkfs.ntfs volume with four bytes of one MFT record changed and a crafted $LogFile: BUG: KASAN: slab-out-of-bounds in do_action.isra.0+0x3211/0x83c0 Read of size 4294967048 at addr ffff888002423258 by task mount/66 CPU: 1 UID: 0 PID: 66 Comm: mount Not tainted 7.2.0-rc5 #3 Call Trace: kasan_report+0xce/0x100 kasan_check_range+0x105/0x1b0 __asan_memmove+0x23/0x60 do_action.isra.0+0x3211/0x83c0 log_replay+0x920a/0xd300 ntfs_loadlog_and_replay+0x3ef/0x510 ntfs_fill_super+0x1d23/0x4550 get_tree_bdev_flags+0x2ef/0x550 vfs_get_tree+0x82/0x2f0 fc_mount+0x10/0x1b0 path_mount+0x517/0x1df0 __x64_sys_mount+0x20b/0x270 do_syscall_64+0xf9/0x540 entry_SYSCALL_64_after_hwframe+0x77/0x7f Allocated by task 66: __kasan_kmalloc+0x8f/0xa0 __kmalloc_noprof+0x1b4/0x460 mi_init+0x81/0x110 mi_get+0x6a/0x220 do_action.isra.0+0x1dbf/0x83c0 log_replay+0x920a/0xd300 ntfs_loadlog_and_replay+0x3ef/0x510 ntfs_fill_super+0x1d23/0x4550 The buggy address belongs to the object at ffff88 ---truncated---
Assigner
Linux CNA under the mitre root
CNA scorecard D 52/100 over 7961 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: b46acd6a6a627d876898e1c84d3f84902264b445 , < c9544b9a24a60d5eb3fedd7765ac741f1f0bf191 (git)
Affected: b46acd6a6a627d876898e1c84d3f84902264b445 , < 7e1d4096436edfb365c536ca92d5db8e507add9c (git)
Affected: b46acd6a6a627d876898e1c84d3f84902264b445 , < 986ec1c317d15cb8040d82471190e5fb209a564e (git)
Affected: b46acd6a6a627d876898e1c84d3f84902264b445 , < e558ee689f40b4d4e8d46d7a76c1c4e439f11200 (git)
Affected: b46acd6a6a627d876898e1c84d3f84902264b445 , < 61329755f28185322ab4f7640112b1e5c2f505ee (git)
Affected: b46acd6a6a627d876898e1c84d3f84902264b445 , < 81e354bc1e5568fd56ebe1caf1a828df67294d93 (git)
Affected: b46acd6a6a627d876898e1c84d3f84902264b445 , < 408216b66afd9ddadaba2dce56fd4af6793e95a2 (git)
guessed Create a notification for this product.
Linux Linux Affected: 5.15
Unaffected: 0 , < 5.15 (semver)
Unaffected: 5.15.226 , ≤ 5.15.* (semver)
Unaffected: 6.1.193 , ≤ 6.1.* (semver)
Unaffected: 6.6.163 , ≤ 6.6.* (semver)
Unaffected: 6.12.117 , ≤ 6.12.* (semver)
Unaffected: 6.18.63 , ≤ 6.18.* (semver)
Unaffected: 7.3.4 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc1 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/ntfs3/fslog.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "c9544b9a24a60d5eb3fedd7765ac741f1f0bf191",
              "status": "affected",
              "version": "b46acd6a6a627d876898e1c84d3f84902264b445",
              "versionType": "git"
            },
            {
              "lessThan": "7e1d4096436edfb365c536ca92d5db8e507add9c",
              "status": "affected",
              "version": "b46acd6a6a627d876898e1c84d3f84902264b445",
              "versionType": "git"
            },
            {
              "lessThan": "986ec1c317d15cb8040d82471190e5fb209a564e",
              "status": "affected",
              "version": "b46acd6a6a627d876898e1c84d3f84902264b445",
              "versionType": "git"
            },
            {
              "lessThan": "e558ee689f40b4d4e8d46d7a76c1c4e439f11200",
              "status": "affected",
              "version": "b46acd6a6a627d876898e1c84d3f84902264b445",
              "versionType": "git"
            },
            {
              "lessThan": "61329755f28185322ab4f7640112b1e5c2f505ee",
              "status": "affected",
              "version": "b46acd6a6a627d876898e1c84d3f84902264b445",
              "versionType": "git"
            },
            {
              "lessThan": "81e354bc1e5568fd56ebe1caf1a828df67294d93",
              "status": "affected",
              "version": "b46acd6a6a627d876898e1c84d3f84902264b445",
              "versionType": "git"
            },
            {
              "lessThan": "408216b66afd9ddadaba2dce56fd4af6793e95a2",
              "status": "affected",
              "version": "b46acd6a6a627d876898e1c84d3f84902264b445",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/ntfs3/fslog.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.15"
            },
            {
              "lessThan": "5.15",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.226",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.193",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.163",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.117",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.63",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.226",
                  "versionStartIncluding": "5.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.193",
                  "versionStartIncluding": "5.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.163",
                  "versionStartIncluding": "5.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.117",
                  "versionStartIncluding": "5.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.63",
                  "versionStartIncluding": "5.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.4",
                  "versionStartIncluding": "5.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc1",
                  "versionStartIncluding": "5.15",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nfs/ntfs3: bound DeleteAttribute asize against rec-\u003eused in do_action\n\nIn do_action()\u0027s DeleteAttribute case (fslog.c:3316), attr is\nAdd2Ptr(rec, roff) with roff taken from the on-disk lrh-\u003erecord_off, and\nasize = le32_to_cpu(attr-\u003esize) is read straight out of the MFT record:\n\n\tasize = le32_to_cpu(attr-\u003esize);\n\tused  = le32_to_cpu(rec-\u003eused);\n\n\tif (!check_if_attr(rec, lrh))\n\t\tgoto dirty_vol;\n\t...\n\tmemmove(attr, Add2Ptr(attr, asize), used - asize - roff);\n\ncheck_if_attr() (fslog.c:2869) walks the attribute chain from\nrec-\u003eattr_off and returns o == ro.  Its loop breaks on ATTR_END, so ro may\nlegitimately equal the offset of the ATTR_END marker; that is exactly how\nCreateAttribute appends to a record.  But check_file_record()\u0027s walk\n(fslog.c:2831) also stops at ATTR_END, so check_attr() never inspects the\nbytes there.  When roff is the ATTR_END offset, those never-validated bytes\nare what gets read as attr-\u003esize, and used - asize - roff underflows.\n\nThe read itself is also unbounded: roff is a u16 and attr-\u003esize is\ndereferenced at fslog.c:3317, before check_if_attr() has constrained roff\nat all, so it can be up to ~64K past a record_size-sized object.\n\nCommit 0ca0485e4b2e (\"fs/ntfs3: validate rec-\u003eused in journal-replay file\nrecord check\") added at fslog.c:2844\n\n\tif (used \u003c PtrOffset(rec, attr) + sizeof(attr-\u003etype))\n\t\treturn false;\n\nand its changelog names this very memmove.  It bounds rec-\u003eused against the\nATTR_END offset; it does not bound asize.  With record_size 0x400,\nattr_off 0x38, a valid three-attribute chain ending in ATTR_END at 0x158\nand used 0x160, a record whose four bytes at 0x15c read 0x100 gives\n\n\tused - asize - roff = 0x160 - 0x100 - 0x158 = 0xffffff08\n\ni.e. a ~4 GiB memmove whose source and destination both run off the end of\nrec, a kmalloc(sbi-\u003erecord_size) object (record.c:105).\n\nThe equivalent non-replay path already refuses this.  mi_remove_attr()\nperforms the same removal and starts with (record.c:548):\n\n\tif (aoff + asize \u003e used)\n\t\treturn false;\n\nApply the same bound, spelled as a subtraction to match the neighbouring\ncases, and move the attr-\u003esize read after check_if_attr() so that the\nheader is known to lie inside the record before it is dereferenced.\nRequiring roff + SIZEOF_RESIDENT \u003c= used rejects the ATTR_END offset\nwithout rejecting any real attribute: for an attribute the walk validated,\nroff + asize \u003c= off(ATTR_END) \u003c= used - 4, and any attribute a\nDeleteAttribute record can legitimately name carries a full resident\nheader, so roff + SIZEOF_RESIDENT \u003c= roff + asize \u003c= used - 4.\ncheck_attr() itself imposes no lower bound on asize, so a crafted\nsub-header asize can still pass the first test; the second test then\nbounds it and the memmove stays inside the record.\n\nReproduced by mounting a crafted image on v7.2-rc5, which already contains\n0ca0485e4b2e, under KASAN.  The image is an ordinary mkfs.ntfs volume with\nfour bytes of one MFT record changed and a crafted $LogFile:\n\n  BUG: KASAN: slab-out-of-bounds in do_action.isra.0+0x3211/0x83c0\n  Read of size 4294967048 at addr ffff888002423258 by task mount/66\n\n  CPU: 1 UID: 0 PID: 66 Comm: mount Not tainted 7.2.0-rc5 #3\n  Call Trace:\n   kasan_report+0xce/0x100\n   kasan_check_range+0x105/0x1b0\n   __asan_memmove+0x23/0x60\n   do_action.isra.0+0x3211/0x83c0\n   log_replay+0x920a/0xd300\n   ntfs_loadlog_and_replay+0x3ef/0x510\n   ntfs_fill_super+0x1d23/0x4550\n   get_tree_bdev_flags+0x2ef/0x550\n   vfs_get_tree+0x82/0x2f0\n   fc_mount+0x10/0x1b0\n   path_mount+0x517/0x1df0\n   __x64_sys_mount+0x20b/0x270\n   do_syscall_64+0xf9/0x540\n   entry_SYSCALL_64_after_hwframe+0x77/0x7f\n\n  Allocated by task 66:\n   __kasan_kmalloc+0x8f/0xa0\n   __kmalloc_noprof+0x1b4/0x460\n   mi_init+0x81/0x110\n   mi_get+0x6a/0x220\n   do_action.isra.0+0x1dbf/0x83c0\n   log_replay+0x920a/0xd300\n   ntfs_loadlog_and_replay+0x3ef/0x510\n   ntfs_fill_super+0x1d23/0x4550\n\n  The buggy address belongs to the object at ffff88\n---truncated---"
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The malformed input is on an NTFS image: a DeleteAttribute record in $LogFile whose record_off points at an MFT record\u0027s ATTR_END, plus the 4 unvalidated bytes after it. mount(2) \u2192 ntfs_fill_super \u2192 ntfs_loadlog_and_replay \u2192 log_replay \u2192 do_action consumes it. No network protocol carries these bytes; the image is a local file, loop device or attached media.\nAC:L - Everything is in the attacker\u0027s image: the bytes read as attr-\u003esize, rec-\u003eused, the record LSN, non-empty dirty-page/transaction tables, and the redo/undo record. Replay runs on any rw mount before the VOLUME_FLAG_DIRTY \"force\" check, and the underflowing memmove then runs deterministically with no race.\nPR:N - The attacker only crafts the image and needs no account on the target. ntfs3_fs_type has no FS_USERNS_MOUNT (only FS_REQUIRES_DEV|FS_ALLOW_IDMAP), so the attacker cannot mount it from a user namespace; the privileged mount is done by the victim and is scored under UI.\nUI:R - A user or an automounter (e.g. udisks2) must mount the attacker-supplied NTFS volume read-write. log_replay() skips the do_action() redo/undo passes on read-only mounts, so the rw mount is the required victim action.\nS:U - The memory corruption and disclosure happen in the kernel\u0027s own slab and direct map, within the kernel\u0027s security authority; no VM, IOMMU or sandbox boundary is crossed.\nC:H - attr-\u003esize is a free u32. With asize near 2^32 the length is small and attacker-chosen, and Add2Ptr puts the source about 4 GiB past the kmalloc(record_size) record (on 32-bit it wraps to the slab objects just below). The copied kernel memory lands in the record, which do_action() then writes to the attacker\u0027s disk with mi_write().\nI:H - memmove(attr, attr+asize, used-asize-roff) with an unbounded asize writes past the MFT record buffer: either a ~4 GiB forward shift that corrupts the heap, or a chosen length past the record end. On 32-bit the source wraps below rec, so the attacker\u0027s own record bytes overflow into the adjacent kmalloc-1k object. rec-\u003eused is also corrupted.\nA:H - The default underflow (e.g. asize 0x100 gives length 0xffffff08) runs a ~4 GiB memmove off the slab object during mount, causing a KASAN slab-out-of-bounds report or a page-fault oops in the mount task, and heap corruption on kernels without KASAN."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-12-01T05:43:52.590Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/c9544b9a24a60d5eb3fedd7765ac741f1f0bf191"
        },
        {
          "url": "https://git.kernel.org/stable/c/7e1d4096436edfb365c536ca92d5db8e507add9c"
        },
        {
          "url": "https://git.kernel.org/stable/c/986ec1c317d15cb8040d82471190e5fb209a564e"
        },
        {
          "url": "https://git.kernel.org/stable/c/e558ee689f40b4d4e8d46d7a76c1c4e439f11200"
        },
        {
          "url": "https://git.kernel.org/stable/c/61329755f28185322ab4f7640112b1e5c2f505ee"
        },
        {
          "url": "https://git.kernel.org/stable/c/81e354bc1e5568fd56ebe1caf1a828df67294d93"
        },
        {
          "url": "https://git.kernel.org/stable/c/408216b66afd9ddadaba2dce56fd4af6793e95a2"
        }
      ],
      "title": "fs/ntfs3: bound DeleteAttribute asize against rec-\u003eused in do_action",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-99862",
    "datePublished": "2026-11-30T13:17:45.277Z",
    "dateReserved": "2026-09-25T10:25:14.439Z",
    "dateUpdated": "2026-12-01T05:43:52.590Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-99862",
      "date": "2026-12-01",
      "epss": "0.00213",
      "percentile": "0.12291"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "fs/ntfs3/fslog.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "c9544b9a24a60d5eb3fedd7765ac741f1f0bf191",
                    "status": "affected",
                    "version": "b46acd6a6a627d876898e1c84d3f84902264b445",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "7e1d4096436edfb365c536ca92d5db8e507add9c",
                    "status": "affected",
                    "version": "b46acd6a6a627d876898e1c84d3f84902264b445",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "986ec1c317d15cb8040d82471190e5fb209a564e",
                    "status": "affected",
                    "version": "b46acd6a6a627d876898e1c84d3f84902264b445",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "e558ee689f40b4d4e8d46d7a76c1c4e439f11200",
                    "status": "affected",
                    "version": "b46acd6a6a627d876898e1c84d3f84902264b445",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "61329755f28185322ab4f7640112b1e5c2f505ee",
                    "status": "affected",
                    "version": "b46acd6a6a627d876898e1c84d3f84902264b445",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "81e354bc1e5568fd56ebe1caf1a828df67294d93",
                    "status": "affected",
                    "version": "b46acd6a6a627d876898e1c84d3f84902264b445",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "408216b66afd9ddadaba2dce56fd4af6793e95a2",
                    "status": "affected",
                    "version": "b46acd6a6a627d876898e1c84d3f84902264b445",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "fs/ntfs3/fslog.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "5.15"
                  },
                  {
                    "lessThan": "5.15",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.15.*",
                    "status": "unaffected",
                    "version": "5.15.226",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.1.*",
                    "status": "unaffected",
                    "version": "6.1.193",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.163",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.117",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.63",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.3.*",
                    "status": "unaffected",
                    "version": "7.3.4",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.4-rc1",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nfs/ntfs3: bound DeleteAttribute asize against rec-\u003eused in do_action\n\nIn do_action()\u0027s DeleteAttribute case (fslog.c:3316), attr is\nAdd2Ptr(rec, roff) with roff taken from the on-disk lrh-\u003erecord_off, and\nasize = le32_to_cpu(attr-\u003esize) is read straight out of the MFT record:\n\n\tasize = le32_to_cpu(attr-\u003esize);\n\tused  = le32_to_cpu(rec-\u003eused);\n\n\tif (!check_if_attr(rec, lrh))\n\t\tgoto dirty_vol;\n\t...\n\tmemmove(attr, Add2Ptr(attr, asize), used - asize - roff);\n\ncheck_if_attr() (fslog.c:2869) walks the attribute chain from\nrec-\u003eattr_off and returns o == ro.  Its loop breaks on ATTR_END, so ro may\nlegitimately equal the offset of the ATTR_END marker; that is exactly how\nCreateAttribute appends to a record.  But check_file_record()\u0027s walk\n(fslog.c:2831) also stops at ATTR_END, so check_attr() never inspects the\nbytes there.  When roff is the ATTR_END offset, those never-validated bytes\nare what gets read as attr-\u003esize, and used - asize - roff underflows.\n\nThe read itself is also unbounded: roff is a u16 and attr-\u003esize is\ndereferenced at fslog.c:3317, before check_if_attr() has constrained roff\nat all, so it can be up to ~64K past a record_size-sized object.\n\nCommit 0ca0485e4b2e (\"fs/ntfs3: validate rec-\u003eused in journal-replay file\nrecord check\") added at fslog.c:2844\n\n\tif (used \u003c PtrOffset(rec, attr) + sizeof(attr-\u003etype))\n\t\treturn false;\n\nand its changelog names this very memmove.  It bounds rec-\u003eused against the\nATTR_END offset; it does not bound asize.  With record_size 0x400,\nattr_off 0x38, a valid three-attribute chain ending in ATTR_END at 0x158\nand used 0x160, a record whose four bytes at 0x15c read 0x100 gives\n\n\tused - asize - roff = 0x160 - 0x100 - 0x158 = 0xffffff08\n\ni.e. a ~4 GiB memmove whose source and destination both run off the end of\nrec, a kmalloc(sbi-\u003erecord_size) object (record.c:105).\n\nThe equivalent non-replay path already refuses this.  mi_remove_attr()\nperforms the same removal and starts with (record.c:548):\n\n\tif (aoff + asize \u003e used)\n\t\treturn false;\n\nApply the same bound, spelled as a subtraction to match the neighbouring\ncases, and move the attr-\u003esize read after check_if_attr() so that the\nheader is known to lie inside the record before it is dereferenced.\nRequiring roff + SIZEOF_RESIDENT \u003c= used rejects the ATTR_END offset\nwithout rejecting any real attribute: for an attribute the walk validated,\nroff + asize \u003c= off(ATTR_END) \u003c= used - 4, and any attribute a\nDeleteAttribute record can legitimately name carries a full resident\nheader, so roff + SIZEOF_RESIDENT \u003c= roff + asize \u003c= used - 4.\ncheck_attr() itself imposes no lower bound on asize, so a crafted\nsub-header asize can still pass the first test; the second test then\nbounds it and the memmove stays inside the record.\n\nReproduced by mounting a crafted image on v7.2-rc5, which already contains\n0ca0485e4b2e, under KASAN.  The image is an ordinary mkfs.ntfs volume with\nfour bytes of one MFT record changed and a crafted $LogFile:\n\n  BUG: KASAN: slab-out-of-bounds in do_action.isra.0+0x3211/0x83c0\n  Read of size 4294967048 at addr ffff888002423258 by task mount/66\n\n  CPU: 1 UID: 0 PID: 66 Comm: mount Not tainted 7.2.0-rc5 #3\n  Call Trace:\n   kasan_report+0xce/0x100\n   kasan_check_range+0x105/0x1b0\n   __asan_memmove+0x23/0x60\n   do_action.isra.0+0x3211/0x83c0\n   log_replay+0x920a/0xd300\n   ntfs_loadlog_and_replay+0x3ef/0x510\n   ntfs_fill_super+0x1d23/0x4550\n   get_tree_bdev_flags+0x2ef/0x550\n   vfs_get_tree+0x82/0x2f0\n   fc_mount+0x10/0x1b0\n   path_mount+0x517/0x1df0\n   __x64_sys_mount+0x20b/0x270\n   do_syscall_64+0xf9/0x540\n   entry_SYSCALL_64_after_hwframe+0x77/0x7f\n\n  Allocated by task 66:\n   __kasan_kmalloc+0x8f/0xa0\n   __kmalloc_noprof+0x1b4/0x460\n   mi_init+0x81/0x110\n   mi_get+0x6a/0x220\n   do_action.isra.0+0x1dbf/0x83c0\n   log_replay+0x920a/0xd300\n   ntfs_loadlog_and_replay+0x3ef/0x510\n   ntfs_fill_super+0x1d23/0x4550\n\n  The buggy address belongs to the object at ffff88\n---truncated---"
          }
        ],
        "id": "CVE-2026-99862",
        "lastModified": "2026-12-01T06:17:54.207",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "REQUIRED",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 5.9,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-11-30T14:20:20.000",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/408216b66afd9ddadaba2dce56fd4af6793e95a2"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/61329755f28185322ab4f7640112b1e5c2f505ee"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/7e1d4096436edfb365c536ca92d5db8e507add9c"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/81e354bc1e5568fd56ebe1caf1a828df67294d93"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/986ec1c317d15cb8040d82471190e5fb209a564e"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/c9544b9a24a60d5eb3fedd7765ac741f1f0bf191"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/e558ee689f40b4d4e8d46d7a76c1c4e439f11200"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-12-01T07:04:53+00:00",
      "cve": "CVE-2026-99862",
      "id": "CVE-2026-99862",
      "initial_release_date": "2026-11-30T13:17:45.277000+00:00",
      "product_status:known_not_affected": "280",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: Denial of Service via crafted NTFS image mount in ntfs3",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99862.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.