general protection fault in __ip_vs_route_output_v6

Status: upstream: reported on 2026/11/02 13:57
Reported-by: syzbot+8621d011e84c361e26bc@syzkaller.appspotmail.com
First crash: 10d, last: 10d

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 1 PID: 13936 Comm: syz.1.3127 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026
RIP: 0010:__ip_vs_route_output_v6+0x23d/0x320 net/netfilter/ipvs/ip_vs_xmit.c:465
Code: 4d 89 f5 49 81 c5 c0 00 00 00 4c 89 e8 48 c1 e8 03 80 3c 18 00 74 08 4c 89 ef e8 ee 2a 21 f9 4d 8b 6d 00 4c 89 e8 48 c1 e8 03 <80> 3c 18 00 49 bf f1 f1 f1 f1 f8 f8 f8 f8 74 08 4c 89 ef e8 cb 2a
RSP: 0018:ffffc90005347380 EFLAGS: 00010246
RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffff888028c35a00
RDX: 0000000000000002 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900053474a0 R08: ffffffff8f22416f R09: 1ffffffff1e4482d
R10: dffffc0000000000 R11: fffffbfff1e4482e R12: 1ffff92000a68e74
R13: 0000000000000000 R14: ffff888075a5b280 R15: 0000000000000000
FS:  00007f37ad73a6c0(0000) GS:ffff8880b8d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b3011eff8 CR3: 00000000600d9000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __ip_vs_get_out_rt_v6+0x31d/0xd00 net/netfilter/ipvs/ip_vs_xmit.c:516
 ip_vs_dr_xmit_v6+0x96/0x370 net/netfilter/ipvs/ip_vs_xmit.c:1505
 ip_vs_in_hook+0xd5d/0x1b70 net/netfilter/ipvs/ip_vs_core.c:2082
 nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline]
 nf_hook_slow+0xb5/0x200 net/netfilter/core.c:614
 nf_hook include/linux/netfilter.h:269 [inline]
 __ip6_local_out+0x780/0x8a0 net/ipv6/output_core.c:149
 ip6_local_out+0x26/0x120 net/ipv6/output_core.c:159
 ip6_send_skb+0x1c9/0x370 net/ipv6/ip6_output.c:1952
 udp_v6_send_skb+0xb99/0x1850 net/ipv6/udp.c:1352
 udpv6_sendmsg+0x1b9e/0x22c0 net/ipv6/udp.c:1647
 sock_sendmsg_nosec net/socket.c:718 [inline]
 __sock_sendmsg net/socket.c:730 [inline]
 __sys_sendto+0x497/0x650 net/socket.c:2153
 __do_sys_sendto net/socket.c:2165 [inline]
 __se_sys_sendto net/socket.c:2161 [inline]
 __x64_sys_sendto+0xda/0xf0 net/socket.c:2161
 do_syscall_x64 arch/x86/entry/common.c:46 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f37ac79fb19
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f37ad73a028 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f37aca25fa0 RCX: 00007f37ac79fb19
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004
RBP: 00007f37ac837af8 R08: 0000200000000c00 R09: 000000000000001c
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f37aca26038 R14: 00007f37aca25fa0 R15: 00007ffc7cd88788
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__ip_vs_route_output_v6+0x23d/0x320 net/netfilter/ipvs/ip_vs_xmit.c:465
Code: 4d 89 f5 49 81 c5 c0 00 00 00 4c 89 e8 48 c1 e8 03 80 3c 18 00 74 08 4c 89 ef e8 ee 2a 21 f9 4d 8b 6d 00 4c 89 e8 48 c1 e8 03 <80> 3c 18 00 49 bf f1 f1 f1 f1 f8 f8 f8 f8 74 08 4c 89 ef e8 cb 2a
RSP: 0018:ffffc90005347380 EFLAGS: 00010246
RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffff888028c35a00
RDX: 0000000000000002 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900053474a0 R08: ffffffff8f22416f R09: 1ffffffff1e4482d
R10: dffffc0000000000 R11: fffffbfff1e4482e R12: 1ffff92000a68e74
R13: 0000000000000000 R14: ffff888075a5b280 R15: 0000000000000000
FS:  00007f37ad73a6c0(0000) GS:ffff8880b8d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b3011eff8 CR3: 00000000600d9000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	4d 89 f5             	mov    %r14,%r13
   3:	49 81 c5 c0 00 00 00 	add    $0xc0,%r13
   a:	4c 89 e8             	mov    %r13,%rax
   d:	48 c1 e8 03          	shr    $0x3,%rax
  11:	80 3c 18 00          	cmpb   $0x0,(%rax,%rbx,1)
  15:	74 08                	je     0x1f
  17:	4c 89 ef             	mov    %r13,%rdi
  1a:	e8 ee 2a 21 f9       	call   0xf9212b0d
  1f:	4d 8b 6d 00          	mov    0x0(%r13),%r13
  23:	4c 89 e8             	mov    %r13,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	80 3c 18 00          	cmpb   $0x0,(%rax,%rbx,1) <-- trapping instruction
  2e:	49 bf f1 f1 f1 f1 f8 	movabs $0xf8f8f8f8f1f1f1f1,%r15
  35:	f8 f8 f8
  38:	74 08                	je     0x42
  3a:	4c 89 ef             	mov    %r13,%rdi
  3d:	e8                   	.byte 0xe8
  3e:	cb                   	lret
  3f:	2a                   	.byte 0x2a

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/11/02 13:56 linux-6.1.y 08889840163e 6969b601 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in __ip_vs_route_output_v6
* Struck through repros no longer work on HEAD.