syzbot


WARNING in sk_stream_kill_queues

Status: upstream: reported C repro on 2022/03/21 10:58
Reported-by: syzbot+57e94c73e2540160a928@syzkaller.appspotmail.com
First crash: 196d, last: 91d

Fix bisection: failed (bisect log)
similar bugs (8):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in sk_stream_kill_queues (4) C done done 6 947d 951d 17/24 fixed on 2020/06/30 18:57
upstream WARNING in sk_stream_kill_queues (3) C done 622 1213d 1572d 14/24 fixed on 2019/11/26 19:44
upstream WARNING in sk_stream_kill_queues (7) C 6689 210d 328d 22/24 fixed on 2022/03/08 16:11
upstream WARNING in sk_stream_kill_queues (5) C done 4684 542d 672d 22/24 fixed on 2021/04/09 19:46
upstream WARNING in sk_stream_kill_queues (8) C unreliable 71 3d21h 96d 23/24 upstream: reported C repro on 2022/06/29 17:41
upstream WARNING in sk_stream_kill_queues (2) C 124 1673d 1735d 0/24 closed as dup on 2018/01/03 23:44
upstream WARNING in sk_stream_kill_queues (6) C 11376 328d 542d 22/24 fixed on 2021/11/10 00:50
upstream WARNING in sk_stream_kill_queues syz 96 1874d 1878d 3/24 fixed on 2017/11/07 20:45

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 8131 at net/core/stream.c:208 sk_stream_kill_queues.cold+0x29/0x48 net/core/stream.c:208
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 8131 Comm: syz-executor248 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
 panic+0x26a/0x50e kernel/panic.c:186
 __warn.cold+0x20/0x5a kernel/panic.c:541
 report_bug+0x262/0x2b0 lib/bug.c:183
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 fixup_bug arch/x86/kernel/traps.c:173 [inline]
 do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038
RIP: 0010:sk_stream_kill_queues.cold+0x29/0x48 net/core/stream.c:208
Code: fe e8 b0 e3 50 f9 48 c7 c7 00 5c 4c 89 e8 0f 15 e2 ff 0f 0b e9 b8 1e 61 fe e8 98 e3 50 f9 48 c7 c7 00 5c 4c 89 e8 f7 14 e2 ff <0f> 0b e9 d9 1e 61 fe e8 80 e3 50 f9 48 c7 c7 00 5c 4c 89 e8 df 14
RSP: 0018:ffff88809ab37818 EFLAGS: 00010282
RAX: 0000000000000024 RBX: 00000000000004ce RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed1013566ef5
RBP: 0000000000000000 R08: 0000000000000024 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffff8880a0382230
R13: ffff8880a0382178 R14: ffff8880a0382068 R15: ffffffff8dd902c0
 inet_csk_destroy_sock+0x198/0x400 net/ipv4/inet_connection_sock.c:877
 tcp_close+0x95f/0xfd0 net/ipv4/tcp.c:2498
 tls_sk_proto_close+0x757/0xc20 net/tls/tls_main.c:312
 inet_release+0xd7/0x1e0 net/ipv4/af_inet.c:427
 inet6_release+0x4c/0x70 net/ipv6/af_inet6.c:472
 __sock_release+0xcd/0x2a0 net/socket.c:599
 sock_close+0x15/0x20 net/socket.c:1214
 __fput+0x2ce/0x890 fs/file_table.c:278
 task_work_run+0x148/0x1c0 kernel/task_work.c:113
 exit_task_work include/linux/task_work.h:22 [inline]
 do_exit+0xbf3/0x2be0 kernel/exit.c:870
 do_group_exit+0x125/0x310 kernel/exit.c:967
 get_signal+0x3f2/0x1f70 kernel/signal.c:2589
 do_signal+0x8f/0x1670 arch/x86/kernel/signal.c:799
 exit_to_usermode_loop+0x204/0x2a0 arch/x86/entry/common.c:163
 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:271 [inline]
 do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f22800580d9
Code: Bad RIP value.
RSP: 002b:00007f22800092e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000014
RAX: 00000000000024b1 RBX: 00007f22800e14a0 RCX: 00007f22800580d9
RDX: 000000000000027f RSI: 0000000020000080 RDI: 0000000000000003
RBP: 00007f22800ae194 R08: 0000000000000001 R09: 0000000000000034
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f22800092f0
R13: 00007f22800e14a8 R14: adb920009216992e R15: 0000000000000001
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (4):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-linux-4-19 2022/07/04 06:03 linux-4.19.y 3f8a27f9e27b 1434eec0 .config log report syz C WARNING in sk_stream_kill_queues
ci2-linux-4-19 2022/03/21 10:58 linux-4.19.y 3f8a27f9e27b e2d91b1d .config log report syz C WARNING in sk_stream_kill_queues
ci2-linux-4-19 2022/07/04 05:33 linux-4.19.y 3f8a27f9e27b 1434eec0 .config log report info WARNING in sk_stream_kill_queues
ci2-linux-4-19 2022/05/25 07:13 linux-4.19.y 3f8a27f9e27b 647c0e27 .config log report info WARNING in sk_stream_kill_queues
* Struck through repros no longer work on HEAD.