loop2: detected capacity change from 0 to 32768 divide error: 0000 [#1] SMP NOPTI CPU: 0 PID: 5961 Comm: syz.2.15 Not tainted 5.13.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:dbAllocAG+0x196/0x5b0 fs/jfs/jfs_dmap.c:1429 Code: c4 03 00 00 e8 db 6c a1 ff 48 8b 74 24 08 b9 0a 00 00 00 31 ff 44 8b 76 28 8b 5e 2c 43 8d 04 36 29 c1 b8 01 00 00 00 d3 e0 99 fb 83 e8 01 44 21 f8 0f af c3 03 46 30 89 de 89 44 24 14 e8 61 RSP: 0018:ffffc9000040bd58 EFLAGS: 00010216 RAX: 0000000000000400 RBX: 0000000000000000 RCX: 000000000000000a RDX: 0000000000000000 RSI: ffff888124a1d000 RDI: 0000000000000000 RBP: 0000000000000003 R08: 0000000000000155 R09: 0000000000000000 R10: ffffffff8183cc44 R11: 0000000000000000 R12: 000000000000000c R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007fd603dee6c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d35ffff CR3: 0000000119b18000 CR4: 0000000000350ef0 Call Trace: dbDiscardAG+0x178/0x440 fs/jfs/jfs_dmap.c:1643 jfs_ioc_trim+0x13e/0x1b0 fs/jfs/jfs_discard.c:100 jfs_ioctl+0x14f/0x1b0 fs/jfs/ioctl.c:132 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:1069 [inline] __se_sys_ioctl fs/ioctl.c:1055 [inline] __x64_sys_ioctl+0xff/0x140 fs/ioctl.c:1055 do_syscall_64+0x41/0x80 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fd60436f809 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:00007fd603dee058 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fd604534fa0 RCX: 00007fd60436f809 RDX: 0000000020000080 RSI: 00000000c0185879 RDI: 0000000000000004 RBP: 00007fd6043e293e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fd604534fa0 R15: 00007ffe1cb72c28 Modules linked in: ---[ end trace c5aedab60a913f12 ]--- RIP: 0010:dbAllocAG+0x196/0x5b0 fs/jfs/jfs_dmap.c:1429 Code: c4 03 00 00 e8 db 6c a1 ff 48 8b 74 24 08 b9 0a 00 00 00 31 ff 44 8b 76 28 8b 5e 2c 43 8d 04 36 29 c1 b8 01 00 00 00 d3 e0 99 fb 83 e8 01 44 21 f8 0f af c3 03 46 30 89 de 89 44 24 14 e8 61 RSP: 0018:ffffc9000040bd58 EFLAGS: 00010216 RAX: 0000000000000400 RBX: 0000000000000000 RCX: 000000000000000a RDX: 0000000000000000 RSI: ffff888124a1d000 RDI: 0000000000000000 RBP: 0000000000000003 R08: 0000000000000155 R09: 0000000000000000 R10: ffffffff8183cc44 R11: 0000000000000000 R12: 000000000000000c R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007fd603dee6c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d35ffff CR3: 0000000119b18000 CR4: 0000000000350ef0 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 03 00 add (%rax),%eax 2: 00 e8 add %ch,%al 4: db 6c a1 ff fldt -0x1(%rcx,%riz,4) 8: 48 8b 74 24 08 mov 0x8(%rsp),%rsi d: b9 0a 00 00 00 mov $0xa,%ecx 12: 31 ff xor %edi,%edi 14: 44 8b 76 28 mov 0x28(%rsi),%r14d 18: 8b 5e 2c mov 0x2c(%rsi),%ebx 1b: 43 8d 04 36 lea (%r14,%r14,1),%eax 1f: 29 c1 sub %eax,%ecx 21: b8 01 00 00 00 mov $0x1,%eax 26: d3 e0 shl %cl,%eax 28: 99 cltd * 29: f7 fb idiv %ebx <-- trapping instruction 2b: 83 e8 01 sub $0x1,%eax 2e: 44 21 f8 and %r15d,%eax 31: 0f af c3 imul %ebx,%eax 34: 03 46 30 add 0x30(%rsi),%eax 37: 89 de mov %ebx,%esi 39: 89 44 24 14 mov %eax,0x14(%rsp) 3d: e8 .byte 0xe8 3e: 61 (bad)