syzbot


WARNING in cbq_destroy_class

Status: upstream: reported C repro on 2020/01/24 21:03
Reported-by: syzbot+2d67293d34132df6c5b8@syzkaller.appspotmail.com
First crash: 1552d, last: 1432d
Fix bisection the fix commit could be any of (bisect log):
  8bac50406cca Linux 4.14.167
  4139fb08c05f Linux 4.14.187
  
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING in cbq_destroy_class C done 1 1553d 1553d 1/1 fixed on 2020/02/23 20:58
upstream WARNING in cbq_destroy_class net C done 7 1532d 1555d 15/26 fixed on 2020/02/18 14:31
Last patch testing requests (2)
Created Duration User Patch Repo Result
2022/12/14 16:31 11m retest repro linux-4.14.y report log
2022/08/29 13:27 13m retest repro linux-4.14.y report log
Fix bisection attempts (5)
Created Duration User Patch Repo Result
2020/06/23 01:28 30m (5) bisect fix linux-4.14.y job log (2)
2020/05/23 23:45 23m bisect fix linux-4.14.y job log (0) log
2020/04/23 23:20 24m bisect fix linux-4.14.y job log (0) log
2020/03/24 22:51 27m bisect fix linux-4.14.y job log (0) log
2020/02/23 22:05 26m bisect fix linux-4.14.y job log (0) log

Sample crash report:
SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=7258 comm=syz-executor281
SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=7258 comm=syz-executor281
netlink: 96 bytes leftover after parsing attributes in process `syz-executor281'.
------------[ cut here ]------------
WARNING: CPU: 0 PID: 7261 at net/sched/sch_cbq.c:1428 cbq_destroy_class+0x10b/0x140 net/sched/sch_cbq.c:1428
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 7261 Comm: syz-executor281 Not tainted 4.14.167-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x142/0x197 lib/dump_stack.c:58
 panic+0x1f9/0x42d kernel/panic.c:183
 __warn.cold+0x2f/0x2f kernel/panic.c:547
 report_bug+0x216/0x254 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:177 [inline]
 fixup_bug arch/x86/kernel/traps.c:172 [inline]
 do_error_trap+0x1bb/0x310 arch/x86/kernel/traps.c:295
 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:314
 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:963
RIP: 0010:cbq_destroy_class+0x10b/0x140 net/sched/sch_cbq.c:1428
RSP: 0018:ffff88809ba77340 EFLAGS: 00010297
RAX: ffff888084ff0340 RBX: ffff8880a54a0ec0 RCX: 1ffff110109fe181
RDX: 0000000000000000 RSI: ffff8880a54a10e0 RDI: ffff8880a54a1200
RBP: ffff88809ba77350 R08: ffff888084ff0340 R09: ffff888084ff0c08
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880a54a10e0
R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8880a54a10e0
 cbq_destroy net/sched/sch_cbq.c:1462 [inline]
 cbq_destroy+0x1ed/0x290 net/sched/sch_cbq.c:1438
 qdisc_destroy+0x148/0x320 net/sched/sch_generic.c:725
 notify_and_destroy+0xa2/0xb0 net/sched/sch_api.c:885
 qdisc_graft+0x36f/0xd00 net/sched/sch_api.c:949
 tc_modify_qdisc+0xa5e/0x1272 net/sched/sch_api.c:1446
 rtnetlink_rcv_msg+0x3da/0xb70 net/core/rtnetlink.c:4306
 netlink_rcv_skb+0x14f/0x3c0 net/netlink/af_netlink.c:2432
 rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:4318
 netlink_unicast_kernel net/netlink/af_netlink.c:1286 [inline]
 netlink_unicast+0x44d/0x650 net/netlink/af_netlink.c:1312
 netlink_sendmsg+0x7c4/0xc60 net/netlink/af_netlink.c:1877
 sock_sendmsg_nosec net/socket.c:646 [inline]
 sock_sendmsg+0xce/0x110 net/socket.c:656
 kernel_sendmsg+0x44/0x50 net/socket.c:664
 sock_no_sendpage+0x107/0x130 net/core/sock.c:2569
 kernel_sendpage+0x92/0xf0 net/socket.c:3407
 sock_sendpage+0x8b/0xc0 net/socket.c:871
 pipe_to_sendpage+0x242/0x340 fs/splice.c:451
 splice_from_pipe_feed fs/splice.c:502 [inline]
 __splice_from_pipe+0x348/0x780 fs/splice.c:626
 splice_from_pipe+0xf0/0x150 fs/splice.c:661
 generic_splice_sendpage+0x3c/0x50 fs/splice.c:832
 do_splice_from fs/splice.c:851 [inline]
 do_splice fs/splice.c:1147 [inline]
 SYSC_splice fs/splice.c:1402 [inline]
 SyS_splice+0xd92/0x1430 fs/splice.c:1382
 do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x446e79
RSP: 002b:00007f54f839bd88 EFLAGS: 00000246 ORIG_RAX: 0000000000000113
RAX: ffffffffffffffda RBX: 00000000006dcc98 RCX: 0000000000446e79
RDX: 0000000000000009 RSI: 0000000000000000 RDI: 0000000000000007
RBP: 00000000006dcc90 R08: 000000000004ffe0 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dcc9c
R13: 00000000004aed8e R14: 54c6c2ff093a6d32 R15: 0000000000010000
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/01/24 21:02 linux-4.14.y 8bac50406cca 2e95ab33 .config console log report syz C ci2-linux-4-14
* Struck through repros no longer work on HEAD.