CVE-2023-53485
published high CVSS 3.1 · 7.8fs: jfs: Fix UBSAN: array-index-out-of-bounds in dbAllocDmapLev
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 0d9e678a82915633b99603f744e7735d1a673d72 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 53b0a362aca2583729e8ca2936ca657ff3247d88 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 6e7d9d76e5654bcdd3cdb7c9441a8113428ecebb · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 911b48eec45152822bccf45cd3563b48256b1520 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 39f6292d75959e8accac0b3e24090094ba0824e9 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < bdf07ab1595b613b03f32dbb5cb379edfa1a7334 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < f2af019091f904ca08b3572ab0111238ad6d17b3 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 4e302336d5ca1767a06beee7596a72d3bdc8d983 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux2.6.12 (affected) · 0 to < 2.6.12 (unaffected · semver) · 4.14.324 through 4.14.* (unaffected · semver) · 4.19.293 through 4.19.* (unaffected · semver) · 5.4.255 through 5.4.* (unaffected · semver) · 5.10.192 through 5.10.* (unaffected · semver) · 5.15.123 through 5.15.* (unaffected · semver) · 6.1.42 through 6.1.* (unaffected · semver) · 6.4.7 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 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-039 | 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.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 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.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: fs: jfs: Fix UBSAN: array-index-out-of-bounds in dbAllocDmapLev Syzkaller reported the following issue: UBSAN: array-index-out-of-bounds in fs/jfs/jfs_dmap.c:1965:6 index -84 is out of range for type 's8[341]' (aka 'signed char[341]') CPU: 1 PID: 4995 Comm: syz-executor146 Not tainted 6.4.0-rc6-syzkaller-00037-gb6dad5178cea #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Call Trace: <TASK> __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106 ubsan_epilogue lib/ubsan.c:217 [inline] __ubsan_handle_out_of_bounds+0x11c/0x150 lib/ubsan.c:348 dbAllocDmapLev+0x3e5/0x430 fs/jfs/jfs_dmap.c:1965 dbAllocCtl+0x113/0x920 fs/jfs/jfs_dmap.c:1809 dbAllocAG+0x28f/0x10b0 fs/jfs/jfs_dmap.c:1350 dbAlloc+0x658/0xca0 fs/jfs/jfs_dmap.c:874 dtSplitUp fs/jfs/jfs_dtree.c:974 [inline] dtInsert+0xda7/0x6b00 fs/jfs/jfs_dtree.c:863 jfs_create+0x7b6/0xbb0 fs/jfs/namei.c:137 lookup_open fs/namei.c:3492 [inline] open_last_lookups fs/namei.c:3560 [inline] path_openat+0x13df/0x3170 fs/namei.c:3788 do_filp_open+0x234/0x490 fs/namei.c:3818 do_sys_openat2+0x13f/0x500 fs/open.c:1356 do_sys_open fs/open.c:1372 [inline] __do_sys_openat fs/open.c:1388 [inline] __se_sys_openat fs/open.c:1383 [inline] __x64_sys_openat+0x247/0x290 fs/open.c:1383 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f1f4e33f7e9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 14 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffc21129578 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f1f4e33f7e9 RDX: 000000000000275a RSI: 0000000020000040 RDI: 00000000ffffff9c RBP: 00007f1f4e2ff080 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f1f4e2ff110 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 </TASK> The bug occurs when the dbAllocDmapLev()function attempts to access dp->tree.stree[leafidx + LEAFIND] while the leafidx value is negative. To rectify this, the patch introduces a safeguard within the dbAllocDmapLev() function. A check has been added to verify if leafidx is negative. If it is, the function immediately returns an I/O error, preventing any further execution that could potentially cause harm. Tested via syzbot.
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 through local syscalls (`openat(O_CREAT)` on a mounted JFS volume) after a crafted JFS image is attached; there is no network-facing consumer of this code. AC:L - The attacker fully controls the on-disk `dmt_leafidx`/`start` fields of the dmap page, so the negative index and the resulting bogus block number are produced deterministically on the first file creation — no race or unpredictable state is involved. PR:L - An unprivileged local user suffices in realistic deployments — udisks2/autofs on desktops, kiosks and shared workstations loop-mount or auto-mount user-supplied JFS media without root, after which any write to the mounted directory reaches `dbAlloc()`. UI:N - The attacker performs every step themselves (supply the image, have it auto/loop-mounted, create a file); no action by a separate victim user is required. S:U - The corruption stays within the kernel's own security authority — standard in-kernel memory and filesystem-metadata corruption with no crossing of a VM, IOMMU, or sandbox boundary. C:H - `stree[leafidx + LEAFIND]` and `dp->wmap[leafidx]` are read at an unvalidated, attacker-chosen negative offset (`dmt_leafidx` is a full `__le32`), giving an unbounded out-of-bounds read of kernel memory whose contents steer the subsequent block-allocation result and are thus observable. I:H - The bogus `blkno` propagates into `dbAllocBits()`, where `bmp->db_agfree[agno] -= nblocks` writes at an attacker-influenced out-of-range index of the kmalloc'd `struct bmap`, and into `dbSplit()`/`dbAdjTree()`, which write past the metapage using the same unvalidated `dmt_leafidx` — heap out-of-bounds writes usable for control-flow corruption. A:H - A far-negative index dereferences unmapped memory and the corrupted allocation state feeds `jfs_error()`/inconsistent block accounting, producing a kernel oops or panic that the attacker can trigger at will.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 0d9e678a82915633b99603f744e7735d1a673d72 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 53b0a362aca2583729e8ca2936ca657ff3247d88 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 6e7d9d76e5654bcdd3cdb7c9441a8113428ecebb (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 911b48eec45152822bccf45cd3563b48256b1520 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 39f6292d75959e8accac0b3e24090094ba0824e9 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < bdf07ab1595b613b03f32dbb5cb379edfa1a7334 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < f2af019091f904ca08b3572ab0111238ad6d17b3 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 4e302336d5ca1767a06beee7596a72d3bdc8d983 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 2.6.12 (affected)0 to < 2.6.12 (unaffected · semver)4.14.324 through 4.14.* (unaffected · semver)4.19.293 through 4.19.* (unaffected · semver)5.4.255 through 5.4.* (unaffected · semver)5.10.192 through 5.10.* (unaffected · semver)5.15.123 through 5.15.* (unaffected · semver)6.1.42 through 6.1.* (unaffected · semver)6.4.7 through 6.4.* (unaffected · semver)6.5 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/0d9e678a82915633b99603f744e7735d1a673d72
- https://git.kernel.org/stable/c/39f6292d75959e8accac0b3e24090094ba0824e9
- https://git.kernel.org/stable/c/4e302336d5ca1767a06beee7596a72d3bdc8d983
- https://git.kernel.org/stable/c/53b0a362aca2583729e8ca2936ca657ff3247d88
- https://git.kernel.org/stable/c/6e7d9d76e5654bcdd3cdb7c9441a8113428ecebb
- https://git.kernel.org/stable/c/911b48eec45152822bccf45cd3563b48256b1520
- https://git.kernel.org/stable/c/bdf07ab1595b613b03f32dbb5cb379edfa1a7334
- https://git.kernel.org/stable/c/f2af019091f904ca08b3572ab0111238ad6d17b3
Provider assertions
1Linux · cna
fs: jfs: Fix UBSAN: array-index-out-of-bounds in dbAllocDmapLev
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 76636845cbc42539b738e1650e956142dbd73a26e2f563fada5cc598cf727d60
- Ingested
- 23 Sep 2026, 08:14:56 UTC
- Source record
- Official CVE record