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: 1006d, last: 773d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (9)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in sk_stream_kill_queues (4) net C done done 6 1757d 1761d 15/28 fixed on 2020/06/30 18:57
upstream WARNING in sk_stream_kill_queues (3) net C done 622 2022d 2381d 13/28 fixed on 2019/11/26 19:44
upstream WARNING in sk_stream_kill_queues (7) net C 6689 1019d 1137d 20/28 fixed on 2022/03/08 16:11
upstream WARNING in sk_stream_kill_queues (5) net C done 4684 1351d 1482d 20/28 fixed on 2021/04/09 19:46
upstream WARNING in sk_stream_kill_queues (8) net C unreliable 4268 669d 905d 22/28 fixed on 2023/02/24 13:50
upstream WARNING in sk_stream_kill_queues (2) net C 124 2483d 2544d 0/28 closed as dup on 2018/01/03 23:44
upstream WARNING in sk_stream_kill_queues (6) net C 11376 1137d 1351d 20/28 fixed on 2021/11/10 00:50
linux-4.14 WARNING in sk_stream_kill_queues C 68 655d 667d 0/1 upstream: reported C repro on 2023/02/22 12:59
upstream WARNING in sk_stream_kill_queues syz 96 2684d 2687d 3/28 fixed on 2017/11/07 20:45

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 8123 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: 1 PID: 8123 Comm: syz-executor287 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/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:ffff8880b24d7818 EFLAGS: 00010282
RAX: 0000000000000024 RBX: 00000000000006e9 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed101649aef5
RBP: 0000000000000000 R08: 0000000000000024 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffff888099d3ceb0
R13: ffff888099d3cdf8 R14: ffff888099d3cce8 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:0x7f87dd8c97c9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 41 15 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f87dd87a218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007f87dd9524c8 RCX: 00007f87dd8c97c9
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f87dd9524c8
RBP: 00007f87dd9524c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f87dd9524cc
R13: 00007fff25ed2c2f R14: 00007f87dd87a300 R15: 0000000000022000
Kernel Offset: disabled
Rebooting in 86400 seconds..

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