syzbot
general protection fault in __vxlan_dev_create
Status:
upstream: reported C repro on 2020/07/22 21:12
Reported-by: syzbot+9068a12c7c348a940af2@syzkaller.appspotmail.com
First crash: 2222d, last: 1280d
▶
▼
Fix bisection attempts (25)
Sample crash report:
audit: type=1400 audit(1595571743.201:8): avc: denied { execmem } for pid=6341 comm="syz-executor300" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1
netlink: 24 bytes leftover after parsing attributes in process `syz-executor300'.
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
Modules linked in:
CPU: 1 PID: 6359 Comm: syz-executor300 Not tainted 4.14.189-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff88809b3fc180 task.stack: ffff888097ed8000
RIP: 0010:__write_once_size include/linux/compiler.h:210 [inline]
RIP: 0010:__hlist_del include/linux/list.h:679 [inline]
RIP: 0010:hlist_del_rcu include/linux/rculist.h:427 [inline]
RIP: 0010:vxlan_fdb_destroy drivers/net/vxlan.c:787 [inline]
RIP: 0010:__vxlan_dev_create+0x5d6/0x970 drivers/net/vxlan.c:3274
RSP: 0018:ffff888097edf178 EFLAGS: 00010a02
RAX: dffffc0000000000 RBX: 1ffff11012fdbe31 RCX: 1ffff11012fdbe20
RDX: 1bd5a00000000040 RSI: ffff88809b3fca30 RDI: ffff8880a7dab888
RBP: 0000000000000000 R08: ffffffff8a0979f8 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 00000000fffffff0
R13: ffff8880a7dab880 R14: dead000000000200 R15: ffff88808605a200
FS: 00007efce5dca700(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007efce5dc9db8 CR3: 00000000a117c000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
vxlan_newlink+0xa3/0xe0 drivers/net/vxlan.c:3495
rtnl_newlink+0xf88/0x1810 net/core/rtnetlink.c:2728
rtnetlink_rcv_msg+0x3be/0xb10 net/core/rtnetlink.c:4315
netlink_rcv_skb+0x125/0x390 net/netlink/af_netlink.c:2433
netlink_unicast_kernel net/netlink/af_netlink.c:1287 [inline]
netlink_unicast+0x437/0x610 net/netlink/af_netlink.c:1313
netlink_sendmsg+0x62e/0xb80 net/netlink/af_netlink.c:1878
sock_sendmsg_nosec net/socket.c:646 [inline]
sock_sendmsg+0xb5/0x100 net/socket.c:656
sock_no_sendpage+0xe2/0x110 net/core/sock.c:2574
kernel_sendpage net/socket.c:3407 [inline]
sock_sendpage+0xdf/0x140 net/socket.c:871
pipe_to_sendpage+0x226/0x2d0 fs/splice.c:451
splice_from_pipe_feed fs/splice.c:502 [inline]
__splice_from_pipe+0x326/0x7a0 fs/splice.c:626
splice_from_pipe fs/splice.c:661 [inline]
generic_splice_sendpage+0xc1/0x110 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+0xd59/0x1380 fs/splice.c:1382
do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x44a179
RSP: 002b:00007efce5dc9cd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000113
RAX: ffffffffffffffda RBX: 00000000006dbc58 RCX: 000000000044a179
RDX: 0000000000000008 RSI: 0000000000000000 RDI: 0000000000000006
RBP: 00000000006dbc50 R08: 000000000004ffe2 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dbc5c
R13: 00007ffff019aadf R14: 00007efce5dca9c0 R15: 20c49ba5e353f7cf
Code: 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 09 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 dd 02 00 00 49 89 2e 4d 8d 7d 10 48 85 ed 0f
RIP: __write_once_size include/linux/compiler.h:210 [inline] RSP: ffff888097edf178
RIP: __hlist_del include/linux/list.h:679 [inline] RSP: ffff888097edf178
RIP: hlist_del_rcu include/linux/rculist.h:427 [inline] RSP: ffff888097edf178
RIP: vxlan_fdb_destroy drivers/net/vxlan.c:787 [inline] RSP: ffff888097edf178
RIP: __vxlan_dev_create+0x5d6/0x970 drivers/net/vxlan.c:3274 RSP: ffff888097edf178
---[ end trace a21bf13a87774a16 ]---
* Struck through repros no longer work on HEAD.