BUG at fs/jfs/jfs_dmap.c:2975 assert(n < 4)
------------[ cut here ]------------
kernel BUG at fs/jfs/jfs_dmap.c:2975!
Oops: invalid opcode: 0000 [#1] SMP KASAN PTI
CPU: 0 UID: 0 PID: 15778 Comm: syz.7.1723 Not tainted 6.16.0-rc7-syzkaller-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:dbFindLeaf+0x51d/0x520
Code: e9 4c ff ff ff e8 a3 e9 83 fe 48 c7 c7 80 bf c3 8b 48 c7 c6 c0 bc c3 8b ba 9f 0b 00 00 48 c7 c1 40 ca c3 8b e8 64 5f eb fd 90 <0f> 0b 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 55 41 57
RSP: 0018:ffffc90004dd69b0 EFLAGS: 00010246
RAX: 000000000000002b RBX: 00000000ffffffff RCX: caf831cbf276b000
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: 0000000000000001 R08: ffffc90004dd66c7 R09: 1ffff920009bacd8
R10: dffffc0000000000 R11: fffff520009bacd9 R12: 0000000000000002
R13: 0000000000000060 R14: 000000000000005d R15: 0000000000000155
FS:  00007fe9b35626c0(0000) GS:ffff8880b8623000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00001fffffffff80 CR3: 00000001243b2000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 dbAllocDmapLev+0x60/0x3c0
 dbAllocCtl+0x14a/0x9b0
 dbAllocAG+0x1e8/0xf10
 dbAlloc+0x5a8/0xba0
 diNewExt+0x9af/0x3150
 diAllocAG+0xe86/0x1df0
 diAlloc+0x1d5/0x1680
 ialloc+0x8c/0x8f0
 jfs_create+0x18d/0xa80
 path_openat+0x14f4/0x3830
 do_filp_open+0x1fa/0x410
 filp_open+0x176/0x1d0
 do_coredump+0x1bd3/0x3440
 get_signal+0x1109/0x1340
 arch_do_signal_or_restart+0x9a/0x750
 irqentry_exit_to_user_mode+0x81/0x120
 exc_page_fault+0x9f/0xf0
 asm_exc_page_fault+0x26/0x30
RIP: 0033:0x0
Code: Unable to access opcode bytes at 0xffffffffffffffd6.
RSP: 002b:00002000000003e8 EFLAGS: 00010217
RAX: 0000000000000000 RBX: 00007fe9b29b6080 RCX: 00007fe9b278e9a9
RDX: 00002000000002c0 RSI: 00002000000003e0 RDI: 0000000000020400
RBP: 00007fe9b2810d69 R08: 0000200000000480 R09: 0000200000000480
R10: 0000200000000440 R11: 0000000000000206 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fe9b29b6080 R15: 00007ffd8b41a548
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:dbFindLeaf+0x51d/0x520
Code: e9 4c ff ff ff e8 a3 e9 83 fe 48 c7 c7 80 bf c3 8b 48 c7 c6 c0 bc c3 8b ba 9f 0b 00 00 48 c7 c1 40 ca c3 8b e8 64 5f eb fd 90 <0f> 0b 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 55 41 57
RSP: 0018:ffffc90004dd69b0 EFLAGS: 00010246
RAX: 000000000000002b RBX: 00000000ffffffff RCX: caf831cbf276b000
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: 0000000000000001 R08: ffffc90004dd66c7 R09: 1ffff920009bacd8
R10: dffffc0000000000 R11: fffff520009bacd9 R12: 0000000000000002
R13: 0000000000000060 R14: 000000000000005d R15: 0000000000000155
FS:  00007fe9b35626c0(0000) GS:ffff8880b8623000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00001fffffffff80 CR3: 00000001243b2000 CR4: 00000000000006f0
