Hello,
syzbot found the following crash on:
HEAD commit: ee809c7e Linux 4.19.72
git tree: linux-4.19.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=103493c1600000
kernel config:
https://syzkaller.appspot.com/x/.config?x=ad6c5c98f4231da9
dashboard link:
https://syzkaller.appspot.com/bug?extid=f18f2615be0576f2bf69
compiler: gcc (GCC) 9.0.0 20181231 (experimental)
syz repro:
https://syzkaller.appspot.com/x/repro.syz?x=14acf6f6600000
C reproducer:
https://syzkaller.appspot.com/x/repro.c?x=124fe895600000
IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by:
syzbot+f18f26...@syzkaller.appspotmail.com
RBP: 00007ffdfc0c6ca0 R08: 0000000000000001 R09: 0000000120080522
R10: 0000000000000000 R11: 0000000000000246 R12: ffffffffffffffff
R13: 0000000000000008 R14: 0000000000000000 R15: 0000000000000000
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 7624 Comm: syz-executor185 Not tainted 4.19.72 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
RIP: 0010:qdisc_destroy+0x2f/0x690 net/sched/sch_generic.c:948
Code: 57 41 56 41 55 41 54 49 89 fc 53 48 83 ec 28 e8 27 6d ed fb 49 8d 7c
24 10 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84
c0 74 08 3c 03 0f 8e d5 04 00 00 41 8b 5c 24 10 31
RSP: 0018:ffff8880955f7448 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: ffff88807ff3e900 RCX: ffffffff857ef0ba
RDX: 0000000000000002 RSI: ffffffff857de969 RDI: 0000000000000010
RBP: ffff8880955f7498 R08: ffff8880964a2280 R09: ffff8880964a2b20
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: ffff88807ff3e900 R14: ffff88808a83e400 R15: ffff88807ff3e93c
FS: 000000000127c880(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffdfc0c6c70 CR3: 00000000a0949000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
sfb_destroy+0x61/0x80 net/sched/sch_sfb.c:472
qdisc_create+0xaa6/0x1230 net/sched/sch_api.c:1203
tc_modify_qdisc+0x51b/0x1bdc net/sched/sch_api.c:1570
rtnetlink_rcv_msg+0x463/0xb00 net/core/rtnetlink.c:4747
netlink_rcv_skb+0x17d/0x460 net/netlink/af_netlink.c:2454
rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:4765
netlink_unicast_kernel net/netlink/af_netlink.c:1317 [inline]
netlink_unicast+0x537/0x720 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
___sys_sendmsg+0x803/0x920 net/socket.c:2115
__sys_sendmsg+0x105/0x1d0 net/socket.c:2153
__do_sys_sendmsg net/socket.c:2162 [inline]
__se_sys_sendmsg net/socket.c:2160 [inline]
__x64_sys_sendmsg+0x78/0xb0 net/socket.c:2160
do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4416d9
Code: e8 9c ae 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 3b 0a fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007ffdfc0c6c68 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000004416d9
RDX: 0000000000000000 RSI: 0000000020000240 RDI: 0000000000000004
RBP: 00007ffdfc0c6ca0 R08: 0000000000000001 R09: 0000000120080522
R10: 0000000000000000 R11: 0000000000000246 R12: ffffffffffffffff
R13: 0000000000000008 R14: 0000000000000000 R15: 0000000000000000
Modules linked in:
---[ end trace 82073fda8f6c8478 ]---
RIP: 0010:qdisc_destroy+0x2f/0x690 net/sched/sch_generic.c:948
Code: 57 41 56 41 55 41 54 49 89 fc 53 48 83 ec 28 e8 27 6d ed fb 49 8d 7c
24 10 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84
c0 74 08 3c 03 0f 8e d5 04 00 00 41 8b 5c 24 10 31
RSP: 0018:ffff8880955f7448 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: ffff88807ff3e900 RCX: ffffffff857ef0ba
RDX: 0000000000000002 RSI: ffffffff857de969 RDI: 0000000000000010
RBP: ffff8880955f7498 R08: ffff8880964a2280 R09: ffff8880964a2b20
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: ffff88807ff3e900 R14: ffff88808a83e400 R15: ffff88807ff3e93c
FS: 000000000127c880(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffdfc0c6c70 CR3: 00000000a0949000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
---
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