Hello,
syzbot found the following crash on:
HEAD commit: b3a99fd3 Linux 4.19.129
git tree: linux-4.19.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=12266d0d100000
kernel config:
https://syzkaller.appspot.com/x/.config?x=afe60417c22a7f7a
dashboard link:
https://syzkaller.appspot.com/bug?extid=156b1f82cf1a810f216a
compiler: gcc (GCC) 10.1.0-syz 20200507
Unfortunately, I don't have any reproducer for this crash yet.
IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by:
syzbot+156b1f...@syzkaller.appspotmail.com
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: 1 PID: 22793 Comm: syz-executor.0 Not tainted 4.19.129-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__write_once_size include/linux/compiler.h:220 [inline]
RIP: 0010:__hlist_del include/linux/list.h:679 [inline]
RIP: 0010:hlist_del_rcu include/linux/rculist.h:457 [inline]
RIP: 0010:vxlan_fdb_destroy drivers/net/vxlan.c:788 [inline]
RIP: 0010:__vxlan_dev_create+0x6cb/0xad0 drivers/net/vxlan.c:3270
Code: 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 6a 03 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b 75 08 4c 89 f2 48 c1 ea 03 <80> 3c 02 00 0f 85 3e 03 00 00 49 89 2e 4d 8d 7d 10 48 85 ed 0f 84
RSP: 0018:ffff888049246db8 EFLAGS: 00010a02
RAX: dffffc0000000000 RBX: 1ffff11009248db9 RCX: ffffc90005ccf000
RDX: 1bd5a00000000040 RSI: ffffffff84649c09 RDI: ffff88809aa88288
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 00000000fffffff0
R13: ffff88809aa88280 R14: dead000000000200 R15: ffff8880a4dd4fc0
FS: 00007f24ff3d3700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000401ca0 CR3: 000000004e90d000 CR4: 00000000001406e0
DR0: 0000000000000007 DR1: 0000000000000007 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
vxlan_newlink+0xc0/0x120 drivers/net/vxlan.c:3497
rtnl_newlink+0x1027/0x15a0 net/core/rtnetlink.c:3141
rtnetlink_rcv_msg+0x453/0xb80 net/core/rtnetlink.c:4777
netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2455
netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline]
netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1344
netlink_sendmsg+0x6bb/0xc40 net/netlink/af_netlink.c:1909
sock_sendmsg_nosec net/socket.c:622 [inline]
sock_sendmsg+0xc3/0x120 net/socket.c:632
sock_no_sendpage+0xf5/0x140 net/core/sock.c:2645
kernel_sendpage net/socket.c:3378 [inline]
sock_sendpage+0xdf/0x140 net/socket.c:847
pipe_to_sendpage+0x268/0x330 fs/splice.c:452
splice_from_pipe_feed fs/splice.c:503 [inline]
__splice_from_pipe+0x389/0x800 fs/splice.c:627
splice_from_pipe fs/splice.c:662 [inline]
generic_splice_sendpage+0xd4/0x140 fs/splice.c:833
do_splice_from fs/splice.c:852 [inline]
do_splice fs/splice.c:1154 [inline]
__do_sys_splice fs/splice.c:1428 [inline]
__se_sys_splice+0xfe7/0x16d0 fs/splice.c:1408
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45ca59
Code: 0d 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 db b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f24ff3d2c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000113
RAX: ffffffffffffffda RBX: 00000000005086e0 RCX: 000000000045ca59
RDX: 0000000000000005 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 000000000078bfa0 R08: 000000000004ffe2 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 0000000000000bd1 R14: 00000000004cece6 R15: 00007f24ff3d36d4
Modules linked in:
---[ end trace d8c5ba1803a83c59 ]---
RIP: 0010:__write_once_size include/linux/compiler.h:220 [inline]
RIP: 0010:__hlist_del include/linux/list.h:679 [inline]
RIP: 0010:hlist_del_rcu include/linux/rculist.h:457 [inline]
RIP: 0010:vxlan_fdb_destroy drivers/net/vxlan.c:788 [inline]
RIP: 0010:__vxlan_dev_create+0x6cb/0xad0 drivers/net/vxlan.c:3270
Code: 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 6a 03 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b 75 08 4c 89 f2 48 c1 ea 03 <80> 3c 02 00 0f 85 3e 03 00 00 49 89 2e 4d 8d 7d 10 48 85 ed 0f 84
RSP: 0018:ffff888049246db8 EFLAGS: 00010a02
RAX: dffffc0000000000 RBX: 1ffff11009248db9 RCX: ffffc90005ccf000
RDX: 1bd5a00000000040 RSI: ffffffff84649c09 RDI: ffff88809aa88288
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 00000000fffffff0
R13: ffff88809aa88280 R14: dead000000000200 R15: ffff8880a4dd4fc0
FS: 00007f24ff3d3700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000002060057f CR3: 000000004e90d000 CR4: 00000000001406e0
DR0: 0000000000000007 DR1: 0000000000000007 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
---
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.