syzbot


general protection fault in vxlan_fdb_destroy

Status: upstream: reported C repro on 2020/04/06 21:46
Reported-by: syzbot+4c8b77cc62b32548e0a8@syzkaller.appspotmail.com
First crash: 1683d, last: 634d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 general protection fault in vxlan_fdb_destroy C inconclusive 520 701d 1683d 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 1356d 1394d 0/1 auto-closed as invalid on 2021/06/27 07:15
linux-4.14 KASAN: use-after-free Read in vxlan_fdb_destroy 3 1630d 1678d 0/1 auto-closed as invalid on 2020/09/26 11:56
Fix bisection attempts (4)
Created Duration User Patch Repo Result
2020/10/20 10:43 26m bisect fix linux-4.19.y OK (0) job log log
2020/09/20 10:19 23m bisect fix linux-4.19.y OK (0) job log log
2020/08/21 09:51 27m bisect fix linux-4.19.y OK (0) job log log
2020/07/22 09:15 25m bisect fix linux-4.19.y OK (0) job log log

Sample crash report:
netlink: 'syz-executor885': attribute type 18 has an invalid length.
netlink: 'syz-executor885': attribute type 15 has an invalid length.
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: 0 PID: 8100 Comm: syz-executor885 Not tainted 4.19.207-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:288 [inline]
RIP: 0010:__hlist_del include/linux/list.h:688 [inline]
RIP: 0010:hlist_del_rcu include/linux/rculist.h:457 [inline]
RIP: 0010:vxlan_fdb_destroy+0xbe/0x1f0 drivers/net/vxlan.c:788
Code: 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 7a 0e
RSP: 0018:ffff8880b346ed90 EFLAGS: 00010a02
RAX: dffffc0000000000 RBX: ffff8880aaeca780 RCX: ffffffff844f858e
RDX: 1bd5a00000000040 RSI: ffffffff844f859c RDI: ffff8880aaeca788
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: dead000000000200
R13: 0000000000000000 R14: ffff8880b346eeb0 R15: ffff8880b0c10b40
FS:  00007f0f5de86700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005604f6ec18b8 CR3: 00000000abb09000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __vxlan_dev_create+0x477/0x820 drivers/net/vxlan.c:3279
 vxlan_newlink+0xc0/0x120 drivers/net/vxlan.c:3506
 rtnl_newlink+0x1030/0x15c0 net/core/rtnetlink.c:3141
 rtnetlink_rcv_msg+0x453/0xb80 net/core/rtnetlink.c:4782
 netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2457
 netlink_unicast_kernel net/netlink/af_netlink.c:1320 [inline]
 netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1346
 netlink_sendmsg+0x6bb/0xc40 net/netlink/af_netlink.c:1911
 sock_sendmsg_nosec net/socket.c:651 [inline]
 sock_sendmsg+0xc3/0x120 net/socket.c:661
 sock_no_sendpage+0xf5/0x140 net/core/sock.c:2668
 kernel_sendpage net/socket.c:3585 [inline]
 sock_sendpage+0xdf/0x140 net/socket.c:912
 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:0x7f0f5df15fe9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 81 14 00 00 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 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f0f5de862f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000113
RAX: ffffffffffffffda RBX: 00007f0f5df9e448 RCX: 00007f0f5df15fe9
RDX: 0000000000000008 RSI: 0000000000000000 RDI: 0000000000000006
RBP: 00007f0f5df9e440 R08: 000000000004fff1 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f0f5df9e44c
R13: 00007f0f5df6c004 R14: 0000006e616c7876 R15: 0000000000022000
Modules linked in:
---[ end trace ff782e8b9252244f ]---
RIP: 0010:__write_once_size include/linux/compiler.h:288 [inline]
RIP: 0010:__hlist_del include/linux/list.h:688 [inline]
RIP: 0010:hlist_del_rcu include/linux/rculist.h:457 [inline]
RIP: 0010:vxlan_fdb_destroy+0xbe/0x1f0 drivers/net/vxlan.c:788
Code: 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 7a 0e
RSP: 0018:ffff8880b346ed90 EFLAGS: 00010a02
RAX: dffffc0000000000 RBX: ffff8880aaeca780 RCX: ffffffff844f858e
RDX: 1bd5a00000000040 RSI: ffffffff844f859c RDI: ffff8880aaeca788
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: dead000000000200
R13: 0000000000000000 R14: ffff8880b346eeb0 R15: ffff8880b0c10b40
FS:  00007f0f5de86700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb464039088 CR3: 00000000abb09000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess), 3 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:	7a 0e                	jp     0x4b

