# CVE-2026-90118: ntfs: fix off-by-one page overflow in ntfs_decompress()

- 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.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-09-17T16:06:23.333Z
- Modified: 2026-10-19T09:19:01.290Z
- Assigned by: Linux

## Description

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

ntfs: fix off-by-one page overflow in ntfs_decompress()

The per-token range check in ntfs_decompress() uses

	if (cb >= cb_sb_end || dp_addr > dp_sb_end)
		break;

so dp_addr == dp_sb_end falls through to the symbol copy
`*dp_addr++ = *cb++`, writing one byte past the destination page.  Since
NTFS_SB_SIZE == PAGE_SIZE the destination is a single page, so the byte
lands in the adjacent page, and *dest_ofs is left one past the sub-block
end (the later `*dest_ofs &= ~PAGE_MASK` then yields 1, not 0, so the page
is never finalized and later sub-blocks keep writing further past it).  A
corrupted compressed $DATA attribute thus produces a bounded run of
out-of-bounds writes when the file is read.

Break as soon as dp_addr reaches dp_sb_end; a full sub-block still
completes, as its final copy advances dp_addr to exactly dp_sb_end.

(As written by CVE List.)

## Affected

- Linux Linux: from 1e9ea7e04472d4e5e12e58c881eaacfb3e49b669 before b42644e425fed4a5cd6c88372655da5c1b52c666; from 1e9ea7e04472d4e5e12e58c881eaacfb3e49b669 before 98716c9fce21f6c8a9d71e08cf53e7504fa562f4; 7.1 (not affected: before 7.1; from 7.2.6 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/b42644e425fed4a5cd6c88372655da5c1b52c666>
- <https://git.kernel.org/stable/c/98716c9fce21f6c8a9d71e08cf53e7504fa562f4>

## Sources

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

---

Page: https://cve.day/CVE-2026-90118 · Whole record: https://cve.day/CVE-2026-90118.json · Rebuilt by cve.day 2026-11-25T22:59:39.309Z
