syzbot


general protection fault in vxlan_fdb_destroy

Status: upstream: reported C repro on 2020/04/06 21:46
Reported-by: syzbot+3b14afbee93c0aad6e10@syzkaller.appspotmail.com
First crash: 1514d, last: 533d
Fix bisection the fix commit could be any of (bisect log):
  a6ca7c65b137 Linux 4.14.260
  b86ee2b7ae42 Linux 4.14.264
  
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 general protection fault in vxlan_fdb_destroy C 1204 466d 1514d 0/1 upstream: reported C repro on 2020/04/06 21:46
linux-4.19 KASAN: use-after-free Read in vxlan_fdb_destroy 2 1188d 1226d 0/1 auto-closed as invalid on 2021/06/27 07:15
Fix bisection attempts (12)
Created Duration User Patch Repo Result
2022/01/31 13:13 24m bisect fix linux-4.14.y job log (2)
2022/01/01 11:44 27m bisect fix linux-4.14.y job log (0) log
2021/12/02 10:17 27m bisect fix linux-4.14.y job log (0) log
2021/11/02 09:29 22m bisect fix linux-4.14.y job log (0) log
2021/10/03 09:07 21m bisect fix linux-4.14.y job log (0) log
2021/09/03 08:43 23m bisect fix linux-4.14.y job log (0) log
2021/07/15 01:12 22m bisect fix linux-4.14.y job log (0) log
2021/06/15 00:32 21m bisect fix linux-4.14.y job log (0) log
2021/04/14 12:47 21m bisect fix linux-4.14.y job log (0) log
2020/10/20 03:23 24m bisect fix linux-4.14.y job log (0) log
2020/09/20 03:00 22m bisect fix linux-4.14.y job log (0) log
2020/08/21 02:32 27m bisect fix linux-4.14.y job log (0) log

