syzbot


WARNING in sk_stream_kill_queues (5)

Status: fixed on 2021/04/09 19:46
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+7b99aafdcc2eedea6178@syzkaller.appspotmail.com
Fix commit: 097b9146c0e2 net: fix up truesize of cloned skb in skb_prepare_for_shift()
First crash: 1476d, last: 1342d
Cause bisection: introduced by (bisect log) :
commit 145cd60fb481328faafba76842aa0fd242e2b163
Author: Alexander Potapenko <glider@google.com>
Date: Tue Nov 24 05:38:44 2020 +0000

  mm, kfence: insert KFENCE hooks for SLUB

Crash: WARNING in sk_stream_kill_queues (log)
Repro: C syz .config
  
Discussions (9)
Title Replies (including bot) Last reply
[PATCH 4.9 00/41] 4.9.260-rc1 review 47 (47) 2021/03/12 20:24
[PATCH 5.10 000/102] 5.10.21-rc1 review 119 (119) 2021/03/08 13:21
[PATCH 4.19 00/52] 4.19.179-rc1 review 57 (57) 2021/03/07 22:57
[PATCH 4.4 00/30] 4.4.260-rc1 review 40 (40) 2021/03/07 20:18
[PATCH 5.11 000/104] 5.11.4-rc1 review 119 (119) 2021/03/07 11:37
[PATCH 5.4 00/72] 5.4.103-rc1 review 80 (80) 2021/03/06 16:33
[PATCH 4.14 00/39] 4.14.224-rc1 review 42 (42) 2021/03/06 16:30
WARNING in sk_stream_kill_queues (5) 17 (18) 2021/02/03 10:25
[PATCH net-next] net: fix up truesize of cloned skb in skb_prepare_for_shift() 8 (8) 2021/02/03 02:00
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 1747d 1751d 15/28 fixed on 2020/06/30 18:57
upstream WARNING in sk_stream_kill_queues (3) net C done 622 2013d 2372d 13/28 fixed on 2019/11/26 19:44
upstream WARNING in sk_stream_kill_queues (7) net C 6689 1009d 1127d 20/28 fixed on 2022/03/08 16:11
upstream WARNING in sk_stream_kill_queues (8) net C unreliable 4268 660d 896d 22/28 fixed on 2023/02/24 13:50
upstream WARNING in sk_stream_kill_queues (2) net C 124 2473d 2534d 0/28 closed as dup on 2018/01/03 23:44
upstream WARNING in sk_stream_kill_queues (6) net C 11376 1127d 1342d 20/28 fixed on 2021/11/10 00:50
linux-4.14 WARNING in sk_stream_kill_queues C 68 645d 658d 0/1 upstream: reported C repro on 2023/02/22 12:59
upstream WARNING in sk_stream_kill_queues syz 96 2674d 2677d 3/28 fixed on 2017/11/07 20:45
linux-4.19 WARNING in sk_stream_kill_queues C error 5 763d 996d 0/1 upstream: reported C repro on 2022/03/21 10:58

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 12748 at net/core/stream.c:207 sk_stream_kill_queues+0x3f4/0x450 net/core/stream.c:207
Modules linked in:
CPU: 1 PID: 12748 Comm: syz-executor618 Not tainted 5.12.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:sk_stream_kill_queues+0x3f4/0x450 net/core/stream.c:207
Code: f9 85 db 75 29 e8 7c bd f2 f9 48 83 c4 20 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 68 bd f2 f9 0f 0b e9 04 ff ff ff e8 5c bd f2 f9 <0f> 0b eb b1 e8 53 bd f2 f9 0f 0b eb d3 89 d9 80 e1 07 80 c1 03 38
RSP: 0018:ffffc90001aa7a78 EFLAGS: 00010293
RAX: ffffffff87859534 RBX: 00000000fffffe80 RCX: ffff888021d7d340
RDX: 0000000000000000 RSI: 00000000fffffe80 RDI: 0000000000000000
RBP: ffffffff8d7c3d90 R08: ffffffff878594e0 R09: fffffbfff2088c95
R10: fffffbfff2088c95 R11: 0000000000000000 R12: ffff888025c00150
R13: dffffc0000000000 R14: dffffc0000000000 R15: ffff888025c00000
FS:  00007f75acb23700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fff259cd9c0 CR3: 00000000331ab000 CR4: 00000000001506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 inet_csk_destroy_sock+0x15f/0x3e0 net/ipv4/inet_connection_sock.c:886
 __tcp_close+0xcaf/0xf90 net/ipv4/tcp.c:2855
 tcp_close+0x26/0xb0 net/ipv4/tcp.c:2867
 inet_release+0x16e/0x1f0 net/ipv4/af_inet.c:431
 __sock_release net/socket.c:599 [inline]
 sock_close+0xd8/0x260 net/socket.c:1258
 __fput+0x352/0x7b0 fs/file_table.c:280
 task_work_run+0x146/0x1c0 kernel/task_work.c:140
 get_signal+0x1e47/0x1ef0 kernel/signal.c:2554
 arch_do_signal_or_restart+0x3c/0x610 arch/x86/kernel/signal.c:811
 handle_signal_work kernel/entry/common.c:147 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:171 [inline]
 exit_to_user_mode_prepare+0xac/0x1e0 kernel/entry/common.c:208
 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline]
 syscall_exit_to_user_mode+0x48/0x180 kernel/entry/common.c:301
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x44a769
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 d1 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:00007f75acb232e8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: 0000000000008416 RBX: 00000000004d04d0 RCX: 000000000044a769
RDX: 000000000000fe6a RSI: 00000000200012c0 RDI: 0000000000000003
RBP: 00000000004d04dc R08: 0000000000000000 R09: 0000000000000027
R10: 000000000020c49a R11: 0000000000000246 R12: 000000000049f66c
R13: da1d348a04405372 R14: bf11751a0bf9ec8f R15: 00000000004d04d8

