loop0: detected capacity change from 0 to 32768 BUG at fs/jfs/jfs_dmap.c:3039 assert(bitno < 32) ------------[ cut here ]------------ kernel BUG at fs/jfs/jfs_dmap.c:3039! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 1 UID: 0 PID: 5833 Comm: syz-executor229 Not tainted 6.14.0-rc1-syzkaller-00081-gbb066fe812d6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:dbFindBits+0x1ce/0x1d0 fs/jfs/jfs_dmap.c:3039 Code: d6 fd 90 0f 0b e8 12 66 6e fe 48 c7 c7 00 c5 42 8c 48 c7 c6 40 c2 42 8c ba df 0b 00 00 48 c7 c1 e0 cc 42 8c e8 63 0c d6 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:ffffc90003066e20 EFLAGS: 00010246 RAX: 0000000000000030 RBX: 0000000000000000 RCX: c0d3af6c2c7c3c00 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: 0000000000000020 R08: ffffffff819f146c R09: 1ffff9200060cd60 R10: dffffc0000000000 R11: fffff5200060cd61 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000555591b08380(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff71d995ed8 CR3: 0000000078460000 CR4: 0000000000350ef0 Call Trace: dbAllocDmapLev+0x1e9/0x4a0 fs/jfs/jfs_dmap.c:1988 dbAllocCtl+0x147/0x9b0 fs/jfs/jfs_dmap.c:1828 dbAllocAG+0x28f/0x10b0 fs/jfs/jfs_dmap.c:1364 dbAlloc+0x658/0xca0 fs/jfs/jfs_dmap.c:888 dtSplitUp fs/jfs/jfs_dtree.c:981 [inline] dtInsert+0xd7a/0x6c10 fs/jfs/jfs_dtree.c:870 jfs_create+0x7ba/0xbb0 fs/jfs/namei.c:137 lookup_open fs/namei.c:3651 [inline] open_last_lookups fs/namei.c:3750 [inline] path_openat+0x193e/0x3590 fs/namei.c:3986 do_filp_open+0x27f/0x4e0 fs/namei.c:4016 do_sys_openat2+0x13e/0x1d0 fs/open.c:1427 do_sys_open fs/open.c:1442 [inline] __do_sys_openat fs/open.c:1458 [inline] __se_sys_openat fs/open.c:1453 [inline] __x64_sys_openat+0x247/0x2a0 fs/open.c:1453 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8e94b4ee59 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 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:00007ffc41112f88 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 000020000000147a RCX: 00007f8e94b4ee59 RDX: 000000000000275a RSI: 00002000000002c0 RDI: 00000000ffffff9c RBP: 00007f8e94bc95f0 R08: 0000555591b094c0 R09: 0000555591b094c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffc41112fb0 R13: 00007ffc411131d8 R14: 431bde82d7b634db R15: 00007f8e94b9803b Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:dbFindBits+0x1ce/0x1d0 fs/jfs/jfs_dmap.c:3039 Code: d6 fd 90 0f 0b e8 12 66 6e fe 48 c7 c7 00 c5 42 8c 48 c7 c6 40 c2 42 8c ba df 0b 00 00 48 c7 c1 e0 cc 42 8c e8 63 0c d6 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:ffffc90003066e20 EFLAGS: 00010246 RAX: 0000000000000030 RBX: 0000000000000000 RCX: c0d3af6c2c7c3c00 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: 0000000000000020 R08: ffffffff819f146c R09: 1ffff9200060cd60 R10: dffffc0000000000 R11: fffff5200060cd61 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000555591b08380(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055d635ca1998 CR3: 0000000078460000 CR4: 0000000000350ef0