{"id":"CVE-2026-99575","summary":"f2fs: return -EIO for a lost inode block after cp_error","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nf2fs: return -EIO for a lost inode block after cp_error\n\nAfter cp_error, dirty node caches are dropped without being written.\nIf such an inode was never written, its NAT entry is still NEW_ADDR,\nand reading its inode block returns -ENOENT.\n\nf2fs_get_dnode_of_data() passes that -ENOENT up, and callers take it\nas a hole. Since the inode block is missing, the next offset can only\nadvance one block, so fiemap walks block by block up to maxbytes,\nabout 2^30 blocks, while holding the inode lock. It took hours in a\npower-off recovery test after shutdown and blocked unlink and umount\non the file.\n\nReturn -EIO instead of -ENOENT when the inode block itself is missing\nafter cp_error or shutdown. A missing direct or indirect node is still\nreported as -ENOENT.","modified":"2026-11-20T07:00:34.630495528Z","published":"2026-11-20T05:49:08.636Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99575.json"},"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/53b12b63304b34a3850a901c4de3cc6ad08e0aee"},{"type":"WEB","url":"https://git.kernel.org/stable/c/86dfdf4f2aeaf68905e9b08752d72624a05dd471"},{"type":"WEB","url":"https://git.kernel.org/stable/c/935bcf17f7052198a3ec82c55642c8e58f3a483c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9960426b20021e2a92916f7836b53ca53f4deeee"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99575.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99575"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"28607bf3aa6f9762b32dc7f1ed0488823c0651b8"},{"fixed":"9960426b20021e2a92916f7836b53ca53f4deeee"},{"fixed":"935bcf17f7052198a3ec82c55642c8e58f3a483c"},{"fixed":"86dfdf4f2aeaf68905e9b08752d72624a05dd471"},{"fixed":"53b12b63304b34a3850a901c4de3cc6ad08e0aee"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99575.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.14.0"},{"fixed":"6.12.118"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.64"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99575.json"}}],"schema_version":"1.9.2"}