{"id":"CVE-2026-72197","revision":"b46b2e1cf53242d8a4ebff502ab1ec93","records":[{"revision":"b46b2e1cf53242d8a4ebff502ab1ec93","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-72197","aliases":[],"title":"fs/ntfs3: bound DeleteIndexEntryAllocation memmove length","description":"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]","state":0,"publishedAt":"2026-08-15T05:53:56.149+00:00","modifiedAt":"2026-10-16T18:45:01.72+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"fs/ntfs3/fslog.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"b46acd6a6a627d876898e1c84d3f84902264b445\",\n                            \"lessThan\": \"c38ed2ab62fab75fd6d0fdc2bee540fbebc7b959\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"b46acd6a6a627d876898e1c84d3f84902264b445\",\n                            \"lessThan\": \"b509b9613f20dc5b653d54bf78fab00d79cc43c8\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"b46acd6a6a627d876898e1c84d3f84902264b445\",\n                            \"lessThan\": \"4c8aac931c1cd70347961ba5157aa916448c6a25\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"b46acd6a6a627d876898e1c84d3f84902264b445\",\n                            \"lessThan\": \"f383aae59ec3994c14804f4191c59038b206be81\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"b46acd6a6a627d876898e1c84d3f84902264b445\",\n                            \"lessThan\": \"09fddd52c1b0cef2c086d61be8f3d5dc92e36565\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"b46acd6a6a627d876898e1c84d3f84902264b445\",\n                            \"lessThan\": \"554700c65d398276cb00a8ef95f1d5e00b9eff93\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"b46acd6a6a627d876898e1c84d3f84902264b445\",\n                            \"lessThan\": \"fc4626bb3656362de8b0ecd56605d47a19ec3518\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"fs/ntfs3/fslog.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"5.15\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"5.15\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"5.15.212\",\n                            \"lessThanOrEqual\": \"5.15.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.1.178\",\n                            \"lessThanOrEqual\": \"6.1.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.6.145\",\n                            \"lessThanOrEqual\": \"6.6.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.12.97\",\n                            \"lessThanOrEqual\": \"6.12.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.40\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.1.5\",\n                            \"lessThanOrEqual\": \"7.1.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"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,"severity":"HIGH"}],"references":["https://git.kernel.org/stable/c/c38ed2ab62fab75fd6d0fdc2bee540fbebc7b959","https://git.kernel.org/stable/c/b509b9613f20dc5b653d54bf78fab00d79cc43c8","https://git.kernel.org/stable/c/4c8aac931c1cd70347961ba5157aa916448c6a25","https://git.kernel.org/stable/c/f383aae59ec3994c14804f4191c59038b206be81","https://git.kernel.org/stable/c/09fddd52c1b0cef2c086d61be8f3d5dc92e36565","https://git.kernel.org/stable/c/554700c65d398276cb00a8ef95f1d5e00b9eff93","https://git.kernel.org/stable/c/fc4626bb3656362de8b0ecd56605d47a19ec3518"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-72197","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-72197","identifiers":["CVE-2026-72197"]},"retained":false,"historicalAffected":[]}],"coverage":[]}