Hello,
syzbot found the following crash on:
HEAD commit: 0fed55c2 Linux 4.19.70
git tree: linux-4.19.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=113761fa600000
kernel config:
https://syzkaller.appspot.com/x/.config?x=2964bf2f89c3f203
dashboard link:
https://syzkaller.appspot.com/bug?extid=6ccecf683a047d7bcd97
compiler: gcc (GCC) 9.0.0 20181231 (experimental)
syz repro:
https://syzkaller.appspot.com/x/repro.syz?x=1370846e600000
IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by:
syzbot+6ccecf...@syzkaller.appspotmail.com
8021q: adding VLAN 0 to HW filter on device batadv0
audit: type=1400 audit(1567802030.398:38): avc: denied { associate } for
pid=7644 comm="syz-executor.0" name="syz0"
scontext=unconfined_u:object_r:unlabeled_t:s0
tcontext=system_u:object_r:unlabeled_t:s0 tclass=filesystem permissive=1
BUG: unable to handle kernel NULL pointer dereference at 0000000000000000
PGD 82a23067 P4D 82a23067 PUD 9237c067 PMD 0
Oops: 0010 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 7726 Comm: syz-executor.0 Not tainted 4.19.70 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
RIP: 0010: (null)
Code: Bad RIP value.
RSP: 0018:ffff88809c3bf4d8 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffffffff87e1f620 RCX: ffffffff857e5ec4
RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff888081353640
RBP: ffff88809c3bf5d0 R08: ffff888080e62040 R09: ffff88809c3bf658
R10: ffffed1013877ed9 R11: ffff88809c3bf6cf R12: ffff88809c3bf5a8
R13: ffff888081353640 R14: 0000000000000001 R15: ffffffff87e1f620
FS: 00007f0178f06700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffd6 CR3: 0000000089abc000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
tc_bind_tclass+0x13c/0x490 net/sched/sch_api.c:1834
tc_ctl_tclass+0xaa9/0xc60 net/sched/sch_api.c:1968
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:0x459879
Code: fd b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 cb b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f0178f05c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459879
RDX: 0000000000000000 RSI: 0000000020000240 RDI: 0000000000000003
RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f0178f066d4
R13: 00000000004c77c2 R14: 00000000004dd018 R15: 00000000ffffffff
Modules linked in:
CR2: 0000000000000000
---[ end trace c69cc42f8400bd31 ]---
RIP: 0010: (null)
Code: Bad RIP value.
RSP: 0018:ffff88809c3bf4d8 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffffffff87e1f620 RCX: ffffffff857e5ec4
RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff888081353640
RBP: ffff88809c3bf5d0 R08: ffff888080e62040 R09: ffff88809c3bf658
R10: ffffed1013877ed9 R11: ffff88809c3bf6cf R12: ffff88809c3bf5a8
R13: ffff888081353640 R14: 0000000000000001 R15: ffffffff87e1f620
FS: 00007f0178f06700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffd6 CR3: 0000000089abc000 CR4: 00000000001406e0
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