syzbot


WARNING in inet_csk_destroy_sock (4)

Status: closed as invalid on 2023/12/14 11:36
Subsystems: net
[Documentation on labels]
First crash: 270d, last: 203d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in inet_csk_destroy_sock (3) net 1 345d 345d 22/26 fixed on 2023/05/27 00:56
upstream WARNING in inet_csk_destroy_sock (5) net 1 105d 105d 26/26 fixed on 2024/03/26 17:39
upstream WARNING in inet_csk_destroy_sock (2) io-uring net C done 8 485d 571d 22/26 fixed on 2023/02/24 13:50
upstream WARNING in inet_csk_destroy_sock net 1 689d 689d 0/26 auto-closed as invalid on 2022/09/14 07:34

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 32418 at net/ipv4/inet_connection_sock.c:1197 inet_csk_destroy_sock+0x2e3/0x440 net/ipv4/inet_connection_sock.c:1197
Modules linked in:
CPU: 0 PID: 32418 Comm: syz-executor.4 Not tainted 6.6.0-rc5-syzkaller-00250-g70f8c6f8f880 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023
RIP: 0010:inet_csk_destroy_sock+0x2e3/0x440 net/ipv4/inet_connection_sock.c:1197
Code: 74 2f 5b 5d 41 5c 41 5d e9 3a 14 d0 f8 e8 35 14 d0 f8 48 89 df e8 8d 51 72 ff 5b 5d 41 5c 41 5d e9 22 14 d0 f8 e8 1d 14 d0 f8 <0f> 0b e9 60 fe ff ff e8 11 14 d0 f8 4c 89 e7 be 03 00 00 00 e8 24
RSP: 0018:ffffc90003a6fd20 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff888023248ac0 RCX: 0000000000000000
RDX: ffff88803224d940 RSI: ffffffff88b7b2c3 RDI: ffff888023249170
RBP: 000000000000cf86 R08: 0000000000000003 R09: 0000000000000000
R10: 000000000000cf86 R11: 0000000000000000 R12: 0000000000000007
R13: ffff888023248b40 R14: ffff888023248c78 R15: 0000000000000000
FS:  0000555556f9d480(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b30c21000 CR3: 000000007daf4000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 dccp_close+0xa38/0xd70 net/dccp/proto.c:1078
 inet_release+0x132/0x270 net/ipv4/af_inet.c:433
 inet6_release+0x4f/0x70 net/ipv6/af_inet6.c:484
 __sock_release+0xae/0x260 net/socket.c:659
 sock_close+0x1c/0x20 net/socket.c:1419
 __fput+0x3f7/0xa70 fs/file_table.c:384
 __fput_sync+0x47/0x50 fs/file_table.c:465
 __do_sys_close fs/open.c:1572 [inline]
 __se_sys_close fs/open.c:1557 [inline]
 __x64_sys_close+0x87/0xf0 fs/open.c:1557
 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:0x7f1de827b9da
Code: 48 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c 24 0c e8 03 7f 02 00 8b 7c 24 0c 89 c2 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 36 89 d7 89 44 24 0c e8 63 7f 02 00 8b 44 24
RSP: 002b:00007f1de84bfb10 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f1de827b9da
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 0000000000000032 R08: 0000001b31720000 R09: 00000000000004cf
R10: 000000008156dae1 R11: 0000000000000293 R12: 00007f1de7e00218
R13: ffffffffffffffff R14: 00007f1de7e00000 R15: 00000000000b3931
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/10/15 04:05 upstream 70f8c6f8f880 6388bc36 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in inet_csk_destroy_sock
2023/08/09 17:03 upstream 13b937206866 13ca4cd6 .config console log report info ci-qemu-upstream-386 WARNING in inet_csk_destroy_sock
* Struck through repros no longer work on HEAD.