BUG at fs/jfs/jfs_dmap.c:3123 assert(bitno < 32) ------------[ cut here ]------------ kernel BUG at fs/jfs/jfs_dmap.c:3123! Oops: invalid opcode: 0000 [#1] SMP KASAN PTI CPU: 0 UID: 0 PID: 6282 Comm: syz.2.97 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 RIP: 0010:dbFindBits+0x19e/0x1a0 fs/jfs/jfs_dmap.c:3123 Code: c2 fd 90 0f 0b e8 52 f9 61 fe 48 c7 c7 e0 19 ad 8b 48 c7 c6 20 17 ad 8b ba 33 0c 00 00 48 c7 c1 20 22 ad 8b e8 c3 d0 c2 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: 0000:ffffc90007bf6eb0 EFLAGS: 00010246 RAX: 0000000000000030 RBX: 0000000000000004 RCX: f2e85fa3279fa100 RDX: ffffc90005a71000 RSI: 000000000007b707 RDI: 000000000007b708 RBP: 00000000ffffffff R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: fffff52000f7ed85 R12: 0000000000000010 R13: 0000000000000000 R14: 0000000000000010 R15: 0000000000000020 FS: 00007fbf216766c0(0000) GS:ffff888125bd1000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f332e0de000 CR3: 000000003cdba000 CR4: 00000000003526f0 Call Trace: dbAllocNear+0x23f/0x3c0 fs/jfs/jfs_dmap.c:1330 dbAlloc+0x937/0xba0 fs/jfs/jfs_dmap.c:919 extBalloc fs/jfs/jfs_extent.c:336 [inline] extAlloc+0x57d/0x1010 fs/jfs/jfs_extent.c:127 jfs_get_block+0x351/0xad0 fs/jfs/inode.c:254 get_more_blocks fs/direct-io.c:644 [inline] do_direct_IO fs/direct-io.c:932 [inline] __blockdev_direct_IO+0x1965/0x33d0 fs/direct-io.c:1236 blockdev_direct_IO include/linux/fs.h:3155 [inline] jfs_direct_IO+0x11b/0x220 fs/jfs/inode.c:339 generic_file_direct_write+0x1d1/0x3f0 mm/filemap.c:4308 __generic_file_write_iter+0x120/0x240 mm/filemap.c:4477 generic_file_write_iter+0xaf/0x330 mm/filemap.c:4517 iter_file_splice_write+0xa36/0x1240 fs/splice.c:736 do_splice_from fs/splice.c:936 [inline] direct_splice_actor+0x104/0x160 fs/splice.c:1159 splice_direct_to_actor+0x586/0xcc0 fs/splice.c:1103 do_splice_direct_actor fs/splice.c:1202 [inline] do_splice_direct+0x19b/0x2a0 fs/splice.c:1228 do_sendfile+0x540/0x7e0 fs/read_write.c:1371 __do_sys_sendfile64 fs/read_write.c:1432 [inline] __se_sys_sendfile64+0x144/0x1a0 fs/read_write.c:1418 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fbf2341e159 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:00007fbf21676028 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fbf236a5fa0 RCX: 00007fbf2341e159 RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004 RBP: 00007fbf234b5024 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000fffe82 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fbf236a6038 R14: 00007fbf236a5fa0 R15: 00007ffc332c11e8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:dbFindBits+0x19e/0x1a0 fs/jfs/jfs_dmap.c:3123 Code: c2 fd 90 0f 0b e8 52 f9 61 fe 48 c7 c7 e0 19 ad 8b 48 c7 c6 20 17 ad 8b ba 33 0c 00 00 48 c7 c1 20 22 ad 8b e8 c3 d0 c2 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: 0000:ffffc90007bf6eb0 EFLAGS: 00010246 RAX: 0000000000000030 RBX: 0000000000000004 RCX: f2e85fa3279fa100 RDX: ffffc90005a71000 RSI: 000000000007b707 RDI: 000000000007b708 RBP: 00000000ffffffff R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: fffff52000f7ed85 R12: 0000000000000010 R13: 0000000000000000 R14: 0000000000000010 R15: 0000000000000020 FS: 00007fbf216766c0(0000) GS:ffff888125bd1000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f332e9c8000 CR3: 000000003cdba000 CR4: 00000000003526f0