syzbot


WARNING in inet_csk_destroy_sock

Status: auto-closed as invalid on 2022/09/14 07:34
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 174d, last: 174d
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in inet_csk_destroy_sock (2) C done 7 3d05h 56d 23/24 internal: reported C repro on 2022/10/12 02:09

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 3130 at net/ipv4/inet_connection_sock.c:1128 inet_csk_destroy_sock+0x2d9/0x440 net/ipv4/inet_connection_sock.c:1128
Modules linked in:
CPU: 1 PID: 3130 Comm: syz-executor.5 Not tainted 5.19.0-rc2-syzkaller-00052-g979086f5e006 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:inet_csk_destroy_sock+0x2d9/0x440 net/ipv4/inet_connection_sock.c:1128
Code: 41 5c 41 5d 41 5e e9 f6 95 a2 f9 e8 f1 95 a2 f9 48 89 ef e8 29 f2 72 ff 5b 5d 41 5c 41 5d 41 5e e9 dc 95 a2 f9 e8 d7 95 a2 f9 <0f> 0b e9 66 fe ff ff e8 cb 95 a2 f9 4c 89 e7 be 03 00 00 00 e8 de
RSP: 0018:ffffc9000d7c7cf8 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 000000000000d608 RCX: 0000000000000000
RDX: ffff88801f0a0000 RSI: ffffffff87d7dc29 RDI: ffff888017201b20
RBP: ffff888017201480 R08: 0000000000000003 R09: 0000000000000000
R10: 000000000000d608 R11: 0000000000000000 R12: ffff8880172014e0
R13: ffff888017201518 R14: ffff888017201638 R15: 0000000000000000
FS:  000055555633f400(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2ed23000 CR3: 000000004b812000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 dccp_close+0xa3d/0xd50 net/dccp/proto.c:1060
 inet_release+0x12e/0x280 net/ipv4/af_inet.c:428
 __sock_release+0xcd/0x280 net/socket.c:650
 sock_close+0x18/0x20 net/socket.c:1365
 __fput+0x277/0x9d0 fs/file_table.c:317
 task_work_run+0xdd/0x1a0 kernel/task_work.c:177
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:169 [inline]
 exit_to_user_mode_prepare+0x23c/0x250 kernel/entry/common.c:201
 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline]
 syscall_exit_to_user_mode+0x19/0x50 kernel/entry/common.c:294
 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x46/0xb0
RIP: 0033:0x7fafa543bd4b
Code: 0f 05 48 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8 63 fc ff ff 8b 7c 24 0c 41 89 c0 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 89 44 24 0c e8 a1 fc ff ff 8b 44
RSP: 002b:00007fafa5acfb80 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00007fafa543bd4b
RDX: 00007fafa55a0788 RSI: ffffffffffffffff RDI: 0000000000000004
RBP: 00007fafa559d960 R08: 0000000000000000 R09: 00007fafa55a0790
R10: 00007fafa5acfc80 R11: 0000000000000293 R12: 00000000002016ef
R13: 00007fafa5acfc80 R14: 00007fafa559bf60 R15: 0000000000000032
 </TASK>

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce 2022/06/16 07:28 upstream 979086f5e006 1719ee24 .config log report info WARNING in inet_csk_destroy_sock
* Struck through repros no longer work on HEAD.