7.8high
ntfs: fix runlist marker allocation and count
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.18% (higher than 8% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 * | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-139265 changed 2026-12-01 | CVE Terms of Use |
| NVD | CVE-2026-139265 changed 2026-12-01 | Public domain |