CVE-2026-99995: ntfs: add a runlist merge that leaves the source runlist to the caller

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

ntfs: add a runlist merge that leaves the source runlist to the caller

ntfsrunlistsmerge() frees the source runlist once its runs are in the destination. A caller that may have to undo the merge then has to work out its runs again from the merged runlist, where the first and the last of them may have been coalesced with neighbouring runs.

Add ntfsrunlistsmergekeepsrc(), which neither modifies nor frees the source runlist. For that, ntfsrlappend() and ntfsrlreplace() now merge the right-hand end into the copied run in the destination instead of into the last source run before copying it, and the merge helpers take the source as const, so the compiler checks that none of them writes to it. The merged runlist is the same as before.

For every caller, a source runlist without any mapped run, which the merge already warns about, now fails with -EINVAL instead of carrying on with nothing to insert: with no run copied, the right-hand merge into the destination would index before the insertion point.

The next patch uses ntfsrunlistsmergekeepsrc() to free exactly the clusters it allocated when it has to undo an $MFT data extension.

Affected Software

6 affected componentsFixes available
Linux Linux kernel
linux/kernel<7.3.4
7.3.4
debian/linux*
debian/linux*
debian/linux<7.3.4-1
7.3.4-1
debian/linux<=6.1.176-1, <=6.1.192-3, <=6.12.117-1, <=6.12.118-1
7.3.4-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.4
  2. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 7.3.4-1

Event History

Nov 30, 2026
CVE Published
via MITRE·01:18 PM
Data Sourced
via MITRE·01:18 PM
Description
Data Sourced
via OSV·01:18 PM
DescriptionAffected Software
Data Sourced
via NVD·02:20 PM
Description

Frequently Asked Questions

1

What happens if a caller supplies a source runlist with no mapped run?

The merge now fails with -EINVAL. Previously, the code warned about this condition but continued without inserting anything.

2

Does the new merge path change the resulting merged runlist for valid inputs?

No. The merged runlist is stated to be the same as before.

3

How can a caller retain the source runlist after merging?

Use ntfs_runlists_merge_keep_src(), which does not modify or free the source runlist. This allows a caller to undo a merge while retaining the original run information.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203