divide error: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 10163 Comm: syz-executor.0 Not tainted 5.18.0-rc5-syzkaller-00028-ga7391ad35724 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 RIP: 0010:tcp_rcv_space_adjust+0x36f/0xa90 net/ipv4/tcp_input.c:739 Code: 00 00 00 00 fc ff df 4c 89 64 24 48 8b 44 24 04 44 89 f9 41 81 c7 80 03 00 00 c1 e1 04 44 29 f0 48 63 c9 48 01 e9 48 0f af c1 <49> f7 f6 48 8d 04 41 48 89 44 24 40 48 8b 44 24 30 48 c1 e8 03 48 RSP: 0018:ffffc90002f1f618 EFLAGS: 00010a07 RAX: 6b49aaea28bc2148 RBX: ffff8880231ea140 RCX: 00000001af4ff06c RDX: 0000000000000000 RSI: dffffc0000000000 RDI: 0000000000000003 RBP: 00000001af3ff42c R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff87cfaf7b R11: 0000000000000000 R12: ffff8880231eac70 R13: ffff88806f926080 R14: 0000000000000000 R15: 0000000000010344 FS: 00007f32b0862700(0000) GS:ffff88802cb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200015c0 CR3: 0000000045c1d000 CR4: 0000000000150ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000003b DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: tcp_recvmsg_locked+0xf2d/0x1fd0 net/ipv4/tcp.c:2509 tcp_recvmsg+0x137/0x610 net/ipv4/tcp.c:2574 inet6_recvmsg+0x11b/0x5e0 net/ipv6/af_inet6.c:671 sock_recvmsg_nosec net/socket.c:948 [inline] sock_recvmsg net/socket.c:966 [inline] sock_recvmsg net/socket.c:962 [inline] ____sys_recvmsg+0x2be/0x5f0 net/socket.c:2632 ___sys_recvmsg+0x127/0x200 net/socket.c:2674 do_recvmmsg+0x24d/0x6d0 net/socket.c:2768 __sys_recvmmsg net/socket.c:2847 [inline] __do_sys_recvmmsg net/socket.c:2870 [inline] __se_sys_recvmmsg net/socket.c:2863 [inline] __x64_sys_recvmmsg+0x20b/0x260 net/socket.c:2863 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f32af6890e9 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f32b0862168 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007f32af79bf60 RCX: 00007f32af6890e9 RDX: 0000000000000001 RSI: 0000000020000bc0 RDI: 0000000000000003 RBP: 00007f32af6e308d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000122 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe344ede1f R14: 00007f32b0862300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:tcp_rcv_space_adjust+0x36f/0xa90 net/ipv4/tcp_input.c:739 Code: 00 00 00 00 fc ff df 4c 89 64 24 48 8b 44 24 04 44 89 f9 41 81 c7 80 03 00 00 c1 e1 04 44 29 f0 48 63 c9 48 01 e9 48 0f af c1 <49> f7 f6 48 8d 04 41 48 89 44 24 40 48 8b 44 24 30 48 c1 e8 03 48 RSP: 0018:ffffc90002f1f618 EFLAGS: 00010a07 RAX: 6b49aaea28bc2148 RBX: ffff8880231ea140 RCX: 00000001af4ff06c RDX: 0000000000000000 RSI: dffffc0000000000 RDI: 0000000000000003 RBP: 00000001af3ff42c R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff87cfaf7b R11: 0000000000000000 R12: ffff8880231eac70 R13: ffff88806f926080 R14: 0000000000000000 R15: 0000000000010344 FS: 00007f32b0862700(0000) GS:ffff88802cb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200015c0 CR3: 0000000045c1d000 CR4: 0000000000150ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000003b DR6: 00000000ffff0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 6 bytes skipped: 0: df 4c 89 64 fisttps 0x64(%rcx,%rcx,4) 4: 24 48 and $0x48,%al 6: 8b 44 24 04 mov 0x4(%rsp),%eax a: 44 89 f9 mov %r15d,%ecx d: 41 81 c7 80 03 00 00 add $0x380,%r15d 14: c1 e1 04 shl $0x4,%ecx 17: 44 29 f0 sub %r14d,%eax 1a: 48 63 c9 movslq %ecx,%rcx 1d: 48 01 e9 add %rbp,%rcx 20: 48 0f af c1 imul %rcx,%rax * 24: 49 f7 f6 div %r14 <-- trapping instruction 27: 48 8d 04 41 lea (%rcx,%rax,2),%rax 2b: 48 89 44 24 40 mov %rax,0x40(%rsp) 30: 48 8b 44 24 30 mov 0x30(%rsp),%rax 35: 48 c1 e8 03 shr $0x3,%rax 39: 48 rex.W