syzbot


WARNING in tcf_chain0_head_change_cb_del (3)

Status: fixed on 2022/03/08 16:11
Subsystems: net
[Documentation on labels]
Fix commit: ab443c539167 sch_cake: do not call cake_destroy() from cake_init()
First crash: 1012d, last: 877d
Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: INFO: task hung in addrconf_dad_work (log)
Repro: C syz .config
  
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in tcf_chain0_head_change_cb_del (2) net 1 1189d 1189d 0/26 auto-closed as invalid on 2021/05/06 14:13
upstream WARNING in tcf_chain0_head_change_cb_del net 1 1422d 1418d 0/26 auto-closed as invalid on 2020/10/15 17:21

Sample crash report:
0 pages HighMem/MovableOnly
384515 pages reserved
0 pages cma reserved
------------[ cut here ]------------
DEBUG_LOCKS_WARN_ON(lock->magic != lock)
WARNING: CPU: 0 PID: 21902 at kernel/locking/mutex.c:586 __mutex_lock_common kernel/locking/mutex.c:586 [inline]
WARNING: CPU: 0 PID: 21902 at kernel/locking/mutex.c:586 __mutex_lock+0x9ec/0x12f0 kernel/locking/mutex.c:740
Modules linked in:
CPU: 0 PID: 21902 Comm: syz-executor189 Not tainted 5.16.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__mutex_lock_common kernel/locking/mutex.c:586 [inline]
RIP: 0010:__mutex_lock+0x9ec/0x12f0 kernel/locking/mutex.c:740
Code: 08 84 d2 0f 85 19 08 00 00 8b 05 97 38 4b 04 85 c0 0f 85 27 f7 ff ff 48 c7 c6 20 00 ac 89 48 c7 c7 a0 fe ab 89 e8 bf 76 ba ff <0f> 0b e9 0d f7 ff ff 48 8b 44 24 40 48 8d b8 c8 08 00 00 48 89 f8
RSP: 0018:ffffc9000627f290 EFLAGS: 00010282
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff88802315d700 RSI: ffffffff815f1db8 RDI: fffff52000c4fe44
RBP: ffff88818f28e000 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff815ebb5e R11: 0000000000000000 R12: 0000000000000000
R13: dffffc0000000000 R14: ffffc9000627f458 R15: 0000000093c30000
FS:  0000555556abc400(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fda689c3303 CR3: 000000001cfbb000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 tcf_chain0_head_change_cb_del+0x2e/0x3d0 net/sched/cls_api.c:810
 tcf_block_put_ext net/sched/cls_api.c:1381 [inline]
 tcf_block_put_ext net/sched/cls_api.c:1376 [inline]
 tcf_block_put+0xbc/0x130 net/sched/cls_api.c:1394
 cake_destroy+0x3f/0x80 net/sched/sch_cake.c:2695
 qdisc_create.constprop.0+0x9da/0x10f0 net/sched/sch_api.c:1293
 tc_modify_qdisc+0x4c5/0x1980 net/sched/sch_api.c:1660
 rtnetlink_rcv_msg+0x413/0xb80 net/core/rtnetlink.c:5571
 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2496
 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline]
 netlink_unicast+0x533/0x7d0 net/netlink/af_netlink.c:1345
 netlink_sendmsg+0x904/0xdf0 net/netlink/af_netlink.c:1921
 sock_sendmsg_nosec net/socket.c:704 [inline]
 sock_sendmsg+0xcf/0x120 net/socket.c:724
 ____sys_sendmsg+0x6e8/0x810 net/socket.c:2409
 ___sys_sendmsg+0xf3/0x170 net/socket.c:2463
 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2492
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f1bb06badb9
Code: Unable to access opcode bytes at RIP 0x7f1bb06bad8f.
RSP: 002b:00007fff3012a658 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f1bb06badb9
RDX: 0000000000000000 RSI: 00000000200007c0 RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000003 R09: 0000000000000003
R10: 0000000000000003 R11: 0000000000000246 R12: 00007fff3012a688
R13: 00007fff3012a6a0 R14: 00007fff3012a6e0 R15: 00000000000013c2
 </TASK>

