{"id":"CVE-2026-99584","summary":"f2fs: fix to avoid folio-\u003emapping dereference in is_{meta, node}_folio()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nf2fs: fix to avoid folio-\u003emapping dereference in is_{meta, node}_folio()\n\nOtherwise, it may cause NULL pointer dereference in race condition:\n\nThread A\t\t\tThread B\n\t\t\t\t- f2fs_setattr\n\t\t\t\t - f2fs_truncate\n\t\t\t\t  - f2fs_truncate_blocks\n\t\t\t    \t   - f2fs_do_truncate_blocks\n\t\t\t\t    - f2fs_truncate_inode_blocks\n\t\t\t\t     - truncate_dnode\n\t\t\t\t      - truncate_node\n\t\t\t\t       - invalidate_mapping_pages\n\t\t\t\t        - folio-\u003emapping = NULL\n- folio_lock\n- is_node_folio\n - F2FS_F_SB(folio): dereference on folio-\u003emapping","modified":"2026-11-20T07:00:39.891028310Z","published":"2026-11-20T05:49:14.961Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99584.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/b5a71253c5c7e1139eab2f3e1e13e0bf2cbcaac7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ecf2796547582f1518f36bba370904934e659a46"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f56399666631be3d755a16fa9658e088d81c99b7"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99584.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99584"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"019a8912425e231511042a4eae48b7a9e459453c"},{"fixed":"ecf2796547582f1518f36bba370904934e659a46"},{"fixed":"f56399666631be3d755a16fa9658e088d81c99b7"},{"fixed":"b5a71253c5c7e1139eab2f3e1e13e0bf2cbcaac7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99584.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.16.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-99584.json"}}],"schema_version":"1.9.2"}