{"id":"CVE-2026-99818","aliases":["CVE-2026-99818"],"related":[],"kind":"vulnerability","state":"published","title":"fs/ntfs3: do not mark frame pages uptodate on read error","summary":"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 < 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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 < 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.","source":"cvelist"}],"published":"2026-11-30T07:52:20.067Z","modified":"2026-11-30T08:18:02.660Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"4342306f0f0d5ff4315a204d315c1b51b914fca5","fixed":"393af40d5987507cd0b27d219160ecaf9b214291","status":"affected"},{"type":"git","introduced":"4342306f0f0d5ff4315a204d315c1b51b914fca5","fixed":"7b05d9d752cc065d51a79b8503dfb45995488177","status":"affected"},{"type":"git","introduced":"4342306f0f0d5ff4315a204d315c1b51b914fca5","fixed":"69c86ec04303d4b9b128d6149073ac959a667853","status":"affected"},{"type":"git","introduced":"4342306f0f0d5ff4315a204d315c1b51b914fca5","fixed":"80218408836fa6fc91a9c26a9c014f81abf9e41f","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.15","status":"unaffected"},{"type":"semver","introduced":"6.12.119","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/393af40d5987507cd0b27d219160ecaf9b214291","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7b05d9d752cc065d51a79b8503dfb45995488177","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/69c86ec04303d4b9b128d6149073ac959a667853","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/80218408836fa6fc91a9c26a9c014f81abf9e41f","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99818","url":"https://www.cve.org/CVERecord?id=CVE-2026-99818","licence":"CVE Terms of Use","modified":"2026-11-30T07:52:20.067Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99818","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99818","licence":"Public domain","modified":"2026-11-30T08:18:02.660Z"}],"updatedAt":"2026-11-30T08:32:36.122Z","epss":{"score":0.00285,"percentile":0.22643,"date":"2026-12-01T12:00:22.000Z"}}