{"id":"CVE-2026-72197","aliases":["CVE-2026-72197"],"related":[],"kind":"vulnerability","state":"published","title":"fs/ntfs3: bound DeleteIndexEntryAllocation memmove length","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/ntfs3: bound DeleteIndexEntryAllocation memmove length\n\nIn do_action()'s DeleteIndexEntryAllocation case, e->size comes\nfrom an on-disk INDEX_BUFFER entry.  When e->size makes\ne + e->size point past hdr + hdr->used,\nPtrOffset(e1, Add2Ptr(hdr, used)) returns a negative ptrdiff_t\nthat is silently cast to a quasi-infinite size_t when passed\nto memmove().  The memmove then walks past the destination\nbuffer.\n\nThe sibling DeleteIndexEntryRoot case at fslog.c:3540-3543\nalready carries the corresponding guard:\n\n\tif (PtrOffset(e1, Add2Ptr(hdr, used)) < esize ||\n\t    Add2Ptr(e, esize) > Add2Ptr(lrh, rec_len) ||\n\t    used + esize > le32_to_cpu(hdr->total)) {\n\t\tgoto dirty_vol;\n\t}\n\nApply the same shape to the allocation-path case.  Also reject\nesize == 0: memmove(e, e, ...) is a no-op and leaves\nhdr->used unchanged, hiding a malformed entry from the\nexisting check_index_header() walk.\n\nReproduced under UML+KASAN on mainline 8d90b09e6741 by\nmounting a crafted NTFS image: the unguarded memmove takes a\nlength of 0xffffffffffffff00 and the kernel oopses in\nmemmove+0x81/0x1a0 on the do_action+0x36a2 frame.\n\n[almaz.alexandrovich@paragon-software.com: clang-formatted the changes]","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/ntfs3: bound DeleteIndexEntryAllocation memmove length\n\nIn do_action()'s DeleteIndexEntryAllocation case, e->size comes\nfrom an on-disk INDEX_BUFFER entry.  When e->size makes\ne + e->size point past hdr + hdr->used,\nPtrOffset(e1, Add2Ptr(hdr, used)) returns a negative ptrdiff_t\nthat is silently cast to a quasi-infinite size_t when passed\nto memmove().  The memmove then walks past the destination\nbuffer.\n\nThe sibling DeleteIndexEntryRoot case at fslog.c:3540-3543\nalready carries the corresponding guard:\n\n\tif (PtrOffset(e1, Add2Ptr(hdr, used)) < esize ||\n\t    Add2Ptr(e, esize) > Add2Ptr(lrh, rec_len) ||\n\t    used + esize > le32_to_cpu(hdr->total)) {\n\t\tgoto dirty_vol;\n\t}\n\nApply the same shape to the allocation-path case.  Also reject\nesize == 0: memmove(e, e, ...) is a no-op and leaves\nhdr->used unchanged, hiding a malformed entry from the\nexisting check_index_header() walk.\n\nReproduced under UML+KASAN on mainline 8d90b09e6741 by\nmounting a crafted NTFS image: the unguarded memmove takes a\nlength of 0xffffffffffffff00 and the kernel oopses in\nmemmove+0x81/0x1a0 on the do_action+0x36a2 frame.\n\n[almaz.alexandrovich@paragon-software.com: clang-formatted the changes]","source":"cvelist"}],"published":"2026-08-15T05:53:56.149Z","modified":"2026-10-16T19:17:14.360Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.4,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.4,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"b46acd6a6a627d876898e1c84d3f84902264b445","fixed":"c38ed2ab62fab75fd6d0fdc2bee540fbebc7b959","status":"affected"},{"type":"git","introduced":"b46acd6a6a627d876898e1c84d3f84902264b445","fixed":"b509b9613f20dc5b653d54bf78fab00d79cc43c8","status":"affected"},{"type":"git","introduced":"b46acd6a6a627d876898e1c84d3f84902264b445","fixed":"4c8aac931c1cd70347961ba5157aa916448c6a25","status":"affected"},{"type":"git","introduced":"b46acd6a6a627d876898e1c84d3f84902264b445","fixed":"f383aae59ec3994c14804f4191c59038b206be81","status":"affected"},{"type":"git","introduced":"b46acd6a6a627d876898e1c84d3f84902264b445","fixed":"09fddd52c1b0cef2c086d61be8f3d5dc92e36565","status":"affected"},{"type":"git","introduced":"b46acd6a6a627d876898e1c84d3f84902264b445","fixed":"554700c65d398276cb00a8ef95f1d5e00b9eff93","status":"affected"},{"type":"git","introduced":"b46acd6a6a627d876898e1c84d3f84902264b445","fixed":"fc4626bb3656362de8b0ecd56605d47a19ec3518","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.212","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.178","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.145","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.97","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.40","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.5","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","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/c38ed2ab62fab75fd6d0fdc2bee540fbebc7b959","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b509b9613f20dc5b653d54bf78fab00d79cc43c8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4c8aac931c1cd70347961ba5157aa916448c6a25","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f383aae59ec3994c14804f4191c59038b206be81","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/09fddd52c1b0cef2c086d61be8f3d5dc92e36565","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/554700c65d398276cb00a8ef95f1d5e00b9eff93","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fc4626bb3656362de8b0ecd56605d47a19ec3518","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T18:43:48.330Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-72197","url":"https://www.cve.org/CVERecord?id=CVE-2026-72197","licence":"CVE Terms of Use","modified":"2026-10-16T18:45:01.720Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-72197","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72197","licence":"Public domain","modified":"2026-10-16T19:17:14.360Z"}],"updatedAt":"2026-11-25T22:59:33.040Z","epss":{"score":0.00196,"percentile":0.05286,"date":"2026-11-30T12:00:22.000Z"}}