------------[ cut here ]------------
WARNING: CPU: 0 PID: 5035 at net/ipv4/af_inet.c:155 inet_sock_destruct+0x6e8/0x8a0 net/ipv4/af_inet.c:155
Modules linked in:
CPU: 0 PID: 5035 Comm: sshd Not tainted 6.6.0-rc2-syzkaller-00247-g6b09edc1b317 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023
RIP: 0010:inet_sock_destruct+0x6e8/0x8a0 net/ipv4/af_inet.c:155
Code: ff e8 7c 44 be f8 0f 0b e9 ff fd ff ff e8 70 44 be f8 0f 0b e9 37 fe ff ff e8 64 44 be f8 0f 0b e9 8d fd ff ff e8 58 44 be f8 <0f> 0b e9 97 fe ff ff e8 1c f7 13 f9 e9 70 fc ff ff 48 89 ef e8 4f
RSP: 0018:ffffc90000007da0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff888026899980 RCX: 0000000000000100
RDX: ffff88801c865940 RSI: ffffffff88c98098 RDI: 0000000000000005
RBP: 00000000fffffcc0 R08: 0000000000000005 R09: 0000000000000000
R10: 00000000fffffcc0 R11: 0000000000000000 R12: ffff8880268999a8
R13: ffff888026899ae0 R14: 0000000000000000 R15: 0000000000000003
FS: 00007f6238892800(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5f60ff83bc CR3: 00000000758ab000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__sk_destruct+0x4d/0x770 net/core/sock.c:2185
rcu_do_batch kernel/rcu/tree.c:2139 [inline]
rcu_core+0x805/0x1bb0 kernel/rcu/tree.c:2403
__do_softirq+0x218/0x965 kernel/softirq.c:553
invoke_softirq kernel/softirq.c:427 [inline]
__irq_exit_rcu kernel/softirq.c:632 [inline]
irq_exit_rcu+0xb7/0x120 kernel/softirq.c:644
sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1074
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645
RIP: 0010:debug_lockdep_rcu_enabled+0x21/0x30 kernel/rcu/update.c:319
Code: eb bc 0f 1f 80 00 00 00 00 f3 0f 1e fa 8b 05 1a fc 8f 04 85 c0 74 21 8b 05 74 30 90 04 85 c0 74 17 65 48 8b 04 25 c0 bc 03 00 <8b> 80 c4 0a 00 00 85 c0 0f 94 c0 0f b6 c0 c3 66 0f 1f 00 55 53 65
RSP: 0018:ffffc900039cfa80 EFLAGS: 00000202
RAX: ffff88801c865940 RBX: 1ffff92000739f53 RCX: 0000000000000001
RDX: 0000000000000000 RSI: ffffffff8a8cae20 RDI: ffffffff8ae92e60
RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff8ae2b2a0
R13: 0000000000000097 R14: 1ffff92000739f68 R15: ffff8880290d9880
__might_resched+0x6a/0x5e0 kernel/sched/core.c:10149
begin_current_label_crit_section security/apparmor/include/cred.h:151 [inline]
aa_sk_perm+0x18a/0xad0 security/apparmor/net.c:176
security_socket_sendmsg+0x72/0xb0 security/security.c:4243
sock_sendmsg+0x42/0x180 net/socket.c:750
sock_write_iter+0x29b/0x3d0 net/socket.c:1141
call_write_iter include/linux/fs.h:1956 [inline]
new_sync_write fs/read_write.c:491 [inline]
vfs_write+0x650/0xe40 fs/read_write.c:584
ksys_write+0x1f0/0x250 fs/read_write.c:637
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f6238516bf2
Code: 89 c7 48 89 44 24 08 e8 7b 34 fa ff 48 8b 44 24 08 48 83 c4 28 c3 c3 64 8b 04 25 18 00 00 00 85 c0 75 20 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 6f 48 8b 15 07 a2 0d 00 f7 d8 64 89 02 48 83
RSP: 002b:00007ffc35f91148 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000034 RCX: 00007f6238516bf2
RDX: 0000000000000034 RSI: 00005617b6c5f960 RDI: 0000000000000004
RBP: 00005617b6c6dc20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00005617b567faa4
R13: 000000000000005f R14: 00005617b56803e8 R15: 00007ffc35f911b8
----------------
Code disassembly (best guess):
0: eb bc jmp 0xffffffbe
2: 0f 1f 80 00 00 00 00 nopl 0x0(%rax)
9: f3 0f 1e fa endbr64
d: 8b 05 1a fc 8f 04 mov 0x48ffc1a(%rip),%eax # 0x48ffc2d
13: 85 c0 test %eax,%eax
15: 74 21 je 0x38
17: 8b 05 74 30 90 04 mov 0x4903074(%rip),%eax # 0x4903091
1d: 85 c0 test %eax,%eax
1f: 74 17 je 0x38
21: 65 48 8b 04 25 c0 bc mov %gs:0x3bcc0,%rax
28: 03 00
* 2a: 8b 80 c4 0a 00 00 mov 0xac4(%rax),%eax <-- trapping instruction
30: 85 c0 test %eax,%eax
32: 0f 94 c0 sete %al
35: 0f b6 c0 movzbl %al,%eax
38: c3 ret
39: 66 0f 1f 00 nopw (%rax)
3d: 55 push %rbp
3e: 53 push %rbx
3f: 65 gs