# CVE-2026-99818: fs/ntfs3: do not mark frame pages uptodate on read error

- Severity: not scored yet
- 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.29%, higher than 22% of CVEs (2026-12-01)
- Published: 2026-11-30T07:52:20.067Z
- Modified: 2026-11-30T08:18:02.660Z
- Assigned by: Linux

## Description

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

fs/ntfs3: do not mark frame pages uptodate on read error

ni_read_frame() ends with a loop that marks every page of a compressed
frame uptodate regardless of whether the read succeeded:

	out:
		for (i = 0; i < pages_per_frame; i++) {
			pg = pages[i];
			SetPageUptodate(pg);
		}

Non-critical frame pages come from __filemap_get_folio(FGP_CREAT) and are
not zeroed. On an error path that reaches out: before frame_mem is
written, these pages keep uninitialized page-allocator contents but are
still marked uptodate. A later read() is then served from the page cache
and returns that stale kernel memory to user space.

For an unprivileged user mounting a crafted NTFS image this is a
repeatable kernel memory disclosure.

Mark the pages uptodate only on success; on error leave them !uptodate so
the read path re-reads them or reports the error.

(As written by CVE List.)

## Affected

- Linux Linux: from 4342306f0f0d5ff4315a204d315c1b51b914fca5 before 393af40d5987507cd0b27d219160ecaf9b214291; from 4342306f0f0d5ff4315a204d315c1b51b914fca5 before 7b05d9d752cc065d51a79b8503dfb45995488177; from 4342306f0f0d5ff4315a204d315c1b51b914fca5 before 69c86ec04303d4b9b128d6149073ac959a667853; from 4342306f0f0d5ff4315a204d315c1b51b914fca5 before 80218408836fa6fc91a9c26a9c014f81abf9e41f; 5.15 (not affected: before 5.15; from 6.12.119 up to 6.12.*; from 6.18.65 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/393af40d5987507cd0b27d219160ecaf9b214291>
- <https://git.kernel.org/stable/c/7b05d9d752cc065d51a79b8503dfb45995488177>
- <https://git.kernel.org/stable/c/69c86ec04303d4b9b128d6149073ac959a667853>
- <https://git.kernel.org/stable/c/80218408836fa6fc91a9c26a9c014f81abf9e41f>

## Sources

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

---

Page: https://cve.day/CVE-2026-99818 · Whole record: https://cve.day/CVE-2026-99818.json · Rebuilt by cve.day 2026-11-30T08:32:36.122Z
