loop0: detected capacity change from 0 to 32768 BUG at fs/jfs/jfs_dmap.c:3104 assert(bitno < 32) ------------[ cut here ]------------ kernel BUG at fs/jfs/jfs_dmap.c:3104! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 4969 Comm: syz.0.15 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026 RIP: 0010:dbFindBits+0x193/0x1a0 fs/jfs/jfs_dmap.c:3104 Code: 03 af e7 06 0f 0b e8 ac 5f a9 fe 48 c7 c7 80 13 62 8a 48 c7 c6 00 11 62 8a ba 20 0c 00 00 48 c7 c1 a0 1b 62 8a e8 dd ae e7 06 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 90 55 41 57 41 56 41 55 41 54 RSP: 0018:ffffc90002f4f1f0 EFLAGS: 00010246 RAX: 0000000000000030 RBX: 0000000000000000 RCX: ace0cdec45346000 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: 00000000ffffffff R08: ffff8880b8f33d7f R09: 1ffff110171e67af R10: dffffc0000000000 R11: ffffed10171e67b0 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000020 FS: 00007f9f470fd6c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005600e455b8d0 CR3: 0000000065e93000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: dbAllocDmapLev+0x15f/0x3b0 fs/jfs/jfs_dmap.c:2053 dbAllocCtl+0x143/0x980 fs/jfs/jfs_dmap.c:1893 dbAllocAG+0x1f3/0x1000 fs/jfs/jfs_dmap.c:1421 dbAlloc+0x5a6/0xb90 fs/jfs/jfs_dmap.c:877 dtSplitUp fs/jfs/jfs_dtree.c:982 [inline] dtInsert+0xb14/0x57e0 fs/jfs/jfs_dtree.c:871 jfs_create+0x729/0xae0 fs/jfs/namei.c:137 lookup_open fs/namei.c:3513 [inline] open_last_lookups fs/namei.c:3583 [inline] path_openat+0x120a/0x2fb0 fs/namei.c:3790 do_filp_open+0x1df/0x400 fs/namei.c:3820 do_sys_openat2+0x14b/0x500 fs/open.c:1255 do_sys_open fs/open.c:1271 [inline] __do_sys_openat fs/open.c:1287 [inline] __se_sys_openat fs/open.c:1282 [inline] __x64_sys_openat+0x135/0x160 fs/open.c:1282 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f9f47e7f809 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f9f470fd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f9f48012fa0 RCX: 00007f9f47e7f809 RDX: 000000000000275a RSI: 0000000020000040 RDI: ffffffffffffff9c RBP: 00007f9f47f0e98f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f9f48012fa0 R15: 00007ffd40228638 Modules linked in: ---[ end trace f32b3856728f364d ]--- RIP: 0010:dbFindBits+0x193/0x1a0 fs/jfs/jfs_dmap.c:3104 Code: 03 af e7 06 0f 0b e8 ac 5f a9 fe 48 c7 c7 80 13 62 8a 48 c7 c6 00 11 62 8a ba 20 0c 00 00 48 c7 c1 a0 1b 62 8a e8 dd ae e7 06 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 90 55 41 57 41 56 41 55 41 54 RSP: 0018:ffffc90002f4f1f0 EFLAGS: 00010246 RAX: 0000000000000030 RBX: 0000000000000000 RCX: ace0cdec45346000 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: 00000000ffffffff R08: ffff8880b8f33d7f R09: 1ffff110171e67af R10: dffffc0000000000 R11: ffffed10171e67b0 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000020 FS: 00007f9f470fd6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7959b09000 CR3: 0000000065e93000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400