------------[ cut here ]------------
WARNING: CPU: 1 PID: 4681 at net/ipv4/af_inet.c:157 inet_sock_destruct+0x64d/0x740
Modules linked in:
CPU: 1 PID: 4681 Comm: syz.3.91 Not tainted 5.15.171-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:inet_sock_destruct+0x64d/0x740 net/ipv4/af_inet.c:157
Code: 01 e8 17 e1 99 f8 0f 0b e9 61 fe ff ff e8 0b e1 99 f8 0f 0b e9 96 fe ff ff e8 ff e0 99 f8 0f 0b e9 be fe ff ff e8 f3 e0 99 f8 <0f> 0b e9 e6 fe ff ff 89 d9 80 e1 07 fe c1 38 c1 0f 8c 5b fd ff ff
RSP: 0018:ffffc90000dd0b68 EFLAGS: 00010246
RAX: ffffffff88e692bd RBX: 0000000000000100 RCX: ffff888026de9dc0
RDX: 0000000000000100 RSI: 0000000000000100 RDI: 0000000000000000
RBP: 0000000000000007 R08: ffffffff88e6919d R09: ffffed100c9e1848
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888064f0bfc0
R13: ffff888064f0c4c8 R14: dffffc0000000000 R15: ffff888064f0bfd2
FS: 00007f386d4196c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020022030 CR3: 000000002a7cc000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__sk_destruct+0x54/0x840 net/core/sock.c:1955
rcu_do_batch kernel/rcu/tree.c:2523 [inline]
rcu_core+0xa15/0x1650 kernel/rcu/tree.c:2763
handle_softirqs+0x3a7/0x930 kernel/softirq.c:558
__do_softirq kernel/softirq.c:592 [inline]
invoke_softirq kernel/softirq.c:432 [inline]
__irq_exit_rcu+0x157/0x240 kernel/softirq.c:641
irq_exit_rcu+0x5/0x20 kernel/softirq.c:653
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:should_resched arch/x86/include/asm/preempt.h:103 [inline]
RIP: 0010:__local_bh_enable_ip+0x16c/0x1f0 kernel/softirq.c:390
Code: 8a e8 28 c9 e6 08 65 66 8b 05 30 0e b6 7e 66 85 c0 75 57 bf 01 00 00 00 e8 11 f2 09 00 e8 5c 67 39 00 fb 65 8b 05 1c e5 b4 7e <85> c0 75 05 e8 eb 01 b3 ff 48 c7 44 24 20 0e 36 e0 45 49 c7 04 1c
RSP: 0018:ffffc9000153f680 EFLAGS: 00000282
RAX: 0000000080000000 RBX: 1ffff920002a7ed4 RCX: ffffffff81632d78
RDX: dffffc0000000000 RSI: ffffffff8a8b2a80 RDI: ffffffff8ad90500
RBP: ffffc9000153f730 R08: dffffc0000000000 R09: fffffbfff20ec653
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 1ffff920002a7ed8 R14: ffffc9000153f6c0 R15: 0000000000000201
rxrpc_recvmsg+0x834/0x1290 net/rxrpc/recvmsg.c:553
____sys_recvmsg+0x286/0x530
___sys_recvmsg+0x1ec/0x690 net/socket.c:2697
do_recvmmsg+0x36f/0x8f0 net/socket.c:2791
__sys_recvmmsg net/socket.c:2870 [inline]
__do_sys_recvmmsg net/socket.c:2893 [inline]
__se_sys_recvmmsg net/socket.c:2886 [inline]
__x64_sys_recvmmsg+0x195/0x240 net/socket.c:2886
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f386efa1719
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:00007f386d419038 EFLAGS: 00000246 ORIG_RAX: 000000000000012b
RAX: ffffffffffffffda RBX: 00007f386f158f80 RCX: 00007f386efa1719
RDX: 000000000000f000 RSI: 0000000020001880 RDI: 0000000000000003
RBP: 00007f386f01475e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000010002 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f386f158f80 R15: 00007ffe3a3b7b28
----------------
Code disassembly (best guess):
0: 8a e8 mov %al,%ch
2: 28 c9 sub %cl,%cl
4: e6 08 out %al,$0x8
6: 65 66 8b 05 30 0e b6 mov %gs:0x7eb60e30(%rip),%ax # 0x7eb60e3e
d: 7e
e: 66 85 c0 test %ax,%ax
11: 75 57 jne 0x6a
13: bf 01 00 00 00 mov $0x1,%edi
18: e8 11 f2 09 00 call 0x9f22e
1d: e8 5c 67 39 00 call 0x39677e
22: fb sti
23: 65 8b 05 1c e5 b4 7e mov %gs:0x7eb4e51c(%rip),%eax # 0x7eb4e546
* 2a: 85 c0 test %eax,%eax <-- trapping instruction
2c: 75 05 jne 0x33
2e: e8 eb 01 b3 ff call 0xffb3021e
33: 48 c7 44 24 20 0e 36 movq $0x45e0360e,0x20(%rsp)
3a: e0 45
3c: 49 rex.WB
3d: c7 .byte 0xc7
3e: 04 1c add $0x1c,%al