Hello,
syzbot found the following crash on:
HEAD commit: d183c8e2 Linux 4.19.98
git tree: linux-4.19.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=1725a985e00000
kernel config:
https://syzkaller.appspot.com/x/.config?x=270360e13b071d92
dashboard link:
https://syzkaller.appspot.com/bug?extid=eb72a2e94c3d00901d39
compiler: gcc (GCC) 9.0.0 20181231 (experimental)
syz repro:
https://syzkaller.appspot.com/x/repro.syz?x=1370e185e00000
C reproducer:
https://syzkaller.appspot.com/x/repro.c?x=173f4d85e00000
IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by:
syzbot+eb72a2...@syzkaller.appspotmail.com
SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=8204 comm=syz-executor212
SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=8204 comm=syz-executor212
netlink: 96 bytes leftover after parsing attributes in process `syz-executor212'.
------------[ cut here ]------------
WARNING: CPU: 0 PID: 8207 at net/sched/sch_cbq.c:1439 cbq_destroy_class.cold+0x11/0x18 net/sched/sch_cbq.c:1439
Kernel panic - not syncing: panic_on_warn set ...
CPU: 0 PID: 8207 Comm: syz-executor212 Not tainted 4.19.98-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+0x26a/0x50e kernel/panic.c:186
__warn.cold+0x20/0x53 kernel/panic.c:541
report_bug+0x263/0x2b0 lib/bug.c:186
fixup_bug arch/x86/kernel/traps.c:178 [inline]
fixup_bug arch/x86/kernel/traps.c:173 [inline]
do_error_trap+0x204/0x360 arch/x86/kernel/traps.c:296
do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:316
invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1037
RIP: 0010:cbq_destroy_class.cold+0x11/0x18 net/sched/sch_cbq.c:1439
Code: c0 fb e9 82 fe ff ff 4c 89 f7 e8 7a 9e c0 fb e9 26 ff ff ff e9 76 02 00 00 e8 4b 04 89 fb 48 c7 c7 a0 9a 4d 88 e8 d3 67 73 fb <0f> 0b e9 90 59 ff ff 4c 8d 6b 68 e8 2f 04 89 fb 48 89 d8 48 c1 e8
RSP: 0018:ffff888093dd7178 EFLAGS: 00010282
RAX: 0000000000000024 RBX: ffff88808ed2cdc0 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff81558b76 RDI: ffffed10127bae21
RBP: ffff888093dd7190 R08: 0000000000000024 R09: ffffed1015d05079
R10: ffffed1015d05078 R11: ffff8880ae8283c7 R12: ffff88808ed2d0a0
R13: 0000000000000001 R14: 0000000000000000 R15: ffff88808ed2d0a0
cbq_destroy net/sched/sch_cbq.c:1473 [inline]
cbq_destroy+0x208/0x2c0 net/sched/sch_cbq.c:1449
qdisc_destroy+0x18a/0x6b0 net/sched/sch_generic.c:982
notify_and_destroy+0xa2/0xb0 net/sched/sch_api.c:924
qdisc_graft+0x4f3/0x1030 net/sched/sch_api.c:991
tc_modify_qdisc+0xcae/0x1bd3 net/sched/sch_api.c:1582
rtnetlink_rcv_msg+0x463/0xb00 net/core/rtnetlink.c:4768
netlink_rcv_skb+0x17d/0x460 net/netlink/af_netlink.c:2454
rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:4786
netlink_unicast_kernel net/netlink/af_netlink.c:1317 [inline]
netlink_unicast+0x53a/0x730 net/netlink/af_netlink.c:1343
netlink_sendmsg+0x8ae/0xd70 net/netlink/af_netlink.c:1908
sock_sendmsg_nosec net/socket.c:622 [inline]
sock_sendmsg+0xd7/0x130 net/socket.c:632
kernel_sendmsg+0x44/0x50 net/socket.c:640
sock_no_sendpage+0x116/0x150 net/core/sock.c:2642
kernel_sendpage+0x92/0xf0 net/socket.c:3378
sock_sendpage+0x8b/0xc0 net/socket.c:847
pipe_to_sendpage+0x296/0x360 fs/splice.c:452
splice_from_pipe_feed fs/splice.c:503 [inline]
__splice_from_pipe+0x391/0x7d0 fs/splice.c:627
splice_from_pipe+0x108/0x170 fs/splice.c:662
generic_splice_sendpage+0x3c/0x50 fs/splice.c:833
do_splice_from fs/splice.c:852 [inline]
do_splice+0x642/0x1340 fs/splice.c:1154
__do_sys_splice fs/splice.c:1428 [inline]
__se_sys_splice fs/splice.c:1408 [inline]
__x64_sys_splice+0x2c6/0x330 fs/splice.c:1408
do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x446e79
Code: e8 5c b3 02 00 48 83 c4 18 c3 0f 1f 80 00 00 00 00 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 0f 83 0b 08 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f15b795ed88 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..
---
This bug 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 bug report. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
syzbot can test patches for this bug, for details see:
https://goo.gl/tpsmEJ#testing-patches