not scored yet
CVE-2026-99818
fs/ntfs3: do not mark frame pages uptodate on read error
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.
Details
- Severity
- not scored yet
- KEV
- no
- Fix
- available: 6.12.119, 6.18.65, 7.3.6
- Published
- First seen
- Updated
Affected products
| Product | Versions | Fixed in |
|---|---|---|
| linux / linux | >=4342306f0f0d5ff4315a204d315c1b51b914fca5 <393af40d5987507cd0b27d219160ecaf9b214291, >=4342306f0f0d5ff4315a204d315c1b51b914fca5 <7b05d9d752cc065d51a79b8503dfb45995488177, >=4342306f0f0d5ff4315a204d315c1b51b914fca5 <69c86ec04303d4b9b128d6149073ac959a667853, >=4342306f0f0d5ff4315a204d315c1b51b914fca5... | |
| linux / linux | =5.15 | |
| linux / linux-kernel | ||
| kernel linux | >=5.15.0 <6.12.119 || >=6.13.0 <6.18.65 || >=6.19.0 <7.3.6 | 6.12.119, 6.18.65, 7.3.6 |
Sources
- cve.org · license: CVE Terms of Use · first seen · https://www.cve.org/CVERecord?id=CVE-2026-99818
- nvd · license: Public domain (NIST NVD) · first seen · https://nvd.nist.gov/vuln/detail/CVE-2026-99818
- osv · license: CC-BY-4.0 · first seen · https://osv.dev/vulnerability/CVE-2026-99818
Timeline
- FIX (1 hour ago)fix: unknown → available
- UPDATED (1 hour ago)affected_added: [map[ecosystem:linux product:kernel vendor:]]
- NEW (2 hours ago)