====================================== | 0 | xx__-> [ 16.595432][ T254] netdevsim netdevsim1337 eni1337np1: renamed from eth0 | [ 16.741446][ T256] BUG: using smp_processor_id() in preemptible [00000000] code: devlink/256 | [ 16.742780][ T256] caller is nsim_queue_uninit (./include/linux/netdevice.h:3023 (discriminator 3) drivers/net/netdevsim/netdev.c:638 (discriminator 3) drivers/net/netdevsim/netdev.c:917 (discriminator 3)) netdevsim [ 16.743308][ T256] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.743310][ T256] Call Trace: [ 16.743312][ T256] [ 16.743315][ T256] dump_stack_lvl (lib/dump_stack.c:123) [ 16.743324][ T256] check_preemption_disabled (lib/smp_processor_id.c:52) [ 16.743333][ T256] nsim_queue_uninit (./include/linux/netdevice.h:3023 (discriminator 3) drivers/net/netdevsim/netdev.c:638 (discriminator 3) drivers/net/netdevsim/netdev.c:917 (discriminator 3)) netdevsim [ 16.743352][ T256] ? nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 16.743370][ T256] nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 16.743389][ T256] __nsim_dev_port_del (drivers/net/netdevsim/dev.c:426 drivers/net/netdevsim/dev.c:1429) netdevsim [ 16.743406][ T256] nsim_dev_reload_destroy (drivers/net/netdevsim/dev.c:1438 drivers/net/netdevsim/dev.c:1661) netdevsim [ 16.743425][ T256] nsim_dev_reload_down (drivers/net/netdevsim/dev.c:969) netdevsim [ 16.743440][ T256] devlink_reload (net/devlink/dev.c:462) [ 16.743451][ T256] ? __pfx_devlink_reload (net/devlink/dev.c:446) [ 16.743460][ T256] ? cap_capable (security/commoncap.c:132) [ 16.743464][ T256] ? fdget (./include/linux/atomic/atomic-arch-fallback.h:479 ./include/linux/atomic/atomic-instrumented.h:50 fs/file.c:1152 fs/file.c:1166) [ 16.743475][ T256] devlink_nl_reload_doit (net/devlink/dev.c:584) [ 16.743483][ T256] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 16.743490][ T256] ? __nla_parse (lib/nlattr.c:732) [ 16.743503][ T256] genl_family_rcv_msg_doit (net/netlink/genetlink.c:1117) [ 16.743513][ T256] ? __pfx_genl_family_rcv_msg_doit (net/netlink/genetlink.c:1088) [ 16.743529][ T256] ? cap_capable (security/commoncap.c:132) [ 16.743532][ T256] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83) [ 16.743544][ T256] genl_family_rcv_msg (net/netlink/genetlink.c:1195) [ 16.743551][ T256] ? __pfx_genl_family_rcv_msg (net/netlink/genetlink.c:1160) [ 16.743556][ T256] ? __pfx_devlink_nl_pre_doit_dev_lock (net/devlink/netlink.c:257) [ 16.743559][ T256] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 16.743562][ T256] ? __pfx_devlink_nl_post_doit_dev_lock (net/devlink/netlink.c:288) [ 16.743577][ T256] genl_rcv_msg (net/netlink/genetlink.c:65 net/netlink/genetlink.c:1211) [ 16.743584][ T256] netlink_rcv_skb (net/netlink/af_netlink.c:2534) [ 16.743587][ T256] ? __pfx_genl_rcv_msg (net/netlink/genetlink.c:1201) [ 16.743594][ T256] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2511) [ 16.743612][ T256] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 16.743621][ T256] genl_rcv (net/netlink/genetlink.c:1220) [ 16.743624][ T256] netlink_unicast (net/netlink/af_netlink.c:1314 net/netlink/af_netlink.c:1339) [ 16.743632][ T256] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1324) [ 16.743637][ T256] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 16.743649][ T256] netlink_sendmsg (net/netlink/af_netlink.c:1883) [ 16.743658][ T256] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1802) [ 16.743672][ T256] ? __might_fault (mm/memory.c:6991 mm/memory.c:6985) [ 16.743685][ T256] __sys_sendto (net/socket.c:712 net/socket.c:727 net/socket.c:2180) [ 16.743693][ T256] ? __pfx___sys_sendto (net/socket.c:2147) [ 16.743709][ T256] ? rseq_update_cpu_node_id (kernel/rseq.c:189 (discriminator 10)) [ 16.743717][ T256] ? __rseq_handle_notify_resume (kernel/rseq.c:442) [ 16.743719][ T256] ? rseq_update_cpu_node_id (kernel/rseq.c:189 (discriminator 10)) [ 16.743725][ T256] ? __pfx___rseq_handle_notify_resume (kernel/rseq.c:425) [ 16.743733][ T256] ? __pfx___x64_sys_openat (fs/open.c:1463) [ 16.743743][ T256] __x64_sys_sendto (net/socket.c:2183) [ 16.743747][ T256] ? do_syscall_64 (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 ./include/linux/entry-common.h:199 arch/x86/entry/syscall_64.c:90) [ 16.743753][ T256] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4475) [ 16.743757][ T256] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 16.743763][ T256] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 16.743767][ T256] RIP: 0033:0x7f060e15da4a [ 16.743773][ T256] Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb b8 0f 1f 00 f3 0f 1e fa 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 15 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 7e c3 0f 1f 44 00 00 41 54 48 83 ec 30 44 89 All code ======== 0: d8 64 89 02 fsubs 0x2(%rcx,%rcx,4) 4: 48 c7 c0 ff ff ff ff mov $0xffffffffffffffff,%rax b: eb b8 jmp 0xffffffffffffffc5 d: 0f 1f 00 nopl (%rax) 10: f3 0f 1e fa endbr64 14: 41 89 ca mov %ecx,%r10d 17: 64 8b 04 25 18 00 00 mov %fs:0x18,%eax 1e: 00 1f: 85 c0 test %eax,%eax 21: 75 15 jne 0x38 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 7e ja 0xb0 32: c3 ret 33: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 38: 41 54 push %r12 3a: 48 83 ec 30 sub $0x30,%rsp 3e: 44 rex.R 3f: 89 .byte 0x89 Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 77 7e ja 0x86 8: c3 ret 9: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) e: 41 54 push %r12 10: 48 83 ec 30 sub $0x30,%rsp 14: 44 rex.R 15: 89 .byte 0x89 [ 16.743775][ T256] RSP: 002b:00007ffe020012c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 16.743779][ T256] RAX: ffffffffffffffda RBX: 00000000318b1b00 RCX: 00007f060e15da4a [ 16.743782][ T256] RDX: 0000000000000040 RSI: 00000000318b1b00 RDI: 0000000000000005 [ 16.743783][ T256] RBP: 00000000318b1910 R08: 00007f060e304200 R09: 000000000000000c [ 16.743785][ T256] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000040f200 [ 16.743787][ T256] R13: 00000000318b1910 R14: 0000000000000000 R15: 0000000000000001 | [ 16.743787][ T256] R13: 00000000318b1910 R14: 0000000000000000 R15: 0000000000000001 | [ 16.743803][ T256] | [ 18.242369][ T284] BUG: using smp_processor_id() in preemptible [00000000] code: devlink/284 | [ 18.243784][ T284] caller is nsim_queue_uninit (./include/linux/netdevice.h:3023 (discriminator 3) drivers/net/netdevsim/netdev.c:638 (discriminator 3) drivers/net/netdevsim/netdev.c:917 (discriminator 3)) netdevsim [ 18.244296][ T284] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 18.244299][ T284] Call Trace: [ 18.244301][ T284] [ 18.244304][ T284] dump_stack_lvl (lib/dump_stack.c:123) [ 18.244316][ T284] check_preemption_disabled (lib/smp_processor_id.c:52) [ 18.244326][ T284] nsim_queue_uninit (./include/linux/netdevice.h:3023 (discriminator 3) drivers/net/netdevsim/netdev.c:638 (discriminator 3) drivers/net/netdevsim/netdev.c:917 (discriminator 3)) netdevsim [ 18.244345][ T284] ? nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 18.244363][ T284] nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 18.244382][ T284] __nsim_dev_port_del (drivers/net/netdevsim/dev.c:426 drivers/net/netdevsim/dev.c:1429) netdevsim [ 18.244399][ T284] nsim_dev_reload_destroy (drivers/net/netdevsim/dev.c:1438 drivers/net/netdevsim/dev.c:1661) netdevsim [ 18.244418][ T284] nsim_dev_reload_down (drivers/net/netdevsim/dev.c:969) netdevsim [ 18.244433][ T284] devlink_reload (net/devlink/dev.c:462) [ 18.244447][ T284] ? __pfx_devlink_reload (net/devlink/dev.c:446) [ 18.244454][ T284] ? devlink_resources_validate (net/devlink/resource.c:311) [ 18.244468][ T284] devlink_nl_reload_doit (net/devlink/dev.c:584) [ 18.244476][ T284] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 18.244483][ T284] ? __nla_parse (lib/nlattr.c:732) [ 18.244497][ T284] genl_family_rcv_msg_doit (net/netlink/genetlink.c:1117) [ 18.244505][ T284] ? __pfx_genl_family_rcv_msg_doit (net/netlink/genetlink.c:1088) [ 18.244523][ T284] ? cap_capable (security/commoncap.c:132) [ 18.244528][ T284] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83) [ 18.244541][ T284] genl_family_rcv_msg (net/netlink/genetlink.c:1195) [ 18.244547][ T284] ? __pfx_genl_family_rcv_msg (net/netlink/genetlink.c:1160) [ 18.244552][ T284] ? __pfx_devlink_nl_pre_doit_dev_lock (net/devlink/netlink.c:257) [ 18.244555][ T284] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 18.244559][ T284] ? __pfx_devlink_nl_post_doit_dev_lock (net/devlink/netlink.c:288) [ 18.244574][ T284] genl_rcv_msg (net/netlink/genetlink.c:65 net/netlink/genetlink.c:1211) [ 18.244580][ T284] netlink_rcv_skb (net/netlink/af_netlink.c:2534) [ 18.244584][ T284] ? __pfx_genl_rcv_msg (net/netlink/genetlink.c:1201) [ 18.244590][ T284] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2511) [ 18.244609][ T284] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 18.244619][ T284] genl_rcv (net/netlink/genetlink.c:1220) [ 18.244622][ T284] netlink_unicast (net/netlink/af_netlink.c:1314 net/netlink/af_netlink.c:1339) [ 18.244631][ T284] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1324) [ 18.244636][ T284] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 18.244649][ T284] netlink_sendmsg (net/netlink/af_netlink.c:1883) [ 18.244658][ T284] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1802) [ 18.244667][ T284] ? __might_fault (mm/memory.c:6991 mm/memory.c:6985) [ 18.244679][ T284] __sys_sendto (net/socket.c:712 net/socket.c:727 net/socket.c:2180) [ 18.244690][ T284] ? __pfx___sys_sendto (net/socket.c:2147) [ 18.244709][ T284] ? __sys_recvmsg (net/socket.c:2861) [ 18.244713][ T284] ? __pfx___sys_recvmsg (net/socket.c:2846) [ 18.244715][ T284] ? do_user_addr_fault (./include/linux/mmap_lock.h:440 arch/x86/mm/fault.c:1415) [ 18.244731][ T284] ? do_user_addr_fault (./include/linux/mmap_lock.h:440 arch/x86/mm/fault.c:1415) [ 18.244738][ T284] __x64_sys_sendto (net/socket.c:2183) [ 18.244742][ T284] ? do_syscall_64 (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 ./include/linux/entry-common.h:199 arch/x86/entry/syscall_64.c:90) [ 18.244748][ T284] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4475) [ 18.244753][ T284] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 18.244760][ T284] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 18.244764][ T284] RIP: 0033:0x7f7a7aab1a4a [ 18.244769][ T284] Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb b8 0f 1f 00 f3 0f 1e fa 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 15 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 7e c3 0f 1f 44 00 00 41 54 48 83 ec 30 44 89 All code ======== 0: d8 64 89 02 fsubs 0x2(%rcx,%rcx,4) 4: 48 c7 c0 ff ff ff ff mov $0xffffffffffffffff,%rax b: eb b8 jmp 0xffffffffffffffc5 d: 0f 1f 00 nopl (%rax) 10: f3 0f 1e fa endbr64 14: 41 89 ca mov %ecx,%r10d 17: 64 8b 04 25 18 00 00 mov %fs:0x18,%eax 1e: 00 1f: 85 c0 test %eax,%eax 21: 75 15 jne 0x38 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 7e ja 0xb0 32: c3 ret 33: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 38: 41 54 push %r12 3a: 48 83 ec 30 sub $0x30,%rsp 3e: 44 rex.R 3f: 89 .byte 0x89 Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 77 7e ja 0x86 8: c3 ret 9: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) e: 41 54 push %r12 10: 48 83 ec 30 sub $0x30,%rsp 14: 44 rex.R 15: 89 .byte 0x89 [ 18.244772][ T284] RSP: 002b:00007ffcba056ab8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 18.244777][ T284] RAX: ffffffffffffffda RBX: 000000002c42bb00 RCX: 00007f7a7aab1a4a [ 18.244779][ T284] RDX: 0000000000000038 RSI: 000000002c42bb00 RDI: 0000000000000005 [ 18.244782][ T284] RBP: 000000002c42b910 R08: 00007f7a7ac58200 R09: 000000000000000c [ 18.244783][ T284] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000040f200 [ 18.244785][ T284] R13: 000000002c42b910 R14: 0000000000000000 R15: 0000000000000003 | [ 18.244785][ T284] R13: 000000002c42b910 R14: 0000000000000000 R15: 0000000000000003 | [ 18.244802][ T284] | [ 19.500109][ T294] BUG: using smp_processor_id() in preemptible [00000000] code: devlink/294 | [ 19.500979][ T294] caller is nsim_queue_uninit (./include/linux/netdevice.h:3023 (discriminator 3) drivers/net/netdevsim/netdev.c:638 (discriminator 3) drivers/net/netdevsim/netdev.c:917 (discriminator 3)) netdevsim [ 19.501575][ T294] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 19.501578][ T294] Call Trace: [ 19.501583][ T294] [ 19.501586][ T294] dump_stack_lvl (lib/dump_stack.c:123) [ 19.501603][ T294] check_preemption_disabled (lib/smp_processor_id.c:52) [ 19.501617][ T294] nsim_queue_uninit (./include/linux/netdevice.h:3023 (discriminator 3) drivers/net/netdevsim/netdev.c:638 (discriminator 3) drivers/net/netdevsim/netdev.c:917 (discriminator 3)) netdevsim [ 19.501637][ T294] ? nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 19.501656][ T294] nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 19.501675][ T294] __nsim_dev_port_del (drivers/net/netdevsim/dev.c:426 drivers/net/netdevsim/dev.c:1429) netdevsim [ 19.501693][ T294] nsim_dev_reload_destroy (drivers/net/netdevsim/dev.c:1438 drivers/net/netdevsim/dev.c:1661) netdevsim [ 19.501711][ T294] nsim_dev_reload_down (drivers/net/netdevsim/dev.c:969) netdevsim [ 19.501727][ T294] devlink_reload (net/devlink/dev.c:462) [ 19.501742][ T294] ? __pfx_devlink_reload (net/devlink/dev.c:446) [ 19.501749][ T294] ? devlink_resources_validate (net/devlink/resource.c:311) [ 19.501767][ T294] devlink_nl_reload_doit (net/devlink/dev.c:584) [ 19.501775][ T294] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 19.501783][ T294] ? __nla_parse (lib/nlattr.c:732) [ 19.501799][ T294] genl_family_rcv_msg_doit (net/netlink/genetlink.c:1117) [ 19.501809][ T294] ? __pfx_genl_family_rcv_msg_doit (net/netlink/genetlink.c:1088) [ 19.501826][ T294] ? cap_capable (security/commoncap.c:132) [ 19.501834][ T294] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83) [ 19.501850][ T294] genl_family_rcv_msg (net/netlink/genetlink.c:1195) [ 19.501857][ T294] ? __pfx_genl_family_rcv_msg (net/netlink/genetlink.c:1160) [ 19.501861][ T294] ? __pfx_devlink_nl_pre_doit_dev_lock (net/devlink/netlink.c:257) [ 19.501865][ T294] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 19.501868][ T294] ? __pfx_devlink_nl_post_doit_dev_lock (net/devlink/netlink.c:288) [ 19.501883][ T294] genl_rcv_msg (net/netlink/genetlink.c:65 net/netlink/genetlink.c:1211) [ 19.501890][ T294] netlink_rcv_skb (net/netlink/af_netlink.c:2534) [ 19.501894][ T294] ? __pfx_genl_rcv_msg (net/netlink/genetlink.c:1201) [ 19.501901][ T294] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2511) [ 19.501920][ T294] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 19.501930][ T294] genl_rcv (net/netlink/genetlink.c:1220) [ 19.501934][ T294] netlink_unicast (net/netlink/af_netlink.c:1314 net/netlink/af_netlink.c:1339) [ 19.501942][ T294] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1324) [ 19.501948][ T294] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 19.501963][ T294] netlink_sendmsg (net/netlink/af_netlink.c:1883) [ 19.501972][ T294] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1802) [ 19.501981][ T294] ? __might_fault (mm/memory.c:6991 mm/memory.c:6985) [ 19.501996][ T294] __sys_sendto (net/socket.c:712 net/socket.c:727 net/socket.c:2180) [ 19.502009][ T294] ? __pfx___sys_sendto (net/socket.c:2147) [ 19.502029][ T294] ? __sys_recvmsg (net/socket.c:2861) [ 19.502034][ T294] ? __pfx___sys_recvmsg (net/socket.c:2846) [ 19.502036][ T294] ? do_user_addr_fault (./include/linux/mmap_lock.h:440 arch/x86/mm/fault.c:1415) [ 19.502053][ T294] ? do_user_addr_fault (./include/linux/mmap_lock.h:440 arch/x86/mm/fault.c:1415) [ 19.502060][ T294] __x64_sys_sendto (net/socket.c:2183) [ 19.502065][ T294] ? do_syscall_64 (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 ./include/linux/entry-common.h:199 arch/x86/entry/syscall_64.c:90) [ 19.502074][ T294] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4475) [ 19.502079][ T294] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 19.502085][ T294] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 19.502090][ T294] RIP: 0033:0x7f78f85cca4a [ 19.502099][ T294] Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb b8 0f 1f 00 f3 0f 1e fa 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 15 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 7e c3 0f 1f 44 00 00 41 54 48 83 ec 30 44 89 All code ======== 0: d8 64 89 02 fsubs 0x2(%rcx,%rcx,4) 4: 48 c7 c0 ff ff ff ff mov $0xffffffffffffffff,%rax b: eb b8 jmp 0xffffffffffffffc5 d: 0f 1f 00 nopl (%rax) 10: f3 0f 1e fa endbr64 14: 41 89 ca mov %ecx,%r10d 17: 64 8b 04 25 18 00 00 mov %fs:0x18,%eax 1e: 00 1f: 85 c0 test %eax,%eax 21: 75 15 jne 0x38 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 7e ja 0xb0 32: c3 ret 33: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 38: 41 54 push %r12 3a: 48 83 ec 30 sub $0x30,%rsp 3e: 44 rex.R 3f: 89 .byte 0x89 Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 77 7e ja 0x86 8: c3 ret 9: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) e: 41 54 push %r12 10: 48 83 ec 30 sub $0x30,%rsp 14: 44 rex.R 15: 89 .byte 0x89 [ 19.502102][ T294] RSP: 002b:00007ffc10a9c8e8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 19.502108][ T294] RAX: ffffffffffffffda RBX: 000000003bc38b00 RCX: 00007f78f85cca4a [ 19.502110][ T294] RDX: 0000000000000038 RSI: 000000003bc38b00 RDI: 0000000000000005 [ 19.502112][ T294] RBP: 000000003bc38910 R08: 00007f78f8773200 R09: 000000000000000c [ 19.502115][ T294] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000040f200 [ 19.502117][ T294] R13: 000000003bc38910 R14: 0000000000000000 R15: 0000000000000003 | [ 19.502117][ T294] R13: 000000003bc38910 R14: 0000000000000000 R15: 0000000000000003 | [ 19.502134][ T294] | [ 22.214088][ T339] BUG: using smp_processor_id() in preemptible [00000000] code: devlink/339 | [ 22.215002][ T339] caller is nsim_queue_uninit (./include/linux/netdevice.h:3023 (discriminator 3) drivers/net/netdevsim/netdev.c:638 (discriminator 3) drivers/net/netdevsim/netdev.c:917 (discriminator 3)) netdevsim [ 22.215906][ T339] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 22.215910][ T339] Call Trace: [ 22.215913][ T339] [ 22.215917][ T339] dump_stack_lvl (lib/dump_stack.c:123) [ 22.215935][ T339] check_preemption_disabled (lib/smp_processor_id.c:52) [ 22.215948][ T339] nsim_queue_uninit (./include/linux/netdevice.h:3023 (discriminator 3) drivers/net/netdevsim/netdev.c:638 (discriminator 3) drivers/net/netdevsim/netdev.c:917 (discriminator 3)) netdevsim [ 22.215969][ T339] ? nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 22.215987][ T339] nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 22.216006][ T339] __nsim_dev_port_del (drivers/net/netdevsim/dev.c:426 drivers/net/netdevsim/dev.c:1429) netdevsim [ 22.216023][ T339] nsim_dev_reload_destroy (drivers/net/netdevsim/dev.c:1438 drivers/net/netdevsim/dev.c:1661) netdevsim [ 22.216043][ T339] nsim_dev_reload_down (drivers/net/netdevsim/dev.c:969) netdevsim [ 22.216058][ T339] devlink_reload (net/devlink/dev.c:462) [ 22.216077][ T339] ? __pfx_devlink_reload (net/devlink/dev.c:446) [ 22.216088][ T339] ? devlink_resources_validate (net/devlink/resource.c:311) [ 22.216107][ T339] devlink_nl_reload_doit (net/devlink/dev.c:584) [ 22.216115][ T339] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 22.216123][ T339] ? __nla_parse (lib/nlattr.c:732) [ 22.216140][ T339] genl_family_rcv_msg_doit (net/netlink/genetlink.c:1117) [ 22.216151][ T339] ? __pfx_genl_family_rcv_msg_doit (net/netlink/genetlink.c:1088) [ 22.216168][ T339] ? cap_capable (security/commoncap.c:132) [ 22.216173][ T339] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83) [ 22.216190][ T339] genl_family_rcv_msg (net/netlink/genetlink.c:1195) [ 22.216196][ T339] ? __pfx_genl_family_rcv_msg (net/netlink/genetlink.c:1160) [ 22.216202][ T339] ? __pfx_devlink_nl_pre_doit_dev_lock (net/devlink/netlink.c:257) [ 22.216205][ T339] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 22.216209][ T339] ? __pfx_devlink_nl_post_doit_dev_lock (net/devlink/netlink.c:288) [ 22.216224][ T339] genl_rcv_msg (net/netlink/genetlink.c:65 net/netlink/genetlink.c:1211) [ 22.216232][ T339] netlink_rcv_skb (net/netlink/af_netlink.c:2534) [ 22.216236][ T339] ? __pfx_genl_rcv_msg (net/netlink/genetlink.c:1201) [ 22.216243][ T339] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2511) [ 22.216262][ T339] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 22.216273][ T339] genl_rcv (net/netlink/genetlink.c:1220) [ 22.216276][ T339] netlink_unicast (net/netlink/af_netlink.c:1314 net/netlink/af_netlink.c:1339) [ 22.216285][ T339] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1324) [ 22.216290][ T339] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 22.216304][ T339] netlink_sendmsg (net/netlink/af_netlink.c:1883) [ 22.216314][ T339] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1802) [ 22.216322][ T339] ? __might_fault (mm/memory.c:6991 mm/memory.c:6985) [ 22.216337][ T339] __sys_sendto (net/socket.c:712 net/socket.c:727 net/socket.c:2180) [ 22.216350][ T339] ? __pfx___sys_sendto (net/socket.c:2147) [ 22.216369][ T339] ? __sys_recvmsg (net/socket.c:2861) [ 22.216374][ T339] ? __pfx___sys_recvmsg (net/socket.c:2846) [ 22.216376][ T339] ? do_user_addr_fault (./include/linux/mmap_lock.h:440 arch/x86/mm/fault.c:1415) [ 22.216394][ T339] ? do_user_addr_fault (./include/linux/mmap_lock.h:440 arch/x86/mm/fault.c:1415) [ 22.216401][ T339] __x64_sys_sendto (net/socket.c:2183) [ 22.216405][ T339] ? do_syscall_64 (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 ./include/linux/entry-common.h:199 arch/x86/entry/syscall_64.c:90) [ 22.216414][ T339] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4475) [ 22.216418][ T339] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 22.216425][ T339] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 22.216431][ T339] RIP: 0033:0x7f619793ba4a [ 22.216440][ T339] Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb b8 0f 1f 00 f3 0f 1e fa 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 15 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 7e c3 0f 1f 44 00 00 41 54 48 83 ec 30 44 89 All code ======== 0: d8 64 89 02 fsubs 0x2(%rcx,%rcx,4) 4: 48 c7 c0 ff ff ff ff mov $0xffffffffffffffff,%rax b: eb b8 jmp 0xffffffffffffffc5 d: 0f 1f 00 nopl (%rax) 10: f3 0f 1e fa endbr64 14: 41 89 ca mov %ecx,%r10d 17: 64 8b 04 25 18 00 00 mov %fs:0x18,%eax 1e: 00 1f: 85 c0 test %eax,%eax 21: 75 15 jne 0x38 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 7e ja 0xb0 32: c3 ret 33: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 38: 41 54 push %r12 3a: 48 83 ec 30 sub $0x30,%rsp 3e: 44 rex.R 3f: 89 .byte 0x89 Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 77 7e ja 0x86 8: c3 ret 9: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) e: 41 54 push %r12 10: 48 83 ec 30 sub $0x30,%rsp 14: 44 rex.R 15: 89 .byte 0x89 [ 22.216444][ T339] RSP: 002b:00007fffa47bf558 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 22.216449][ T339] RAX: ffffffffffffffda RBX: 00000000387e6b00 RCX: 00007f619793ba4a [ 22.216451][ T339] RDX: 0000000000000038 RSI: 00000000387e6b00 RDI: 0000000000000005 [ 22.216454][ T339] RBP: 00000000387e6910 R08: 00007f6197ae2200 R09: 000000000000000c [ 22.216456][ T339] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000040f200 [ 22.216458][ T339] R13: 00000000387e6910 R14: 0000000000000000 R15: 0000000000000003 | [ 22.216458][ T339] R13: 00000000387e6910 R14: 0000000000000000 R15: 0000000000000003 | [ 22.216474][ T339] | [ 23.601565][ T350] BUG: using smp_processor_id() in preemptible [00000000] code: devlink/350 | [ 23.602313][ T350] caller is nsim_queue_uninit (./include/linux/netdevice.h:3023 (discriminator 3) drivers/net/netdevsim/netdev.c:638 (discriminator 3) drivers/net/netdevsim/netdev.c:917 (discriminator 3)) netdevsim [ 23.604275][ T350] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 23.604278][ T350] Call Trace: [ 23.604281][ T350] [ 23.604284][ T350] dump_stack_lvl (lib/dump_stack.c:123) [ 23.604300][ T350] check_preemption_disabled (lib/smp_processor_id.c:52) [ 23.604314][ T350] nsim_queue_uninit (./include/linux/netdevice.h:3023 (discriminator 3) drivers/net/netdevsim/netdev.c:638 (discriminator 3) drivers/net/netdevsim/netdev.c:917 (discriminator 3)) netdevsim [ 23.604336][ T350] ? nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 23.604354][ T350] nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 23.604373][ T350] __nsim_dev_port_del (drivers/net/netdevsim/dev.c:426 drivers/net/netdevsim/dev.c:1429) netdevsim [ 23.604390][ T350] nsim_dev_reload_destroy (drivers/net/netdevsim/dev.c:1438 drivers/net/netdevsim/dev.c:1661) netdevsim [ 23.604409][ T350] nsim_dev_reload_down (drivers/net/netdevsim/dev.c:969) netdevsim [ 23.604424][ T350] devlink_reload (net/devlink/dev.c:462) [ 23.604438][ T350] ? __pfx_devlink_reload (net/devlink/dev.c:446) [ 23.604445][ T350] ? devlink_resources_validate (net/devlink/resource.c:311) [ 23.604461][ T350] devlink_nl_reload_doit (net/devlink/dev.c:584) [ 23.604469][ T350] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 23.604476][ T350] ? __nla_parse (lib/nlattr.c:732) [ 23.604491][ T350] genl_family_rcv_msg_doit (net/netlink/genetlink.c:1117) [ 23.604499][ T350] ? __pfx_genl_family_rcv_msg_doit (net/netlink/genetlink.c:1088) [ 23.604518][ T350] ? cap_capable (security/commoncap.c:132) [ 23.604523][ T350] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83) [ 23.604538][ T350] genl_family_rcv_msg (net/netlink/genetlink.c:1195) [ 23.604544][ T350] ? __pfx_genl_family_rcv_msg (net/netlink/genetlink.c:1160) [ 23.604549][ T350] ? __pfx_devlink_nl_pre_doit_dev_lock (net/devlink/netlink.c:257) [ 23.604552][ T350] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 23.604556][ T350] ? __pfx_devlink_nl_post_doit_dev_lock (net/devlink/netlink.c:288) [ 23.604571][ T350] genl_rcv_msg (net/netlink/genetlink.c:65 net/netlink/genetlink.c:1211) [ 23.604577][ T350] netlink_rcv_skb (net/netlink/af_netlink.c:2534) [ 23.604582][ T350] ? __pfx_genl_rcv_msg (net/netlink/genetlink.c:1201) [ 23.604589][ T350] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2511) [ 23.604607][ T350] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 23.604617][ T350] genl_rcv (net/netlink/genetlink.c:1220) [ 23.604621][ T350] netlink_unicast (net/netlink/af_netlink.c:1314 net/netlink/af_netlink.c:1339) [ 23.604629][ T350] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1324) [ 23.604634][ T350] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 23.604648][ T350] netlink_sendmsg (net/netlink/af_netlink.c:1883) [ 23.604657][ T350] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1802) [ 23.604665][ T350] ? __might_fault (mm/memory.c:6991 mm/memory.c:6985) [ 23.604679][ T350] __sys_sendto (net/socket.c:712 net/socket.c:727 net/socket.c:2180) [ 23.604690][ T350] ? __pfx___sys_sendto (net/socket.c:2147) [ 23.604709][ T350] ? __sys_recvmsg (net/socket.c:2861) [ 23.604714][ T350] ? __pfx___sys_recvmsg (net/socket.c:2846) [ 23.604716][ T350] ? do_user_addr_fault (./include/linux/mmap_lock.h:440 arch/x86/mm/fault.c:1415) [ 23.604731][ T350] ? do_user_addr_fault (./include/linux/mmap_lock.h:440 arch/x86/mm/fault.c:1415) [ 23.604739][ T350] __x64_sys_sendto (net/socket.c:2183) [ 23.604743][ T350] ? do_syscall_64 (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 ./include/linux/entry-common.h:199 arch/x86/entry/syscall_64.c:90) [ 23.604750][ T350] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4475) [ 23.604755][ T350] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 23.604761][ T350] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 23.604766][ T350] RIP: 0033:0x7f446f74ca4a [ 23.604773][ T350] Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb b8 0f 1f 00 f3 0f 1e fa 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 15 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 7e c3 0f 1f 44 00 00 41 54 48 83 ec 30 44 89 All code ======== 0: d8 64 89 02 fsubs 0x2(%rcx,%rcx,4) 4: 48 c7 c0 ff ff ff ff mov $0xffffffffffffffff,%rax b: eb b8 jmp 0xffffffffffffffc5 d: 0f 1f 00 nopl (%rax) 10: f3 0f 1e fa endbr64 14: 41 89 ca mov %ecx,%r10d 17: 64 8b 04 25 18 00 00 mov %fs:0x18,%eax 1e: 00 1f: 85 c0 test %eax,%eax 21: 75 15 jne 0x38 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 7e ja 0xb0 32: c3 ret 33: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 38: 41 54 push %r12 3a: 48 83 ec 30 sub $0x30,%rsp 3e: 44 rex.R 3f: 89 .byte 0x89 Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 77 7e ja 0x86 8: c3 ret 9: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) e: 41 54 push %r12 10: 48 83 ec 30 sub $0x30,%rsp 14: 44 rex.R 15: 89 .byte 0x89 [ 23.604776][ T350] RSP: 002b:00007ffdbf2314b8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 23.604781][ T350] RAX: ffffffffffffffda RBX: 00000000358e3b00 RCX: 00007f446f74ca4a [ 23.604783][ T350] RDX: 0000000000000038 RSI: 00000000358e3b00 RDI: 0000000000000005 [ 23.604786][ T350] RBP: 00000000358e3910 R08: 00007f446f8f3200 R09: 000000000000000c [ 23.604787][ T350] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000040f200 [ 23.604790][ T350] R13: 00000000358e3910 R14: 0000000000000000 R15: 0000000000000003 | [ 23.604790][ T350] R13: 00000000358e3910 R14: 0000000000000000 R15: 0000000000000003 | [ 23.604806][ T350] | [ 26.907541][ T411] BUG: using smp_processor_id() in preemptible [00000000] code: devlink/411 | [ 26.908434][ T411] caller is nsim_queue_uninit (./include/linux/netdevice.h:3023 (discriminator 3) drivers/net/netdevsim/netdev.c:638 (discriminator 3) drivers/net/netdevsim/netdev.c:917 (discriminator 3)) netdevsim [ 26.909664][ T411] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 26.909668][ T411] Call Trace: [ 26.909672][ T411] [ 26.909676][ T411] dump_stack_lvl (lib/dump_stack.c:123) [ 26.909700][ T411] check_preemption_disabled (lib/smp_processor_id.c:52) [ 26.909715][ T411] nsim_queue_uninit (./include/linux/netdevice.h:3023 (discriminator 3) drivers/net/netdevsim/netdev.c:638 (discriminator 3) drivers/net/netdevsim/netdev.c:917 (discriminator 3)) netdevsim [ 26.909735][ T411] ? nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 26.909753][ T411] nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 26.909773][ T411] __nsim_dev_port_del (drivers/net/netdevsim/dev.c:426 drivers/net/netdevsim/dev.c:1429) netdevsim [ 26.909790][ T411] nsim_dev_reload_destroy (drivers/net/netdevsim/dev.c:1438 drivers/net/netdevsim/dev.c:1661) netdevsim [ 26.909808][ T411] nsim_dev_reload_down (drivers/net/netdevsim/dev.c:969) netdevsim [ 26.909824][ T411] devlink_reload (net/devlink/dev.c:462) [ 26.909846][ T411] ? __pfx_devlink_reload (net/devlink/dev.c:446) [ 26.909852][ T411] ? devlink_resources_validate (net/devlink/resource.c:311) [ 26.909870][ T411] devlink_nl_reload_doit (net/devlink/dev.c:584) [ 26.909879][ T411] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 26.909886][ T411] ? __nla_parse (lib/nlattr.c:732) [ 26.909906][ T411] genl_family_rcv_msg_doit (net/netlink/genetlink.c:1117) [ 26.909917][ T411] ? __pfx_genl_family_rcv_msg_doit (net/netlink/genetlink.c:1088) [ 26.909934][ T411] ? cap_capable (security/commoncap.c:132) [ 26.909942][ T411] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83) [ 26.909959][ T411] genl_family_rcv_msg (net/netlink/genetlink.c:1195) [ 26.909965][ T411] ? __pfx_genl_family_rcv_msg (net/netlink/genetlink.c:1160) [ 26.909970][ T411] ? __pfx_devlink_nl_pre_doit_dev_lock (net/devlink/netlink.c:257) [ 26.909973][ T411] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 26.909976][ T411] ? __pfx_devlink_nl_post_doit_dev_lock (net/devlink/netlink.c:288) [ 26.909991][ T411] genl_rcv_msg (net/netlink/genetlink.c:65 net/netlink/genetlink.c:1211) [ 26.909998][ T411] netlink_rcv_skb (net/netlink/af_netlink.c:2534) [ 26.910002][ T411] ? __pfx_genl_rcv_msg (net/netlink/genetlink.c:1201) [ 26.910009][ T411] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2511) [ 26.910028][ T411] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 26.910041][ T411] genl_rcv (net/netlink/genetlink.c:1220) [ 26.910045][ T411] netlink_unicast (net/netlink/af_netlink.c:1314 net/netlink/af_netlink.c:1339) [ 26.910054][ T411] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1324) [ 26.910059][ T411] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 26.910084][ T411] netlink_sendmsg (net/netlink/af_netlink.c:1883) [ 26.910093][ T411] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1802) [ 26.910102][ T411] ? __might_fault (mm/memory.c:6991 mm/memory.c:6985) [ 26.910119][ T411] __sys_sendto (net/socket.c:712 net/socket.c:727 net/socket.c:2180) [ 26.910134][ T411] ? __pfx___sys_sendto (net/socket.c:2147) [ 26.910154][ T411] ? __sys_recvmsg (net/socket.c:2861) [ 26.910159][ T411] ? __pfx___sys_recvmsg (net/socket.c:2846) [ 26.910162][ T411] ? do_user_addr_fault (./include/linux/mmap_lock.h:440 arch/x86/mm/fault.c:1415) [ 26.910179][ T411] ? do_user_addr_fault (./include/linux/mmap_lock.h:440 arch/x86/mm/fault.c:1415) [ 26.910187][ T411] __x64_sys_sendto (net/socket.c:2183) [ 26.910192][ T411] ? do_syscall_64 (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 ./include/linux/entry-common.h:199 arch/x86/entry/syscall_64.c:90) [ 26.910202][ T411] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4475) [ 26.910206][ T411] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 26.910213][ T411] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 26.910218][ T411] RIP: 0033:0x7f14cf643a4a [ 26.910226][ T411] Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb b8 0f 1f 00 f3 0f 1e fa 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 15 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 7e c3 0f 1f 44 00 00 41 54 48 83 ec 30 44 89 All code ======== 0: d8 64 89 02 fsubs 0x2(%rcx,%rcx,4) 4: 48 c7 c0 ff ff ff ff mov $0xffffffffffffffff,%rax b: eb b8 jmp 0xffffffffffffffc5 d: 0f 1f 00 nopl (%rax) 10: f3 0f 1e fa endbr64 14: 41 89 ca mov %ecx,%r10d 17: 64 8b 04 25 18 00 00 mov %fs:0x18,%eax 1e: 00 1f: 85 c0 test %eax,%eax 21: 75 15 jne 0x38 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 7e ja 0xb0 32: c3 ret 33: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 38: 41 54 push %r12 3a: 48 83 ec 30 sub $0x30,%rsp 3e: 44 rex.R 3f: 89 .byte 0x89 Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 77 7e ja 0x86 8: c3 ret 9: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) e: 41 54 push %r12 10: 48 83 ec 30 sub $0x30,%rsp 14: 44 rex.R 15: 89 .byte 0x89 [ 26.910230][ T411] RSP: 002b:00007fff41688c38 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 26.910236][ T411] RAX: ffffffffffffffda RBX: 000000003e044b00 RCX: 00007f14cf643a4a [ 26.910238][ T411] RDX: 0000000000000038 RSI: 000000003e044b00 RDI: 0000000000000005 [ 26.910241][ T411] RBP: 000000003e044910 R08: 00007f14cf7ea200 R09: 000000000000000c [ 26.910243][ T411] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000040f200 [ 26.910245][ T411] R13: 000000003e044910 R14: 0000000000000000 R15: 0000000000000003 | [ 26.910245][ T411] R13: 000000003e044910 R14: 0000000000000000 R15: 0000000000000003 | [ 26.910262][ T411] | [ 28.162312][ T424] BUG: using smp_processor_id() in preemptible [00000000] code: devlink/424 | [ 28.162972][ T424] caller is nsim_queue_uninit (./include/linux/netdevice.h:3023 (discriminator 3) drivers/net/netdevsim/netdev.c:638 (discriminator 3) drivers/net/netdevsim/netdev.c:917 (discriminator 3)) netdevsim [ 28.163431][ T424] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 28.163433][ T424] Call Trace: [ 28.163436][ T424] [ 28.163439][ T424] dump_stack_lvl (lib/dump_stack.c:123) [ 28.163451][ T424] check_preemption_disabled (lib/smp_processor_id.c:52) [ 28.163463][ T424] nsim_queue_uninit (./include/linux/netdevice.h:3023 (discriminator 3) drivers/net/netdevsim/netdev.c:638 (discriminator 3) drivers/net/netdevsim/netdev.c:917 (discriminator 3)) netdevsim [ 28.163481][ T424] ? nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 28.163499][ T424] nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 28.163520][ T424] __nsim_dev_port_del (drivers/net/netdevsim/dev.c:426 drivers/net/netdevsim/dev.c:1429) netdevsim [ 28.163537][ T424] nsim_dev_reload_destroy (drivers/net/netdevsim/dev.c:1438 drivers/net/netdevsim/dev.c:1661) netdevsim [ 28.163555][ T424] nsim_dev_reload_down (drivers/net/netdevsim/dev.c:969) netdevsim [ 28.163570][ T424] devlink_reload (net/devlink/dev.c:462) [ 28.163584][ T424] ? __pfx_devlink_reload (net/devlink/dev.c:446) [ 28.163590][ T424] ? devlink_resources_validate (net/devlink/resource.c:311) [ 28.163604][ T424] devlink_nl_reload_doit (net/devlink/dev.c:584) [ 28.163612][ T424] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 28.163620][ T424] ? __nla_parse (lib/nlattr.c:732) [ 28.163634][ T424] genl_family_rcv_msg_doit (net/netlink/genetlink.c:1117) [ 28.163643][ T424] ? __pfx_genl_family_rcv_msg_doit (net/netlink/genetlink.c:1088) [ 28.163660][ T424] ? cap_capable (security/commoncap.c:132) [ 28.163665][ T424] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83) [ 28.163677][ T424] genl_family_rcv_msg (net/netlink/genetlink.c:1195) [ 28.163683][ T424] ? __pfx_genl_family_rcv_msg (net/netlink/genetlink.c:1160) [ 28.163688][ T424] ? __pfx_devlink_nl_pre_doit_dev_lock (net/devlink/netlink.c:257) [ 28.163691][ T424] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 28.163695][ T424] ? __pfx_devlink_nl_post_doit_dev_lock (net/devlink/netlink.c:288) [ 28.163709][ T424] genl_rcv_msg (net/netlink/genetlink.c:65 net/netlink/genetlink.c:1211) [ 28.163716][ T424] netlink_rcv_skb (net/netlink/af_netlink.c:2534) [ 28.163720][ T424] ? __pfx_genl_rcv_msg (net/netlink/genetlink.c:1201) [ 28.163727][ T424] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2511) [ 28.163745][ T424] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 28.163755][ T424] genl_rcv (net/netlink/genetlink.c:1220) [ 28.163758][ T424] netlink_unicast (net/netlink/af_netlink.c:1314 net/netlink/af_netlink.c:1339) [ 28.163766][ T424] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1324) [ 28.163771][ T424] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 28.163785][ T424] netlink_sendmsg (net/netlink/af_netlink.c:1883) [ 28.163793][ T424] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1802) [ 28.163802][ T424] ? __might_fault (mm/memory.c:6991 mm/memory.c:6985) [ 28.163814][ T424] __sys_sendto (net/socket.c:712 net/socket.c:727 net/socket.c:2180) [ 28.163822][ T424] ? __pfx___sys_sendto (net/socket.c:2147) [ 28.163841][ T424] ? __sys_recvmsg (net/socket.c:2861) [ 28.163846][ T424] ? __pfx___sys_recvmsg (net/socket.c:2846) [ 28.163848][ T424] ? do_user_addr_fault (./include/linux/mmap_lock.h:440 arch/x86/mm/fault.c:1415) [ 28.163864][ T424] ? do_user_addr_fault (./include/linux/mmap_lock.h:440 arch/x86/mm/fault.c:1415) [ 28.163871][ T424] __x64_sys_sendto (net/socket.c:2183) [ 28.163875][ T424] ? do_syscall_64 (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 ./include/linux/entry-common.h:199 arch/x86/entry/syscall_64.c:90) [ 28.163882][ T424] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4475) [ 28.163887][ T424] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 28.163893][ T424] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 28.163897][ T424] RIP: 0033:0x7fc106b9ba4a [ 28.163902][ T424] Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb b8 0f 1f 00 f3 0f 1e fa 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 15 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 7e c3 0f 1f 44 00 00 41 54 48 83 ec 30 44 89 All code ======== 0: d8 64 89 02 fsubs 0x2(%rcx,%rcx,4) 4: 48 c7 c0 ff ff ff ff mov $0xffffffffffffffff,%rax b: eb b8 jmp 0xffffffffffffffc5 d: 0f 1f 00 nopl (%rax) 10: f3 0f 1e fa endbr64 14: 41 89 ca mov %ecx,%r10d 17: 64 8b 04 25 18 00 00 mov %fs:0x18,%eax 1e: 00 1f: 85 c0 test %eax,%eax 21: 75 15 jne 0x38 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 7e ja 0xb0 32: c3 ret 33: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 38: 41 54 push %r12 3a: 48 83 ec 30 sub $0x30,%rsp 3e: 44 rex.R 3f: 89 .byte 0x89 Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 77 7e ja 0x86 8: c3 ret 9: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) e: 41 54 push %r12 10: 48 83 ec 30 sub $0x30,%rsp 14: 44 rex.R 15: 89 .byte 0x89 [ 28.163905][ T424] RSP: 002b:00007fffca8c1ac8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 28.163910][ T424] RAX: ffffffffffffffda RBX: 000000001ec97b00 RCX: 00007fc106b9ba4a [ 28.163912][ T424] RDX: 0000000000000038 RSI: 000000001ec97b00 RDI: 0000000000000005 [ 28.163914][ T424] RBP: 000000001ec97910 R08: 00007fc106d42200 R09: 000000000000000c [ 28.163915][ T424] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000040f200 [ 28.163917][ T424] R13: 000000001ec97910 R14: 0000000000000000 R15: 0000000000000003 | [ 28.163917][ T424] R13: 000000001ec97910 R14: 0000000000000000 R15: 0000000000000003 | [ 28.163934][ T424] | [ 29.927816][ T456] BUG: using smp_processor_id() in preemptible [00000000] code: devlink/456 | [ 29.928670][ T456] caller is nsim_queue_uninit (./include/linux/netdevice.h:3023 (discriminator 3) drivers/net/netdevsim/netdev.c:638 (discriminator 3) drivers/net/netdevsim/netdev.c:917 (discriminator 3)) netdevsim [ 29.929140][ T456] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 29.929143][ T456] Call Trace: [ 29.929146][ T456] [ 29.929149][ T456] dump_stack_lvl (lib/dump_stack.c:123) [ 29.929170][ T456] check_preemption_disabled (lib/smp_processor_id.c:52) [ 29.929184][ T456] nsim_queue_uninit (./include/linux/netdevice.h:3023 (discriminator 3) drivers/net/netdevsim/netdev.c:638 (discriminator 3) drivers/net/netdevsim/netdev.c:917 (discriminator 3)) netdevsim [ 29.929203][ T456] ? nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 29.929221][ T456] nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 29.929241][ T456] __nsim_dev_port_del (drivers/net/netdevsim/dev.c:426 drivers/net/netdevsim/dev.c:1429) netdevsim [ 29.929258][ T456] nsim_dev_reload_destroy (drivers/net/netdevsim/dev.c:1438 drivers/net/netdevsim/dev.c:1661) netdevsim [ 29.929277][ T456] nsim_dev_reload_down (drivers/net/netdevsim/dev.c:969) netdevsim [ 29.929292][ T456] devlink_reload (net/devlink/dev.c:462) [ 29.929308][ T456] ? __pfx_devlink_reload (net/devlink/dev.c:446) [ 29.929316][ T456] ? devlink_resources_validate (net/devlink/resource.c:311) [ 29.929332][ T456] devlink_nl_reload_doit (net/devlink/dev.c:584) [ 29.929341][ T456] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 29.929349][ T456] ? __nla_parse (lib/nlattr.c:732) [ 29.929368][ T456] genl_family_rcv_msg_doit (net/netlink/genetlink.c:1117) [ 29.929379][ T456] ? __pfx_genl_family_rcv_msg_doit (net/netlink/genetlink.c:1088) [ 29.929396][ T456] ? cap_capable (security/commoncap.c:132) [ 29.929406][ T456] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83) [ 29.929421][ T456] genl_family_rcv_msg (net/netlink/genetlink.c:1195) [ 29.929428][ T456] ? __pfx_genl_family_rcv_msg (net/netlink/genetlink.c:1160) [ 29.929433][ T456] ? __pfx_devlink_nl_pre_doit_dev_lock (net/devlink/netlink.c:257) [ 29.929437][ T456] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 29.929440][ T456] ? __pfx_devlink_nl_post_doit_dev_lock (net/devlink/netlink.c:288) [ 29.929455][ T456] genl_rcv_msg (net/netlink/genetlink.c:65 net/netlink/genetlink.c:1211) [ 29.929462][ T456] netlink_rcv_skb (net/netlink/af_netlink.c:2534) [ 29.929467][ T456] ? __pfx_genl_rcv_msg (net/netlink/genetlink.c:1201) [ 29.929474][ T456] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2511) [ 29.929492][ T456] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 29.929504][ T456] genl_rcv (net/netlink/genetlink.c:1220) [ 29.929509][ T456] netlink_unicast (net/netlink/af_netlink.c:1314 net/netlink/af_netlink.c:1339) [ 29.929517][ T456] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1324) [ 29.929522][ T456] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 29.929539][ T456] netlink_sendmsg (net/netlink/af_netlink.c:1883) [ 29.929548][ T456] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1802) [ 29.929556][ T456] ? __might_fault (mm/memory.c:6991 mm/memory.c:6985) [ 29.929573][ T456] __sys_sendto (net/socket.c:712 net/socket.c:727 net/socket.c:2180) [ 29.929588][ T456] ? __pfx___sys_sendto (net/socket.c:2147) [ 29.929607][ T456] ? __sys_recvmsg (net/socket.c:2861) [ 29.929612][ T456] ? __pfx___sys_recvmsg (net/socket.c:2846) [ 29.929614][ T456] ? do_user_addr_fault (./include/linux/mmap_lock.h:440 arch/x86/mm/fault.c:1415) [ 29.929634][ T456] ? do_user_addr_fault (./include/linux/mmap_lock.h:440 arch/x86/mm/fault.c:1415) [ 29.929642][ T456] __x64_sys_sendto (net/socket.c:2183) [ 29.929646][ T456] ? do_syscall_64 (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 ./include/linux/entry-common.h:199 arch/x86/entry/syscall_64.c:90) [ 29.929657][ T456] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4475) [ 29.929662][ T456] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 29.929668][ T456] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 29.929675][ T456] RIP: 0033:0x7f68f13dba4a [ 29.929684][ T456] Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb b8 0f 1f 00 f3 0f 1e fa 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 15 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 7e c3 0f 1f 44 00 00 41 54 48 83 ec 30 44 89 All code ======== 0: d8 64 89 02 fsubs 0x2(%rcx,%rcx,4) 4: 48 c7 c0 ff ff ff ff mov $0xffffffffffffffff,%rax b: eb b8 jmp 0xffffffffffffffc5 d: 0f 1f 00 nopl (%rax) 10: f3 0f 1e fa endbr64 14: 41 89 ca mov %ecx,%r10d 17: 64 8b 04 25 18 00 00 mov %fs:0x18,%eax 1e: 00 1f: 85 c0 test %eax,%eax 21: 75 15 jne 0x38 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 7e ja 0xb0 32: c3 ret 33: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 38: 41 54 push %r12 3a: 48 83 ec 30 sub $0x30,%rsp 3e: 44 rex.R 3f: 89 .byte 0x89 Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 77 7e ja 0x86 8: c3 ret 9: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) e: 41 54 push %r12 10: 48 83 ec 30 sub $0x30,%rsp 14: 44 rex.R 15: 89 .byte 0x89 [ 29.929688][ T456] RSP: 002b:00007ffdf2f78df8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 29.929695][ T456] RAX: ffffffffffffffda RBX: 000000000b9fcb00 RCX: 00007f68f13dba4a [ 29.929698][ T456] RDX: 0000000000000038 RSI: 000000000b9fcb00 RDI: 0000000000000005 [ 29.929700][ T456] RBP: 000000000b9fc910 R08: 00007f68f1582200 R09: 000000000000000c [ 29.929703][ T456] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000040f200 [ 29.929705][ T456] R13: 000000000b9fc910 R14: 0000000000000000 R15: 0000000000000003 | [ 29.929705][ T456] R13: 000000000b9fc910 R14: 0000000000000000 R15: 0000000000000003 | [ 29.929722][ T456] | [ 32.012980][ T472] BUG: using smp_processor_id() in preemptible [00000000] code: devlink/472 | [ 32.013827][ T472] caller is nsim_queue_uninit (./include/linux/netdevice.h:3023 (discriminator 3) drivers/net/netdevsim/netdev.c:638 (discriminator 3) drivers/net/netdevsim/netdev.c:917 (discriminator 3)) netdevsim [ 32.014361][ T472] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 32.014363][ T472] Call Trace: [ 32.014365][ T472] [ 32.014368][ T472] dump_stack_lvl (lib/dump_stack.c:123) [ 32.014380][ T472] check_preemption_disabled (lib/smp_processor_id.c:52) [ 32.014391][ T472] nsim_queue_uninit (./include/linux/netdevice.h:3023 (discriminator 3) drivers/net/netdevsim/netdev.c:638 (discriminator 3) drivers/net/netdevsim/netdev.c:917 (discriminator 3)) netdevsim [ 32.014412][ T472] ? nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 32.014430][ T472] nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 32.014449][ T472] __nsim_dev_port_del (drivers/net/netdevsim/dev.c:426 drivers/net/netdevsim/dev.c:1429) netdevsim [ 32.014466][ T472] nsim_dev_reload_destroy (drivers/net/netdevsim/dev.c:1438 drivers/net/netdevsim/dev.c:1661) netdevsim [ 32.014484][ T472] nsim_dev_reload_down (drivers/net/netdevsim/dev.c:969) netdevsim [ 32.014499][ T472] devlink_reload (net/devlink/dev.c:462) [ 32.014514][ T472] ? __pfx_devlink_reload (net/devlink/dev.c:446) [ 32.014521][ T472] ? devlink_resources_validate (net/devlink/resource.c:311) [ 32.014536][ T472] devlink_nl_reload_doit (net/devlink/dev.c:584) [ 32.014543][ T472] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 32.014551][ T472] ? __nla_parse (lib/nlattr.c:732) [ 32.014566][ T472] genl_family_rcv_msg_doit (net/netlink/genetlink.c:1117) [ 32.014574][ T472] ? __pfx_genl_family_rcv_msg_doit (net/netlink/genetlink.c:1088) [ 32.014591][ T472] ? cap_capable (security/commoncap.c:132) [ 32.014597][ T472] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83) [ 32.014611][ T472] genl_family_rcv_msg (net/netlink/genetlink.c:1195) [ 32.014618][ T472] ? __pfx_genl_family_rcv_msg (net/netlink/genetlink.c:1160) [ 32.014623][ T472] ? __pfx_devlink_nl_pre_doit_dev_lock (net/devlink/netlink.c:257) [ 32.014626][ T472] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 32.014629][ T472] ? __pfx_devlink_nl_post_doit_dev_lock (net/devlink/netlink.c:288) [ 32.014644][ T472] genl_rcv_msg (net/netlink/genetlink.c:65 net/netlink/genetlink.c:1211) [ 32.014651][ T472] netlink_rcv_skb (net/netlink/af_netlink.c:2534) [ 32.014654][ T472] ? __pfx_genl_rcv_msg (net/netlink/genetlink.c:1201) [ 32.014661][ T472] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2511) [ 32.014680][ T472] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 32.014690][ T472] genl_rcv (net/netlink/genetlink.c:1220) [ 32.014693][ T472] netlink_unicast (net/netlink/af_netlink.c:1314 net/netlink/af_netlink.c:1339) [ 32.014701][ T472] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1324) [ 32.014706][ T472] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 32.014719][ T472] netlink_sendmsg (net/netlink/af_netlink.c:1883) [ 32.014728][ T472] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1802) [ 32.014737][ T472] ? __might_fault (mm/memory.c:6991 mm/memory.c:6985) [ 32.014749][ T472] __sys_sendto (net/socket.c:712 net/socket.c:727 net/socket.c:2180) [ 32.014760][ T472] ? __pfx___sys_sendto (net/socket.c:2147) [ 32.014780][ T472] ? __sys_recvmsg (net/socket.c:2861) [ 32.014784][ T472] ? __pfx___sys_recvmsg (net/socket.c:2846) [ 32.014786][ T472] ? do_user_addr_fault (./include/linux/mmap_lock.h:440 arch/x86/mm/fault.c:1415) [ 32.014801][ T472] ? do_user_addr_fault (./include/linux/mmap_lock.h:440 arch/x86/mm/fault.c:1415) [ 32.014809][ T472] __x64_sys_sendto (net/socket.c:2183) [ 32.014813][ T472] ? do_syscall_64 (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 ./include/linux/entry-common.h:199 arch/x86/entry/syscall_64.c:90) [ 32.014820][ T472] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4475) [ 32.014825][ T472] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 32.014832][ T472] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 32.014836][ T472] RIP: 0033:0x7fc071a71a4a [ 32.014842][ T472] Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb b8 0f 1f 00 f3 0f 1e fa 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 15 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 7e c3 0f 1f 44 00 00 41 54 48 83 ec 30 44 89 All code ======== 0: d8 64 89 02 fsubs 0x2(%rcx,%rcx,4) 4: 48 c7 c0 ff ff ff ff mov $0xffffffffffffffff,%rax b: eb b8 jmp 0xffffffffffffffc5 d: 0f 1f 00 nopl (%rax) 10: f3 0f 1e fa endbr64 14: 41 89 ca mov %ecx,%r10d 17: 64 8b 04 25 18 00 00 mov %fs:0x18,%eax 1e: 00 1f: 85 c0 test %eax,%eax 21: 75 15 jne 0x38 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 7e ja 0xb0 32: c3 ret 33: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 38: 41 54 push %r12 3a: 48 83 ec 30 sub $0x30,%rsp 3e: 44 rex.R 3f: 89 .byte 0x89 Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 77 7e ja 0x86 8: c3 ret 9: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) e: 41 54 push %r12 10: 48 83 ec 30 sub $0x30,%rsp 14: 44 rex.R 15: 89 .byte 0x89 [ 32.014845][ T472] RSP: 002b:00007ffcc9775038 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 32.014852][ T472] RAX: ffffffffffffffda RBX: 000000003ee74b00 RCX: 00007fc071a71a4a [ 32.014854][ T472] RDX: 0000000000000038 RSI: 000000003ee74b00 RDI: 0000000000000005 [ 32.014856][ T472] RBP: 000000003ee74910 R08: 00007fc071c18200 R09: 000000000000000c [ 32.014858][ T472] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000040f200 [ 32.014860][ T472] R13: 000000003ee74910 R14: 0000000000000000 R15: 0000000000000003 | [ 32.014860][ T472] R13: 000000003ee74910 R14: 0000000000000000 R15: 0000000000000003 | [ 32.014876][ T472] | [ 316.345066][ T985] BUG: using smp_processor_id() in preemptible [00000000] code: devlink/985 | [ 316.345998][ T985] caller is nsim_queue_uninit (./include/linux/netdevice.h:3023 (discriminator 3) drivers/net/netdevsim/netdev.c:638 (discriminator 3) drivers/net/netdevsim/netdev.c:917 (discriminator 3)) netdevsim [ 316.346596][ T985] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 316.346598][ T985] Call Trace: [ 316.346605][ T985] [ 316.346608][ T985] dump_stack_lvl (lib/dump_stack.c:123) [ 316.346642][ T985] check_preemption_disabled (lib/smp_processor_id.c:52) [ 316.346653][ T985] nsim_queue_uninit (./include/linux/netdevice.h:3023 (discriminator 3) drivers/net/netdevsim/netdev.c:638 (discriminator 3) drivers/net/netdevsim/netdev.c:917 (discriminator 3)) netdevsim [ 316.346676][ T985] ? nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 316.346701][ T985] nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 316.346720][ T985] __nsim_dev_port_del (drivers/net/netdevsim/dev.c:426 drivers/net/netdevsim/dev.c:1429) netdevsim [ 316.346747][ T985] nsim_dev_reload_destroy (drivers/net/netdevsim/dev.c:1438 drivers/net/netdevsim/dev.c:1661) netdevsim [ 316.346766][ T985] nsim_dev_reload_down (drivers/net/netdevsim/dev.c:969) netdevsim [ 316.346790][ T985] devlink_reload (net/devlink/dev.c:462) [ 316.346806][ T985] ? __pfx_devlink_reload (net/devlink/dev.c:446) [ 316.346813][ T985] ? devlink_resources_validate (net/devlink/resource.c:311) [ 316.346835][ T985] devlink_nl_reload_doit (net/devlink/dev.c:584) [ 316.346845][ T985] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 316.346853][ T985] ? __nla_parse (lib/nlattr.c:732) [ 316.346884][ T985] genl_family_rcv_msg_doit (net/netlink/genetlink.c:1117) [ 316.346892][ T985] ? __pfx_genl_family_rcv_msg_doit (net/netlink/genetlink.c:1088) [ 316.346909][ T985] ? cap_capable (security/commoncap.c:132) [ 316.346922][ T985] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83) [ 316.346946][ T985] genl_family_rcv_msg (net/netlink/genetlink.c:1195) [ 316.346953][ T985] ? __pfx_genl_family_rcv_msg (net/netlink/genetlink.c:1160) [ 316.346962][ T985] ? __pfx_devlink_nl_pre_doit_dev_lock (net/devlink/netlink.c:257) [ 316.346967][ T985] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 316.346973][ T985] ? __pfx_devlink_nl_post_doit_dev_lock (net/devlink/netlink.c:288) [ 316.346989][ T985] genl_rcv_msg (net/netlink/genetlink.c:65 net/netlink/genetlink.c:1211) [ 316.346996][ T985] netlink_rcv_skb (net/netlink/af_netlink.c:2534) [ 316.346999][ T985] ? __pfx_genl_rcv_msg (net/netlink/genetlink.c:1201) [ 316.347006][ T985] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2511) [ 316.347025][ T985] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 316.347034][ T985] genl_rcv (net/netlink/genetlink.c:1220) [ 316.347038][ T985] netlink_unicast (net/netlink/af_netlink.c:1314 net/netlink/af_netlink.c:1339) [ 316.347046][ T985] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1324) [ 316.347051][ T985] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 316.347072][ T985] netlink_sendmsg (net/netlink/af_netlink.c:1883) [ 316.347086][ T985] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1802) [ 316.347095][ T985] ? __might_fault (mm/memory.c:6991 mm/memory.c:6985) [ 316.347112][ T985] __sys_sendto (net/socket.c:712 net/socket.c:727 net/socket.c:2180) [ 316.347128][ T985] ? __pfx___sys_sendto (net/socket.c:2147) [ 316.347154][ T985] ? __sys_recvmsg (net/socket.c:2861) [ 316.347158][ T985] ? __pfx___sys_recvmsg (net/socket.c:2846) [ 316.347161][ T985] ? do_user_addr_fault (./include/linux/mmap_lock.h:440 arch/x86/mm/fault.c:1415) [ 316.347182][ T985] ? do_user_addr_fault (./include/linux/mmap_lock.h:440 arch/x86/mm/fault.c:1415) [ 316.347189][ T985] __x64_sys_sendto (net/socket.c:2183) [ 316.347194][ T985] ? do_syscall_64 (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 ./include/linux/entry-common.h:199 arch/x86/entry/syscall_64.c:90) [ 316.347200][ T985] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4475) [ 316.347205][ T985] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 316.347211][ T985] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 316.347217][ T985] RIP: 0033:0x7f7f8295ea4a [ 316.347225][ T985] Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb b8 0f 1f 00 f3 0f 1e fa 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 15 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 7e c3 0f 1f 44 00 00 41 54 48 83 ec 30 44 89 All code ======== 0: d8 64 89 02 fsubs 0x2(%rcx,%rcx,4) 4: 48 c7 c0 ff ff ff ff mov $0xffffffffffffffff,%rax b: eb b8 jmp 0xffffffffffffffc5 d: 0f 1f 00 nopl (%rax) 10: f3 0f 1e fa endbr64 14: 41 89 ca mov %ecx,%r10d 17: 64 8b 04 25 18 00 00 mov %fs:0x18,%eax 1e: 00 1f: 85 c0 test %eax,%eax 21: 75 15 jne 0x38 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 7e ja 0xb0 32: c3 ret 33: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 38: 41 54 push %r12 3a: 48 83 ec 30 sub $0x30,%rsp 3e: 44 rex.R 3f: 89 .byte 0x89 Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 77 7e ja 0x86 8: c3 ret 9: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) e: 41 54 push %r12 10: 48 83 ec 30 sub $0x30,%rsp 14: 44 rex.R 15: 89 .byte 0x89 [ 316.347230][ T985] RSP: 002b:00007ffc7c33d5d8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 316.347240][ T985] RAX: ffffffffffffffda RBX: 0000000031b29b00 RCX: 00007f7f8295ea4a [ 316.347242][ T985] RDX: 0000000000000038 RSI: 0000000031b29b00 RDI: 0000000000000005 [ 316.347244][ T985] RBP: 0000000031b29910 R08: 00007f7f82b05200 R09: 000000000000000c [ 316.347246][ T985] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000040f200 [ 316.347249][ T985] R13: 0000000031b29910 R14: 0000000000000000 R15: 0000000000000003 | [ 316.347249][ T985] R13: 0000000031b29910 R14: 0000000000000000 R15: 0000000000000003 | [ 316.347272][ T985] | [ 317.534939][ T999] BUG: using smp_processor_id() in preemptible [00000000] code: devlink/999 | [ 317.537464][ T999] caller is nsim_queue_uninit (./include/linux/netdevice.h:3023 (discriminator 3) drivers/net/netdevsim/netdev.c:638 (discriminator 3) drivers/net/netdevsim/netdev.c:917 (discriminator 3)) netdevsim [ 317.538126][ T999] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 317.538128][ T999] Call Trace: [ 317.538131][ T999] [ 317.538134][ T999] dump_stack_lvl (lib/dump_stack.c:123) [ 317.538147][ T999] check_preemption_disabled (lib/smp_processor_id.c:52) [ 317.538158][ T999] nsim_queue_uninit (./include/linux/netdevice.h:3023 (discriminator 3) drivers/net/netdevsim/netdev.c:638 (discriminator 3) drivers/net/netdevsim/netdev.c:917 (discriminator 3)) netdevsim [ 317.538178][ T999] ? nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 317.538196][ T999] nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 317.538215][ T999] __nsim_dev_port_del (drivers/net/netdevsim/dev.c:426 drivers/net/netdevsim/dev.c:1429) netdevsim [ 317.538232][ T999] nsim_dev_reload_destroy (drivers/net/netdevsim/dev.c:1438 drivers/net/netdevsim/dev.c:1661) netdevsim [ 317.538251][ T999] nsim_dev_reload_down (drivers/net/netdevsim/dev.c:969) netdevsim [ 317.538266][ T999] devlink_reload (net/devlink/dev.c:462) [ 317.538277][ T999] ? __pfx_devlink_reload (net/devlink/dev.c:446) [ 317.538284][ T999] ? devlink_resources_validate (net/devlink/resource.c:311) [ 317.538297][ T999] devlink_nl_reload_doit (net/devlink/dev.c:584) [ 317.538305][ T999] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 317.538313][ T999] ? __nla_parse (lib/nlattr.c:732) [ 317.538327][ T999] genl_family_rcv_msg_doit (net/netlink/genetlink.c:1117) [ 317.538335][ T999] ? __pfx_genl_family_rcv_msg_doit (net/netlink/genetlink.c:1088) [ 317.538352][ T999] ? cap_capable (security/commoncap.c:132) [ 317.538358][ T999] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83) [ 317.538370][ T999] genl_family_rcv_msg (net/netlink/genetlink.c:1195) [ 317.538377][ T999] ? __pfx_genl_family_rcv_msg (net/netlink/genetlink.c:1160) [ 317.538381][ T999] ? __pfx_devlink_nl_pre_doit_dev_lock (net/devlink/netlink.c:257) [ 317.538384][ T999] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 317.538388][ T999] ? __pfx_devlink_nl_post_doit_dev_lock (net/devlink/netlink.c:288) [ 317.538403][ T999] genl_rcv_msg (net/netlink/genetlink.c:65 net/netlink/genetlink.c:1211) [ 317.538409][ T999] netlink_rcv_skb (net/netlink/af_netlink.c:2534) [ 317.538413][ T999] ? __pfx_genl_rcv_msg (net/netlink/genetlink.c:1201) [ 317.538420][ T999] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2511) [ 317.538438][ T999] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 317.538446][ T999] genl_rcv (net/netlink/genetlink.c:1220) [ 317.538450][ T999] netlink_unicast (net/netlink/af_netlink.c:1314 net/netlink/af_netlink.c:1339) [ 317.538458][ T999] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1324) [ 317.538463][ T999] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 317.538474][ T999] netlink_sendmsg (net/netlink/af_netlink.c:1883) [ 317.538483][ T999] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1802) [ 317.538492][ T999] ? __might_fault (mm/memory.c:6991 mm/memory.c:6985) [ 317.538514][ T999] __sys_sendto (net/socket.c:712 net/socket.c:727 net/socket.c:2180) [ 317.538523][ T999] ? __pfx___sys_sendto (net/socket.c:2147) [ 317.538543][ T999] ? __sys_recvmsg (net/socket.c:2861) [ 317.538545][ T999] ? __rseq_handle_notify_resume (kernel/rseq.c:442) [ 317.538554][ T999] ? __pfx___sys_recvmsg (net/socket.c:2846) [ 317.538566][ T999] ? do_user_addr_fault (./include/linux/mmap_lock.h:440 arch/x86/mm/fault.c:1415) [ 317.538577][ T999] __x64_sys_sendto (net/socket.c:2183) [ 317.538581][ T999] ? do_syscall_64 (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 ./include/linux/entry-common.h:199 arch/x86/entry/syscall_64.c:90) [ 317.538587][ T999] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4475) [ 317.538592][ T999] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 317.538598][ T999] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 317.538602][ T999] RIP: 0033:0x7f80fd888a4a [ 317.538609][ T999] Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb b8 0f 1f 00 f3 0f 1e fa 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 15 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 7e c3 0f 1f 44 00 00 41 54 48 83 ec 30 44 89 All code ======== 0: d8 64 89 02 fsubs 0x2(%rcx,%rcx,4) 4: 48 c7 c0 ff ff ff ff mov $0xffffffffffffffff,%rax b: eb b8 jmp 0xffffffffffffffc5 d: 0f 1f 00 nopl (%rax) 10: f3 0f 1e fa endbr64 14: 41 89 ca mov %ecx,%r10d 17: 64 8b 04 25 18 00 00 mov %fs:0x18,%eax 1e: 00 1f: 85 c0 test %eax,%eax 21: 75 15 jne 0x38 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 7e ja 0xb0 32: c3 ret 33: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 38: 41 54 push %r12 3a: 48 83 ec 30 sub $0x30,%rsp 3e: 44 rex.R 3f: 89 .byte 0x89 Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 77 7e ja 0x86 8: c3 ret 9: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) e: 41 54 push %r12 10: 48 83 ec 30 sub $0x30,%rsp 14: 44 rex.R 15: 89 .byte 0x89 [ 317.538612][ T999] RSP: 002b:00007ffd59a520f8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 317.538616][ T999] RAX: ffffffffffffffda RBX: 000000000f59db00 RCX: 00007f80fd888a4a [ 317.538618][ T999] RDX: 0000000000000038 RSI: 000000000f59db00 RDI: 0000000000000005 [ 317.538621][ T999] RBP: 000000000f59d910 R08: 00007f80fda2f200 R09: 000000000000000c [ 317.538623][ T999] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000040f200 [ 317.538625][ T999] R13: 000000000f59d910 R14: 0000000000000000 R15: 0000000000000003 | [ 317.538625][ T999] R13: 000000000f59d910 R14: 0000000000000000 R15: 0000000000000003 | [ 317.538641][ T999] | [ 319.283411][ T1030] BUG: using smp_processor_id() in preemptible [00000000] code: devlink/1030 | [ 319.284115][ T1030] caller is nsim_queue_uninit (./include/linux/netdevice.h:3023 (discriminator 3) drivers/net/netdevsim/netdev.c:638 (discriminator 3) drivers/net/netdevsim/netdev.c:917 (discriminator 3)) netdevsim [ 319.284619][ T1030] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 319.284622][ T1030] Call Trace: [ 319.284630][ T1030] [ 319.284633][ T1030] dump_stack_lvl (lib/dump_stack.c:123) [ 319.284646][ T1030] check_preemption_disabled (lib/smp_processor_id.c:52) [ 319.284656][ T1030] nsim_queue_uninit (./include/linux/netdevice.h:3023 (discriminator 3) drivers/net/netdevsim/netdev.c:638 (discriminator 3) drivers/net/netdevsim/netdev.c:917 (discriminator 3)) netdevsim [ 319.284676][ T1030] ? nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 319.284694][ T1030] nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 319.284714][ T1030] __nsim_dev_port_del (drivers/net/netdevsim/dev.c:426 drivers/net/netdevsim/dev.c:1429) netdevsim [ 319.284731][ T1030] nsim_dev_reload_destroy (drivers/net/netdevsim/dev.c:1438 drivers/net/netdevsim/dev.c:1661) netdevsim [ 319.284749][ T1030] nsim_dev_reload_down (drivers/net/netdevsim/dev.c:969) netdevsim [ 319.284765][ T1030] devlink_reload (net/devlink/dev.c:462) [ 319.284777][ T1030] ? __pfx_devlink_reload (net/devlink/dev.c:446) [ 319.284784][ T1030] ? devlink_resources_validate (net/devlink/resource.c:311) [ 319.284799][ T1030] devlink_nl_reload_doit (net/devlink/dev.c:584) [ 319.284806][ T1030] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 319.284814][ T1030] ? __nla_parse (lib/nlattr.c:732) [ 319.284828][ T1030] genl_family_rcv_msg_doit (net/netlink/genetlink.c:1117) [ 319.284836][ T1030] ? __pfx_genl_family_rcv_msg_doit (net/netlink/genetlink.c:1088) [ 319.284853][ T1030] ? cap_capable (security/commoncap.c:132) [ 319.284859][ T1030] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83) [ 319.284871][ T1030] genl_family_rcv_msg (net/netlink/genetlink.c:1195) [ 319.284878][ T1030] ? __pfx_genl_family_rcv_msg (net/netlink/genetlink.c:1160) [ 319.284883][ T1030] ? __pfx_devlink_nl_pre_doit_dev_lock (net/devlink/netlink.c:257) [ 319.284886][ T1030] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 319.284889][ T1030] ? __pfx_devlink_nl_post_doit_dev_lock (net/devlink/netlink.c:288) [ 319.284904][ T1030] genl_rcv_msg (net/netlink/genetlink.c:65 net/netlink/genetlink.c:1211) [ 319.284910][ T1030] netlink_rcv_skb (net/netlink/af_netlink.c:2534) [ 319.284914][ T1030] ? __pfx_genl_rcv_msg (net/netlink/genetlink.c:1201) [ 319.284920][ T1030] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2511) [ 319.284939][ T1030] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 319.284948][ T1030] genl_rcv (net/netlink/genetlink.c:1220) [ 319.284951][ T1030] netlink_unicast (net/netlink/af_netlink.c:1314 net/netlink/af_netlink.c:1339) [ 319.284959][ T1030] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1324) [ 319.284964][ T1030] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 319.284978][ T1030] netlink_sendmsg (net/netlink/af_netlink.c:1883) [ 319.284987][ T1030] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1802) [ 319.284995][ T1030] ? __might_fault (mm/memory.c:6991 mm/memory.c:6985) [ 319.285008][ T1030] __sys_sendto (net/socket.c:712 net/socket.c:727 net/socket.c:2180) [ 319.285019][ T1030] ? __pfx___sys_sendto (net/socket.c:2147) [ 319.285038][ T1030] ? __sys_recvmsg (net/socket.c:2861) [ 319.285042][ T1030] ? __pfx___sys_recvmsg (net/socket.c:2846) [ 319.285045][ T1030] ? do_user_addr_fault (./include/linux/mmap_lock.h:440 arch/x86/mm/fault.c:1415) [ 319.285060][ T1030] ? do_user_addr_fault (./include/linux/mmap_lock.h:440 arch/x86/mm/fault.c:1415) [ 319.285068][ T1030] __x64_sys_sendto (net/socket.c:2183) [ 319.285072][ T1030] ? do_syscall_64 (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 ./include/linux/entry-common.h:199 arch/x86/entry/syscall_64.c:90) [ 319.285079][ T1030] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4475) [ 319.285083][ T1030] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 319.285090][ T1030] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 319.285094][ T1030] RIP: 0033:0x7f409c5e0a4a [ 319.285100][ T1030] Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb b8 0f 1f 00 f3 0f 1e fa 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 15 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 7e c3 0f 1f 44 00 00 41 54 48 83 ec 30 44 89 All code ======== 0: d8 64 89 02 fsubs 0x2(%rcx,%rcx,4) 4: 48 c7 c0 ff ff ff ff mov $0xffffffffffffffff,%rax b: eb b8 jmp 0xffffffffffffffc5 d: 0f 1f 00 nopl (%rax) 10: f3 0f 1e fa endbr64 14: 41 89 ca mov %ecx,%r10d 17: 64 8b 04 25 18 00 00 mov %fs:0x18,%eax 1e: 00 1f: 85 c0 test %eax,%eax 21: 75 15 jne 0x38 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 7e ja 0xb0 32: c3 ret 33: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 38: 41 54 push %r12 3a: 48 83 ec 30 sub $0x30,%rsp 3e: 44 rex.R 3f: 89 .byte 0x89 Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 77 7e ja 0x86 8: c3 ret 9: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) e: 41 54 push %r12 10: 48 83 ec 30 sub $0x30,%rsp 14: 44 rex.R 15: 89 .byte 0x89 [ 319.285106][ T1030] RSP: 002b:00007ffdd488dd08 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 319.285112][ T1030] RAX: ffffffffffffffda RBX: 0000000011aaeb00 RCX: 00007f409c5e0a4a [ 319.285114][ T1030] RDX: 0000000000000038 RSI: 0000000011aaeb00 RDI: 0000000000000005 [ 319.285116][ T1030] RBP: 0000000011aae910 R08: 00007f409c787200 R09: 000000000000000c [ 319.285119][ T1030] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000040f200 [ 319.285120][ T1030] R13: 0000000011aae910 R14: 0000000000000000 R15: 0000000000000003 | [ 319.285120][ T1030] R13: 0000000011aae910 R14: 0000000000000000 R15: 0000000000000003 | [ 319.285137][ T1030] | [ 321.072820][ T1048] BUG: using smp_processor_id() in preemptible [00000000] code: devlink/1048 | [ 321.073781][ T1048] caller is nsim_queue_uninit (./include/linux/netdevice.h:3023 (discriminator 3) drivers/net/netdevsim/netdev.c:638 (discriminator 3) drivers/net/netdevsim/netdev.c:917 (discriminator 3)) netdevsim [ 321.074475][ T1048] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 321.074478][ T1048] Call Trace: [ 321.074482][ T1048] [ 321.074486][ T1048] dump_stack_lvl (lib/dump_stack.c:123) [ 321.074501][ T1048] check_preemption_disabled (lib/smp_processor_id.c:52) [ 321.074517][ T1048] nsim_queue_uninit (./include/linux/netdevice.h:3023 (discriminator 3) drivers/net/netdevsim/netdev.c:638 (discriminator 3) drivers/net/netdevsim/netdev.c:917 (discriminator 3)) netdevsim [ 321.074548][ T1048] ? nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 321.074575][ T1048] nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 321.074605][ T1048] __nsim_dev_port_del (drivers/net/netdevsim/dev.c:426 drivers/net/netdevsim/dev.c:1429) netdevsim [ 321.074630][ T1048] nsim_dev_reload_destroy (drivers/net/netdevsim/dev.c:1438 drivers/net/netdevsim/dev.c:1661) netdevsim [ 321.074658][ T1048] nsim_dev_reload_down (drivers/net/netdevsim/dev.c:969) netdevsim [ 321.074680][ T1048] devlink_reload (net/devlink/dev.c:462) [ 321.074696][ T1048] ? __pfx_devlink_reload (net/devlink/dev.c:446) [ 321.074707][ T1048] ? devlink_resources_validate (net/devlink/resource.c:311) [ 321.074731][ T1048] devlink_nl_reload_doit (net/devlink/dev.c:584) [ 321.074744][ T1048] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 321.074756][ T1048] ? __nla_parse (lib/nlattr.c:732) [ 321.074779][ T1048] genl_family_rcv_msg_doit (net/netlink/genetlink.c:1117) [ 321.074792][ T1048] ? __pfx_genl_family_rcv_msg_doit (net/netlink/genetlink.c:1088) [ 321.074823][ T1048] ? cap_capable (security/commoncap.c:132) [ 321.074831][ T1048] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83) [ 321.074850][ T1048] genl_family_rcv_msg (net/netlink/genetlink.c:1195) [ 321.074860][ T1048] ? __pfx_genl_family_rcv_msg (net/netlink/genetlink.c:1160) [ 321.074868][ T1048] ? __pfx_devlink_nl_pre_doit_dev_lock (net/devlink/netlink.c:257) [ 321.074872][ T1048] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 321.074877][ T1048] ? __pfx_devlink_nl_post_doit_dev_lock (net/devlink/netlink.c:288) [ 321.074900][ T1048] genl_rcv_msg (net/netlink/genetlink.c:65 net/netlink/genetlink.c:1211) [ 321.074910][ T1048] netlink_rcv_skb (net/netlink/af_netlink.c:2534) [ 321.074916][ T1048] ? __pfx_genl_rcv_msg (net/netlink/genetlink.c:1201) [ 321.074927][ T1048] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2511) [ 321.074958][ T1048] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 321.074973][ T1048] genl_rcv (net/netlink/genetlink.c:1220) [ 321.074979][ T1048] netlink_unicast (net/netlink/af_netlink.c:1314 net/netlink/af_netlink.c:1339) [ 321.074992][ T1048] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1324) [ 321.075000][ T1048] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 321.075020][ T1048] netlink_sendmsg (net/netlink/af_netlink.c:1883) [ 321.075034][ T1048] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1802) [ 321.075048][ T1048] ? __might_fault (mm/memory.c:6991 mm/memory.c:6985) [ 321.075066][ T1048] __sys_sendto (net/socket.c:712 net/socket.c:727 net/socket.c:2180) [ 321.075081][ T1048] ? __pfx___sys_sendto (net/socket.c:2147) [ 321.075111][ T1048] ? __sys_recvmsg (net/socket.c:2861) [ 321.075118][ T1048] ? __pfx___sys_recvmsg (net/socket.c:2846) [ 321.075121][ T1048] ? do_user_addr_fault (./include/linux/mmap_lock.h:440 arch/x86/mm/fault.c:1415) [ 321.075145][ T1048] ? do_user_addr_fault (./include/linux/mmap_lock.h:440 arch/x86/mm/fault.c:1415) [ 321.075161][ T1048] __x64_sys_sendto (net/socket.c:2183) [ 321.075168][ T1048] ? do_syscall_64 (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 ./include/linux/entry-common.h:199 arch/x86/entry/syscall_64.c:90) [ 321.075179][ T1048] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4475) [ 321.075187][ T1048] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 321.075199][ T1048] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 321.075207][ T1048] RIP: 0033:0x7f7647ad8a4a [ 321.075216][ T1048] Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb b8 0f 1f 00 f3 0f 1e fa 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 15 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 7e c3 0f 1f 44 00 00 41 54 48 83 ec 30 44 89 All code ======== 0: d8 64 89 02 fsubs 0x2(%rcx,%rcx,4) 4: 48 c7 c0 ff ff ff ff mov $0xffffffffffffffff,%rax b: eb b8 jmp 0xffffffffffffffc5 d: 0f 1f 00 nopl (%rax) 10: f3 0f 1e fa endbr64 14: 41 89 ca mov %ecx,%r10d 17: 64 8b 04 25 18 00 00 mov %fs:0x18,%eax 1e: 00 1f: 85 c0 test %eax,%eax 21: 75 15 jne 0x38 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 7e ja 0xb0 32: c3 ret 33: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 38: 41 54 push %r12 3a: 48 83 ec 30 sub $0x30,%rsp 3e: 44 rex.R 3f: 89 .byte 0x89 Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 77 7e ja 0x86 8: c3 ret 9: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) e: 41 54 push %r12 10: 48 83 ec 30 sub $0x30,%rsp 14: 44 rex.R 15: 89 .byte 0x89 [ 321.075221][ T1048] RSP: 002b:00007ffccd9b06f8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 321.075228][ T1048] RAX: ffffffffffffffda RBX: 000000001f8dfb00 RCX: 00007f7647ad8a4a [ 321.075231][ T1048] RDX: 0000000000000038 RSI: 000000001f8dfb00 RDI: 0000000000000005 [ 321.075235][ T1048] RBP: 000000001f8df910 R08: 00007f7647c7f200 R09: 000000000000000c [ 321.075238][ T1048] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000040f200 [ 321.075241][ T1048] R13: 000000001f8df910 R14: 0000000000000000 R15: 0000000000000003 | [ 321.075241][ T1048] R13: 000000001f8df910 R14: 0000000000000000 R15: 0000000000000003 | [ 321.075275][ T1048] | [ 326.477679][ T1140] BUG: using smp_processor_id() in preemptible [00000000] code: devlink/1140 | [ 326.478374][ T1140] caller is nsim_queue_uninit (./include/linux/netdevice.h:3023 (discriminator 3) drivers/net/netdevsim/netdev.c:638 (discriminator 3) drivers/net/netdevsim/netdev.c:917 (discriminator 3)) netdevsim [ 326.478856][ T1140] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 326.478859][ T1140] Call Trace: [ 326.478862][ T1140] [ 326.478865][ T1140] dump_stack_lvl (lib/dump_stack.c:123) [ 326.478878][ T1140] check_preemption_disabled (lib/smp_processor_id.c:52) [ 326.478889][ T1140] nsim_queue_uninit (./include/linux/netdevice.h:3023 (discriminator 3) drivers/net/netdevsim/netdev.c:638 (discriminator 3) drivers/net/netdevsim/netdev.c:917 (discriminator 3)) netdevsim [ 326.478908][ T1140] ? nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 326.478926][ T1140] nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 326.478944][ T1140] __nsim_dev_port_del (drivers/net/netdevsim/dev.c:426 drivers/net/netdevsim/dev.c:1429) netdevsim [ 326.478961][ T1140] nsim_dev_reload_destroy (drivers/net/netdevsim/dev.c:1438 drivers/net/netdevsim/dev.c:1661) netdevsim [ 326.478980][ T1140] nsim_dev_reload_down (drivers/net/netdevsim/dev.c:969) netdevsim [ 326.478996][ T1140] devlink_reload (net/devlink/dev.c:462) [ 326.479008][ T1140] ? __pfx_devlink_reload (net/devlink/dev.c:446) [ 326.479014][ T1140] ? devlink_resources_validate (net/devlink/resource.c:311) [ 326.479028][ T1140] devlink_nl_reload_doit (net/devlink/dev.c:584) [ 326.479035][ T1140] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 326.479043][ T1140] ? __nla_parse (lib/nlattr.c:732) [ 326.479058][ T1140] genl_family_rcv_msg_doit (net/netlink/genetlink.c:1117) [ 326.479066][ T1140] ? __pfx_genl_family_rcv_msg_doit (net/netlink/genetlink.c:1088) [ 326.479082][ T1140] ? cap_capable (security/commoncap.c:132) [ 326.479087][ T1140] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83) [ 326.479101][ T1140] genl_family_rcv_msg (net/netlink/genetlink.c:1195) [ 326.479107][ T1140] ? __pfx_genl_family_rcv_msg (net/netlink/genetlink.c:1160) [ 326.479112][ T1140] ? __pfx_devlink_nl_pre_doit_dev_lock (net/devlink/netlink.c:257) [ 326.479115][ T1140] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 326.479118][ T1140] ? __pfx_devlink_nl_post_doit_dev_lock (net/devlink/netlink.c:288) [ 326.479133][ T1140] genl_rcv_msg (net/netlink/genetlink.c:65 net/netlink/genetlink.c:1211) [ 326.479139][ T1140] netlink_rcv_skb (net/netlink/af_netlink.c:2534) [ 326.479143][ T1140] ? __pfx_genl_rcv_msg (net/netlink/genetlink.c:1201) [ 326.479150][ T1140] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2511) [ 326.479168][ T1140] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 326.479179][ T1140] genl_rcv (net/netlink/genetlink.c:1220) [ 326.479182][ T1140] netlink_unicast (net/netlink/af_netlink.c:1314 net/netlink/af_netlink.c:1339) [ 326.479190][ T1140] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1324) [ 326.479195][ T1140] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 326.479208][ T1140] netlink_sendmsg (net/netlink/af_netlink.c:1883) [ 326.479217][ T1140] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1802) [ 326.479226][ T1140] ? __might_fault (mm/memory.c:6991 mm/memory.c:6985) [ 326.479239][ T1140] __sys_sendto (net/socket.c:712 net/socket.c:727 net/socket.c:2180) [ 326.479248][ T1140] ? __pfx___sys_sendto (net/socket.c:2147) [ 326.479271][ T1140] ? __sys_recvmsg (net/socket.c:2861) [ 326.479278][ T1140] ? __pfx___sys_recvmsg (net/socket.c:2846) [ 326.479282][ T1140] ? do_user_addr_fault (./include/linux/mmap_lock.h:440 arch/x86/mm/fault.c:1415) [ 326.479298][ T1140] ? do_user_addr_fault (./include/linux/mmap_lock.h:440 arch/x86/mm/fault.c:1415) [ 326.479306][ T1140] __x64_sys_sendto (net/socket.c:2183) [ 326.479310][ T1140] ? do_syscall_64 (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 ./include/linux/entry-common.h:199 arch/x86/entry/syscall_64.c:90) [ 326.479317][ T1140] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4475) [ 326.479321][ T1140] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 326.479328][ T1140] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 326.479332][ T1140] RIP: 0033:0x7f27e6efba4a [ 326.479338][ T1140] Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb b8 0f 1f 00 f3 0f 1e fa 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 15 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 7e c3 0f 1f 44 00 00 41 54 48 83 ec 30 44 89 All code ======== 0: d8 64 89 02 fsubs 0x2(%rcx,%rcx,4) 4: 48 c7 c0 ff ff ff ff mov $0xffffffffffffffff,%rax b: eb b8 jmp 0xffffffffffffffc5 d: 0f 1f 00 nopl (%rax) 10: f3 0f 1e fa endbr64 14: 41 89 ca mov %ecx,%r10d 17: 64 8b 04 25 18 00 00 mov %fs:0x18,%eax 1e: 00 1f: 85 c0 test %eax,%eax 21: 75 15 jne 0x38 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 7e ja 0xb0 32: c3 ret 33: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 38: 41 54 push %r12 3a: 48 83 ec 30 sub $0x30,%rsp 3e: 44 rex.R 3f: 89 .byte 0x89 Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 77 7e ja 0x86 8: c3 ret 9: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) e: 41 54 push %r12 10: 48 83 ec 30 sub $0x30,%rsp 14: 44 rex.R 15: 89 .byte 0x89 [ 326.479341][ T1140] RSP: 002b:00007ffe2b89b3c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 326.479346][ T1140] RAX: ffffffffffffffda RBX: 000000001875db00 RCX: 00007f27e6efba4a [ 326.479348][ T1140] RDX: 0000000000000038 RSI: 000000001875db00 RDI: 0000000000000005 [ 326.479351][ T1140] RBP: 000000001875d910 R08: 00007f27e70a2200 R09: 000000000000000c [ 326.479353][ T1140] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000040f200 [ 326.479354][ T1140] R13: 000000001875d910 R14: 0000000000000000 R15: 0000000000000003 | [ 326.479371][ T1140] | [ 327.293780][ T1147] netdevsim: Exceeded number of supported nexthops | [ 327.960233][ T1154] BUG: using smp_processor_id() in preemptible [00000000] code: devlink/1154 | [ 327.962467][ T1154] caller is nsim_queue_uninit (./include/linux/netdevice.h:3023 (discriminator 3) drivers/net/netdevsim/netdev.c:638 (discriminator 3) drivers/net/netdevsim/netdev.c:917 (discriminator 3)) netdevsim [ 327.963074][ T1154] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 327.963076][ T1154] Call Trace: [ 327.963079][ T1154] [ 327.963082][ T1154] dump_stack_lvl (lib/dump_stack.c:123) [ 327.963094][ T1154] check_preemption_disabled (lib/smp_processor_id.c:52) [ 327.963105][ T1154] nsim_queue_uninit (./include/linux/netdevice.h:3023 (discriminator 3) drivers/net/netdevsim/netdev.c:638 (discriminator 3) drivers/net/netdevsim/netdev.c:917 (discriminator 3)) netdevsim [ 327.963123][ T1154] ? nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 327.963141][ T1154] nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 327.963160][ T1154] __nsim_dev_port_del (drivers/net/netdevsim/dev.c:426 drivers/net/netdevsim/dev.c:1429) netdevsim [ 327.963178][ T1154] nsim_dev_reload_destroy (drivers/net/netdevsim/dev.c:1438 drivers/net/netdevsim/dev.c:1661) netdevsim [ 327.963196][ T1154] nsim_dev_reload_down (drivers/net/netdevsim/dev.c:969) netdevsim [ 327.963212][ T1154] devlink_reload (net/devlink/dev.c:462) [ 327.963224][ T1154] ? __pfx_devlink_reload (net/devlink/dev.c:446) [ 327.963231][ T1154] ? devlink_resources_validate (net/devlink/resource.c:311) [ 327.963245][ T1154] devlink_nl_reload_doit (net/devlink/dev.c:584) [ 327.963261][ T1154] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 327.963268][ T1154] ? __nla_parse (lib/nlattr.c:732) [ 327.963283][ T1154] genl_family_rcv_msg_doit (net/netlink/genetlink.c:1117) [ 327.963291][ T1154] ? __pfx_genl_family_rcv_msg_doit (net/netlink/genetlink.c:1088) [ 327.963308][ T1154] ? cap_capable (security/commoncap.c:132) [ 327.963314][ T1154] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83) [ 327.963328][ T1154] genl_family_rcv_msg (net/netlink/genetlink.c:1195) [ 327.963334][ T1154] ? __pfx_genl_family_rcv_msg (net/netlink/genetlink.c:1160) [ 327.963339][ T1154] ? __pfx_devlink_nl_pre_doit_dev_lock (net/devlink/netlink.c:257) [ 327.963342][ T1154] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 327.963346][ T1154] ? __pfx_devlink_nl_post_doit_dev_lock (net/devlink/netlink.c:288) [ 327.963361][ T1154] genl_rcv_msg (net/netlink/genetlink.c:65 net/netlink/genetlink.c:1211) [ 327.963368][ T1154] netlink_rcv_skb (net/netlink/af_netlink.c:2534) [ 327.963371][ T1154] ? __pfx_genl_rcv_msg (net/netlink/genetlink.c:1201) [ 327.963378][ T1154] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2511) [ 327.963397][ T1154] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 327.963406][ T1154] genl_rcv (net/netlink/genetlink.c:1220) [ 327.963409][ T1154] netlink_unicast (net/netlink/af_netlink.c:1314 net/netlink/af_netlink.c:1339) [ 327.963418][ T1154] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1324) [ 327.963423][ T1154] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 327.963436][ T1154] netlink_sendmsg (net/netlink/af_netlink.c:1883) [ 327.963445][ T1154] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1802) [ 327.963453][ T1154] ? __might_fault (mm/memory.c:6991 mm/memory.c:6985) [ 327.963466][ T1154] __sys_sendto (net/socket.c:712 net/socket.c:727 net/socket.c:2180) [ 327.963476][ T1154] ? __pfx___sys_sendto (net/socket.c:2147) [ 327.963496][ T1154] ? __sys_recvmsg (net/socket.c:2861) [ 327.963500][ T1154] ? __pfx___sys_recvmsg (net/socket.c:2846) [ 327.963503][ T1154] ? do_user_addr_fault (./include/linux/mmap_lock.h:440 arch/x86/mm/fault.c:1415) [ 327.963520][ T1154] ? do_user_addr_fault (./include/linux/mmap_lock.h:440 arch/x86/mm/fault.c:1415) [ 327.963527][ T1154] __x64_sys_sendto (net/socket.c:2183) [ 327.963531][ T1154] ? do_syscall_64 (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 ./include/linux/entry-common.h:199 arch/x86/entry/syscall_64.c:90) [ 327.963538][ T1154] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4475) [ 327.963543][ T1154] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 327.963549][ T1154] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 327.963553][ T1154] RIP: 0033:0x7fbf4da53a4a [ 327.963559][ T1154] Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb b8 0f 1f 00 f3 0f 1e fa 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 15 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 7e c3 0f 1f 44 00 00 41 54 48 83 ec 30 44 89 All code ======== 0: d8 64 89 02 fsubs 0x2(%rcx,%rcx,4) 4: 48 c7 c0 ff ff ff ff mov $0xffffffffffffffff,%rax b: eb b8 jmp 0xffffffffffffffc5 d: 0f 1f 00 nopl (%rax) 10: f3 0f 1e fa endbr64 14: 41 89 ca mov %ecx,%r10d 17: 64 8b 04 25 18 00 00 mov %fs:0x18,%eax 1e: 00 1f: 85 c0 test %eax,%eax 21: 75 15 jne 0x38 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 7e ja 0xb0 32: c3 ret 33: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 38: 41 54 push %r12 3a: 48 83 ec 30 sub $0x30,%rsp 3e: 44 rex.R 3f: 89 .byte 0x89 Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 77 7e ja 0x86 8: c3 ret 9: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) e: 41 54 push %r12 10: 48 83 ec 30 sub $0x30,%rsp 14: 44 rex.R 15: 89 .byte 0x89 [ 327.963562][ T1154] RSP: 002b:00007ffc8c71e3a8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 327.963567][ T1154] RAX: ffffffffffffffda RBX: 000000001414db00 RCX: 00007fbf4da53a4a [ 327.963570][ T1154] RDX: 0000000000000038 RSI: 000000001414db00 RDI: 0000000000000005 [ 327.963572][ T1154] RBP: 000000001414d910 R08: 00007fbf4dbfa200 R09: 000000000000000c [ 327.963574][ T1154] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000040f200 [ 327.963576][ T1154] R13: 000000001414d910 R14: 0000000000000000 R15: 0000000000000003 | [ 330.611805][ T1193] netdevsim: Failed to replace nexthop bucket | [ 330.612302][ T1193] netdevsim: Failed to replace nexthop bucket | [ 332.223284][ T1219] BUG: using smp_processor_id() in preemptible [00000000] code: devlink/1219 | [ 332.223980][ T1219] caller is nsim_queue_uninit (./include/linux/netdevice.h:3023 (discriminator 3) drivers/net/netdevsim/netdev.c:638 (discriminator 3) drivers/net/netdevsim/netdev.c:917 (discriminator 3)) netdevsim [ 332.224443][ T1219] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 332.224445][ T1219] Call Trace: [ 332.224448][ T1219] [ 332.224450][ T1219] dump_stack_lvl (lib/dump_stack.c:123) [ 332.224464][ T1219] check_preemption_disabled (lib/smp_processor_id.c:52) [ 332.224474][ T1219] nsim_queue_uninit (./include/linux/netdevice.h:3023 (discriminator 3) drivers/net/netdevsim/netdev.c:638 (discriminator 3) drivers/net/netdevsim/netdev.c:917 (discriminator 3)) netdevsim [ 332.224493][ T1219] ? nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 332.224513][ T1219] nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 332.224532][ T1219] __nsim_dev_port_del (drivers/net/netdevsim/dev.c:426 drivers/net/netdevsim/dev.c:1429) netdevsim [ 332.224549][ T1219] nsim_dev_reload_destroy (drivers/net/netdevsim/dev.c:1438 drivers/net/netdevsim/dev.c:1661) netdevsim [ 332.224568][ T1219] nsim_dev_reload_down (drivers/net/netdevsim/dev.c:969) netdevsim [ 332.224583][ T1219] devlink_reload (net/devlink/dev.c:462) [ 332.224596][ T1219] ? __pfx_devlink_reload (net/devlink/dev.c:446) [ 332.224602][ T1219] ? devlink_resources_validate (net/devlink/resource.c:311) [ 332.224617][ T1219] devlink_nl_reload_doit (net/devlink/dev.c:584) [ 332.224625][ T1219] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 332.224632][ T1219] ? __nla_parse (lib/nlattr.c:732) [ 332.224646][ T1219] genl_family_rcv_msg_doit (net/netlink/genetlink.c:1117) [ 332.224654][ T1219] ? __pfx_genl_family_rcv_msg_doit (net/netlink/genetlink.c:1088) [ 332.224671][ T1219] ? cap_capable (security/commoncap.c:132) [ 332.224675][ T1219] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83) [ 332.224687][ T1219] genl_family_rcv_msg (net/netlink/genetlink.c:1195) [ 332.224694][ T1219] ? __pfx_genl_family_rcv_msg (net/netlink/genetlink.c:1160) [ 332.224698][ T1219] ? __pfx_devlink_nl_pre_doit_dev_lock (net/devlink/netlink.c:257) [ 332.224702][ T1219] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 332.224705][ T1219] ? __pfx_devlink_nl_post_doit_dev_lock (net/devlink/netlink.c:288) [ 332.224720][ T1219] genl_rcv_msg (net/netlink/genetlink.c:65 net/netlink/genetlink.c:1211) [ 332.224726][ T1219] netlink_rcv_skb (net/netlink/af_netlink.c:2534) [ 332.224735][ T1219] ? __pfx_genl_rcv_msg (net/netlink/genetlink.c:1201) [ 332.224742][ T1219] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2511) [ 332.224761][ T1219] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 332.224770][ T1219] genl_rcv (net/netlink/genetlink.c:1220) [ 332.224774][ T1219] netlink_unicast (net/netlink/af_netlink.c:1314 net/netlink/af_netlink.c:1339) [ 332.224782][ T1219] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1324) [ 332.224787][ T1219] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 332.224801][ T1219] netlink_sendmsg (net/netlink/af_netlink.c:1883) [ 332.224810][ T1219] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1802) [ 332.224819][ T1219] ? __might_fault (mm/memory.c:6991 mm/memory.c:6985) [ 332.224832][ T1219] __sys_sendto (net/socket.c:712 net/socket.c:727 net/socket.c:2180) [ 332.224841][ T1219] ? __pfx___sys_sendto (net/socket.c:2147) [ 332.224861][ T1219] ? __sys_recvmsg (net/socket.c:2861) [ 332.224866][ T1219] ? __pfx___sys_recvmsg (net/socket.c:2846) [ 332.224868][ T1219] ? do_user_addr_fault (./include/linux/mmap_lock.h:440 arch/x86/mm/fault.c:1415) [ 332.224884][ T1219] ? do_user_addr_fault (./include/linux/mmap_lock.h:440 arch/x86/mm/fault.c:1415) [ 332.224891][ T1219] __x64_sys_sendto (net/socket.c:2183) [ 332.224895][ T1219] ? do_syscall_64 (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 ./include/linux/entry-common.h:199 arch/x86/entry/syscall_64.c:90) [ 332.224902][ T1219] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4475) [ 332.224907][ T1219] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 332.224916][ T1219] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 332.224923][ T1219] RIP: 0033:0x7f302e0efa4a [ 332.224931][ T1219] Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb b8 0f 1f 00 f3 0f 1e fa 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 15 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 7e c3 0f 1f 44 00 00 41 54 48 83 ec 30 44 89 All code ======== 0: d8 64 89 02 fsubs 0x2(%rcx,%rcx,4) 4: 48 c7 c0 ff ff ff ff mov $0xffffffffffffffff,%rax b: eb b8 jmp 0xffffffffffffffc5 d: 0f 1f 00 nopl (%rax) 10: f3 0f 1e fa endbr64 14: 41 89 ca mov %ecx,%r10d 17: 64 8b 04 25 18 00 00 mov %fs:0x18,%eax 1e: 00 1f: 85 c0 test %eax,%eax 21: 75 15 jne 0x38 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 7e ja 0xb0 32: c3 ret 33: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 38: 41 54 push %r12 3a: 48 83 ec 30 sub $0x30,%rsp 3e: 44 rex.R 3f: 89 .byte 0x89 Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 77 7e ja 0x86 8: c3 ret 9: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) e: 41 54 push %r12 10: 48 83 ec 30 sub $0x30,%rsp 14: 44 rex.R 15: 89 .byte 0x89 [ 332.224935][ T1219] RSP: 002b:00007ffe76a55cb8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 332.224942][ T1219] RAX: ffffffffffffffda RBX: 0000000007aa4b00 RCX: 00007f302e0efa4a [ 332.224945][ T1219] RDX: 0000000000000038 RSI: 0000000007aa4b00 RDI: 0000000000000005 [ 332.224946][ T1219] RBP: 0000000007aa4910 R08: 00007f302e296200 R09: 000000000000000c [ 332.224948][ T1219] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000040f200 [ 332.224950][ T1219] R13: 0000000007aa4910 R14: 0000000000000000 R15: 0000000000000003 | [ 332.224950][ T1219] R13: 0000000007aa4910 R14: 0000000000000000 R15: 0000000000000003 | [ 332.224967][ T1219] | [ 334.045269][ T1248] BUG: using smp_processor_id() in preemptible [00000000] code: devlink/1248 | [ 334.046319][ T1248] caller is nsim_queue_uninit (./include/linux/netdevice.h:3023 (discriminator 3) drivers/net/netdevsim/netdev.c:638 (discriminator 3) drivers/net/netdevsim/netdev.c:917 (discriminator 3)) netdevsim [ 334.048578][ T1248] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 334.048582][ T1248] Call Trace: [ 334.048586][ T1248] [ 334.048590][ T1248] dump_stack_lvl (lib/dump_stack.c:123) [ 334.048608][ T1248] check_preemption_disabled (lib/smp_processor_id.c:52) [ 334.048622][ T1248] nsim_queue_uninit (./include/linux/netdevice.h:3023 (discriminator 3) drivers/net/netdevsim/netdev.c:638 (discriminator 3) drivers/net/netdevsim/netdev.c:917 (discriminator 3)) netdevsim [ 334.048656][ T1248] ? nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 334.048690][ T1248] nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 334.048724][ T1248] __nsim_dev_port_del (drivers/net/netdevsim/dev.c:426 drivers/net/netdevsim/dev.c:1429) netdevsim [ 334.048750][ T1248] nsim_dev_reload_destroy (drivers/net/netdevsim/dev.c:1438 drivers/net/netdevsim/dev.c:1661) netdevsim [ 334.048783][ T1248] nsim_dev_reload_down (drivers/net/netdevsim/dev.c:969) netdevsim [ 334.048807][ T1248] devlink_reload (net/devlink/dev.c:462) [ 334.048826][ T1248] ? __pfx_devlink_reload (net/devlink/dev.c:446) [ 334.048839][ T1248] ? devlink_resources_validate (net/devlink/resource.c:311) [ 334.048864][ T1248] devlink_nl_reload_doit (net/devlink/dev.c:584) [ 334.048877][ T1248] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 334.048888][ T1248] ? __nla_parse (lib/nlattr.c:732) [ 334.048912][ T1248] genl_family_rcv_msg_doit (net/netlink/genetlink.c:1117) [ 334.048925][ T1248] ? __pfx_genl_family_rcv_msg_doit (net/netlink/genetlink.c:1088) [ 334.048954][ T1248] ? cap_capable (security/commoncap.c:132) [ 334.048963][ T1248] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83) [ 334.048982][ T1248] genl_family_rcv_msg (net/netlink/genetlink.c:1195) [ 334.048993][ T1248] ? __pfx_genl_family_rcv_msg (net/netlink/genetlink.c:1160) [ 334.049001][ T1248] ? __pfx_devlink_nl_pre_doit_dev_lock (net/devlink/netlink.c:257) [ 334.049006][ T1248] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 334.049012][ T1248] ? __pfx_devlink_nl_post_doit_dev_lock (net/devlink/netlink.c:288) [ 334.049039][ T1248] genl_rcv_msg (net/netlink/genetlink.c:65 net/netlink/genetlink.c:1211) [ 334.049049][ T1248] netlink_rcv_skb (net/netlink/af_netlink.c:2534) [ 334.049056][ T1248] ? __pfx_genl_rcv_msg (net/netlink/genetlink.c:1201) [ 334.049070][ T1248] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2511) [ 334.049107][ T1248] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 334.049121][ T1248] genl_rcv (net/netlink/genetlink.c:1220) [ 334.049126][ T1248] netlink_unicast (net/netlink/af_netlink.c:1314 net/netlink/af_netlink.c:1339) [ 334.049142][ T1248] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1324) [ 334.049152][ T1248] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 334.049175][ T1248] netlink_sendmsg (net/netlink/af_netlink.c:1883) [ 334.049192][ T1248] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1802) [ 334.049207][ T1248] ? __might_fault (mm/memory.c:6991 mm/memory.c:6985) [ 334.049226][ T1248] __sys_sendto (net/socket.c:712 net/socket.c:727 net/socket.c:2180) [ 334.049241][ T1248] ? __pfx___sys_sendto (net/socket.c:2147) [ 334.049275][ T1248] ? __sys_recvmsg (net/socket.c:2861) [ 334.049283][ T1248] ? __pfx___sys_recvmsg (net/socket.c:2846) [ 334.049287][ T1248] ? do_user_addr_fault (./include/linux/mmap_lock.h:440 arch/x86/mm/fault.c:1415) [ 334.049316][ T1248] ? do_user_addr_fault (./include/linux/mmap_lock.h:440 arch/x86/mm/fault.c:1415) [ 334.049331][ T1248] __x64_sys_sendto (net/socket.c:2183) [ 334.049346][ T1248] ? do_syscall_64 (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 ./include/linux/entry-common.h:199 arch/x86/entry/syscall_64.c:90) [ 334.049355][ T1248] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4475) [ 334.049362][ T1248] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 334.049371][ T1248] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 334.049376][ T1248] RIP: 0033:0x7fca54d85a4a [ 334.049384][ T1248] Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb b8 0f 1f 00 f3 0f 1e fa 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 15 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 7e c3 0f 1f 44 00 00 41 54 48 83 ec 30 44 89 All code ======== 0: d8 64 89 02 fsubs 0x2(%rcx,%rcx,4) 4: 48 c7 c0 ff ff ff ff mov $0xffffffffffffffff,%rax b: eb b8 jmp 0xffffffffffffffc5 d: 0f 1f 00 nopl (%rax) 10: f3 0f 1e fa endbr64 14: 41 89 ca mov %ecx,%r10d 17: 64 8b 04 25 18 00 00 mov %fs:0x18,%eax 1e: 00 1f: 85 c0 test %eax,%eax 21: 75 15 jne 0x38 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 7e ja 0xb0 32: c3 ret 33: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 38: 41 54 push %r12 3a: 48 83 ec 30 sub $0x30,%rsp 3e: 44 rex.R 3f: 89 .byte 0x89 Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 77 7e ja 0x86 8: c3 ret 9: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) e: 41 54 push %r12 10: 48 83 ec 30 sub $0x30,%rsp 14: 44 rex.R 15: 89 .byte 0x89 [ 334.049389][ T1248] RSP: 002b:00007fffc3377898 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 334.049396][ T1248] RAX: ffffffffffffffda RBX: 000000001e2b9b00 RCX: 00007fca54d85a4a [ 334.049400][ T1248] RDX: 0000000000000038 RSI: 000000001e2b9b00 RDI: 0000000000000005 [ 334.049403][ T1248] RBP: 000000001e2b9910 R08: 00007fca54f2c200 R09: 000000000000000c [ 334.049406][ T1248] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000040f200 [ 334.049409][ T1248] R13: 000000001e2b9910 R14: 0000000000000000 R15: 0000000000000003 | [ 334.049438][ T1248] | [ 334.146653][ T1248] Failed to register nexthop notifier | [ 334.880476][ T12] BUG: using smp_processor_id() in preemptible [00000000] code: kworker/u16:0/12 | [ 334.881962][ T12] caller is nsim_queue_uninit (./include/linux/netdevice.h:3023 (discriminator 3) drivers/net/netdevsim/netdev.c:638 (discriminator 3) drivers/net/netdevsim/netdev.c:917 (discriminator 3)) netdevsim [ 334.882766][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 334.882770][ T12] Workqueue: netns cleanup_net [ 334.882784][ T12] Call Trace: [ 334.882788][ T12] [ 334.882798][ T12] dump_stack_lvl (lib/dump_stack.c:123) [ 334.882812][ T12] check_preemption_disabled (lib/smp_processor_id.c:52) [ 334.882829][ T12] nsim_queue_uninit (./include/linux/netdevice.h:3023 (discriminator 3) drivers/net/netdevsim/netdev.c:638 (discriminator 3) drivers/net/netdevsim/netdev.c:917 (discriminator 3)) netdevsim [ 334.882865][ T12] ? nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 334.882899][ T12] nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 334.882936][ T12] __nsim_dev_port_del (drivers/net/netdevsim/dev.c:426 drivers/net/netdevsim/dev.c:1429) netdevsim [ 334.882957][ T12] nsim_dev_reload_destroy (drivers/net/netdevsim/dev.c:1438 drivers/net/netdevsim/dev.c:1661) netdevsim [ 334.882976][ T12] nsim_dev_reload_down (drivers/net/netdevsim/dev.c:969) netdevsim [ 334.882991][ T12] devlink_reload (net/devlink/dev.c:462) [ 334.883002][ T12] ? __pfx_devlink_reload (net/devlink/dev.c:446) [ 334.883020][ T12] devlink_pernet_pre_exit (net/devlink/core.c:288 net/devlink/devl_internal.h:114 net/devlink/core.c:513) [ 334.883026][ T12] ? __pfx_devlink_pernet_pre_exit (net/devlink/core.c:496) [ 334.883029][ T12] ? rcu_read_lock_any_held (kernel/rcu/update.c:386 kernel/rcu/update.c:380) [ 334.883035][ T12] ? validate_chain (kernel/locking/lockdep.c:3804 kernel/locking/lockdep.c:3824 kernel/locking/lockdep.c:3879) [ 334.883051][ T12] ops_undo_list (net/core/net_namespace.c:162 net/core/net_namespace.c:235) [ 334.883062][ T12] ? __pfx_ops_undo_list (net/core/net_namespace.c:224) [ 334.883069][ T12] ? __local_bh_enable_ip (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 kernel/softirq.c:412) [ 334.883081][ T12] cleanup_net (net/core/net_namespace.c:688) [ 334.883088][ T12] ? __pfx_cleanup_net (net/core/net_namespace.c:652) [ 334.883096][ T12] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:745) [ 334.883105][ T12] process_one_work (kernel/workqueue.c:3243) [ 334.883128][ T12] ? __pfx_process_one_work (kernel/workqueue.c:3140) [ 334.883141][ T12] ? assign_work (kernel/workqueue.c:1200) [ 334.883150][ T12] worker_thread (kernel/workqueue.c:3315 kernel/workqueue.c:3402) [ 334.883164][ T12] ? __pfx_worker_thread (kernel/workqueue.c:3348) [ 334.883170][ T12] kthread (kernel/kthread.c:464) [ 334.883177][ T12] ? __pfx_kthread (kernel/kthread.c:413) [ 334.883179][ T12] ? ret_from_fork (arch/x86/kernel/process.c:147) [ 334.883188][ T12] ? __lock_release (kernel/locking/lockdep.c:5539) [ 334.883194][ T12] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:745) [ 334.883199][ T12] ? __pfx_kthread (kernel/kthread.c:413) [ 334.883205][ T12] ret_from_fork (arch/x86/kernel/process.c:148) [ 334.883208][ T12] ? __pfx_kthread (kernel/kthread.c:413) [ 334.883212][ T12] ret_from_fork_asm (arch/x86/entry/entry_64.S:258) | [ 334.883212][ T12] ret_from_fork_asm (arch/x86/entry/entry_64.S:258) | [ 334.883234][ T12] | [ 334.960311][ T231] BUG: using smp_processor_id() in preemptible [00000000] code: nexthop.sh/231 | [ 334.961104][ T231] caller is nsim_queue_uninit (./include/linux/netdevice.h:3023 (discriminator 3) drivers/net/netdevsim/netdev.c:638 (discriminator 3) drivers/net/netdevsim/netdev.c:917 (discriminator 3)) netdevsim [ 334.961848][ T231] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 334.961850][ T231] Call Trace: [ 334.961853][ T231] [ 334.961856][ T231] dump_stack_lvl (lib/dump_stack.c:123) [ 334.961868][ T231] check_preemption_disabled (lib/smp_processor_id.c:52) [ 334.961879][ T231] nsim_queue_uninit (./include/linux/netdevice.h:3023 (discriminator 3) drivers/net/netdevsim/netdev.c:638 (discriminator 3) drivers/net/netdevsim/netdev.c:917 (discriminator 3)) netdevsim [ 334.961898][ T231] ? nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 334.961917][ T231] nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 334.961936][ T231] __nsim_dev_port_del (drivers/net/netdevsim/dev.c:426 drivers/net/netdevsim/dev.c:1429) netdevsim [ 334.961954][ T231] nsim_dev_reload_destroy (drivers/net/netdevsim/dev.c:1438 drivers/net/netdevsim/dev.c:1661) netdevsim [ 334.961973][ T231] nsim_drv_remove (drivers/net/netdevsim/dev.c:1678) netdevsim [ 334.961990][ T231] device_release_driver_internal (drivers/base/dd.c:1274 drivers/base/dd.c:1295) [ 334.962006][ T231] ? klist_put (lib/klist.c:220) [ 334.962013][ T231] bus_remove_device (./include/linux/kobject.h:193 drivers/base/base.h:73 drivers/base/bus.c:586) [ 334.962024][ T231] device_del (drivers/base/core.c:3882) [ 334.962031][ T231] ? __pfx_device_del (drivers/base/core.c:3836) [ 334.962045][ T231] device_unregister (drivers/base/core.c:3799 drivers/base/core.c:3923) [ 334.962049][ T231] del_device_store (drivers/net/netdevsim/bus.c:230) netdevsim [ 334.962067][ T231] ? __pfx_del_device_store (drivers/net/netdevsim/bus.c:197) netdevsim [ 334.962083][ T231] ? sysfs_file_kobj (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 ./include/linux/rcupdate.h:1155 fs/sysfs/file.c:24) [ 334.962098][ T231] ? sysfs_file_kobj (fs/sysfs/file.c:26) [ 334.962106][ T231] ? __pfx_sysfs_kf_write (fs/sysfs/file.c:138) [ 334.962109][ T231] kernfs_fop_write_iter (fs/kernfs/file.c:334) [ 334.962120][ T231] vfs_write (fs/read_write.c:593 fs/read_write.c:686) [ 334.962136][ T231] ? __pfx_vfs_write (fs/read_write.c:667) [ 334.962145][ T231] ? __pfx_lock_vma_under_rcu (mm/mmap_lock.c:137) [ 334.962158][ T231] ? find_held_lock (kernel/locking/lockdep.c:5353) [ 334.962172][ T231] ksys_write (fs/read_write.c:738) [ 334.962178][ T231] ? __pfx_ksys_write (fs/read_write.c:728) [ 334.962181][ T231] ? do_user_addr_fault (./arch/x86/include/asm/atomic.h:93 ./include/linux/atomic/atomic-arch-fallback.h:949 ./include/linux/atomic/atomic-instrumented.h:401 ./include/linux/refcount.h:389 ./include/linux/refcount.h:432 ./include/linux/mmap_lock.h:142 ./include/linux/mmap_lock.h:237 arch/x86/mm/fault.c:1338) [ 334.962197][ T231] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 334.962207][ T231] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 334.962211][ T231] RIP: 0033:0x7fc065574b77 [ 334.962217][ T231] Code: 0b 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 48 89 54 24 18 48 89 74 24 All code ======== 0: 0b 00 or (%rax),%eax 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 b7 jmp 0xffffffffffffffc7 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 01 00 00 00 mov $0x1,%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: 48 89 54 24 18 mov %rdx,0x18(%rsp) 3c: 48 rex.W 3d: 89 .byte 0x89 3e: 74 24 je 0x64 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: 48 89 54 24 18 mov %rdx,0x18(%rsp) 12: 48 rex.W 13: 89 .byte 0x89 14: 74 24 je 0x3a [ 334.962220][ T231] RSP: 002b:00007ffe37c471b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 334.962224][ T231] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007fc065574b77 [ 334.962227][ T231] RDX: 0000000000000005 RSI: 0000560e0e0b5940 RDI: 0000000000000001 [ 334.962229][ T231] RBP: 0000560e0e0b5940 R08: 0000000000000000 R09: 00007fc0655e74e0 [ 334.962231][ T231] R10: 00007fc0655e73e0 R11: 0000000000000246 R12: 0000000000000005 Finger prints: check_preemption_disabled:nsim_queue_uninit:nsim_destroy:__nsim_dev_port_del:nsim_dev_reload_destroy ret_from_fork_asm:dump_stack_lvl:check_preemption_disabled:nsim_queue_uninit:nsim_destroy