loop0: detected capacity change from 0 to 32768 BUG at fs/jfs/jfs_dmap.c:3024 assert(bitno < 32) ------------[ cut here ]------------ kernel BUG at fs/jfs/jfs_dmap.c:3024! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5826 Comm: syz-executor646 Not tainted 6.15.0-rc4-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 RIP: 0010:dbFindBits+0x19e/0x1a0 fs/jfs/jfs_dmap.c:3024 Code: ee fd 90 0f 0b e8 52 3d 86 fe 48 c7 c7 40 62 a3 8b 48 c7 c6 80 5f a3 8b ba d0 0b 00 00 48 c7 c1 20 6a a3 8b e8 83 0f ee fd 90 <0f> 0b 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 55 41 57 41 RSP: 0018:ffffc90003a1f190 EFLAGS: 00010246 RAX: 0000000000000030 RBX: 0000000000000000 RCX: d3029ac105996b00 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: 00000000ffffffff R08: ffffc90003a1ee67 R09: 1ffff92000743dcc R10: dffffc0000000000 R11: fffff52000743dcd R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000020 FS: 0000555581f1b380(0000) GS:ffff8881260cc000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000066c7e0 CR3: 000000007ad98000 CR4: 0000000000350ef0 Call Trace: dbAllocDmapLev+0x16b/0x3c0 fs/jfs/jfs_dmap.c:1973 dbAllocCtl+0x14a/0x9b0 fs/jfs/jfs_dmap.c:1813 dbAllocAG+0x1e8/0xf10 fs/jfs/jfs_dmap.c:1349 dbAlloc+0x5a8/0xba0 fs/jfs/jfs_dmap.c:873 dtSplitUp fs/jfs/jfs_dtree.c:982 [inline] dtInsert+0xad5/0x5f40 fs/jfs/jfs_dtree.c:871 jfs_create+0x6c8/0xa80 fs/jfs/namei.c:137 lookup_open fs/namei.c:3701 [inline] open_last_lookups fs/namei.c:3800 [inline] path_openat+0x14f4/0x3830 fs/namei.c:4036 do_filp_open+0x1fa/0x410 fs/namei.c:4066 do_sys_openat2+0x121/0x1c0 fs/open.c:1429 do_sys_open fs/open.c:1444 [inline] __do_sys_openat fs/open.c:1460 [inline] __se_sys_openat fs/open.c:1455 [inline] __x64_sys_openat+0x138/0x170 fs/open.c:1455 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f9f0985b9f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 17 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffe18f0f028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000200000000180 RCX: 00007f9f0985b9f9 RDX: 000000000000275a RSI: 0000200000000080 RDI: 00000000ffffff9c RBP: 00007f9f098a405e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffe18f0f208 R14: 0000000000000001 R15: 0000000000000001 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:dbFindBits+0x19e/0x1a0 fs/jfs/jfs_dmap.c:3024 Code: ee fd 90 0f 0b e8 52 3d 86 fe 48 c7 c7 40 62 a3 8b 48 c7 c6 80 5f a3 8b ba d0 0b 00 00 48 c7 c1 20 6a a3 8b e8 83 0f ee fd 90 <0f> 0b 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 55 41 57 41 RSP: 0018:ffffc90003a1f190 EFLAGS: 00010246 RAX: 0000000000000030 RBX: 0000000000000000 RCX: d3029ac105996b00 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: 00000000ffffffff R08: ffffc90003a1ee67 R09: 1ffff92000743dcc R10: dffffc0000000000 R11: fffff52000743dcd R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000020 FS: 0000555581f1b380(0000) GS:ffff8881260cc000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000066c7e0 CR3: 000000007ad98000 CR4: 0000000000350ef0