{"id":"CVE-2026-99818","summary":"fs/ntfs3: do not mark frame pages uptodate on read error","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/ntfs3: do not mark frame pages uptodate on read error\n\nni_read_frame() ends with a loop that marks every page of a compressed\nframe uptodate regardless of whether the read succeeded:\n\n\tout:\n\t\tfor (i = 0; i \u003c pages_per_frame; i++) {\n\t\t\tpg = pages[i];\n\t\t\tSetPageUptodate(pg);\n\t\t}\n\nNon-critical frame pages come from __filemap_get_folio(FGP_CREAT) and are\nnot zeroed. On an error path that reaches out: before frame_mem is\nwritten, these pages keep uninitialized page-allocator contents but are\nstill marked uptodate. A later read() is then served from the page cache\nand returns that stale kernel memory to user space.\n\nFor an unprivileged user mounting a crafted NTFS image this is a\nrepeatable kernel memory disclosure.\n\nMark the pages uptodate only on success; on error leave them !uptodate so\nthe read path re-reads them or reports the error.","modified":"2026-11-30T09:00:31.219043917Z","published":"2026-11-30T07:52:20.067Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99818.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/393af40d5987507cd0b27d219160ecaf9b214291"},{"type":"WEB","url":"https://git.kernel.org/stable/c/69c86ec04303d4b9b128d6149073ac959a667853"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7b05d9d752cc065d51a79b8503dfb45995488177"},{"type":"WEB","url":"https://git.kernel.org/stable/c/80218408836fa6fc91a9c26a9c014f81abf9e41f"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99818.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99818"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"4342306f0f0d5ff4315a204d315c1b51b914fca5"},{"fixed":"393af40d5987507cd0b27d219160ecaf9b214291"},{"fixed":"7b05d9d752cc065d51a79b8503dfb45995488177"},{"fixed":"69c86ec04303d4b9b128d6149073ac959a667853"},{"fixed":"80218408836fa6fc91a9c26a9c014f81abf9e41f"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99818.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.15.0"},{"fixed":"6.12.119"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.65"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99818.json"}}],"schema_version":"1.9.2"}