syzbot


WARNING in sk_stream_kill_queues (4)

Status: fixed on 2020/06/30 18:57
Reported-by: syzbot+fbe81b56f7df4c0fb21b@syzkaller.appspotmail.com
Fix commit: b6f6118901d1 ipv6: restrict IPV6_ADDRFORM operation
First crash: 897d, last: 892d

Cause bisection: introduced by (bisect log) :
commit fb99bce7120014307dde57b3d7def6977a9a62a1
Author: Dave Watson <davejwatson@fb.com>
Date: Wed Jan 30 21:58:05 2019 +0000

  net: tls: Support 256 bit keys

Crash: WARNING in corrupted (log)
Repro: C syz .config

Fix bisection: fixed by (bisect log) :
commit b6f6118901d1e867ac9177bbff3b00b185bd4fdc
Author: Eric Dumazet <edumazet@google.com>
Date: Tue Feb 25 19:52:29 2020 +0000

  ipv6: restrict IPV6_ADDRFORM operation

similar bugs (8):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in sk_stream_kill_queues (3) C done 622 1157d 1516d 14/23 fixed on 2019/11/26 19:44
upstream WARNING in sk_stream_kill_queues (7) C 6689 154d 272d 22/23 fixed on 2022/03/08 16:11
upstream WARNING in sk_stream_kill_queues (5) C done 4684 486d 616d 22/23 fixed on 2021/04/09 19:46
upstream WARNING in sk_stream_kill_queues (8) C unreliable 35 13h58m 40d 0/23 upstream: reported C repro on 2022/06/29 17:41
upstream WARNING in sk_stream_kill_queues (2) C 124 1618d 1679d 0/23 closed as dup on 2018/01/03 23:44
upstream WARNING in sk_stream_kill_queues (6) C 11376 272d 486d 22/23 fixed on 2021/11/10 00:50
upstream WARNING in sk_stream_kill_queues syz 96 1819d 1822d 3/23 fixed on 2017/11/07 20:45
linux-4.19 WARNING in sk_stream_kill_queues C error 4 36d 140d 0/1 upstream: reported C repro on 2022/03/21 10:58

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 10460 at net/core/stream.c:208 sk_stream_kill_queues+0x40d/0x590 net/core/stream.c:208
Kernel panic - not syncing: panic_on_warn set ...
CPU: 1 PID: 10460 Comm: syz-executor520 Not tainted 5.6.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x197/0x210 lib/dump_stack.c:118
 panic+0x2e3/0x75c kernel/panic.c:221
 __warn.cold+0x2f/0x3e kernel/panic.c:582
 report_bug+0x289/0x300 lib/bug.c:195
 fixup_bug arch/x86/kernel/traps.c:174 [inline]
 fixup_bug arch/x86/kernel/traps.c:169 [inline]
 do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:267
 do_invalid_op+0x37/0x50 arch/x86/kernel/traps.c:286
 invalid_op+0x23/0x30 arch/x86/entry/entry_64.S:1027
RIP: 0010:sk_stream_kill_queues+0x40d/0x590 net/core/stream.c:208
Code: 48 c1 ea 03 0f b6 04 02 84 c0 74 04 3c 03 7e 41 44 8b a3 f8 01 00 00 e9 5f ff ff ff e8 9c 3e 40 fb 0f 0b eb 96 e8 93 3e 40 fb <0f> 0b eb a1 e8 8a 3e 40 fb 0f 0b e9 9f fe ff ff 4c 89 ef e8 0b e4
RSP: 0018:ffffc900020b7b30 EFLAGS: 00010293
RAX: ffff888094f86080 RBX: 0000000000000000 RCX: ffffffff8635485d
RDX: 0000000000000000 RSI: ffffffff863548bd RDI: 0000000000000005
RBP: ffffc900020b7b70 R08: ffff888094f86080 R09: ffffed1015d2707c
R10: ffffed1015d2707b R11: ffff8880ae9383db R12: 0000000000000fe3
R13: ffff8880a4c68eb8 R14: ffffffff8c406240 R15: ffff8880a4c68df8
 inet_csk_destroy_sock+0x1b7/0x4c0 net/ipv4/inet_connection_sock.c:846
 tcp_close+0xe17/0x12b0 net/ipv4/tcp.c:2503
 inet_release+0xed/0x200 net/ipv4/af_inet.c:427
 __sock_release+0xce/0x280 net/socket.c:605
 sock_close+0x1e/0x30 net/socket.c:1283
 __fput+0x2ff/0x890 fs/file_table.c:280
 ____fput+0x16/0x20 fs/file_table.c:313
 task_work_run+0x145/0x1c0 kernel/task_work.c:113
 exit_task_work include/linux/task_work.h:22 [inline]
 do_exit+0xba9/0x2f50 kernel/exit.c:801
 do_group_exit+0x135/0x360 kernel/exit.c:899
 __do_sys_exit_group kernel/exit.c:910 [inline]
 __se_sys_exit_group kernel/exit.c:908 [inline]
 __x64_sys_exit_group+0x44/0x50 kernel/exit.c:908
 do_syscall_64+0xfa/0x790 arch/x86/entry/common.c:294
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x43eff8
Code: Bad RIP value.
RSP: 002b:00007fffbd619268 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043eff8
RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000
RBP: 00000000004be808 R08: 00000000000000e7 R09: ffffffffffffffd0
R10: 00000000200001c0 R11: 0000000000000246 R12: 0000000000000001
R13: 00000000006d0180 R14: 0000000000000000 R15: 0000000000000000
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (6):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-selinux-root 2020/02/29 04:36 upstream f8788d86ab28 59b57593 .config log report syz C
ci-upstream-kasan-gce-root 2020/02/28 04:18 upstream f8788d86ab28 59b57593 .config log report syz C
ci-upstream-kasan-gce-smack-root 2020/02/25 23:54 upstream f8788d86ab28 59b57593 .config log report syz C
ci-upstream-kasan-gce 2020/02/25 12:43 upstream f8788d86ab28 59b57593 .config log report syz C
ci-upstream-net-this-kasan-gce 2020/02/23 12:30 net 0c0ddd6ae47c 2c36e7a7 .config log report syz C
ci-upstream-net-kasan-gce 2020/02/23 18:01 net-next 68e2617acfed 2c36e7a7 .config log report syz C