{"id":"CVE-2026-99812","aliases":["CVE-2026-99812"],"related":[],"kind":"vulnerability","state":"published","title":"fs/ntfs3: fix slab-out-of-bounds write in attr_insert_range()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/ntfs3: fix slab-out-of-bounds write in attr_insert_range()\n\nWhen fallocate(FALLOC_FL_INSERT_RANGE) grows a still-resident ntfs3\nattribute, attr_insert_range() shifts the inline data using the insert\nlength 'bytes' as both the destination offset and the copy size:\n\n  memmove(data + bytes, data, bytes);\n\nBoth are wrong: the shift must start at the insertion point 'vbo' and\nmove only the data past it (data_size - vbo). When bytes > data_size the\nmemmove runs off the end of the data_size + bytes buffer and overflows\nthe adjacent slab object.\n\nSince vbo < data_size is already enforced above, the reworked offsets stay\nwithin the data_size + bytes buffer and cannot under/overflow.\n\n  BUG: KASAN: slab-out-of-bounds in attr_insert_range (fs/ntfs3/attrib.c:2581)\n  Write of size 512 at addr ffff8880135e8b10 by task exploit/142\n   ...\n   __asan_memmove (mm/kasan/shadow.c:95)\n   attr_insert_range (fs/ntfs3/attrib.c:2581)\n   ntfs_fallocate (fs/ntfs3/file.c:618)\n   vfs_fallocate (fs/open.c:338)\n   __x64_sys_fallocate (fs/open.c:362)\n   ...","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/ntfs3: fix slab-out-of-bounds write in attr_insert_range()\n\nWhen fallocate(FALLOC_FL_INSERT_RANGE) grows a still-resident ntfs3\nattribute, attr_insert_range() shifts the inline data using the insert\nlength 'bytes' as both the destination offset and the copy size:\n\n  memmove(data + bytes, data, bytes);\n\nBoth are wrong: the shift must start at the insertion point 'vbo' and\nmove only the data past it (data_size - vbo). When bytes > data_size the\nmemmove runs off the end of the data_size + bytes buffer and overflows\nthe adjacent slab object.\n\nSince vbo < data_size is already enforced above, the reworked offsets stay\nwithin the data_size + bytes buffer and cannot under/overflow.\n\n  BUG: KASAN: slab-out-of-bounds in attr_insert_range (fs/ntfs3/attrib.c:2581)\n  Write of size 512 at addr ffff8880135e8b10 by task exploit/142\n   ...\n   __asan_memmove (mm/kasan/shadow.c:95)\n   attr_insert_range (fs/ntfs3/attrib.c:2581)\n   ntfs_fallocate (fs/ntfs3/file.c:618)\n   vfs_fallocate (fs/open.c:338)\n   __x64_sys_fallocate (fs/open.c:362)\n   ...","source":"cvelist"}],"published":"2026-11-30T07:52:16.782Z","modified":"2026-12-01T06:17:51.673Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"9256ec35359f52c1e390cf419873cf519ee332b6","fixed":"e054aeaf756808656dc90023aad8ca4e906cbe1e","status":"affected"},{"type":"git","introduced":"9256ec35359f52c1e390cf419873cf519ee332b6","fixed":"e784ee49dffa83a53837884ffbb123575c8dd179","status":"affected"},{"type":"git","introduced":"9256ec35359f52c1e390cf419873cf519ee332b6","fixed":"8bb706de22b741ede9c86244a5cca55b9b79ecc1","status":"affected"},{"type":"git","introduced":"9256ec35359f52c1e390cf419873cf519ee332b6","fixed":"a0663cf4bfaa8afb0f7318e9d024425dc8beed05","status":"affected"},{"type":"git","introduced":"9256ec35359f52c1e390cf419873cf519ee332b6","fixed":"ea6e4b5031cfd6ebb84e26c3766e8591979e8125","status":"affected"},{"type":"git","introduced":"9256ec35359f52c1e390cf419873cf519ee332b6","fixed":"bf9a6578e03b065335836e025356b4b9170b9449","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.0","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/e054aeaf756808656dc90023aad8ca4e906cbe1e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e784ee49dffa83a53837884ffbb123575c8dd179","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8bb706de22b741ede9c86244a5cca55b9b79ecc1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a0663cf4bfaa8afb0f7318e9d024425dc8beed05","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ea6e4b5031cfd6ebb84e26c3766e8591979e8125","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bf9a6578e03b065335836e025356b4b9170b9449","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99812","url":"https://www.cve.org/CVERecord?id=CVE-2026-99812","licence":"CVE Terms of Use","modified":"2026-12-01T05:43:33.228Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99812","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99812","licence":"Public domain","modified":"2026-12-01T06:17:51.673Z"}],"updatedAt":"2026-12-01T06:32:13.698Z","epss":{"score":0.00275,"percentile":0.21376,"date":"2026-12-01T12:00:22.000Z"}}