Crashes (107):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/12/08 00:00 upstream cd8c917a56f2 0230ba3e .config console log report syz C ci-upstream-kasan-gce-root WARNING in tcf_chain0_head_change_cb_del
2021/12/08 09:00 net-old 2a62df369271 0230ba3e .config console log report syz C ci-upstream-net-this-kasan-gce WARNING in tcf_chain0_head_change_cb_del
2021/12/08 04:40 net-next-old 1c5526968e27 0230ba3e .config console log report syz C ci-upstream-net-kasan-gce WARNING in tcf_chain0_head_change_cb_del
2021/12/15 00:56 upstream 5472f14a3742 f752fb53 .config console log report info ci-qemu-upstream WARNING in tcf_chain0_head_change_cb_del
2021/12/09 09:14 upstream 2a987e65025e a4a2a501 .config console log report info ci-upstream-kasan-gce WARNING in tcf_chain0_head_change_cb_del
2021/12/06 08:54 upstream 944207047ca4 a617004c .config console log report info ci-upstream-kasan-gce-root WARNING in tcf_chain0_head_change_cb_del
2021/12/06 04:53 upstream 944207047ca4 a617004c .config console log report info ci-upstream-kasan-gce-root WARNING in tcf_chain0_head_change_cb_del
2021/12/04 20:16 upstream bbef3c7a63d2 a617004c .config console log report info ci-qemu-upstream WARNING in tcf_chain0_head_change_cb_del
2021/12/04 16:13 upstream 12119cfa1052 a617004c .config console log report info ci-upstream-kasan-gce-smack-root WARNING in tcf_chain0_head_change_cb_del
2021/12/03 10:40 upstream 5f58da2befa5 61f86278 .config console log report info ci-qemu-upstream WARNING in tcf_chain0_head_change_cb_del
2021/12/03 07:54 upstream a51e3ac43ddb 61f86278 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in tcf_chain0_head_change_cb_del
2021/12/02 11:00 upstream 58e1100fdc59 61f86278 .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in tcf_chain0_head_change_cb_del
2021/12/01 06:02 upstream 58e1100fdc59 80270552 .config console log report info ci-qemu-upstream WARNING in tcf_chain0_head_change_cb_del
2021/11/30 23:32 upstream f080815fdb3e 80270552 .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in tcf_chain0_head_change_cb_del
2021/11/30 04:31 upstream d58071a8a76d d0830353 .config console log report info ci-upstream-kasan-gce-root WARNING in tcf_chain0_head_change_cb_del
2021/11/30 03:01 upstream d58071a8a76d d0830353 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in tcf_chain0_head_change_cb_del
2021/11/30 01:34 upstream d58071a8a76d d0830353 .config console log report info ci-qemu-upstream WARNING in tcf_chain0_head_change_cb_del
2021/11/30 00:06 upstream d58071a8a76d d0830353 .config console log report info ci-upstream-kasan-gce-root WARNING in tcf_chain0_head_change_cb_del
2021/11/29 21:34 upstream d58071a8a76d d0830353 .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in tcf_chain0_head_change_cb_del
2021/11/29 15:38 upstream d58071a8a76d d0830353 .config console log report info ci-qemu-upstream WARNING in tcf_chain0_head_change_cb_del
2021/11/29 10:49 upstream d06c942efea4 63eeac02 .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in tcf_chain0_head_change_cb_del
2021/11/28 11:37 upstream 3498e7f2bb41 63eeac02 .config console log report info ci-qemu-upstream WARNING in tcf_chain0_head_change_cb_del
2021/11/28 03:56 upstream 741392771338 63eeac02 .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in tcf_chain0_head_change_cb_del
2021/11/27 23:22 upstream 741392771338 63eeac02 .config console log report info ci-qemu-upstream WARNING in tcf_chain0_head_change_cb_del
2021/11/27 05:31 upstream c5c17547b778 63eeac02 .config console log report info ci-qemu-upstream WARNING in tcf_chain0_head_change_cb_del
2021/11/26 19:12 upstream a4849f6000e2 63eeac02 .config console log report info ci-upstream-kasan-gce WARNING in tcf_chain0_head_change_cb_del
2021/11/26 05:48 upstream b501b85957de 63eeac02 .config console log report info ci-qemu-upstream WARNING in tcf_chain0_head_change_cb_del
2021/11/26 00:32 upstream b501b85957de 63eeac02 .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in tcf_chain0_head_change_cb_del
2021/11/25 23:52 upstream b501b85957de 63eeac02 .config console log report info ci-qemu-upstream WARNING in tcf_chain0_head_change_cb_del
2021/11/25 16:40 upstream 5f53fa508db0 545ab074 .config console log report info ci-qemu-upstream WARNING in tcf_chain0_head_change_cb_del
2021/11/25 08:06 upstream 5f53fa508db0 545ab074 .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in tcf_chain0_head_change_cb_del
2021/11/24 09:07 upstream 5d9f4cf36721 545ab074 .config console log report info ci-qemu-upstream WARNING in tcf_chain0_head_change_cb_del
2021/11/23 14:51 upstream 136057256686 545ab074 .config console log report info ci-qemu-upstream WARNING in tcf_chain0_head_change_cb_del
2021/11/23 12:44 upstream 136057256686 545ab074 .config console log report info ci-qemu-upstream WARNING in tcf_chain0_head_change_cb_del
2021/11/23 05:25 upstream 136057256686 545ab074 .config console log report info ci-qemu-upstream WARNING in tcf_chain0_head_change_cb_del
2021/11/23 01:06 upstream 136057256686 545ab074 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in tcf_chain0_head_change_cb_del
2021/11/22 23:14 upstream 136057256686 545ab074 .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in tcf_chain0_head_change_cb_del
2021/11/22 19:46 upstream 136057256686 545ab074 .config console log report info ci-upstream-kasan-gce-root WARNING in tcf_chain0_head_change_cb_del
2021/11/22 05:28 upstream 40c93d7fff6f 4eb20a4e .config console log report info ci-upstream-kasan-gce WARNING in tcf_chain0_head_change_cb_del
2021/11/20 09:46 upstream a90af8f15bdc 4eb20a4e .config console log report info ci-qemu-upstream WARNING in tcf_chain0_head_change_cb_del
2021/11/20 06:07 upstream a90af8f15bdc 4eb20a4e .config console log report info ci-qemu-upstream WARNING in tcf_chain0_head_change_cb_del
2021/11/20 01:11 upstream 9539ba4308ad 3a9d0024 .config console log report info ci-upstream-kasan-gce-root WARNING in tcf_chain0_head_change_cb_del
2021/11/19 11:28 upstream 4c388a8e740d 31a30fc0 .config console log report info ci-qemu-upstream WARNING in tcf_chain0_head_change_cb_del
2021/08/01 18:49 upstream f3438b4c4e69 6c236867 .config console log report info ci-qemu-upstream WARNING in tcf_chain0_head_change_cb_del
2021/12/08 10:47 upstream 2a987e65025e a4a2a501 .config console log report info ci-qemu-upstream-386 WARNING in tcf_chain0_head_change_cb_del
2021/11/29 18:03 upstream d58071a8a76d d0830353 .config console log report info ci-qemu-upstream-386 WARNING in tcf_chain0_head_change_cb_del
2021/11/29 06:52 upstream d06c942efea4 63eeac02 .config console log report info ci-qemu-upstream-386 WARNING in tcf_chain0_head_change_cb_del
2021/11/27 16:35 upstream 1bff7d7e8c48 63eeac02 .config console log report info ci-qemu-upstream-386 WARNING in tcf_chain0_head_change_cb_del
2021/11/26 23:19 upstream 1bff7d7e8c48 63eeac02 .config console log report info ci-qemu-upstream-386 WARNING in tcf_chain0_head_change_cb_del
2021/11/26 15:43 upstream b501b85957de 63eeac02 .config console log report info ci-qemu-upstream-386 WARNING in tcf_chain0_head_change_cb_del
2021/11/26 08:02 upstream b501b85957de 63eeac02 .config console log report info ci-qemu-upstream-386 WARNING in tcf_chain0_head_change_cb_del
2021/11/24 16:48 upstream 5d9f4cf36721 545ab074 .config console log report info ci-qemu-upstream-386 WARNING in tcf_chain0_head_change_cb_del
2021/11/20 21:22 upstream a90af8f15bdc 4eb20a4e .config console log report info ci-qemu-upstream-386 WARNING in tcf_chain0_head_change_cb_del
2021/11/14 02:52 net-old 70701b83e208 83f5c9b5 .config console log report info ci-upstream-net-this-kasan-gce WARNING in tcf_chain0_head_change_cb_del
2021/12/07 11:40 linux-next 04fe99a8d936 0230ba3e .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in tcf_chain0_head_change_cb_del
2021/12/04 11:44 linux-next f81e94e91878 a617004c .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in tcf_chain0_head_change_cb_del
* Struck through repros no longer work on HEAD.