{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99995","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-09-25T10:25:14.451Z","datePublished":"2026-11-30T13:18:58.911Z","dateUpdated":"2026-11-30T13:18:58.911Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-11-30T13:18:58.911Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nntfs: add a runlist merge that leaves the source runlist to the caller\n\nntfs_runlists_merge() frees the source runlist once its runs are in the\ndestination.  A caller that may have to undo the merge then has to work\nout its runs again from the merged runlist, where the first and the\nlast of them may have been coalesced with neighbouring runs.\n\nAdd ntfs_runlists_merge_keep_src(), which neither modifies nor frees\nthe source runlist.  For that, ntfs_rl_append() and ntfs_rl_replace()\nnow merge the right-hand end into the copied run in the destination\ninstead of into the last source run before copying it, and the merge\nhelpers take the source as const, so the compiler checks that none of\nthem writes to it.  The merged runlist is the same as before.\n\nFor every caller, a source runlist without any mapped run, which the\nmerge already warns about, now fails with -EINVAL instead of carrying\non with nothing to insert: with no run copied, the right-hand merge\ninto the destination would index before the insertion point.\n\nThe next patch uses ntfs_runlists_merge_keep_src() to free exactly the\nclusters it allocated when it has to undo an $MFT data extension."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ntfs/runlist.c","fs/ntfs/runlist.h"],"versions":[{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"0b81032b9273a895d8c093cbb08fef8024ac3128","status":"affected","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","lessThan":"c6ee0986b80715c44d547e9cbdc1a72ad855071c","status":"affected","versionType":"git"},{"version":"0","lessThan":"7.3.4","status":"affected","versionType":"semver"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ntfs/runlist.c","fs/ntfs/runlist.h"],"versions":[{"version":"7.3.4","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/0b81032b9273a895d8c093cbb08fef8024ac3128"},{"url":"https://git.kernel.org/stable/c/c6ee0986b80715c44d547e9cbdc1a72ad855071c"}],"title":"ntfs: add a runlist merge that leaves the source runlist to the caller","x_generator":{"engine":"bippy-1.2.0"}}}}