CVE-2023-53311
published high CVSS 3.1 · 7.8nilfs2: fix use-after-free of nilfs_root in dirtying inodes via iput
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux0ae45f63d4ef8d8eeec49c7d8b44a1775fff13e8 to < 11afd67f1b3c28eb216e50a3ca8dbcb69bb71793 · 0ae45f63d4ef8d8eeec49c7d8b44a1775fff13e8 to < a3c3b4cbf9b8554120fb230e6516e980c6277487 · 0ae45f63d4ef8d8eeec49c7d8b44a1775fff13e8 to < d2c539c216cce74837a9cf5804eb205939b82227 · 0ae45f63d4ef8d8eeec49c7d8b44a1775fff13e8 to < 37207240872456fbab44a110bde6640445233963 · 0ae45f63d4ef8d8eeec49c7d8b44a1775fff13e8 to < 3645510cf926e6af2f4d44899370d7e5331c93bd · 0ae45f63d4ef8d8eeec49c7d8b44a1775fff13e8 to < 7532ff6edbf5242376b24a95a2fefb59bb653e5a · 0ae45f63d4ef8d8eeec49c7d8b44a1775fff13e8 to < 5828d5f5dc877dcfdd7b23102e978e2ecfd86d82 · 0ae45f63d4ef8d8eeec49c7d8b44a1775fff13e8 to < f8654743a0e6909dc634cbfad6db6816f10f3399 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.0 (affected) · 0 to < 4.0 (unaffected · semver) · 4.14.323 through 4.14.* (unaffected · semver) · 4.19.292 through 4.19.* (unaffected · semver) · 5.4.254 through 5.4.* (unaffected · semver) · 5.10.191 through 5.10.* (unaffected · semver) · 5.15.127 through 5.15.* (unaffected · semver) · 6.1.46 through 6.1.* (unaffected · semver) · 6.4.11 through 6.4.* (unaffected · semver) · 6.5 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluationALAS2-2023-2264 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2023-039 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2023-026 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2023-052 | Fixed | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | SLE-15-SP4 | cluster-md-kmp-defaultaarch64 | Advisory build | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | cluster-md-kmp-defaultppc64le | Advisory build | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
Show 101 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2025-116 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-330 | Fixed | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | SLE-15-SP4 | cluster-md-kmp-defaults390x | Advisory build | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | cluster-md-kmp-defaultx86_64 | Advisory build | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | dlm-kmp-defaultaarch64 | Advisory build | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | dlm-kmp-defaultppc64le | Advisory build | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | dlm-kmp-defaults390x | Advisory build | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | dlm-kmp-defaultx86_64 | Advisory build | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | gfs2-kmp-defaultaarch64 | Advisory build | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | gfs2-kmp-defaultppc64le | Advisory build | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | gfs2-kmp-defaults390x | Advisory build | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | gfs2-kmp-defaultx86_64 | Advisory build | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-64kbaarch64 | Advisory build | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-64kb-develaarch64 | Advisory build | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-defaultaarch64 | Advisory build | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-defaultppc64le | Advisory build | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-defaults390x | Advisory build | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-defaultx86_64 | Advisory build | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-baseaarch64 | Advisory build | 5.14.21-150400.24.179.1.150400.24.92.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-baseppc64le | Advisory build | 5.14.21-150400.24.179.1.150400.24.92.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-basex86_64 | Advisory build | 5.14.21-150400.24.179.1.150400.24.92.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-develaarch64 | Advisory build | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-develppc64le | Advisory build | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-devels390x | Advisory build | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-develx86_64 | Advisory build | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-livepatchppc64le | Advisory build | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-livepatchs390x | Advisory build | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-livepatchx86_64 | Advisory build | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-livepatch-develppc64le | Advisory build | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-livepatch-devels390x | Advisory build | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-livepatch-develx86_64 | Advisory build | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-develnoarch | Advisory build | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-docsnoarch | Advisory build | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-livepatch-5_14_21-150400_24_179-defaultppc64le | Advisory build | 1-150400.9.3.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-livepatch-5_14_21-150400_24_179-defaults390x | Advisory build | 1-150400.9.3.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-livepatch-5_14_21-150400_24_179-defaultx86_64 | Advisory build | 1-150400.9.3.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-macrosnoarch | Advisory build | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-obs-buildaarch64 | Advisory build | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-obs-buildppc64le | Advisory build | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-obs-builds390x | Advisory build | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-obs-buildx86_64 | Advisory build | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-sourcenoarch | Advisory build | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-symsaarch64 | Advisory build | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-symsppc64le | Advisory build | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-symss390x | Advisory build | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-symsx86_64 | Advisory build | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-zfcpdumps390x | Advisory build | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | ocfs2-kmp-defaultaarch64 | Advisory build | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | ocfs2-kmp-defaultppc64le | Advisory build | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | ocfs2-kmp-defaults390x | Advisory build | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | ocfs2-kmp-defaultx86_64 | Advisory build | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | reiserfs-kmp-defaultaarch64 | Advisory build | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | reiserfs-kmp-defaultppc64le | Advisory build | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | reiserfs-kmp-defaults390x | Advisory build | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP4 | reiserfs-kmp-defaultx86_64 | Advisory build | 5.14.21-150400.24.179.1 | SUSE-SU-2025:03628-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.124.1 | SUSE-SU-2025:03615-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.124.1 | SUSE-SU-2025:03615-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaults390x | Advisory build | 5.14.21-150500.55.124.1 | SUSE-SU-2025:03615-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.124.1 | SUSE-SU-2025:03615-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.124.1 | SUSE-SU-2025:03615-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.124.1 | SUSE-SU-2025:03615-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaults390x | Advisory build | 5.14.21-150500.55.124.1 | SUSE-SU-2025:03615-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.124.1 | SUSE-SU-2025:03615-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.124.1 | SUSE-SU-2025:03615-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.124.1 | SUSE-SU-2025:03615-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaults390x | Advisory build | 5.14.21-150500.55.124.1 | SUSE-SU-2025:03615-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.124.1 | SUSE-SU-2025:03615-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-64kbaarch64 | Advisory build | 5.14.21-150500.55.124.1 | SUSE-SU-2025:03615-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-64kb-develaarch64 | Advisory build | 5.14.21-150500.55.124.1 | SUSE-SU-2025:03615-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultaarch64 | Advisory build | 5.14.21-150500.55.124.1 | SUSE-SU-2025:03615-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultppc64le | Advisory build | 5.14.21-150500.55.124.1 | SUSE-SU-2025:03615-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaults390x | Advisory build | 5.14.21-150500.55.124.1 | SUSE-SU-2025:03615-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultx86_64 | Advisory build | 5.14.21-150500.55.124.1 | SUSE-SU-2025:03615-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-baseaarch64 | Advisory build | 5.14.21-150500.55.124.1.150500.6.59.1 | SUSE-SU-2025:03615-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-baseppc64le | Advisory build | 5.14.21-150500.55.124.1.150500.6.59.1 | SUSE-SU-2025:03615-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-basex86_64 | Advisory build | 5.14.21-150500.55.124.1.150500.6.59.1 | SUSE-SU-2025:03615-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develaarch64 | Advisory build | 5.14.21-150500.55.124.1 | SUSE-SU-2025:03615-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develppc64le | Advisory build | 5.14.21-150500.55.124.1 | SUSE-SU-2025:03615-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-devels390x | Advisory build | 5.14.21-150500.55.124.1 | SUSE-SU-2025:03615-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develx86_64 | Advisory build | 5.14.21-150500.55.124.1 | SUSE-SU-2025:03615-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchppc64le | Advisory build | 5.14.21-150500.55.124.1 | SUSE-SU-2025:03615-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchs390x | Advisory build | 5.14.21-150500.55.124.1 | SUSE-SU-2025:03615-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchx86_64 | Advisory build | 5.14.21-150500.55.124.1 | SUSE-SU-2025:03615-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatch-develppc64le | Advisory build | 5.14.21-150500.55.124.1 | SUSE-SU-2025:03615-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatch-devels390x | Advisory build | 5.14.21-150500.55.124.1 | SUSE-SU-2025:03615-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatch-develx86_64 | Advisory build | 5.14.21-150500.55.124.1 | SUSE-SU-2025:03615-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-develnoarch | Advisory build | 5.14.21-150500.55.124.1 | SUSE-SU-2025:03615-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-docsnoarch | Advisory build | 5.14.21-150500.55.124.1 | SUSE-SU-2025:03615-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-livepatch-5_14_21-150500_55_124-defaultppc64le | Advisory build | 1-150500.11.3.1 | SUSE-SU-2025:03615-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-livepatch-5_14_21-150500_55_124-defaults390x | Advisory build | 1-150500.11.3.1 | SUSE-SU-2025:03615-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-livepatch-5_14_21-150500_55_124-defaultx86_64 | Advisory build | 1-150500.11.3.1 | SUSE-SU-2025:03615-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-macrosnoarch | Advisory build | 5.14.21-150500.55.124.1 | SUSE-SU-2025:03615-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-obs-buildaarch64 | Advisory build | 5.14.21-150500.55.124.1 | SUSE-SU-2025:03615-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-obs-buildppc64le | Advisory build | 5.14.21-150500.55.124.1 | SUSE-SU-2025:03615-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-obs-builds390x | Advisory build | 5.14.21-150500.55.124.1 | SUSE-SU-2025:03615-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-obs-buildx86_64 | Advisory build | 5.14.21-150500.55.124.1 | SUSE-SU-2025:03615-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-sourcenoarch | Advisory build | 5.14.21-150500.55.124.1 | SUSE-SU-2025:03615-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-symsaarch64 | Advisory build | 5.14.21-150500.55.124.1 | SUSE-SU-2025:03615-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-symsppc64le | Advisory build | 5.14.21-150500.55.124.1 | SUSE-SU-2025:03615-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-symss390x | Advisory build | 5.14.21-150500.55.124.1 | SUSE-SU-2025:03615-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix use-after-free of nilfs_root in dirtying inodes via iput During unmount process of nilfs2, nothing holds nilfs_root structure after nilfs2 detaches its writer in nilfs_detach_log_writer(). Previously, nilfs_evict_inode() could cause use-after-free read for nilfs_root if inodes are left in "garbage_list" and released by nilfs_dispose_list at the end of nilfs_detach_log_writer(), and this bug was fixed by commit 9b5a04ac3ad9 ("nilfs2: fix use-after-free bug of nilfs_root in nilfs_evict_inode()"). However, it turned out that there is another possibility of UAF in the call path where mark_inode_dirty_sync() is called from iput(): nilfs_detach_log_writer() nilfs_dispose_list() iput() mark_inode_dirty_sync() __mark_inode_dirty() nilfs_dirty_inode() __nilfs_mark_inode_dirty() nilfs_load_inode_block() --> causes UAF of nilfs_root struct This can happen after commit 0ae45f63d4ef ("vfs: add support for a lazytime mount option"), which changed iput() to call mark_inode_dirty_sync() on its final reference if i_state has I_DIRTY_TIME flag and i_nlink is non-zero. This issue appears after commit 28a65b49eb53 ("nilfs2: do not write dirty data after degenerating to read-only") when using the syzbot reproducer, but the issue has potentially existed before. Fix this issue by adding a "purging flag" to the nilfs structure, setting that flag while disposing the "garbage_list" and checking it in __nilfs_mark_inode_dirty(). Unlike commit 9b5a04ac3ad9 ("nilfs2: fix use-after-free bug of nilfs_root in nilfs_evict_inode()"), this patch does not rely on ns_writer to determine whether to skip operations, so as not to break recovery on mount. The nilfs_salvage_orphan_logs routine dirties the buffer of salvaged data before attaching the log writer, so changing __nilfs_mark_inode_dirty() to skip the operation when ns_writer is NULL will cause recovery write to fail. The purpose of using the cleanup-only flag is to allow for narrowing of such conditions.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The UAF is reached only through local nilfs2 mount/unmount teardown (nilfs_put_super→nilfs_detach_log_writer→nilfs_dispose_list→iput); nothing in this path processes network or peer-supplied packets. AC:L - Free-then-use is a fixed sequential ordering inside nilfs_detach_log_writer (nilfs_segctor_destroy frees nilfs_root via nilfs_put_root, then nilfs_dispose_list uses it), not a race; the attacker controls the crafted image and dirty-inode preconditions, and syzbot reproduced it reliably. PR:L - An unprivileged local desktop/kiosk user suffices: udisks2/polkit auto-mounts and ejects removable nilfs2 media on the session user's behalf, and stranding inodes on ns_dirty_files uses ordinary unprivileged VFS operations—matching PR:L for the same-family nilfs2 UAF CVE-2023-53804. UI:N - On an auto-mounting host the attacker supplies the image, dirties inodes (I_DIRTY_TIME/lazytime path), and triggers eject/unmount themselves; no separate victim action is required. S:U - The freed nilfs_root/ifile objects and any resulting heap corruption remain within the kernel's own security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - After kfree(root), nilfs_load_inode_block reads ii->i_root->ifile from reclaimable kmalloc-256 slab memory and feeds that pointer into nilfs_ifile_get_inode_block/nilfs_update_inode, so a groomed replacement yields an attacker-chosen inode pointer and arbitrary kernel memory disclosure. I:H - __nilfs_mark_inode_dirty continues through nilfs_update_inode (writes raw inode contents via the attacker-controlled ifile) and nilfs_mdt_mark_dirty(ii->i_root->ifile), giving write primitives through the reclaimed object suitable for control-flow hijacking. A:H - This is a KASAN-confirmed slab use-after-free; dereferencing the freed nilfs_root during unmount readily oopses or panics the kernel even without successful exploitation.
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.8 | high | CISA-ADP · adp | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 0ae45f63d4ef8d8eeec49c7d8b44a1775fff13e8 to < 11afd67f1b3c28eb216e50a3ca8dbcb69bb71793 (affected · git)0ae45f63d4ef8d8eeec49c7d8b44a1775fff13e8 to < a3c3b4cbf9b8554120fb230e6516e980c6277487 (affected · git)0ae45f63d4ef8d8eeec49c7d8b44a1775fff13e8 to < d2c539c216cce74837a9cf5804eb205939b82227 (affected · git)0ae45f63d4ef8d8eeec49c7d8b44a1775fff13e8 to < 37207240872456fbab44a110bde6640445233963 (affected · git)0ae45f63d4ef8d8eeec49c7d8b44a1775fff13e8 to < 3645510cf926e6af2f4d44899370d7e5331c93bd (affected · git)0ae45f63d4ef8d8eeec49c7d8b44a1775fff13e8 to < 7532ff6edbf5242376b24a95a2fefb59bb653e5a (affected · git)0ae45f63d4ef8d8eeec49c7d8b44a1775fff13e8 to < 5828d5f5dc877dcfdd7b23102e978e2ecfd86d82 (affected · git)0ae45f63d4ef8d8eeec49c7d8b44a1775fff13e8 to < f8654743a0e6909dc634cbfad6db6816f10f3399 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.0 (affected)0 to < 4.0 (unaffected · semver)4.14.323 through 4.14.* (unaffected · semver)4.19.292 through 4.19.* (unaffected · semver)5.4.254 through 5.4.* (unaffected · semver)5.10.191 through 5.10.* (unaffected · semver)5.15.127 through 5.15.* (unaffected · semver)6.1.46 through 6.1.* (unaffected · semver)6.4.11 through 6.4.* (unaffected · semver)6.5 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-416 CWE-416 Use After Free
References
8- https://git.kernel.org/stable/c/11afd67f1b3c28eb216e50a3ca8dbcb69bb71793
- https://git.kernel.org/stable/c/3645510cf926e6af2f4d44899370d7e5331c93bd
- https://git.kernel.org/stable/c/37207240872456fbab44a110bde6640445233963
- https://git.kernel.org/stable/c/5828d5f5dc877dcfdd7b23102e978e2ecfd86d82
- https://git.kernel.org/stable/c/7532ff6edbf5242376b24a95a2fefb59bb653e5a
- https://git.kernel.org/stable/c/a3c3b4cbf9b8554120fb230e6516e980c6277487
- https://git.kernel.org/stable/c/d2c539c216cce74837a9cf5804eb205939b82227
- https://git.kernel.org/stable/c/f8654743a0e6909dc634cbfad6db6816f10f3399
Provider assertions
2Linux · cna
nilfs2: fix use-after-free of nilfs_root in dirtying inodes via iput
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b81f1afa99e0b546fd7fe659eb83f8ea90e8b4d903f5537198b0aefab8aaa312
- Ingested
- 23 Sep 2026, 08:14:44 UTC
- Source record
- Official CVE record