loop3: detected capacity change from 0 to 32768
BUG at fs/jfs/jfs_dmap.c:3036 assert(bitno < 32)
------------[ cut here ]------------
kernel BUG at fs/jfs/jfs_dmap.c:3036!
Oops: invalid opcode: 0000 [#1] SMP KASAN PTI
CPU: 1 UID: 0 PID: 7361 Comm: syz.3.203 Not tainted 6.17.0-rc1-syzkaller-00036-gdfc0f6373094-dirty #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:dbFindBits+0x19e/0x1a0
Code: e9 fd 90 0f 0b e8 42 2d 81 fe 48 c7 c7 40 db c3 8b 48 c7 c6 80 d8 c3 8b ba dc 0b 00 00 48 c7 c1 20 e3 c3 8b e8 33 21 e9 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:ffffc9000334f188 EFLAGS: 00010246
RAX: 0000000000000030 RBX: 0000000000000000 RCX: 1b6965bd9584c200
RDX: ffffc90007f49000 RSI: 00000000000019e6 RDI: 00000000000019e7
RBP: 00000000ffffffff R08: ffffc9000334eea7 R09: 1ffff92000669dd4
R10: dffffc0000000000 R11: fffff52000669dd5 R12: 0000000000000001
R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000020
FS:  00007fb299c6a6c0(0000) GS:ffff8881a3c1c000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000001350 CR3: 000000010e6ba000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 dbAllocDmapLev+0x16b/0x3c0
 dbAllocCtl+0x14a/0x9c0
 dbAllocAG+0x1e6/0xff0
 dbAlloc+0x5a8/0xba0
 dtInsert+0xad5/0x5f40
 jfs_create+0x6c8/0xa80
 path_openat+0x14f4/0x3830
 do_filp_open+0x1fa/0x410
 do_sys_openat2+0x121/0x1c0
 __x64_sys_open+0x11e/0x150
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fb298d8ebe9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fb299c6a038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007fb298fb5fa0 RCX: 00007fb298d8ebe9
RDX: 0000000000000020 RSI: 000000000014927e RDI: 0000200000001340
RBP: 00007fb298e11e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fb298fb6038 R14: 00007fb298fb5fa0 R15: 00007ffda0c18408
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:dbFindBits+0x19e/0x1a0
Code: e9 fd 90 0f 0b e8 42 2d 81 fe 48 c7 c7 40 db c3 8b 48 c7 c6 80 d8 c3 8b ba dc 0b 00 00 48 c7 c1 20 e3 c3 8b e8 33 21 e9 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:ffffc9000334f188 EFLAGS: 00010246
RAX: 0000000000000030 RBX: 0000000000000000 RCX: 1b6965bd9584c200
RDX: ffffc90007f49000 RSI: 00000000000019e6 RDI: 00000000000019e7
RBP: 00000000ffffffff R08: ffffc9000334eea7 R09: 1ffff92000669dd4
R10: dffffc0000000000 R11: fffff52000669dd5 R12: 0000000000000001
R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000020
FS:  00007fb299c6a6c0(0000) GS:ffff8881a3c1c000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2dbc0e8710 CR3: 000000010e6ba000 CR4: 00000000000006f0
