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: 11187 Comm: syz-executor.5 Not tainted 4.14.295-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 task: ffff888091f92540 task.stack: ffff88804bbb8000 RIP: 0010:__write_once_size include/linux/compiler.h:212 [inline] RIP: 0010:__hlist_del include/linux/list.h:688 [inline] RIP: 0010:hlist_del_rcu include/linux/rculist.h:427 [inline] RIP: 0010:vxlan_fdb_destroy+0xb4/0x1f0 drivers/net/vxlan.c:787 RSP: 0018:ffff88804bbbf150 EFLAGS: 00010a02 RAX: dffffc0000000000 RBX: ffff8880aa450100 RCX: ffffc900078ec000 RDX: 1bd5a00000000040 RSI: ffffffff83d8b992 RDI: ffff8880aa450108 RBP: 0000000000000000 R08: ffffffff8b9be338 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: dead000000000200 R13: 0000000000000000 R14: ffff88804bbbf250 R15: ffff88804eb86280 FS: 00007f21be632700(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7c70bed000 CR3: 0000000098d96000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __vxlan_dev_create+0x3b0/0x710 drivers/net/vxlan.c:3283 vxlan_newlink+0xa3/0xe0 drivers/net/vxlan.c:3504 rtnl_newlink+0xf7c/0x1830 net/core/rtnetlink.c:2730 rtnetlink_rcv_msg+0x3be/0xb10 net/core/rtnetlink.c:4322 netlink_rcv_skb+0x125/0x390 net/netlink/af_netlink.c:2454 netlink_unicast_kernel net/netlink/af_netlink.c:1296 [inline] netlink_unicast+0x437/0x610 net/netlink/af_netlink.c:1322 netlink_sendmsg+0x648/0xbc0 net/netlink/af_netlink.c:1893 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:2610 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:1145 [inline] SYSC_splice fs/splice.c:1400 [inline] SyS_splice+0xd59/0x1380 fs/splice.c:1380 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x7f21bfce05a9 RSP: 002b:00007f21be632168 EFLAGS: 00000246 ORIG_RAX: 0000000000000113 RAX: ffffffffffffffda RBX: 00007f21bfe01050 RCX: 00007f21bfce05a9 RDX: 0000000000000005 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007f21bfd3b580 R08: 000000000004ffb1 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffea475b83f R14: 00007f21be632300 R15: 0000000000022000 Code: 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 11 01 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 63 08 4c 89 e2 48 c1 ea 03 <80> 3c 02 00 0f 85 09 01 00 00 48 85 ed 49 89 2c 24 74 28 e8 c4 RIP: __write_once_size include/linux/compiler.h:212 [inline] RSP: ffff88804bbbf150 RIP: __hlist_del include/linux/list.h:688 [inline] RSP: ffff88804bbbf150 RIP: hlist_del_rcu include/linux/rculist.h:427 [inline] RSP: ffff88804bbbf150 RIP: vxlan_fdb_destroy+0xb4/0x1f0 drivers/net/vxlan.c:787 RSP: ffff88804bbbf150 ---[ end trace 030019cb0d456ce5 ]--- ---------------- Code disassembly (best guess), 4 bytes skipped: 0: df 48 89 fisttps -0x77(%rax) 3: fa cli 4: 48 c1 ea 03 shr $0x3,%rdx 8: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) c: 0f 85 11 01 00 00 jne 0x123 12: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 19: fc ff df 1c: 4c 8b 63 08 mov 0x8(%rbx),%r12 20: 4c 89 e2 mov %r12,%rdx 23: 48 c1 ea 03 shr $0x3,%rdx * 27: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2b: 0f 85 09 01 00 00 jne 0x13a 31: 48 85 ed test %rbp,%rbp 34: 49 89 2c 24 mov %rbp,(%r12) 38: 74 28 je 0x62 3a: e8 .byte 0xe8 3b: c4 .byte 0xc4