netlink: 248 bytes leftover after parsing attributes in process `syz.3.1268'. xt_CT: You must specify a L4 protocol and not use inversions on it Oops: general protection fault, probably for non-canonical address 0xdffffc0000000083: 0000 [#1] SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000418-0x000000000000041f] CPU: 0 UID: 0 PID: 10261 Comm: syz.3.1268 Not tainted 6.16.0-rc4-syzkaller-00993-g59f44c9ccc3b #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:ip_ignore_linkdown include/linux/inetdevice.h:270 [inline] RIP: 0010:fib_lookup_good_nhc+0x85/0x3d0 net/ipv4/fib_trie.c:1408 Code: 4c 89 24 24 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 cb b9 27 f8 41 bc 18 04 00 00 4c 03 23 4c 89 e0 48 c1 e8 03 <42> 80 3c 28 00 74 08 4c 89 e7 e8 ac b9 27 f8 4d 8b 24 24 e8 e3 48 RSP: 0018:ffffc90002ed72f0 EFLAGS: 00010202 RAX: 0000000000000083 RBX: ffff88802c648e20 RCX: 0000000000000002 RDX: ffff88806c8e9e00 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff88802c648e37 R08: 0000000000000000 R09: ffffffff89dd40a6 R10: ffffc90002ed75c0 R11: fffff520005daebe R12: 0000000000000418 R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffff110058c91c6 FS: 00007f8e58fec6c0(0000) GS:ffff888125c16000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f44201fef98 CR3: 000000007d808000 CR4: 00000000003526f0 Call Trace: nexthop_get_nhc_lookup+0x1af/0x400 include/net/nexthop.h:437 fib_table_lookup+0xf26/0x16e0 net/ipv4/fib_trie.c:1584 fib_lookup+0x1c5/0x440 include/net/ip_fib.h:390 ip_route_output_key_hash_rcu+0x2fb/0x23a0 net/ipv4/route.c:2806 ip_route_output_key_hash+0x1b9/0x2e0 net/ipv4/route.c:2697 __ip_route_output_key include/net/route.h:169 [inline] ip_route_output_flow+0x2a/0x150 net/ipv4/route.c:2924 ip_route_output_key include/net/route.h:179 [inline] ip_tunnel_bind_dev+0x281/0x7f0 net/ipv4/ip_tunnel.c:300 ip_tunnel_create net/ipv4/ip_tunnel.c:343 [inline] ip_tunnel_ctl+0x58f/0xc30 net/ipv4/ip_tunnel.c:944 ipmr_new_tunnel net/ipv4/ipmr.c:477 [inline] vif_add+0x335/0x1420 net/ipv4/ipmr.c:861 ip_mroute_setsockopt+0xe12/0xf60 net/ipv4/ipmr.c:1455 do_ip_setsockopt+0xf11/0x2d00 net/ipv4/ip_sockglue.c:948 ip_setsockopt+0x66/0x110 net/ipv4/ip_sockglue.c:1417 do_sock_setsockopt+0x257/0x3e0 net/socket.c:2344 __sys_setsockopt net/socket.c:2369 [inline] __do_sys_setsockopt net/socket.c:2375 [inline] __se_sys_setsockopt net/socket.c:2372 [inline] __x64_sys_setsockopt+0x18b/0x220 net/socket.c:2372 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8e5818e929 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f8e58fec038 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007f8e583b5fa0 RCX: 00007f8e5818e929 RDX: 00000000000000ca RSI: 0000000000000000 RDI: 0000000000000009 RBP: 00007f8e58210b39 R08: 0000000000000010 R09: 0000000000000000 R10: 0000200000000080 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f8e583b5fa0 R15: 00007fff920e1bb8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ip_ignore_linkdown include/linux/inetdevice.h:270 [inline] RIP: 0010:fib_lookup_good_nhc+0x85/0x3d0 net/ipv4/fib_trie.c:1408 Code: 4c 89 24 24 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 cb b9 27 f8 41 bc 18 04 00 00 4c 03 23 4c 89 e0 48 c1 e8 03 <42> 80 3c 28 00 74 08 4c 89 e7 e8 ac b9 27 f8 4d 8b 24 24 e8 e3 48 RSP: 0018:ffffc90002ed72f0 EFLAGS: 00010202 RAX: 0000000000000083 RBX: ffff88802c648e20 RCX: 0000000000000002 RDX: ffff88806c8e9e00 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff88802c648e37 R08: 0000000000000000 R09: ffffffff89dd40a6 R10: ffffc90002ed75c0 R11: fffff520005daebe R12: 0000000000000418 R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffff110058c91c6 FS: 00007f8e58fec6c0(0000) GS:ffff888125c16000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fba37b84338 CR3: 000000007d808000 CR4: 00000000003526f0 ---------------- Code disassembly (best guess): 0: 4c 89 24 24 mov %r12,(%rsp) 4: 48 89 d8 mov %rbx,%rax 7: 48 c1 e8 03 shr $0x3,%rax b: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) 10: 74 08 je 0x1a 12: 48 89 df mov %rbx,%rdi 15: e8 cb b9 27 f8 call 0xf827b9e5 1a: 41 bc 18 04 00 00 mov $0x418,%r12d 20: 4c 03 23 add (%rbx),%r12 23: 4c 89 e0 mov %r12,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 4c 89 e7 mov %r12,%rdi 34: e8 ac b9 27 f8 call 0xf827b9e5 39: 4d 8b 24 24 mov (%r12),%r12 3d: e8 .byte 0xe8 3e: e3 48 jrcxz 0x88