====================================== | [ 13.181552][ T249] ip (249) used greatest stack depth: 23952 bytes left | [ 14.184659][ T272] ip (272) used greatest stack depth: 23856 bytes left | [ 29.761421][ T373] Oops: general protection fault, probably for non-canonical address 0xdffffc000000000b: 0000 [#1] SMP KASAN | [ 29.761787][ T373] KASAN: null-ptr-deref in range [0x0000000000000058-0x000000000000005f] [ 29.762277][ T373] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 29.762464][ T373] RIP: 0010:__mkroute_output (net/ipv4/route.c:2663) [ 29.762623][ T373] Code: 24 30 48 c1 ea 03 80 3c 02 00 0f 85 b2 06 00 00 48 b8 00 00 00 00 00 fc ff df 49 8b 5c 24 18 48 8d 7b 58 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 84 06 00 00 48 8b 5b 58 49 8d 7f 10 48 b8 00 00 All code ======== 0: 24 30 and $0x30,%al 2: 48 c1 ea 03 shr $0x3,%rdx 6: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) a: 0f 85 b2 06 00 00 jne 0x6c2 10: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 17: fc ff df 1a: 49 8b 5c 24 18 mov 0x18(%r12),%rbx 1f: 48 8d 7b 58 lea 0x58(%rbx),%rdi 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx 2a:* 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 0f 85 84 06 00 00 jne 0x6b8 34: 48 8b 5b 58 mov 0x58(%rbx),%rbx 38: 49 8d 7f 10 lea 0x10(%r15),%rdi 3c: 48 rex.W 3d: b8 .byte 0xb8 ... Code starting with the faulting instruction =========================================== 0: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) 4: 0f 85 84 06 00 00 jne 0x68e a: 48 8b 5b 58 mov 0x58(%rbx),%rbx e: 49 8d 7f 10 lea 0x10(%r15),%rdi 12: 48 rex.W 13: b8 .byte 0xb8 ... [ 29.763142][ T373] RSP: 0018:ffffc900007f7bf0 EFLAGS: 00010202 [ 29.763329][ T373] RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff8420df2f [ 29.763549][ T373] RDX: 000000000000000b RSI: 0000000000000004 RDI: 0000000000000058 [ 29.763771][ T373] RBP: ffff8880059d2608 R08: 0000000000000000 R09: fffffbfff0f0c967 [ 29.763990][ T373] R10: ffffffff87864b3f R11: ffff8880075b95e0 R12: ffffc900007f7c90 [ 29.764207][ T373] R13: ffff88800bcfd600 R14: 0000000090000000 R15: ffff88800c7c7540 [ 29.764427][ T373] FS: 00007f7a736a2300(0000) GS:ffff8880afb17000(0000) knlGS:0000000000000000 [ 29.764680][ T373] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 29.764868][ T373] CR2: 00007f7a73920062 CR3: 00000000093dd006 CR4: 0000000000772ef0 [ 29.765091][ T373] PKRU: 55555554 [ 29.765202][ T373] Call Trace: [ 29.765312][ T373] [ 29.765389][ T373] ip_route_output_key_hash (net/ipv4/route.c:2701) [ 29.765537][ T373] ? ip_route_output_key_hash_rcu (net/ipv4/route.c:2688) [ 29.765723][ T373] __ip4_datagram_connect (./include/net/route.h:169 ./include/net/route.h:348 net/ipv4/datagram.c:49) [ 29.765873][ T373] ? inet_autobind (net/ipv4/af_inet.c:570) [ 29.766017][ T373] udp_connect (net/ipv4/udp.c:2153) [ 29.766131][ T373] __sys_connect (./include/linux/file.h:62 ./include/linux/file.h:83 net/socket.c:2095) [ 29.766277][ T373] ? __sys_connect_file (net/socket.c:2093) [ 29.766428][ T373] ? __sys_setsockopt (./include/linux/file.h:62 ./include/linux/file.h:83 net/socket.c:2361) [ 29.766573][ T373] __x64_sys_connect (net/socket.c:2108) [ 29.766721][ T373] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4472) [ 29.766866][ T373] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 29.767010][ T373] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 29.767187][ T373] RIP: 0033:0x7f7a73938d77 [ 29.767342][ T373] Code: 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 2a 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 18 89 54 24 0c 48 89 34 24 89 All code ======== 0: 64 89 01 mov %eax,%fs:(%rcx) 3: 48 83 c8 ff or $0xffffffffffffffff,%rax 7: c3 ret 8: 66 2e 0f 1f 84 00 00 cs nopw 0x0(%rax,%rax,1) f: 00 00 00 12: 90 nop 13: f3 0f 1e fa endbr64 17: 64 8b 04 25 18 00 00 mov %fs:0x18,%eax 1e: 00 1f: 85 c0 test %eax,%eax 21: 75 10 jne 0x33 23: b8 2a 00 00 00 mov $0x2a,%eax 28: 0f 05 syscall 2a:* 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax <-- trapping instruction 30: 77 51 ja 0x83 32: c3 ret 33: 48 83 ec 18 sub $0x18,%rsp 37: 89 54 24 0c mov %edx,0xc(%rsp) 3b: 48 89 34 24 mov %rsi,(%rsp) 3f: 89 .byte 0x89 Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 77 51 ja 0x59 8: c3 ret 9: 48 83 ec 18 sub $0x18,%rsp d: 89 54 24 0c mov %edx,0xc(%rsp) 11: 48 89 34 24 mov %rsi,(%rsp) 15: 89 .byte 0x89 [ 29.767863][ T373] RSP: 002b:00007ffde38fa968 EFLAGS: 00000246 ORIG_RAX: 000000000000002a [ 29.768085][ T373] RAX: ffffffffffffffda RBX: 00007ffde38fc94f RCX: 00007f7a73938d77 [ 29.768303][ T373] RDX: 0000000000000010 RSI: 00007ffde38fa9d0 RDI: 0000000000000007 [ 29.768528][ T373] RBP: 00007ffde38fb020 R08: 00000000206f2710 R09: 0000000000000000 [ 29.768751][ T373] R10: 00007f7a738305a0 R11: 0000000000000246 R12: 00007ffde38fb378 Finger prints: __mkroute_output:ip_route_output_key_hash:__ip4_datagram_connect:udp_connect:__sys_connect