CVE-2023-53804
published high CVSS 3.1 · 7.8nilfs2: fix use-after-free bug of nilfs_root in nilfs_evict_inode()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxe912a5b66837ee89fb025e67b5efeaa11930c2ce to < f31e18131ee2ce80a4da5c808221d25b1ae9ad6d · e912a5b66837ee89fb025e67b5efeaa11930c2ce to < 2a782ea8ebd712a458466e3103e2881b4f886cb5 · e912a5b66837ee89fb025e67b5efeaa11930c2ce to < 116d53f09ff52e6f98e3fe1f85d8898d6ba26c68 · e912a5b66837ee89fb025e67b5efeaa11930c2ce to < 6b4205ea97901f822004e6c8d59484ccfda03faa · e912a5b66837ee89fb025e67b5efeaa11930c2ce to < b8427b8522d9ede53015ba45a9978ba68d1162f5 · e912a5b66837ee89fb025e67b5efeaa11930c2ce to < acc2a40e428f12780004e1e9fce4722d88f909fd · e912a5b66837ee89fb025e67b5efeaa11930c2ce to < fb8e8d58f116d069e5939e1f786ac84e7fa4533e · e912a5b66837ee89fb025e67b5efeaa11930c2ce to < 9b5a04ac3ad9898c4745cba46ea26de74ba56a8e · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux2.6.37 (affected) · 0 to < 2.6.37 (unaffected · semver) · 4.14.316 through 4.14.* (unaffected · semver) · 4.19.284 through 4.19.* (unaffected · semver) · 5.4.244 through 5.4.* (unaffected · semver) · 5.10.181 through 5.10.* (unaffected · semver) · 5.15.113 through 5.15.* (unaffected · semver) · 6.1.30 through 6.1.* (unaffected · semver) · 6.3.4 through 6.3.* (unaffected · semver) · 6.4 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2-2023-2100 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2023-034 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2023-047 | Fixed | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | SLE-15-SP4 | cluster-md-kmp-defaultaarch64 | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | cluster-md-kmp-defaultppc64le | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
Show 99 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | SLE-15-SP4 | cluster-md-kmp-defaults390x | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | cluster-md-kmp-defaultx86_64 | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | dlm-kmp-defaultaarch64 | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | dlm-kmp-defaultppc64le | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | dlm-kmp-defaults390x | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | dlm-kmp-defaultx86_64 | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | gfs2-kmp-defaultaarch64 | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | gfs2-kmp-defaultppc64le | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | gfs2-kmp-defaults390x | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | gfs2-kmp-defaultx86_64 | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-64kbaarch64 | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-64kb-develaarch64 | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-defaultaarch64 | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-defaultppc64le | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-defaults390x | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-defaultx86_64 | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-baseaarch64 | Advisory build | 5.14.21-150400.24.194.1.150400.24.98.3 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-baseppc64le | Advisory build | 5.14.21-150400.24.194.1.150400.24.98.3 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-basex86_64 | Advisory build | 5.14.21-150400.24.194.1.150400.24.98.3 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-develaarch64 | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-develppc64le | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-devels390x | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-develx86_64 | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-livepatchppc64le | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-livepatchs390x | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-livepatchx86_64 | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-livepatch-develppc64le | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-livepatch-devels390x | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-livepatch-develx86_64 | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-develnoarch | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-docsnoarch | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-livepatch-5_14_21-150400_24_194-defaultppc64le | Advisory build | 1-150400.9.7.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-livepatch-5_14_21-150400_24_194-defaults390x | Advisory build | 1-150400.9.7.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-livepatch-5_14_21-150400_24_194-defaultx86_64 | Advisory build | 1-150400.9.7.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-macrosnoarch | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-obs-buildaarch64 | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-obs-buildppc64le | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-obs-builds390x | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-obs-buildx86_64 | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-sourcenoarch | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-symsaarch64 | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-symsppc64le | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-symss390x | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-symsx86_64 | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-zfcpdumps390x | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | ocfs2-kmp-defaultaarch64 | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | ocfs2-kmp-defaultppc64le | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | ocfs2-kmp-defaults390x | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | ocfs2-kmp-defaultx86_64 | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | reiserfs-kmp-defaultaarch64 | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | reiserfs-kmp-defaultppc64le | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | reiserfs-kmp-defaults390x | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP4 | reiserfs-kmp-defaultx86_64 | Advisory build | 5.14.21-150400.24.194.1 | SUSE-SU-2026:0617-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaults390x | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaults390x | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaults390x | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-64kbaarch64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-64kb-develaarch64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultaarch64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultppc64le | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaults390x | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultx86_64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-baseaarch64 | Advisory build | 5.14.21-150500.55.133.1.150500.6.65.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-baseppc64le | Advisory build | 5.14.21-150500.55.133.1.150500.6.65.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-basex86_64 | Advisory build | 5.14.21-150500.55.133.1.150500.6.65.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develaarch64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develppc64le | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-devels390x | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develx86_64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchppc64le | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchs390x | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchx86_64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatch-develppc64le | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatch-devels390x | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatch-develx86_64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-develnoarch | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-docsnoarch | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-livepatch-5_14_21-150500_55_133-defaultppc64le | Advisory build | 1-150500.11.3.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-livepatch-5_14_21-150500_55_133-defaults390x | Advisory build | 1-150500.11.3.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-livepatch-5_14_21-150500_55_133-defaultx86_64 | Advisory build | 1-150500.11.3.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-macrosnoarch | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-obs-buildaarch64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-obs-buildppc64le | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-obs-builds390x | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-obs-buildx86_64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-sourcenoarch | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-symsaarch64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-symsppc64le | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-symss390x | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-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 bug of nilfs_root in nilfs_evict_inode() During unmount process of nilfs2, nothing holds nilfs_root structure after nilfs2 detaches its writer in nilfs_detach_log_writer(). However, since nilfs_evict_inode() uses nilfs_root for some cleanup operations, it may cause use-after-free read if inodes are left in "garbage_list" and released by nilfs_dispose_list() at the end of nilfs_detach_log_writer(). Fix this issue by modifying nilfs_evict_inode() to only clear inode without additional metadata changes that use nilfs_root if the file system is degraded to read-only or the writer is detached.
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 flaw is reached only through a locally mounted nilfs2 volume — attacker-supplied on-disk metadata plus ordinary local file syscalls and the unmount path; nothing in fs/nilfs2 parses data from a remote peer. AC:L - The attacker fully authors the on-disk image, so the `__nilfs_error()`→`SB_RDONLY` degeneration and the resulting `-EROFS` bail in `nilfs_segctor_do_construct()` are deterministic, and the free-then-use ordering inside `nilfs_detach_log_writer()` is a fixed code sequence rather than a race; syzbot reproduced it reliably. PR:L - An unprivileged local desktop/kiosk user is enough: udisks2/polkit lets an active local session mount and eject removable media without a password, and the writes that strand inodes on `ns_dirty_files` are ordinary unprivileged VFS operations — matching the PR:L assigned to the same-family nilfs2 crafted-image CVEs. UI:N - On an auto-mounting host the attacker performs every step themselves — supply the image, dirty the inodes, trigger the eject/unmount — so no action by a separate victim is required. S:U - The freed `nilfs_root` and `ifile` objects and any resulting corruption stay entirely within the kernel's own security authority; no hypervisor, IOMMU, or sandbox boundary is crossed. C:H - After `kfree(root)`, `nilfs_evict_inode()` reads `ii->i_root->ifile` from a reclaimable general-purpose slab object and passes it to `nilfs_ifile_get_inode_block()`/`nilfs_palloc_*`, so a groomed replacement object yields an attacker-chosen inode pointer and arbitrary kernel memory read; `root->ifile` itself is also already freed and its address_space is read out of freed memory. I:H - `atomic64_dec(&ii->i_root->inodes_count)` writes directly into the freed slab object at a fixed offset, and `nilfs_ifile_delete_inode()` performs `raw_inode->i_flags = 0` plus `mark_buffer_dirty()` through the attacker-reclaimable `->ifile` pointer, giving write primitives suitable for control-flow hijacking as well as corrupting ifile/allocator metadata written back to disk. A:H - This is a use-after-free that syzbot detected via KASAN; dereferencing the freed `nilfs_root` and the already-`iput()`ed ifile inode during unmount readily oopses or panics the kernel, and the corruption drives further filesystem failure.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | e912a5b66837ee89fb025e67b5efeaa11930c2ce to < f31e18131ee2ce80a4da5c808221d25b1ae9ad6d (affected · git)e912a5b66837ee89fb025e67b5efeaa11930c2ce to < 2a782ea8ebd712a458466e3103e2881b4f886cb5 (affected · git)e912a5b66837ee89fb025e67b5efeaa11930c2ce to < 116d53f09ff52e6f98e3fe1f85d8898d6ba26c68 (affected · git)e912a5b66837ee89fb025e67b5efeaa11930c2ce to < 6b4205ea97901f822004e6c8d59484ccfda03faa (affected · git)e912a5b66837ee89fb025e67b5efeaa11930c2ce to < b8427b8522d9ede53015ba45a9978ba68d1162f5 (affected · git)e912a5b66837ee89fb025e67b5efeaa11930c2ce to < acc2a40e428f12780004e1e9fce4722d88f909fd (affected · git)e912a5b66837ee89fb025e67b5efeaa11930c2ce to < fb8e8d58f116d069e5939e1f786ac84e7fa4533e (affected · git)e912a5b66837ee89fb025e67b5efeaa11930c2ce to < 9b5a04ac3ad9898c4745cba46ea26de74ba56a8e (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 2.6.37 (affected)0 to < 2.6.37 (unaffected · semver)4.14.316 through 4.14.* (unaffected · semver)4.19.284 through 4.19.* (unaffected · semver)5.4.244 through 5.4.* (unaffected · semver)5.10.181 through 5.10.* (unaffected · semver)5.15.113 through 5.15.* (unaffected · semver)6.1.30 through 6.1.* (unaffected · semver)6.3.4 through 6.3.* (unaffected · semver)6.4 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/116d53f09ff52e6f98e3fe1f85d8898d6ba26c68
- https://git.kernel.org/stable/c/2a782ea8ebd712a458466e3103e2881b4f886cb5
- https://git.kernel.org/stable/c/6b4205ea97901f822004e6c8d59484ccfda03faa
- https://git.kernel.org/stable/c/9b5a04ac3ad9898c4745cba46ea26de74ba56a8e
- https://git.kernel.org/stable/c/acc2a40e428f12780004e1e9fce4722d88f909fd
- https://git.kernel.org/stable/c/b8427b8522d9ede53015ba45a9978ba68d1162f5
- https://git.kernel.org/stable/c/f31e18131ee2ce80a4da5c808221d25b1ae9ad6d
- https://git.kernel.org/stable/c/fb8e8d58f116d069e5939e1f786ac84e7fa4533e
Provider assertions
1Linux · cna
nilfs2: fix use-after-free bug of nilfs_root in nilfs_evict_inode()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0dddef78cda1a9f705477f3f0024705b06345752e909a8dc6f1ae5440359dfa8
- Ingested
- 23 Sep 2026, 08:14:56 UTC
- Source record
- Official CVE record