{"id":"CVE-2026-99969","aliases":["CVE-2026-99969"],"related":[],"kind":"vulnerability","state":"published","title":"exfat: zero invalid tail on partial overwrites","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nexfat: zero invalid tail on partial overwrites\n\nBuffered overwrite that ends before valid_size in the same filesystem\nblock reads the entire block without IOMAP_F_ZERO_TAIL. If an existing\ncluster contains stale bytes beyond valid_size, the synchronous read\nloads them into the page cache and marks the block uptodate. Subsequent\nbuffered reads can return these bytes while i_size exceeds valid_size.\n\nFor example, with 512-byte blocks, valid_size of 1000 and i_size of 2048,\na cold-cache overwrite of [900, 950) exposes stale data in [1000, 1024).\nSetting ZERO_TAIL for this write would also erase valid data in\n[950, 1000).\n\nUse iomap_truncate_page() to zero only the invalid tail at valid_size\nbefore preparing such buffered overwrites. Call it after dropping s_lock\nand before iomap locks the write folio. The inode lock held by buffered\nwrites serializes valid_size against truncation and page_mkwrite.\n\nSkip direct I/O, fault mappings and new allocations. Writes that reach\nvalid_size continue to use IOMAP_F_ZERO_TAIL.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nexfat: zero invalid tail on partial overwrites\n\nBuffered overwrite that ends before valid_size in the same filesystem\nblock reads the entire block without IOMAP_F_ZERO_TAIL. If an existing\ncluster contains stale bytes beyond valid_size, the synchronous read\nloads them into the page cache and marks the block uptodate. Subsequent\nbuffered reads can return these bytes while i_size exceeds valid_size.\n\nFor example, with 512-byte blocks, valid_size of 1000 and i_size of 2048,\na cold-cache overwrite of [900, 950) exposes stale data in [1000, 1024).\nSetting ZERO_TAIL for this write would also erase valid data in\n[950, 1000).\n\nUse iomap_truncate_page() to zero only the invalid tail at valid_size\nbefore preparing such buffered overwrites. Call it after dropping s_lock\nand before iomap locks the write folio. The inode lock held by buffered\nwrites serializes valid_size against truncation and page_mkwrite.\n\nSkip direct I/O, fault mappings and new allocations. Writes that reach\nvalid_size continue to use IOMAP_F_ZERO_TAIL.","source":"cvelist"}],"published":"2026-11-30T13:18:44.635Z","modified":"2026-11-30T14:20:37.733Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"82a81a7352bcf5f2756ac33d47ee0582737e9a85","fixed":"bdada3fb46d61ec503ea993feb98629a4320c069","status":"affected"},{"type":"git","introduced":"82a81a7352bcf5f2756ac33d47ee0582737e9a85","fixed":"748ad4ba13cd14163ed7262c6ac304c380804167","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"7.2","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.2","status":"unaffected"},{"type":"semver","introduced":"7.3.4","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/bdada3fb46d61ec503ea993feb98629a4320c069","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/748ad4ba13cd14163ed7262c6ac304c380804167","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99969","url":"https://www.cve.org/CVERecord?id=CVE-2026-99969","licence":"CVE Terms of Use","modified":"2026-11-30T13:18:44.635Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99969","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99969","licence":"Public domain","modified":"2026-11-30T14:20:37.733Z"}],"updatedAt":"2026-11-30T14:33:42.943Z","epss":{"score":0.00286,"percentile":0.22768,"date":"2026-12-01T12:00:22.000Z"}}