Crashes (1204):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/09/23 16:48 linux-4.19.y 2950c9c5e0df 8cac236e .config console log report syz C ci2-linux-4-19 general protection fault in vxlan_fdb_destroy
2021/09/06 15:24 linux-4.19.y b172b44fcb17 6ca60148 .config console log report syz C ci2-linux-4-19 general protection fault in vxlan_fdb_destroy
2021/06/26 02:24 linux-4.19.y eb575cd5d7f6 ae6bf8dd .config console log report syz C ci2-linux-4-19 general protection fault in vxlan_fdb_destroy
2021/02/13 03:53 linux-4.19.y 811218eceeaa 98682e5e .config console log report syz C ci2-linux-4-19 general protection fault in vxlan_fdb_destroy
2020/04/16 00:34 linux-4.19.y 6dd0e32665e5 3f3c5574 .config console log report syz C ci2-linux-4-19
2020/04/14 14:15 linux-4.19.y 6dd0e32665e5 3f3c5574 .config console log report syz C ci2-linux-4-19
2020/04/14 10:34 linux-4.19.y 6dd0e32665e5 7c54686a .config console log report syz C ci2-linux-4-19
2020/04/08 05:03 linux-4.19.y dda0e2920330 db9bcd4b .config console log report syz C ci2-linux-4-19
2023/02/19 00:52 linux-4.19.y 3f8a27f9e27b bcdf85f8 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in vxlan_fdb_destroy
2023/02/17 00:13 linux-4.19.y 3f8a27f9e27b 851bc19a .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in vxlan_fdb_destroy
2023/02/16 23:06 linux-4.19.y 3f8a27f9e27b 851bc19a .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in vxlan_fdb_destroy
2023/02/16 11:44 linux-4.19.y 3f8a27f9e27b 38b317a7 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in vxlan_fdb_destroy
2023/02/14 02:16 linux-4.19.y 3f8a27f9e27b 93ae7e0a .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in vxlan_fdb_destroy
2023/02/13 20:03 linux-4.19.y 3f8a27f9e27b 957959cb .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in vxlan_fdb_destroy
2023/02/13 11:40 linux-4.19.y 3f8a27f9e27b 957959cb .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in vxlan_fdb_destroy
2023/02/12 05:51 linux-4.19.y 3f8a27f9e27b 93e26d60 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in vxlan_fdb_destroy
2023/02/12 01:54 linux-4.19.y 3f8a27f9e27b 93e26d60 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in vxlan_fdb_destroy
2023/02/11 18:42 linux-4.19.y 3f8a27f9e27b 93e26d60 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in vxlan_fdb_destroy
2023/02/11 01:23 linux-4.19.y 3f8a27f9e27b 93e26d60 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in vxlan_fdb_destroy
2023/02/10 19:47 linux-4.19.y 3f8a27f9e27b e29a17f5 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in vxlan_fdb_destroy
2023/02/10 08:08 linux-4.19.y 3f8a27f9e27b 07980f9d .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in vxlan_fdb_destroy
2023/02/10 06:47 linux-4.19.y 3f8a27f9e27b 07980f9d .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in vxlan_fdb_destroy
2023/02/08 14:32 linux-4.19.y 3f8a27f9e27b fc9c934e .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in vxlan_fdb_destroy
2023/02/08 10:42 linux-4.19.y 3f8a27f9e27b 15c3d445 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in vxlan_fdb_destroy
2023/02/07 21:23 linux-4.19.y 3f8a27f9e27b 15c3d445 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in vxlan_fdb_destroy
2023/02/06 15:56 linux-4.19.y 3f8a27f9e27b 0a9c11b6 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in vxlan_fdb_destroy
2023/02/06 14:18 linux-4.19.y 3f8a27f9e27b 0a9c11b6 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in vxlan_fdb_destroy
2023/02/06 08:10 linux-4.19.y 3f8a27f9e27b be607b78 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in vxlan_fdb_destroy
2023/02/05 17:39 linux-4.19.y 3f8a27f9e27b be607b78 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in vxlan_fdb_destroy
2023/02/04 11:24 linux-4.19.y 3f8a27f9e27b 1b2f701a .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in vxlan_fdb_destroy
2023/02/03 15:24 linux-4.19.y 3f8a27f9e27b 1b2f701a .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in vxlan_fdb_destroy
2023/02/03 04:25 linux-4.19.y 3f8a27f9e27b 33fc5c09 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in vxlan_fdb_destroy
2023/02/01 17:03 linux-4.19.y 3f8a27f9e27b 9a6f477c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in vxlan_fdb_destroy
2023/01/31 18:08 linux-4.19.y 3f8a27f9e27b b68fb8d6 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in vxlan_fdb_destroy
2023/01/29 22:22 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in vxlan_fdb_destroy
2023/01/29 07:49 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in vxlan_fdb_destroy
2023/01/28 17:11 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in vxlan_fdb_destroy
2023/01/28 02:55 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in vxlan_fdb_destroy
2023/01/27 20:26 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in vxlan_fdb_destroy
2023/01/24 23:19 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in vxlan_fdb_destroy
2023/01/23 12:19 linux-4.19.y 3f8a27f9e27b 44388686 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in vxlan_fdb_destroy
2023/01/22 20:45 linux-4.19.y 3f8a27f9e27b cc0f9968 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in vxlan_fdb_destroy
2023/01/22 15:17 linux-4.19.y 3f8a27f9e27b cc0f9968 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in vxlan_fdb_destroy
2023/01/22 09:12 linux-4.19.y 3f8a27f9e27b cc0f9968 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in vxlan_fdb_destroy
2023/01/21 02:43 linux-4.19.y 3f8a27f9e27b cc0f9968 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in vxlan_fdb_destroy
2023/01/20 09:49 linux-4.19.y 3f8a27f9e27b dd15ff29 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in vxlan_fdb_destroy
2023/01/19 03:12 linux-4.19.y 3f8a27f9e27b 4620c2d9 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in vxlan_fdb_destroy
2023/01/17 03:09 linux-4.19.y 3f8a27f9e27b a63719e7 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in vxlan_fdb_destroy
2023/01/16 16:24 linux-4.19.y 3f8a27f9e27b a63719e7 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in vxlan_fdb_destroy
2023/01/16 10:52 linux-4.19.y 3f8a27f9e27b a63719e7 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in vxlan_fdb_destroy
2023/01/15 20:47 linux-4.19.y 3f8a27f9e27b a63719e7 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in vxlan_fdb_destroy
2023/01/15 18:05 linux-4.19.y 3f8a27f9e27b a63719e7 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in vxlan_fdb_destroy
2023/01/15 15:17 linux-4.19.y 3f8a27f9e27b a63719e7 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 general protection fault in vxlan_fdb_destroy
2022/11/05 08:18 linux-4.19.y 3f8a27f9e27b 6d752409 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 KASAN: use-after-free Read in vxlan_fdb_destroy
2021/01/17 11:28 linux-4.19.y 675cc038067f 813be542 .config console log report info ci2-linux-4-19
2020/04/06 21:45 linux-4.19.y dda0e2920330 99a96044 .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.