====================================== | | WAIT TIMEOUT stdout | [ 1951.344067][T19326] Oops: general protection fault, probably for non-canonical address 0xdffffc000000000b: 0000 [#1] SMP KASAN | [ 1951.344540][T19326] KASAN: null-ptr-deref in range [0x0000000000000058-0x000000000000005f] [ 1951.345179][T19326] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [1951.345418][T19326] RIP: 0010:__mkroute_output (net/ipv4/route.c:2663) [ 1951.345624][T19326] 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 ... [ 1951.346298][T19326] RSP: 0018:ffffc90002297bf0 EFLAGS: 00010202 [ 1951.346547][T19326] RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff94e0df2f [ 1951.346830][T19326] RDX: 000000000000000b RSI: 0000000000000004 RDI: 0000000000000058 [ 1951.347109][T19326] RBP: ffff888005561608 R08: 0000000000000000 R09: fffffbfff308c967 [ 1951.347389][T19326] R10: ffffffff98464b3f R11: ffff888007dc15e0 R12: ffffc90002297c90 [ 1951.347674][T19326] R13: ffff88800237fa00 R14: 0000000090000000 R15: ffff888014b23540 [ 1951.347954][T19326] FS: 00007f6de508a300(0000) GS:ffff88809ee17000(0000) knlGS:0000000000000000 [ 1951.348280][T19326] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1951.348517][T19326] CR2: 0000000000404000 CR3: 00000000057c2002 CR4: 0000000000772ef0 [ 1951.348797][T19326] PKRU: 55555554 [ 1951.348944][T19326] Call Trace: [ 1951.349085][T19326] [1951.349184][T19326] ip_route_output_key_hash (net/ipv4/route.c:2701) [1951.349374][T19326] ? ip_route_output_key_hash_rcu (net/ipv4/route.c:2688) [1951.349613][T19326] __ip4_datagram_connect (./include/net/route.h:169 ./include/net/route.h:348 net/ipv4/datagram.c:49) [1951.349804][T19326] ? inet_autobind (net/ipv4/af_inet.c:570) [1951.349990][T19326] udp_connect (net/ipv4/udp.c:2153) [1951.350131][T19326] __sys_connect (./include/linux/file.h:62 ./include/linux/file.h:83 net/socket.c:2095) [1951.350323][T19326] ? __sys_connect_file (net/socket.c:2093) [1951.350514][T19326] ? __sys_setsockopt (./include/linux/file.h:62 ./include/linux/file.h:83 net/socket.c:2361) [1951.350703][T19326] __x64_sys_connect (net/socket.c:2108) [1951.350889][T19326] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4472) [1951.351074][T19326] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [1951.351261][T19326] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 1951.351492][T19326] RIP: 0033:0x7f6de5320d77 [ 1951.351687][T19326] 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 [ 1951.352351][T19326] RSP: 002b:00007ffebd6d1098 EFLAGS: 00000246 ORIG_RAX: 000000000000002a [ 1951.352635][T19326] RAX: ffffffffffffffda RBX: 00007ffebd6d394f RCX: 00007f6de5320d77 [ 1951.352941][T19326] RDX: 0000000000000010 RSI: 00007ffebd6d1100 RDI: 0000000000000007 [ 1951.353223][T19326] RBP: 00007ffebd6d1750 R08: 0000000029ddf710 R09: 0000000000000000 [ 1951.353501][T19326] R10: 00007f6de52185a0 R11: 0000000000000246 R12: 00007ffebd6d1aa8 Finger prints: __mkroute_output:ip_route_output_key_hash:__ip4_datagram_connect:udp_connect:__sys_connect