{"id":"CVE-2026-72192","revision":"44cfb6c859f94ca3876e71867ca939e4","records":[{"revision":"44cfb6c859f94ca3876e71867ca939e4","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-72192","aliases":[],"title":"ntfs3: bound to_move in indx_insert_into_root before hdr_insert_head","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nntfs3: bound to_move in indx_insert_into_root before hdr_insert_head\n\nindx_insert_into_root() promotes a full resident $INDEX_ROOT into\n$INDEX_ALLOCATION and copies all non-last resident root entries into\na newly allocated INDEX_BUFFER via hdr_insert_head(). The source\nbyte count 'to_move' is summed from the on-disk resident entry sizes\nand is independent of the destination buffer size, which comes from\nroot->index_block_size (via indx->index_bits).\n\nA crafted NTFS image that keeps a valid, full resident root but\nshrinks root->index_block_size down to 512 after the root has been\npopulated makes hdr_insert_head() memcpy attacker-controlled resident\nentry bytes past the end of the kmalloc(1u << indx->index_bits)\nallocation returned by indx_new(). For a 512-byte destination and a\nresident root whose non-last entries total 560 bytes, the memcpy\noverruns by 120 bytes and a following memmove extends the highest\nwritten offset to 136 bytes past the allocation. The overflow bytes\nare a direct copy of on-disk entries (via kmemdup), so they are\nfully attacker-controlled.\n\nThe write is reachable from unprivileged open(O_CREAT) on a mounted\ncrafted NTFS image: a single sufficiently long create in a directory\nwhose resident root is already full forces root promotion and\ntriggers the copy.\n\nThis is a controlled out-of-bounds write of 120-136 bytes past a\nkmalloc(index_block_size) allocation, with attacker-controlled\ncontent. It is a bounded adjacent-heap corruption primitive; it is\nnot an arbitrary-address write. Successful exploitation into a named\nvictim object depends on the surrounding slab layout.\n\nReject the copy at the sink. The destination's INDEX_HDR already\nreports hdr_total (the payload capacity of the new buffer) and\nhdr_used (the bytes already consumed by the terminal END entry\ninstalled by indx_new()); require that to_move fits in the remaining\npayload before calling hdr_insert_head(). On mismatch, fail with\n-EINVAL and mark the filesystem as having a detected on-disk\ninconsistency, which is the same behaviour as the surrounding\nvalidation in this function.","state":0,"publishedAt":"2026-08-15T05:53:52.634+00:00","modifiedAt":"2026-10-16T18:45:00.935+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/index.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"82cae269cfa953032fbb8980a7d554d60fb00b17\",\n                            \"lessThan\": \"0af83b8155cc848e9f5d2c36e20a70d024214649\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"82cae269cfa953032fbb8980a7d554d60fb00b17\",\n                            \"lessThan\": \"cb3161deebcaf8d36d3115abf452c633f2180fc1\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"82cae269cfa953032fbb8980a7d554d60fb00b17\",\n                            \"lessThan\": \"53c5f3b2da3774b41534728aba295c098c9efa19\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"82cae269cfa953032fbb8980a7d554d60fb00b17\",\n                            \"lessThan\": \"194b00c99ba971fa7cf6acd747a36032c6de54eb\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"82cae269cfa953032fbb8980a7d554d60fb00b17\",\n                            \"lessThan\": \"aaa1f956c0fc41089a4a534da7df91552a08a47c\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"82cae269cfa953032fbb8980a7d554d60fb00b17\",\n                            \"lessThan\": \"d240f5f9d036b8180224954d9873f172b6be4dd8\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"82cae269cfa953032fbb8980a7d554d60fb00b17\",\n                            \"lessThan\": \"9b6926ac9c970ae0b2c2fe6289b16e9aa10b6a67\",\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/index.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:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"severity":"CRITICAL"}],"references":["https://git.kernel.org/stable/c/0af83b8155cc848e9f5d2c36e20a70d024214649","https://git.kernel.org/stable/c/cb3161deebcaf8d36d3115abf452c633f2180fc1","https://git.kernel.org/stable/c/53c5f3b2da3774b41534728aba295c098c9efa19","https://git.kernel.org/stable/c/194b00c99ba971fa7cf6acd747a36032c6de54eb","https://git.kernel.org/stable/c/aaa1f956c0fc41089a4a534da7df91552a08a47c","https://git.kernel.org/stable/c/d240f5f9d036b8180224954d9873f172b6be4dd8","https://git.kernel.org/stable/c/9b6926ac9c970ae0b2c2fe6289b16e9aa10b6a67"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-72192","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-72192","identifiers":["CVE-2026-72192"]},"retained":false,"historicalAffected":[]}],"coverage":[]}