WARNING in sk_stream_kill_queues

13 views
Skip to first unread message

syzbot

unread,
Mar 21, 2022, 6:58:18 AM3/21/22
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 3f8a27f9e27b Linux 4.19.211
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=134610ed700000
kernel config: https://syzkaller.appspot.com/x/.config?x=9b9277b418617afe
dashboard link: https://syzkaller.appspot.com/bug?extid=57e94c73e2540160a928
compiler: gcc version 10.2.1 20210110 (Debian 10.2.1-6)
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=14940499700000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=124069a3700000

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+57e94c...@syzkaller.appspotmail.com

------------[ cut here ]------------
WARNING: CPU: 0 PID: 8371 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: 8371 Comm: syz-executor137 Not tainted 4.19.211-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+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:ffff88809419f818 EFLAGS: 00010282
RAX: 0000000000000024 RBX: 00000000000004ce RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed1012833ef5
RBP: 0000000000000000 R08: 0000000000000024 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffff888094502eb0
R13: ffff888094502df8 R14: ffff888094502ce8 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:0x7f12108a5999
Code: Bad RIP value.
RSP: 002b:00007f12108532e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000014
RAX: 00000000000024b1 RBX: 00007f121092e4a0 RCX: 00007f12108a5999
RDX: 000000000000027f RSI: 0000000020000080 RDI: 0000000000000003
RBP: 00007f12108fb4a0 R08: 0000000000000001 R09: 0000000000000035
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f12108532f0
R13: 00007f121092e4a8 R14: adb920009216992e R15: 0000000000000001
Kernel Offset: disabled
Rebooting in 86400 seconds..


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
syzbot can test patches for this issue, for details see:
https://goo.gl/tpsmEJ#testing-patches
Reply all
Reply to author
Forward
0 new messages