Skip to content
OpenAdvisories
Unscored CVE-2026-99818 EUVD-2026-138051GHSA-6rw5-ff9j-pprw

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

Published Nov 30, 2026 · 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.

Affected products

VendorProductAffectedFixed
Linux Linux 5.15 6.12.119

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 linux 7.3.6-1 —
Debian 13 linux No fix yet —
Debian 12 linux No fix yet —

Advisories 1

References