CVE-2023-54127
published high CVSS 3.1 · 7.8fs/jfs: prevent double-free in dbUnmount() after failed jfs_remount()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 798c5f6f98bc9045593d4b3a65c32f05d97bd0e6 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < aef6507e85475e30831c30405d785c7ed976ea4a · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < b12ccbfdf6539ef0157868f69fcae0b7f7a072b3 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 6f8b34458948ffca2fe90cd8c614e3fa2ebe0b27 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < aa5b019a3e0f7f54f4e5370c1af827f6b00fd26b · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 2f7a36448f51d08d3a83f1514abcca4b680bcd3c · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < f71c4bb3ec08dfcbd201350a6a0a914c4e6a9e3f · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < cade5397e5461295f3cb87880534b6a07cafa427 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux2.6.12 (affected) · 0 to < 2.6.12 (unaffected · semver) · 4.14.326 through 4.14.* (unaffected · semver) · 4.19.295 through 4.19.* (unaffected · semver) · 5.4.257 through 5.4.* (unaffected · semver) · 5.10.197 through 5.10.* (unaffected · semver) · 5.15.133 through 5.15.* (unaffected · semver) · 6.1.55 through 6.1.* (unaffected · semver) · 6.5.5 through 6.5.* (unaffected · semver) · 6.6 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-2264 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2023-041 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2023-053 | 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: fs/jfs: prevent double-free in dbUnmount() after failed jfs_remount() Syzkaller reported the following issue: ================================================================== BUG: KASAN: double-free in slab_free mm/slub.c:3787 [inline] BUG: KASAN: double-free in __kmem_cache_free+0x71/0x110 mm/slub.c:3800 Free of addr ffff888086408000 by task syz-executor.4/12750 [...] Call Trace: <TASK> [...] kasan_report_invalid_free+0xac/0xd0 mm/kasan/report.c:482 ____kasan_slab_free+0xfb/0x120 kasan_slab_free include/linux/kasan.h:177 [inline] slab_free_hook mm/slub.c:1781 [inline] slab_free_freelist_hook+0x12e/0x1a0 mm/slub.c:1807 slab_free mm/slub.c:3787 [inline] __kmem_cache_free+0x71/0x110 mm/slub.c:3800 dbUnmount+0xf4/0x110 fs/jfs/jfs_dmap.c:264 jfs_umount+0x248/0x3b0 fs/jfs/jfs_umount.c:87 jfs_put_super+0x86/0x190 fs/jfs/super.c:194 generic_shutdown_super+0x130/0x310 fs/super.c:492 kill_block_super+0x79/0xd0 fs/super.c:1386 deactivate_locked_super+0xa7/0xf0 fs/super.c:332 cleanup_mnt+0x494/0x520 fs/namespace.c:1291 task_work_run+0x243/0x300 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0x124/0x150 kernel/entry/common.c:171 exit_to_user_mode_prepare+0xb2/0x140 kernel/entry/common.c:203 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x26/0x60 kernel/entry/common.c:296 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd [...] </TASK> Allocated by task 13352: kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x3d/0x60 mm/kasan/common.c:52 ____kasan_kmalloc mm/kasan/common.c:371 [inline] __kasan_kmalloc+0x97/0xb0 mm/kasan/common.c:380 kmalloc include/linux/slab.h:580 [inline] dbMount+0x54/0x980 fs/jfs/jfs_dmap.c:164 jfs_mount+0x1dd/0x830 fs/jfs/jfs_mount.c:121 jfs_fill_super+0x590/0xc50 fs/jfs/super.c:556 mount_bdev+0x26c/0x3a0 fs/super.c:1359 legacy_get_tree+0xea/0x180 fs/fs_context.c:610 vfs_get_tree+0x88/0x270 fs/super.c:1489 do_new_mount+0x289/0xad0 fs/namespace.c:3145 do_mount fs/namespace.c:3488 [inline] __do_sys_mount fs/namespace.c:3697 [inline] __se_sys_mount+0x2d3/0x3c0 fs/namespace.c:3674 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd Freed by task 13352: kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x3d/0x60 mm/kasan/common.c:52 kasan_save_free_info+0x27/0x40 mm/kasan/generic.c:518 ____kasan_slab_free+0xd6/0x120 mm/kasan/common.c:236 kasan_slab_free include/linux/kasan.h:177 [inline] slab_free_hook mm/slub.c:1781 [inline] slab_free_freelist_hook+0x12e/0x1a0 mm/slub.c:1807 slab_free mm/slub.c:3787 [inline] __kmem_cache_free+0x71/0x110 mm/slub.c:3800 dbUnmount+0xf4/0x110 fs/jfs/jfs_dmap.c:264 jfs_mount_rw+0x545/0x740 fs/jfs/jfs_mount.c:247 jfs_remount+0x3db/0x710 fs/jfs/super.c:454 reconfigure_super+0x3bc/0x7b0 fs/super.c:935 vfs_fsconfig_locked fs/fsopen.c:254 [inline] __do_sys_fsconfig fs/fsopen.c:439 [inline] __se_sys_fsconfig+0xad5/0x1060 fs/fsopen.c:314 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd [...] JFS_SBI(ipbmap->i_sb)->bmap wasn't set to NULL after kfree() in dbUnmount(). Syzkaller uses faultinject to reproduce this KASAN double-free warning. The issue is triggered if either diMount() or dbMount() fail in jfs_remount(), since diUnmount() or dbUnmount() already happened in such a case - they will do double-free on next execution: jfs_umount or jfs_remount. Tested on both upstream and jfs-next by syzkaller.
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 vulnerability is reached only through local filesystem syscalls — mount(2)/fsconfig(2) remount of a JFS block device followed by umount — with an attacker-supplied or attacker-modifiable image on removable/loop media. No network or adjacent-network path exists into JFS mount handling. AC:L - The attacker deterministically forces dbMount() to fail on the remount re-read, because jfs_mount_rw() calls truncate_inode_pages() on ipbmap first: mutating the backing store so the bmap descriptor fails the sanity checks yields -EINVAL, and truncating it yields -EIO from read_metapage(). No race and no condition outside the attacker's control is involved. PR:L - Untrusted JFS media is routinely mounted and remounted on behalf of unprivileged users on kiosks, embedded/automotive and Android-class devices via udisks/autofs and mount-ro-then-remount-rw boot flows, and semi-privileged container/service contexts can drive the same path; consistent with sibling JFS crafted-image CVEs, a low-privileged local actor is assumed rather than full init-namespace root. UI:N - The attacker drives the whole sequence — mount read-only, remount read-write with a poisoned/erroring backing store, then unmount — with no victim action required at any step. S:U - The freed struct bmap, the slab it lives in, and all corrupted state belong to the kernel's own memory-management authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - Before the second kfree(), dbSync() reads the already-freed bmap and writes over a kilobyte of its contents — including all 128 db_agfree[] entries — into the on-disk bmap descriptor, which the attacker reads back from the device, leaking freed kernel heap memory; the double-free itself further yields arbitrary read via overlapping allocations. I:H - A double-free of a ~1.6 KiB object in the sprayable kmalloc-2k cache lets the attacker reclaim it and hand two owners the same allocation, a classic type-confusion path to arbitrary kernel write; additionally, since jfs_remount() clears SB_RDONLY even on failure, dbAlloc()/dbFree() subsequently write through the dangling bmap pointer. A:H - The bug was reported by syzbot as a KASAN double-free that corrupts SLUB freelist state; with freelist hardening or slub_debug this is an immediate kernel panic, and unchecked it produces allocator corruption and crashes.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 798c5f6f98bc9045593d4b3a65c32f05d97bd0e6 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < aef6507e85475e30831c30405d785c7ed976ea4a (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < b12ccbfdf6539ef0157868f69fcae0b7f7a072b3 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 6f8b34458948ffca2fe90cd8c614e3fa2ebe0b27 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < aa5b019a3e0f7f54f4e5370c1af827f6b00fd26b (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 2f7a36448f51d08d3a83f1514abcca4b680bcd3c (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < f71c4bb3ec08dfcbd201350a6a0a914c4e6a9e3f (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < cade5397e5461295f3cb87880534b6a07cafa427 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 2.6.12 (affected)0 to < 2.6.12 (unaffected · semver)4.14.326 through 4.14.* (unaffected · semver)4.19.295 through 4.19.* (unaffected · semver)5.4.257 through 5.4.* (unaffected · semver)5.10.197 through 5.10.* (unaffected · semver)5.15.133 through 5.15.* (unaffected · semver)6.1.55 through 6.1.* (unaffected · semver)6.5.5 through 6.5.* (unaffected · semver)6.6 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/2f7a36448f51d08d3a83f1514abcca4b680bcd3c
- https://git.kernel.org/stable/c/6f8b34458948ffca2fe90cd8c614e3fa2ebe0b27
- https://git.kernel.org/stable/c/798c5f6f98bc9045593d4b3a65c32f05d97bd0e6
- https://git.kernel.org/stable/c/aa5b019a3e0f7f54f4e5370c1af827f6b00fd26b
- https://git.kernel.org/stable/c/aef6507e85475e30831c30405d785c7ed976ea4a
- https://git.kernel.org/stable/c/b12ccbfdf6539ef0157868f69fcae0b7f7a072b3
- https://git.kernel.org/stable/c/cade5397e5461295f3cb87880534b6a07cafa427
- https://git.kernel.org/stable/c/f71c4bb3ec08dfcbd201350a6a0a914c4e6a9e3f
Provider assertions
1Linux · cna
fs/jfs: prevent double-free in dbUnmount() after failed jfs_remount()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- fc480046f4bd07f18716f033a2318390afc5497b46184473aabfef264dbcaaa8
- Ingested
- 23 Sep 2026, 08:15:07 UTC
- Source record
- Official CVE record