====================================== | [ 1776.464960] #PF: supervisor read access in kernel mode | [ 1776.464996] #PF: error_code(0x0000) - not-present page | [ 1776.465034] PGD 21bc067 P4D 21bc067 PUD 8ad0067 PMD 0 | [ 1776.465073] Oops: Oops: 0000 [#1] PREEMPT SMP NOPTI [ 1776.465163] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 1776.465208] RIP: 0010:rtm_new_nexthop (./arch/x86/include/asm/atomic.h:23 ./include/linux/atomic/atomic-arch-fallback.h:457 ./include/linux/atomic/atomic-instrumented.h:33 ./include/linux/refcount.h:136 ./include/linux/refcount.h:142 ./include/linux/refcount.h:218 ./include/linux/refcount.h:236 ./include/net/nexthop.h:264 net/ipv4/nexthop.c:2721 net/ipv4/nexthop.c:2937 net/ipv4/nexthop.c:3254) [ 1776.465261] Code: 80 02 00 00 48 85 db 75 0e eb 1f 48 83 c3 10 48 8b 1b 48 85 db 74 13 3b 43 60 72 ef 76 0c 48 83 c3 08 48 8b 1b 48 85 db 75 ed <8b> 53 68 4c 8d 63 68 85 d2 0f 84 f1 02 00 00 8d 4a 01 89 d0 f0 41 All code ======== 0: 80 02 00 addb $0x0,(%rdx) 3: 00 48 85 add %cl,-0x7b(%rax) 6: db 75 0e (bad) 0xe(%rbp) 9: eb 1f jmp 0x2a b: 48 83 c3 10 add $0x10,%rbx f: 48 8b 1b mov (%rbx),%rbx 12: 48 85 db test %rbx,%rbx 15: 74 13 je 0x2a 17: 3b 43 60 cmp 0x60(%rbx),%eax 1a: 72 ef jb 0xb 1c: 76 0c jbe 0x2a 1e: 48 83 c3 08 add $0x8,%rbx 22: 48 8b 1b mov (%rbx),%rbx 25: 48 85 db test %rbx,%rbx 28: 75 ed jne 0x17 2a:* 8b 53 68 mov 0x68(%rbx),%edx <-- trapping instruction 2d: 4c 8d 63 68 lea 0x68(%rbx),%r12 31: 85 d2 test %edx,%edx 33: 0f 84 f1 02 00 00 je 0x32a 39: 8d 4a 01 lea 0x1(%rdx),%ecx 3c: 89 d0 mov %edx,%eax 3e: f0 lock 3f: 41 rex.B Code starting with the faulting instruction =========================================== 0: 8b 53 68 mov 0x68(%rbx),%edx 3: 4c 8d 63 68 lea 0x68(%rbx),%r12 7: 85 d2 test %edx,%edx 9: 0f 84 f1 02 00 00 je 0x300 f: 8d 4a 01 lea 0x1(%rdx),%ecx 12: 89 d0 mov %edx,%eax 14: f0 lock 15: 41 rex.B [ 1776.465372] RSP: 0018:ffffacdb8aeaf860 EFLAGS: 00010246 [ 1776.465409] RAX: 0000000000000191 RBX: 0000000000000000 RCX: 0000000000000000 [ 1776.465461] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff9a48447158c0 [ 1776.465514] RBP: ffffacdb8aeafab0 R08: ffff9a4847b31928 R09: ffff9a484364d000 [ 1776.465560] R10: 0000000000000000 R11: ffff9a484364d048 R12: ffffacdb8aeafb60 [ 1776.465624] R13: ffff9a4847b31928 R14: 0000000000000001 R15: ffff9a484364d048 [ 1776.465679] FS: 00007f2cd21c5800(0000) GS:ffff9a487ed00000(0000) knlGS:0000000000000000 [ 1776.465746] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1776.465802] CR2: 0000000000000068 CR3: 000000003cbe6006 CR4: 0000000000772ef0 [ 1776.465849] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 1776.465901] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 1776.465947] PKRU: 55555554 [ 1776.465962] Call Trace: [ 1776.465979] [ 1776.466002] ? __die (arch/x86/kernel/dumpstack.c:421 arch/x86/kernel/dumpstack.c:434) [ 1776.466034] ? page_fault_oops (arch/x86/mm/fault.c:714) [ 1776.466063] ? mas_topiary_replace (lib/maple_tree.c:2628) [ 1776.466100] ? rtm_new_nexthop (net/ipv4/nexthop.c:553 net/ipv4/nexthop.c:2708 net/ipv4/nexthop.c:2937 net/ipv4/nexthop.c:3254) [ 1776.466130] ? exc_page_fault (./arch/x86/include/asm/irqflags.h:37 ./arch/x86/include/asm/irqflags.h:92 arch/x86/mm/fault.c:1488 arch/x86/mm/fault.c:1538) [ 1776.466162] ? asm_exc_page_fault (./arch/x86/include/asm/idtentry.h:623) [ 1776.466192] ? rtm_new_nexthop (./arch/x86/include/asm/atomic.h:23 ./include/linux/atomic/atomic-arch-fallback.h:457 ./include/linux/atomic/atomic-instrumented.h:33 ./include/linux/refcount.h:136 ./include/linux/refcount.h:142 ./include/linux/refcount.h:218 ./include/linux/refcount.h:236 ./include/net/nexthop.h:264 net/ipv4/nexthop.c:2721 net/ipv4/nexthop.c:2937 net/ipv4/nexthop.c:3254) [ 1776.466236] ? virtqueue_add_sgs (./include/linux/slab.h:905 drivers/virtio/virtio_ring.c:492 drivers/virtio/virtio_ring.c:564 drivers/virtio/virtio_ring.c:2282 drivers/virtio/virtio_ring.c:2316) [ 1776.466279] ? virtqueue_notify (drivers/virtio/virtio_ring.c:2490) [ 1776.466307] ? virtio_fs_enqueue_req (fs/fuse/virtio_fs.c:1463) [ 1776.466345] ? __pfx_rtm_new_nexthop (net/ipv4/nexthop.c:3225) [ 1776.466382] ? rtnetlink_rcv_msg (net/core/rtnetlink.c:6954) [ 1776.466419] rtnetlink_rcv_msg (net/core/rtnetlink.c:6954) [ 1776.466449] ? __remove_hrtimer (kernel/time/hrtimer.c:1133) [ 1776.466478] ? hrtimer_try_to_cancel.part.0 (kernel/time/hrtimer.c:1385) [ 1776.466515] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6857) [ 1776.466552] netlink_rcv_skb (net/netlink/af_netlink.c:2534) [ 1776.466583] netlink_unicast (net/netlink/af_netlink.c:1313 net/netlink/af_netlink.c:1339) [ 1776.466611] netlink_sendmsg (net/netlink/af_netlink.c:1883) [ 1776.466641] ____sys_sendmsg (net/socket.c:709 net/socket.c:724 net/socket.c:2563) [ 1776.466670] ? copy_msghdr_from_user (net/socket.c:2503) [ 1776.466707] ___sys_sendmsg (net/socket.c:2619) [ 1776.466738] __sys_sendmsg (net/socket.c:2649) [ 1776.466766] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 1776.466795] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 1776.466832] RIP: 0033:0x7f2cd23d19a7 [ 1776.466861] Code: 0a 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b9 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 2e 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 89 54 24 1c 48 89 74 24 10 All code ======== 0: 0a 00 or (%rax),%al 2: f7 d8 neg %eax 4: 64 89 02 mov %eax,%fs:(%rdx) 7: 48 c7 c0 ff ff ff ff mov $0xffffffffffffffff,%rax e: eb b9 jmp 0xffffffffffffffc9 10: 0f 1f 00 nopl (%rax) 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 2e 00 00 00 mov $0x2e,%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 28 sub $0x28,%rsp 37: 89 54 24 1c mov %edx,0x1c(%rsp) 3b: 48 89 74 24 10 mov %rsi,0x10(%rsp) 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 28 sub $0x28,%rsp d: 89 54 24 1c mov %edx,0x1c(%rsp) 11: 48 89 74 24 10 mov %rsi,0x10(%rsp) [ 1776.466982] RSP: 002b:00007ffe09c053a8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 1776.467034] RAX: ffffffffffffffda RBX: 00007ffe09c05f00 RCX: 00007f2cd23d19a7 [ 1776.467080] RDX: 0000000000000000 RSI: 00007ffe09c05410 RDI: 0000000000000005 [ 1776.467126] RBP: 00007ffe09c058d0 R08: 00000000327ac910 R09: 0000000000000000 [ 1776.467184] R10: 00007f2cd228a708 R11: 0000000000000246 R12: 00000000327ac918 Finger prints: rtm_new_nexthop:rtnetlink_rcv_msg:netlink_rcv_skb:netlink_unicast:netlink_sendmsg