{"id":"CVE-2026-99969","summary":"exfat: zero invalid tail on partial overwrites","details":"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.","modified":"2026-12-01T21:02:34.499532019Z","published":"2026-11-30T13:18:44.635Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99969.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/748ad4ba13cd14163ed7262c6ac304c380804167"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bdada3fb46d61ec503ea993feb98629a4320c069"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99969.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99969"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"82a81a7352bcf5f2756ac33d47ee0582737e9a85"},{"fixed":"bdada3fb46d61ec503ea993feb98629a4320c069"},{"fixed":"748ad4ba13cd14163ed7262c6ac304c380804167"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99969.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.2.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99969.json"}}],"schema_version":"1.9.2"}