Sample crash report:
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: 0 PID: 7979 Comm: syz-executor596 Not tainted 4.14.260-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8880947c00c0 task.stack: ffff8880a2f18000
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:ffff8880a2f1f150 EFLAGS: 00010a02
RAX: dffffc0000000000 RBX: ffff8880a08b7900 RCX: 1ffff110145e3e20
RDX: 1bd5a00000000040 RSI: ffff8880a08b7900 RDI: ffff8880a08b7908
RBP: 0000000000000000 R08: ffffffff8b9b7b70 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: dead000000000200
R13: 0000000000000000 R14: ffff8880a2f1f250 R15: ffff8880b35be840
FS:  00007f8b59785700(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4e53296020 CR3: 00000000a9581000 CR4: 00000000003406f0
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+0xfab/0x1860 net/core/rtnetlink.c:2728
 rtnetlink_rcv_msg+0x3be/0xb10 net/core/rtnetlink.c:4320
 netlink_rcv_skb+0x125/0x390 net/netlink/af_netlink.c:2446
 netlink_unicast_kernel net/netlink/af_netlink.c:1294 [inline]
 netlink_unicast+0x437/0x610 net/netlink/af_netlink.c:1320
 netlink_sendmsg+0x648/0xbc0 net/netlink/af_netlink.c:1891
 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:2613
 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:0x7f8b59814fe9
RSP: 002b:00007f8b597852f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000113
RAX: ffffffffffffffda RBX: 00007f8b5989d448 RCX: 00007f8b59814fe9
RDX: 0000000000000008 RSI: 0000000000000000 RDI: 0000000000000006
RBP: 00007f8b5989d440 R08: 000000000004fff1 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f8b5989d44c
R13: 00007f8b5986b004 R14: 0000006e616c7876 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 d4 
RIP: __write_once_size include/linux/compiler.h:212 [inline] RSP: ffff8880a2f1f150
RIP: __hlist_del include/linux/list.h:688 [inline] RSP: ffff8880a2f1f150
RIP: hlist_del_rcu include/linux/rculist.h:427 [inline] RSP: ffff8880a2f1f150
RIP: vxlan_fdb_destroy+0xb4/0x1f0 drivers/net/vxlan.c:787 RSP: ffff8880a2f1f150
---[ end trace 78c3d4b1b3c5d2e2 ]---
----------------
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:	d4                   	(bad)

Crashes (520):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/01/01 13:06 linux-4.14.y a6ca7c65b137 e1768e9c .config console log report syz C ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2021/08/04 08:43 linux-4.14.y ce4d1565392b 6c236867 .config console log report syz C ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2021/02/06 20:05 linux-4.14.y 2c8a3fceddf0 0655e081 .config console log report syz C ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2020/04/22 22:45 linux-4.14.y c10b57a567e4 2e44d63e .config console log report syz C ci2-linux-4-14
2020/04/21 08:38 linux-4.14.y c10b57a567e4 98a9f9e6 .config console log report syz C ci2-linux-4-14
2020/04/15 11:52 linux-4.14.y c10b57a567e4 3f3c5574 .config console log report syz C ci2-linux-4-14
2020/04/12 02:34 linux-4.14.y 4520f06b03ae a8c6a3f8 .config console log report syz C ci2-linux-4-14
2022/12/14 14:17 linux-4.14.y c4215ee4771b b18f0a64 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2022/12/14 02:36 linux-4.14.y 65afe34ac33d f6511626 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2022/11/09 01:56 linux-4.14.y a901bb6c7db7 5fa28208 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2022/10/11 20:13 linux-4.14.y 9d5c0b3a8e1a 02b6492e .config console log report info [disk image] [vmlinux] ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2022/10/04 15:01 linux-4.14.y 9d5c0b3a8e1a eab8f949 .config console log report info [disk image] [vmlinux] ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2022/08/24 21:44 linux-4.14.y b641242202ed 514514f6 .config console log report info ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2022/08/20 15:13 linux-4.14.y b641242202ed 26a13b38 .config console log report info ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2022/06/03 09:49 linux-4.14.y 501eec4f9e13 02dddea8 .config console log report info ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2022/05/17 16:57 linux-4.14.y 690285a9380d 744a39e2 .config console log report info ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2022/05/11 18:33 linux-4.14.y e3a56aaade89 beb0b407 .config console log report info ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2022/04/07 10:51 linux-4.14.y 74766a973637 53c67432 .config console log report info ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2022/03/01 14:12 linux-4.14.y fa33f9094f36 45a13a73 .config console log report info ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2022/02/25 06:33 linux-4.14.y fa33f9094f36 7c337266 .config console log report info ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2022/02/05 02:52 linux-4.14.y b86ee2b7ae42 e13a05ed .config console log report info ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2021/05/16 00:31 linux-4.14.y 7d7d1c0ab3eb 93f844de .config console log report info ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2021/05/15 23:09 linux-4.14.y 7d7d1c0ab3eb 93f844de .config console log report info ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2021/05/14 14:56 linux-4.14.y 7d7d1c0ab3eb 8bdd5343 .config console log report info ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2021/05/09 20:05 linux-4.14.y 7d7d1c0ab3eb bc5434be .config console log report info ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2021/05/09 14:12 linux-4.14.y 7d7d1c0ab3eb bc5434be .config console log report info ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2021/05/09 10:19 linux-4.14.y 7d7d1c0ab3eb bc5434be .config console log report info ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2021/05/09 01:16 linux-4.14.y 7d7d1c0ab3eb bc5434be .config console log report info ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2021/05/06 04:36 linux-4.14.y 7d7d1c0ab3eb 06c27ff5 .config console log report info ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2021/05/03 07:46 linux-4.14.y 7d7d1c0ab3eb 77e2b668 .config console log report info ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2021/05/03 00:20 linux-4.14.y 7d7d1c0ab3eb 77e2b668 .config console log report info ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2021/05/02 08:40 linux-4.14.y 7d7d1c0ab3eb 77e2b668 .config console log report info ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2021/05/01 19:20 linux-4.14.y 7d7d1c0ab3eb 77e2b668 .config console log report info ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2021/04/30 17:19 linux-4.14.y 7d7d1c0ab3eb 77e2b668 .config console log report info ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2021/04/29 16:06 linux-4.14.y 7d7d1c0ab3eb 77e2b668 .config console log report info ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2021/04/29 08:46 linux-4.14.y 7d7d1c0ab3eb 77e2b668 .config console log report info ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2021/04/28 22:05 linux-4.14.y 7d7d1c0ab3eb 77e2b668 .config console log report info ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2021/04/28 14:09 linux-4.14.y 7d7d1c0ab3eb 77e2b668 .config console log report info ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2021/04/26 09:17 linux-4.14.y cf256fbcbe34 e60b7df1 .config console log report info ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2021/04/24 12:13 linux-4.14.y cf256fbcbe34 17f0b706 .config console log report info ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2021/04/24 02:44 linux-4.14.y cf256fbcbe34 17f0b706 .config console log report info ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2021/04/23 17:08 linux-4.14.y cf256fbcbe34 17f0b706 .config console log report info ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2021/04/23 07:12 linux-4.14.y cf256fbcbe34 590921a5 .config console log report info ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2021/04/22 16:52 linux-4.14.y cf256fbcbe34 33c28d03 .config console log report info ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2021/04/22 12:03 linux-4.14.y cf256fbcbe34 33c28d03 .config console log report info ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2021/03/15 12:46 linux-4.14.y c7150cd2fa8c cc1cff8f .config console log report info ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2021/03/12 12:54 linux-4.14.y c7150cd2fa8c 429d8a6b .config console log report info ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2021/03/05 21:37 linux-4.14.y 397a88b2cc86 4a024a9b .config console log report info ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2021/02/25 15:53 linux-4.14.y 3242aa3a635c 76f7fc95 .config console log report info ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2021/02/24 16:06 linux-4.14.y 3242aa3a635c fcc6d71b .config console log report info ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2021/02/22 21:48 linux-4.14.y 29c52025152b c26fb06b .config console log report info ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2021/02/22 10:36 linux-4.14.y 29c52025152b a659b3f1 .config console log report info ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2021/02/22 05:40 linux-4.14.y 29c52025152b a659b3f1 .config console log report info ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2021/02/21 14:37 linux-4.14.y 29c52025152b 3e5ed8b4 .config console log report info ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2021/02/20 10:35 linux-4.14.y 29c52025152b 3e5ed8b4 .config console log report info ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2021/02/12 02:58 linux-4.14.y 2c8a3fceddf0 a5f86b15 .config console log report info ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2021/02/10 05:10 linux-4.14.y 2c8a3fceddf0 2bd9619f .config console log report info ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2021/02/09 05:36 linux-4.14.y 2c8a3fceddf0 2bd9619f .config console log report info ci2-linux-4-14 general protection fault in vxlan_fdb_destroy
2021/01/17 12:46 linux-4.14.y f79dc86058bc 813be542 .config console log report info ci2-linux-4-14
2020/04/06 21:45 linux-4.14.y 4520f06b03ae 99a96044 .config console log report ci2-linux-4-14
* Struck through repros no longer work on HEAD.