====================================== | [ 1.871047] #PF: supervisor write access in kernel mode | [ 1.871090] #PF: error_code(0x0002) - not-present page | [ 1.871132] PGD 4b03067 P4D 4b03067 PUD 4af4067 PMD 0 | [ 1.871174] Oops: Oops: 0002 [#1] SMP [ 1.871280] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 1.871331] RIP: 0010:work_grab_pending (./arch/x86/include/asm/bitops.h:136 ./include/asm-generic/bitops/instrumented-atomic.h:72 kernel/workqueue.c:2072 kernel/workqueue.c:2160) [ 1.871380] Code: 83 e6 01 41 57 41 56 4c 8d 77 20 41 55 41 54 41 89 f4 55 48 89 d5 53 48 89 fb 9c 58 fa 48 89 45 00 45 85 e4 0f 85 8a 00 00 00 48 0f ba 2b 00 41 0f 92 c5 72 0e 5b 44 89 e8 5d 41 5c 41 5d 41 All code ======== 0: 83 e6 01 and $0x1,%esi 3: 41 57 push %r15 5: 41 56 push %r14 7: 4c 8d 77 20 lea 0x20(%rdi),%r14 b: 41 55 push %r13 d: 41 54 push %r12 f: 41 89 f4 mov %esi,%r12d 12: 55 push %rbp 13: 48 89 d5 mov %rdx,%rbp 16: 53 push %rbx 17: 48 89 fb mov %rdi,%rbx 1a: 9c pushf 1b: 58 pop %rax 1c: fa cli 1d: 48 89 45 00 mov %rax,0x0(%rbp) 21: 45 85 e4 test %r12d,%r12d 24: 0f 85 8a 00 00 00 jne 0xb4 2a:* f0 48 0f ba 2b 00 lock btsq $0x0,(%rbx) <-- trapping instruction 30: 41 0f 92 c5 setb %r13b 34: 72 0e jb 0x44 36: 5b pop %rbx 37: 44 89 e8 mov %r13d,%eax 3a: 5d pop %rbp 3b: 41 5c pop %r12 3d: 41 5d pop %r13 3f: 41 rex.B Code starting with the faulting instruction =========================================== 0: f0 48 0f ba 2b 00 lock btsq $0x0,(%rbx) 6: 41 0f 92 c5 setb %r13b a: 72 0e jb 0x1a c: 5b pop %rbx d: 44 89 e8 mov %r13d,%eax 10: 5d pop %rbp 11: 41 5c pop %r12 13: 41 5d pop %r13 15: 41 rex.B [ 1.871520] RSP: 0018:ffffaecb405bf748 EFLAGS: 00010046 [ 1.871563] RAX: 0000000000000246 RBX: 0000000000000000 RCX: 0000000000000001 [ 1.871620] RDX: ffffaecb405bf780 RSI: 0000000000000000 RDI: 0000000000000000 [ 1.871679] RBP: ffffaecb405bf780 R08: ffffffffb315ba28 R09: 00000000ffffdfff [ 1.871738] R10: ffffffffb307ba40 R11: ffffffffb312ba40 R12: 0000000000000000 [ 1.871797] R13: ffffaecb405bf878 R14: 0000000000000020 R15: 00000000ffffffff [ 1.871860] FS: 00007efeda786b80(0000) GS:ffff9809cb491000(0000) knlGS:0000000000000000 [ 1.871919] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1.871968] CR2: 0000000000000000 CR3: 0000000004af1003 CR4: 0000000000772ef0 [ 1.872026] PKRU: 55555554 [ 1.872049] Call Trace: [ 1.872070] [ 1.872094] __cancel_work (kernel/workqueue.c:4366) [ 1.872131] __cancel_work_sync (kernel/workqueue.c:4381) [ 1.872163] __dev_close_many (net/core/dev.c:1879 (discriminator 2) net/core/dev.c:1932 (discriminator 2)) [ 1.872203] netif_close_many (net/core/dev.c:1959) [ 1.872240] unregister_netdevice_many_notify (net/core/dev.c:12545) [ 1.872282] rtnl_dellink (net/core/rtnetlink.c:157 ./include/linux/rtnetlink.h:135 net/core/rtnetlink.c:3578) [ 1.872321] ? get_page_from_freelist (mm/page_alloc.c:1226 mm/page_alloc.c:1848 mm/page_alloc.c:1858 mm/page_alloc.c:3884) [ 1.872367] ? rtnl_bridge_getlink (net/core/rtnetlink.c:3536) [ 1.872411] rtnetlink_rcv_msg (net/core/rtnetlink.c:6959) [ 1.872445] ? rtnl_calcit.isra.0 (net/core/rtnetlink.c:6861) [ 1.872485] netlink_rcv_skb (net/netlink/af_netlink.c:2550) [ 1.872525] netlink_unicast (net/netlink/af_netlink.c:1319 net/netlink/af_netlink.c:1344) [ 1.872555] ? __alloc_skb (net/core/skbuff.c:706) [ 1.872596] netlink_sendmsg (net/netlink/af_netlink.c:1894) [ 1.872628] __sys_sendto (net/socket.c:727 net/socket.c:742 net/socket.c:2244) [ 1.872663] ? alloc_file_pseudo (./include/linux/fs.h:3233 fs/file_table.c:393) [ 1.872699] ? sock_alloc_file (./include/linux/fs.h:3233 net/socket.c:499) [ 1.872730] ? __sys_socket (net/socket.c:516 net/socket.c:1756) [ 1.872761] __x64_sys_sendto (net/socket.c:2251 net/socket.c:2247 net/socket.c:2247) [ 1.872792] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 1.872829] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 1.872870] RIP: 0033:0x7efeda899120 [ 1.872901] Code: ff ff 64 89 02 eb bd 0f 1f 00 f3 0f 1e fa 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 1d 45 31 c9 45 31 c0 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 68 c3 0f 1f 80 00 00 00 00 41 54 48 83 ec 20 All code ======== 0: ff (bad) 1: ff 64 89 02 jmp *0x2(%rcx,%rcx,4) 5: eb bd jmp 0xffffffffffffffc4 7: 0f 1f 00 nopl (%rax) a: f3 0f 1e fa endbr64 e: 41 89 ca mov %ecx,%r10d 11: 64 8b 04 25 18 00 00 mov %fs:0x18,%eax 18: 00 19: 85 c0 test %eax,%eax 1b: 75 1d jne 0x3a 1d: 45 31 c9 xor %r9d,%r9d 20: 45 31 c0 xor %r8d,%r8d 23: b8 2c 00 00 00 mov $0x2c,%eax 28: 0f 05 syscall 2a:* 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax <-- trapping instruction 30: 77 68 ja 0x9a 32: c3 ret 33: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 3a: 41 54 push %r12 3c: 48 83 ec 20 sub $0x20,%rsp Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 77 68 ja 0x70 8: c3 ret 9: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 10: 41 54 push %r12 12: 48 83 ec 20 sub $0x20,%rsp [ 1.873023] RSP: 002b:00007fff39466ad8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 1.873080] RAX: ffffffffffffffda RBX: 0000000000000030 RCX: 00007efeda899120 [ 1.873137] RDX: 0000000000000030 RSI: 00007fff39466ae0 RDI: 0000000000000005 [ 1.873193] RBP: 00000000004047d0 R08: 0000000000000000 R09: 0000000000000000 [ 1.873250] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000005 Finger prints: work_grab_pending:__cancel_work:__cancel_work_sync:__dev_close_many:netif_close_many