Crashes (4684):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/03/05 06:58 upstream cee407c5cc42 9d751681 .config console log report syz C ci-upstream-kasan-gce-smack-root WARNING in sk_stream_kill_queues
2021/04/04 20:22 net-next-old 7d42e84eb99d 6a81331a .config console log report syz C ci-upstream-net-kasan-gce WARNING in sk_stream_kill_queues
2020/12/27 09:11 upstream f838f8d2b694 821e0b09 .config console log report syz C ci-upstream-kasan-gce
2020/11/26 20:10 linux-next 6147c83fd749 1d2b823e .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2021/04/02 23:09 upstream 1678e493d530 6a81331a .config console log report syz ci-upstream-kasan-gce WARNING in sk_stream_kill_queues
2021/01/09 21:23 linux-next 1c925d2030af 2c1f2513 .config console log report syz ci-upstream-linux-next-kasan-gce-root
2021/04/09 16:34 upstream 4fa56ad0d12e 6a81331a .config console log report info ci-upstream-kasan-gce-root WARNING in sk_stream_kill_queues
2021/04/09 14:04 upstream 4fa56ad0d12e 6a81331a .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in sk_stream_kill_queues
2021/04/09 06:11 upstream 4fa56ad0d12e 6a81331a .config console log report info ci-upstream-kasan-gce-root WARNING in sk_stream_kill_queues
2021/04/09 04:43 upstream 4fa56ad0d12e 6a81331a .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in sk_stream_kill_queues
2021/04/09 03:12 upstream 4fa56ad0d12e 6a81331a .config console log report info ci-upstream-kasan-gce-root WARNING in sk_stream_kill_queues
2021/04/09 02:06 upstream 4fa56ad0d12e 6a81331a .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in sk_stream_kill_queues
2021/04/09 00:43 upstream 454859c552da 6a81331a .config console log report info ci-upstream-kasan-gce WARNING in sk_stream_kill_queues
2021/04/08 21:07 upstream 454859c552da 6a81331a .config console log report info ci-upstream-kasan-gce-root WARNING in sk_stream_kill_queues
2021/04/08 15:23 upstream 454859c552da 6a81331a .config console log report info ci-upstream-kasan-gce-root WARNING in sk_stream_kill_queues
2021/04/08 13:19 upstream 454859c552da 6a81331a .config console log report info ci-upstream-kasan-gce-root WARNING in sk_stream_kill_queues
2021/04/08 11:08 upstream 3a22981230f9 6a81331a .config console log report info ci-upstream-kasan-gce WARNING in sk_stream_kill_queues
2021/04/08 09:38 upstream 3a22981230f9 6a81331a .config console log report info ci-upstream-kasan-gce WARNING in sk_stream_kill_queues
2021/04/08 03:26 upstream 3a22981230f9 6a81331a .config console log report info ci-upstream-kasan-gce-smack-root WARNING in sk_stream_kill_queues
2021/04/08 02:23 upstream 3a22981230f9 6a81331a .config console log report info ci-upstream-kasan-gce WARNING in sk_stream_kill_queues
2021/04/07 23:49 upstream 3a22981230f9 6a81331a .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in sk_stream_kill_queues
2021/04/07 23:05 upstream 3a22981230f9 6a81331a .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in sk_stream_kill_queues
2021/04/07 22:03 upstream 3a22981230f9 6a81331a .config console log report info ci-upstream-kasan-gce-root WARNING in sk_stream_kill_queues
2021/04/07 15:45 upstream 2d743660786e 6a81331a .config console log report info ci-upstream-kasan-gce-smack-root WARNING in sk_stream_kill_queues
2021/04/07 14:35 upstream 2d743660786e 6a81331a .config console log report info ci-upstream-kasan-gce WARNING in sk_stream_kill_queues
2021/04/07 12:13 upstream 2d743660786e 6a81331a .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in sk_stream_kill_queues
2021/04/07 09:32 upstream 2d743660786e 6a81331a .config console log report info ci-upstream-kasan-gce WARNING in sk_stream_kill_queues
2021/04/07 05:35 upstream 2d743660786e 6a81331a .config console log report info ci-upstream-kasan-gce-root WARNING in sk_stream_kill_queues
2021/04/07 01:39 upstream 2d743660786e 6a81331a .config console log report info ci-upstream-kasan-gce-smack-root WARNING in sk_stream_kill_queues
2021/04/07 00:33 upstream 0a50438c8436 6a81331a .config console log report info ci-upstream-kasan-gce WARNING in sk_stream_kill_queues
2021/04/06 23:27 upstream 0a50438c8436 6a81331a .config console log report info ci-upstream-kasan-gce WARNING in sk_stream_kill_queues
2021/04/06 20:39 upstream 0a50438c8436 6a81331a .config console log report info ci-upstream-kasan-gce WARNING in sk_stream_kill_queues
2021/03/29 04:13 upstream 36a14638f7c0 a8529b82 .config console log report info ci-qemu-upstream WARNING in sk_stream_kill_queues
2021/04/09 04:13 upstream 4fa56ad0d12e 6a81331a .config console log report info ci-upstream-kasan-gce-386 WARNING in sk_stream_kill_queues
2021/04/08 04:37 upstream 3a22981230f9 6a81331a .config console log report info ci-upstream-kasan-gce-386 WARNING in sk_stream_kill_queues
2021/04/08 01:19 upstream 3a22981230f9 6a81331a .config console log report info ci-upstream-kasan-gce-386 WARNING in sk_stream_kill_queues
2021/04/07 04:26 upstream 2d743660786e 6a81331a .config console log report info ci-upstream-kasan-gce-386 WARNING in sk_stream_kill_queues
2021/03/29 16:06 upstream a5e13c6df0e4 a8529b82 .config console log report info ci-qemu-upstream-386 WARNING in sk_stream_kill_queues
2021/04/09 18:36 net-old 864db232dc70 6a81331a .config console log report info ci-upstream-net-this-kasan-gce WARNING in sk_stream_kill_queues
2021/04/09 10:03 bpf afd0be729953 6a81331a .config console log report info ci-upstream-bpf-kasan-gce WARNING in sk_stream_kill_queues
2021/04/08 18:35 net-old 8a12f8836145 6a81331a .config console log report info ci-upstream-net-this-kasan-gce WARNING in sk_stream_kill_queues
2021/04/08 08:21 net-old 5219d6012d46 6a81331a .config console log report info ci-upstream-net-this-kasan-gce WARNING in sk_stream_kill_queues
2021/04/07 02:50 net-old 0f6925b3e8da 6a81331a .config console log report info ci-upstream-net-this-kasan-gce WARNING in sk_stream_kill_queues
2021/04/09 08:23 net-next-old 4438669eb703 6a81331a .config console log report info ci-upstream-net-kasan-gce WARNING in sk_stream_kill_queues
2021/04/09 02:10 net-next-old 4438669eb703 6a81331a .config console log report info ci-upstream-net-kasan-gce WARNING in sk_stream_kill_queues
2021/04/08 22:42 bpf-next 957dca3df624 6a81331a .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in sk_stream_kill_queues
2021/04/08 19:38 net-next-old 3cd52c1e32fe 6a81331a .config console log report info ci-upstream-net-kasan-gce WARNING in sk_stream_kill_queues
2021/04/08 07:11 net-next-old 0b35e0deb5be 6a81331a .config console log report info ci-upstream-net-kasan-gce WARNING in sk_stream_kill_queues
2021/04/07 02:41 net-next-old be107538c529 6a81331a .config console log report info ci-upstream-net-kasan-gce WARNING in sk_stream_kill_queues
2021/04/07 00:36 net-next-old cc0626c2aaed 6a81331a .config console log report info ci-upstream-net-kasan-gce WARNING in sk_stream_kill_queues
2021/04/06 22:25 net-next-old cc0626c2aaed 6a81331a .config console log report info ci-upstream-net-kasan-gce WARNING in sk_stream_kill_queues
2021/04/09 17:42 linux-next e99d8a849517 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in sk_stream_kill_queues
2021/04/08 14:21 linux-next 6145d80cfc62 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in sk_stream_kill_queues
2021/04/08 12:14 linux-next 6145d80cfc62 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in sk_stream_kill_queues
2021/04/07 18:38 linux-next 5103a5be098c 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in sk_stream_kill_queues
2021/04/07 17:10 linux-next 5103a5be098c 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in sk_stream_kill_queues
2021/04/07 15:57 linux-next 5103a5be098c 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in sk_stream_kill_queues
2021/04/07 13:22 linux-next 5103a5be098c 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in sk_stream_kill_queues
2021/04/07 07:39 linux-next 9c54130cd255 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in sk_stream_kill_queues
2021/01/17 14:17 linux-next b3a3cbdec55b 813be542 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/11/26 08:35 linux-next 6147c83fd749 2f1cec62 .config console log report info ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.