# CVE-2026-139265: ntfs: fix runlist marker allocation and count

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-11-30T13:33:08.874Z
- Modified: 2026-12-01T06:17:40.687Z
- Assigned by: Linux

## Description

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

ntfs: fix runlist marker allocation and count

The marker path can append an unmapped element and an ENOENT
terminator after the merge helpers have already computed the resulting
runlist count. In that case, allocating ds + 2 elements leaves no room
for the terminator at ds + 2. The path also increments new_rl_count even
though the merge helper already accounted for the final runlist size,
causing a later merge to start past the terminator.

Allocate space through ds + 2, and derive new_rl_count from the final
terminator index instead of incrementing the count a second time.

A crafted NTFS image can reach this path through a normal read after the
image has been mounted and trigger out-of-bounds kernel heap accesses.

(As written by CVE List.)

## Affected

- Linux Linux: from 11ccc9107dc460de28af90fac1f42404d9802735 before 8d20b7a996ff57c998c7093a0d5b203a477fd0a4; from 11ccc9107dc460de28af90fac1f42404d9802735 before c1bd2f1c22c2fa8c5f0f51f82afad23f2dd1bcf1; 7.1 (not affected: before 7.1; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/8d20b7a996ff57c998c7093a0d5b203a477fd0a4>
- <https://git.kernel.org/stable/c/c1bd2f1c22c2fa8c5f0f51f82afad23f2dd1bcf1>

## Sources

- CVE List: [CVE-2026-139265](https://www.cve.org/CVERecord?id=CVE-2026-139265), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-139265](https://nvd.nist.gov/vuln/detail/CVE-2026-139265), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-139265 · Whole record: https://cve.day/CVE-2026-139265.json · Rebuilt by cve.day 2026-12-01T06:32:20.823Z
