{"id":"CVE-2023-53804","aliases":["CVE-2023-53804"],"related":[],"kind":"vulnerability","state":"published","title":"nilfs2: fix use-after-free bug of nilfs_root in nilfs_evict_inode()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnilfs2: fix use-after-free bug of nilfs_root in nilfs_evict_inode()\n\nDuring unmount process of nilfs2, nothing holds nilfs_root structure after\nnilfs2 detaches its writer in nilfs_detach_log_writer().  However, since\nnilfs_evict_inode() uses nilfs_root for some cleanup operations, it may\ncause use-after-free read if inodes are left in \"garbage_list\" and\nreleased by nilfs_dispose_list() at the end of nilfs_detach_log_writer().\n\nFix this issue by modifying nilfs_evict_inode() to only clear inode\nwithout additional metadata changes that use nilfs_root if the file system\nis degraded to read-only or the writer is detached.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnilfs2: fix use-after-free bug of nilfs_root in nilfs_evict_inode()\n\nDuring unmount process of nilfs2, nothing holds nilfs_root structure after\nnilfs2 detaches its writer in nilfs_detach_log_writer().  However, since\nnilfs_evict_inode() uses nilfs_root for some cleanup operations, it may\ncause use-after-free read if inodes are left in \"garbage_list\" and\nreleased by nilfs_dispose_list() at the end of nilfs_detach_log_writer().\n\nFix this issue by modifying nilfs_evict_inode() to only clear inode\nwithout additional metadata changes that use nilfs_root if the file system\nis degraded to read-only or the writer is detached.","source":"cvelist"}],"published":"2025-12-09T00:01:01.787Z","modified":"2026-08-05T09:16:07.269Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"e912a5b66837ee89fb025e67b5efeaa11930c2ce","fixed":"f31e18131ee2ce80a4da5c808221d25b1ae9ad6d","status":"affected"},{"type":"git","introduced":"e912a5b66837ee89fb025e67b5efeaa11930c2ce","fixed":"2a782ea8ebd712a458466e3103e2881b4f886cb5","status":"affected"},{"type":"git","introduced":"e912a5b66837ee89fb025e67b5efeaa11930c2ce","fixed":"116d53f09ff52e6f98e3fe1f85d8898d6ba26c68","status":"affected"},{"type":"git","introduced":"e912a5b66837ee89fb025e67b5efeaa11930c2ce","fixed":"6b4205ea97901f822004e6c8d59484ccfda03faa","status":"affected"},{"type":"git","introduced":"e912a5b66837ee89fb025e67b5efeaa11930c2ce","fixed":"b8427b8522d9ede53015ba45a9978ba68d1162f5","status":"affected"},{"type":"git","introduced":"e912a5b66837ee89fb025e67b5efeaa11930c2ce","fixed":"acc2a40e428f12780004e1e9fce4722d88f909fd","status":"affected"},{"type":"git","introduced":"e912a5b66837ee89fb025e67b5efeaa11930c2ce","fixed":"fb8e8d58f116d069e5939e1f786ac84e7fa4533e","status":"affected"},{"type":"git","introduced":"e912a5b66837ee89fb025e67b5efeaa11930c2ce","fixed":"9b5a04ac3ad9898c4745cba46ea26de74ba56a8e","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.37","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.37","status":"unaffected"},{"type":"semver","introduced":"4.14.316","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.284","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.244","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.181","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.113","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.30","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.3.4","lastAffected":"6.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.4","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/f31e18131ee2ce80a4da5c808221d25b1ae9ad6d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2a782ea8ebd712a458466e3103e2881b4f886cb5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/116d53f09ff52e6f98e3fe1f85d8898d6ba26c68","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6b4205ea97901f822004e6c8d59484ccfda03faa","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b8427b8522d9ede53015ba45a9978ba68d1162f5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/acc2a40e428f12780004e1e9fce4722d88f909fd","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fb8e8d58f116d069e5939e1f786ac84e7fa4533e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9b5a04ac3ad9898c4745cba46ea26de74ba56a8e","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-53804","url":"https://www.cve.org/CVERecord?id=CVE-2023-53804","licence":"CVE Terms of Use","modified":"2026-08-05T09:16:07.269Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-53804","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53804","licence":"Public domain","modified":"2026-08-04T10:19:22.083Z"}],"updatedAt":"2026-11-25T22:58:35.061Z","epss":{"score":0.00149,"percentile":0.04303,"date":"2026-12-02T12:00:21.000Z"}}