====================================== | | WAIT TIMEOUT stdout | [ 1904.222400][T17084] Oops: general protection fault, probably for non-canonical address 0xdffffc000000000b: 0000 [#1] SMP KASAN | [ 1904.222785][T17084] KASAN: null-ptr-deref in range [0x0000000000000058-0x000000000000005f] [ 1904.223293][T17084] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [1904.223485][T17084] RIP: 0010:__mkroute_output (net/ipv4/route.c:2663) [ 1904.223648][T17084] 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 ... [ 1904.224202][T17084] RSP: 0018:ffffc900022c7bf0 EFLAGS: 00010202 [ 1904.224405][T17084] RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff8dc0debf [ 1904.224635][T17084] RDX: 000000000000000b RSI: 0000000000000004 RDI: 0000000000000058 [ 1904.224870][T17084] RBP: ffff888012841e08 R08: 0000000000000000 R09: fffffbfff224c967 [ 1904.225097][T17084] R10: ffffffff91264b3f R11: ffff8880087895e0 R12: ffffc900022c7c90 [ 1904.225324][T17084] R13: ffff888009cf8800 R14: 0000000090000000 R15: ffff88800c102ac0 [ 1904.225575][T17084] FS: 00007f8245aa8300(0000) GS:ffff8880a6197000(0000) knlGS:0000000000000000 [ 1904.225843][T17084] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1904.226035][T17084] CR2: 0000000000404000 CR3: 000000000fde4005 CR4: 0000000000772ef0 [ 1904.226276][T17084] PKRU: 55555554 [ 1904.226395][T17084] Call Trace: [ 1904.226513][T17084] [1904.226596][T17084] ip_route_output_key_hash (net/ipv4/route.c:2701) [1904.226755][T17084] ? ip_route_output_key_hash_rcu (net/ipv4/route.c:2688) [1904.226944][T17084] __ip4_datagram_connect (./include/net/route.h:169 ./include/net/route.h:348 net/ipv4/datagram.c:49) [1904.227096][T17084] ? inet_autobind (net/ipv4/af_inet.c:570) [1904.227246][T17084] udp_connect (net/ipv4/udp.c:2153) [1904.227372][T17084] __sys_connect (./include/linux/file.h:62 ./include/linux/file.h:83 net/socket.c:2095) [1904.227522][T17084] ? __sys_connect_file (net/socket.c:2093) [1904.227682][T17084] ? __sys_setsockopt (./include/linux/file.h:62 ./include/linux/file.h:83 net/socket.c:2361) [1904.227839][T17084] __x64_sys_connect (net/socket.c:2108) [1904.228000][T17084] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4472) [1904.228149][T17084] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [1904.228300][T17084] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 1904.228481][T17084] RIP: 0033:0x7f8245d3ed77 [ 1904.228634][T17084] 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 [ 1904.229174][T17084] RSP: 002b:00007ffcb4f34238 EFLAGS: 00000246 ORIG_RAX: 000000000000002a [ 1904.229406][T17084] RAX: ffffffffffffffda RBX: 00007ffcb4f3594f RCX: 00007f8245d3ed77 [ 1904.229626][T17084] RDX: 0000000000000010 RSI: 00007ffcb4f342a0 RDI: 0000000000000007 [ 1904.229864][T17084] RBP: 00007ffcb4f348f0 R08: 00000000379d7710 R09: 0000000000000000 [ 1904.230088][T17084] R10: 00007f8245c365a0 R11: 0000000000000246 R12: 00007ffcb4f34c48 Finger prints: __mkroute_output:ip_route_output_key_hash:__ip4_datagram_connect:udp_connect:__sys_connect