====================================== | [ 19.846839][ T245] netdevsim netdevsim10 eni10np2: renamed from eth1 | [ 19.857328][ T266] devlink (266) used greatest stack depth: 22880 bytes left | [ 44.360604][ T314] BUG: using smp_processor_id() in preemptible [00000000] code: devlink/314 | [ 44.361380][ T314] 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 [ 44.361869][ T314] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 44.361872][ T314] Call Trace: [ 44.361874][ T314] [ 44.361877][ T314] dump_stack_lvl (lib/dump_stack.c:123) [ 44.361886][ T314] check_preemption_disabled (lib/smp_processor_id.c:52) [ 44.361895][ T314] 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 [ 44.361913][ T314] ? nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 44.361931][ T314] nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 44.361950][ T314] __nsim_dev_port_del (drivers/net/netdevsim/dev.c:426 drivers/net/netdevsim/dev.c:1429) netdevsim [ 44.361967][ T314] nsim_dev_reload_destroy (drivers/net/netdevsim/dev.c:1438 drivers/net/netdevsim/dev.c:1661) netdevsim [ 44.361986][ T314] nsim_dev_reload_down (drivers/net/netdevsim/dev.c:969) netdevsim [ 44.362001][ T314] devlink_reload (net/devlink/dev.c:462) [ 44.362012][ T314] ? __pfx_devlink_reload (net/devlink/dev.c:446) [ 44.362019][ T314] ? devlink_resources_validate (net/devlink/resource.c:311) [ 44.362032][ T314] devlink_nl_reload_doit (net/devlink/dev.c:584) [ 44.362040][ T314] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 44.362047][ T314] ? __nla_parse (lib/nlattr.c:732) [ 44.362061][ T314] genl_family_rcv_msg_doit (net/netlink/genetlink.c:1117) [ 44.362068][ T314] ? __pfx_genl_family_rcv_msg_doit (net/netlink/genetlink.c:1088) [ 44.362085][ T314] ? cap_capable (security/commoncap.c:132) [ 44.362088][ T314] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83) [ 44.362100][ T314] genl_family_rcv_msg (net/netlink/genetlink.c:1195) [ 44.362106][ T314] ? __pfx_genl_family_rcv_msg (net/netlink/genetlink.c:1160) [ 44.362111][ T314] ? __pfx_devlink_nl_pre_doit_dev_lock (net/devlink/netlink.c:257) [ 44.362114][ T314] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 44.362117][ T314] ? __pfx_devlink_nl_post_doit_dev_lock (net/devlink/netlink.c:288) [ 44.362132][ T314] genl_rcv_msg (net/netlink/genetlink.c:65 net/netlink/genetlink.c:1211) [ 44.362139][ T314] netlink_rcv_skb (net/netlink/af_netlink.c:2534) [ 44.362142][ T314] ? __pfx_genl_rcv_msg (net/netlink/genetlink.c:1201) [ 44.362149][ T314] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2511) [ 44.362167][ T314] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 44.362176][ T314] genl_rcv (net/netlink/genetlink.c:1220) [ 44.362180][ T314] netlink_unicast (net/netlink/af_netlink.c:1314 net/netlink/af_netlink.c:1339) [ 44.362188][ T314] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1324) [ 44.362193][ T314] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 44.362204][ T314] netlink_sendmsg (net/netlink/af_netlink.c:1883) [ 44.362213][ T314] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1802) [ 44.362221][ T314] ? __might_fault (mm/memory.c:6991 mm/memory.c:6985) [ 44.362232][ T314] __sys_sendto (net/socket.c:712 net/socket.c:727 net/socket.c:2180) [ 44.362240][ T314] ? __pfx___sys_sendto (net/socket.c:2147) [ 44.362254][ T314] ? __pfx_lock_vma_under_rcu (mm/mmap_lock.c:137) [ 44.362263][ T314] ? find_held_lock (kernel/locking/lockdep.c:5353) [ 44.362269][ T314] ? exc_page_fault (./arch/x86/include/asm/irqflags.h:26 ./arch/x86/include/asm/irqflags.h:109 ./arch/x86/include/asm/irqflags.h:151 arch/x86/mm/fault.c:1484 arch/x86/mm/fault.c:1532) [ 44.362272][ T314] ? __lock_release (kernel/locking/lockdep.c:5539) [ 44.362279][ T314] ? exc_page_fault (./arch/x86/include/asm/irqflags.h:26 ./arch/x86/include/asm/irqflags.h:109 ./arch/x86/include/asm/irqflags.h:151 arch/x86/mm/fault.c:1484 arch/x86/mm/fault.c:1532) [ 44.362284][ T314] ? 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) [ 44.362293][ T314] __x64_sys_sendto (net/socket.c:2183) [ 44.362297][ T314] ? 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) [ 44.362303][ T314] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4475) [ 44.362307][ T314] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 44.362313][ T314] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 44.362317][ T314] RIP: 0033:0x7f0761d09a4a [ 44.362322][ T314] 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 [ 44.362325][ T314] RSP: 002b:00007fff3de9aee8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 44.362329][ T314] RAX: ffffffffffffffda RBX: 0000000026a74b00 RCX: 00007f0761d09a4a [ 44.362332][ T314] RDX: 0000000000000034 RSI: 0000000026a74b00 RDI: 0000000000000005 [ 44.362333][ T314] RBP: 0000000026a74910 R08: 00007f0761eb0200 R09: 000000000000000c [ 44.362335][ T314] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000040f200 [ 44.362337][ T314] R13: 0000000026a74910 R14: 0000000000000000 R15: 0000000000000001 | [ 44.362337][ T314] R13: 0000000026a74910 R14: 0000000000000000 R15: 0000000000000001 | [ 44.362353][ T314] | [ 44.408789][ T314] BUG: using smp_processor_id() in preemptible [00000000] code: devlink/314 | [ 44.409483][ T314] 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 [ 44.409967][ T314] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 44.409970][ T314] Call Trace: [ 44.409973][ T314] [ 44.409976][ T314] dump_stack_lvl (lib/dump_stack.c:123) [ 44.409988][ T314] check_preemption_disabled (lib/smp_processor_id.c:52) [ 44.409998][ T314] 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 [ 44.410017][ T314] ? nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 44.410035][ T314] nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 44.410054][ T314] __nsim_dev_port_del (drivers/net/netdevsim/dev.c:426 drivers/net/netdevsim/dev.c:1429) netdevsim [ 44.410071][ T314] nsim_dev_reload_destroy (drivers/net/netdevsim/dev.c:1438 drivers/net/netdevsim/dev.c:1661) netdevsim [ 44.410090][ T314] nsim_dev_reload_down (drivers/net/netdevsim/dev.c:969) netdevsim [ 44.410105][ T314] devlink_reload (net/devlink/dev.c:462) [ 44.410118][ T314] ? __pfx_devlink_reload (net/devlink/dev.c:446) [ 44.410125][ T314] ? devlink_resources_validate (net/devlink/resource.c:311) [ 44.410139][ T314] devlink_nl_reload_doit (net/devlink/dev.c:584) [ 44.410147][ T314] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 44.410155][ T314] ? __nla_parse (lib/nlattr.c:732) [ 44.410169][ T314] genl_family_rcv_msg_doit (net/netlink/genetlink.c:1117) [ 44.410177][ T314] ? __pfx_genl_family_rcv_msg_doit (net/netlink/genetlink.c:1088) [ 44.410194][ T314] ? cap_capable (security/commoncap.c:132) [ 44.410199][ T314] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83) [ 44.410211][ T314] genl_family_rcv_msg (net/netlink/genetlink.c:1195) [ 44.410217][ T314] ? __pfx_genl_family_rcv_msg (net/netlink/genetlink.c:1160) [ 44.410222][ T314] ? __pfx_devlink_nl_pre_doit_dev_lock (net/devlink/netlink.c:257) [ 44.410225][ T314] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 44.410228][ T314] ? __pfx_devlink_nl_post_doit_dev_lock (net/devlink/netlink.c:288) [ 44.410243][ T314] genl_rcv_msg (net/netlink/genetlink.c:65 net/netlink/genetlink.c:1211) [ 44.410250][ T314] netlink_rcv_skb (net/netlink/af_netlink.c:2534) [ 44.410253][ T314] ? __pfx_genl_rcv_msg (net/netlink/genetlink.c:1201) [ 44.410260][ T314] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2511) [ 44.410278][ T314] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 44.410288][ T314] genl_rcv (net/netlink/genetlink.c:1220) [ 44.410292][ T314] netlink_unicast (net/netlink/af_netlink.c:1314 net/netlink/af_netlink.c:1339) [ 44.410300][ T314] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1324) [ 44.410305][ T314] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 44.410318][ T314] netlink_sendmsg (net/netlink/af_netlink.c:1883) [ 44.410327][ T314] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1802) [ 44.410335][ T314] ? __might_fault (mm/memory.c:6991 mm/memory.c:6985) [ 44.410348][ T314] __sys_sendto (net/socket.c:712 net/socket.c:727 net/socket.c:2180) [ 44.410357][ T314] ? __pfx___sys_sendto (net/socket.c:2147) [ 44.410371][ T314] ? __pfx_lock_vma_under_rcu (mm/mmap_lock.c:137) [ 44.410380][ T314] ? find_held_lock (kernel/locking/lockdep.c:5353) [ 44.410386][ T314] ? exc_page_fault (./arch/x86/include/asm/irqflags.h:26 ./arch/x86/include/asm/irqflags.h:109 ./arch/x86/include/asm/irqflags.h:151 arch/x86/mm/fault.c:1484 arch/x86/mm/fault.c:1532) [ 44.410389][ T314] ? __lock_release (kernel/locking/lockdep.c:5539) [ 44.410396][ T314] ? exc_page_fault (./arch/x86/include/asm/irqflags.h:26 ./arch/x86/include/asm/irqflags.h:109 ./arch/x86/include/asm/irqflags.h:151 arch/x86/mm/fault.c:1484 arch/x86/mm/fault.c:1532) [ 44.410401][ T314] ? 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) [ 44.410411][ T314] __x64_sys_sendto (net/socket.c:2183) [ 44.410415][ T314] ? 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) [ 44.410420][ T314] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4475) [ 44.410425][ T314] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 44.410431][ T314] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 44.410435][ T314] RIP: 0033:0x7f0761d09a4a [ 44.410440][ T314] 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 [ 44.410444][ T314] RSP: 002b:00007fff3de9aee8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 44.410448][ T314] RAX: ffffffffffffffda RBX: 0000000026a74b00 RCX: 00007f0761d09a4a [ 44.410450][ T314] RDX: 0000000000000034 RSI: 0000000026a74b00 RDI: 0000000000000005 [ 44.410452][ T314] RBP: 0000000026a74910 R08: 00007f0761eb0200 R09: 000000000000000c [ 44.410454][ T314] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000040f200 [ 44.410456][ T314] R13: 0000000026a74910 R14: 0000000000000000 R15: 0000000000000001 | [ 44.410456][ T314] R13: 0000000026a74910 R14: 0000000000000000 R15: 0000000000000001 | [ 44.410472][ T314] | [ 44.458484][ T314] BUG: using smp_processor_id() in preemptible [00000000] code: devlink/314 | [ 44.459277][ T314] 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 [ 44.459753][ T314] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 44.459755][ T314] Call Trace: [ 44.459758][ T314] [ 44.459760][ T314] dump_stack_lvl (lib/dump_stack.c:123) [ 44.459772][ T314] check_preemption_disabled (lib/smp_processor_id.c:52) [ 44.459782][ T314] 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 [ 44.459801][ T314] ? nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 44.459819][ T314] nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 44.459838][ T314] __nsim_dev_port_del (drivers/net/netdevsim/dev.c:426 drivers/net/netdevsim/dev.c:1429) netdevsim [ 44.459855][ T314] nsim_dev_reload_destroy (drivers/net/netdevsim/dev.c:1438 drivers/net/netdevsim/dev.c:1661) netdevsim [ 44.459873][ T314] nsim_dev_reload_down (drivers/net/netdevsim/dev.c:969) netdevsim [ 44.459889][ T314] devlink_reload (net/devlink/dev.c:462) [ 44.459901][ T314] ? __pfx_devlink_reload (net/devlink/dev.c:446) [ 44.459907][ T314] ? devlink_resources_validate (net/devlink/resource.c:311) [ 44.459920][ T314] devlink_nl_reload_doit (net/devlink/dev.c:584) [ 44.459928][ T314] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 44.459936][ T314] ? __nla_parse (lib/nlattr.c:732) [ 44.459949][ T314] genl_family_rcv_msg_doit (net/netlink/genetlink.c:1117) [ 44.459957][ T314] ? __pfx_genl_family_rcv_msg_doit (net/netlink/genetlink.c:1088) [ 44.459973][ T314] ? cap_capable (security/commoncap.c:132) [ 44.459979][ T314] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83) [ 44.459992][ T314] genl_family_rcv_msg (net/netlink/genetlink.c:1195) [ 44.459998][ T314] ? __pfx_genl_family_rcv_msg (net/netlink/genetlink.c:1160) [ 44.460003][ T314] ? __pfx_devlink_nl_pre_doit_dev_lock (net/devlink/netlink.c:257) [ 44.460007][ T314] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 44.460011][ T314] ? __pfx_devlink_nl_post_doit_dev_lock (net/devlink/netlink.c:288) [ 44.460027][ T314] genl_rcv_msg (net/netlink/genetlink.c:65 net/netlink/genetlink.c:1211) [ 44.460034][ T314] netlink_rcv_skb (net/netlink/af_netlink.c:2534) [ 44.460038][ T314] ? __pfx_genl_rcv_msg (net/netlink/genetlink.c:1201) [ 44.460044][ T314] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2511) [ 44.460063][ T314] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 44.460073][ T314] genl_rcv (net/netlink/genetlink.c:1220) [ 44.460076][ T314] netlink_unicast (net/netlink/af_netlink.c:1314 net/netlink/af_netlink.c:1339) [ 44.460084][ T314] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1324) [ 44.460090][ T314] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 44.460102][ T314] netlink_sendmsg (net/netlink/af_netlink.c:1883) [ 44.460111][ T314] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1802) [ 44.460120][ T314] ? __might_fault (mm/memory.c:6991 mm/memory.c:6985) [ 44.460132][ T314] __sys_sendto (net/socket.c:712 net/socket.c:727 net/socket.c:2180) [ 44.460141][ T314] ? __pfx___sys_sendto (net/socket.c:2147) [ 44.460155][ T314] ? __pfx_lock_vma_under_rcu (mm/mmap_lock.c:137) [ 44.460164][ T314] ? find_held_lock (kernel/locking/lockdep.c:5353) [ 44.460170][ T314] ? exc_page_fault (./arch/x86/include/asm/irqflags.h:26 ./arch/x86/include/asm/irqflags.h:109 ./arch/x86/include/asm/irqflags.h:151 arch/x86/mm/fault.c:1484 arch/x86/mm/fault.c:1532) [ 44.460173][ T314] ? __lock_release (kernel/locking/lockdep.c:5539) [ 44.460180][ T314] ? exc_page_fault (./arch/x86/include/asm/irqflags.h:26 ./arch/x86/include/asm/irqflags.h:109 ./arch/x86/include/asm/irqflags.h:151 arch/x86/mm/fault.c:1484 arch/x86/mm/fault.c:1532) [ 44.460186][ T314] ? 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) [ 44.460196][ T314] __x64_sys_sendto (net/socket.c:2183) [ 44.460201][ T314] ? 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) [ 44.460207][ T314] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4475) [ 44.460212][ T314] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 44.460218][ T314] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 44.460223][ T314] RIP: 0033:0x7f0761d09a4a [ 44.460228][ T314] 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 [ 44.460231][ T314] RSP: 002b:00007fff3de9aee8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 44.460235][ T314] RAX: ffffffffffffffda RBX: 0000000026a74b00 RCX: 00007f0761d09a4a [ 44.460238][ T314] RDX: 0000000000000034 RSI: 0000000026a74b00 RDI: 0000000000000005 [ 44.460240][ T314] RBP: 0000000026a74910 R08: 00007f0761eb0200 R09: 000000000000000c [ 44.460242][ T314] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000040f200 [ 44.460243][ T314] R13: 0000000026a74910 R14: 0000000000000000 R15: 0000000000000001 | [ 44.460243][ T314] R13: 0000000026a74910 R14: 0000000000000000 R15: 0000000000000001 | [ 44.460260][ T314] | [ 44.516925][ T314] BUG: using smp_processor_id() in preemptible [00000000] code: devlink/314 | [ 44.517610][ T314] 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 [ 44.518075][ T314] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 44.518078][ T314] Call Trace: [ 44.518080][ T314] [ 44.518083][ T314] dump_stack_lvl (lib/dump_stack.c:123) [ 44.518094][ T314] check_preemption_disabled (lib/smp_processor_id.c:52) [ 44.518105][ T314] 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 [ 44.518124][ T314] ? nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 44.518141][ T314] nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 44.518161][ T314] __nsim_dev_port_del (drivers/net/netdevsim/dev.c:426 drivers/net/netdevsim/dev.c:1429) netdevsim [ 44.518178][ T314] nsim_dev_reload_destroy (drivers/net/netdevsim/dev.c:1438 drivers/net/netdevsim/dev.c:1661) netdevsim [ 44.518197][ T314] nsim_dev_reload_down (drivers/net/netdevsim/dev.c:969) netdevsim [ 44.518212][ T314] devlink_reload (net/devlink/dev.c:462) [ 44.518225][ T314] ? __pfx_devlink_reload (net/devlink/dev.c:446) [ 44.518232][ T314] ? devlink_resources_validate (net/devlink/resource.c:311) [ 44.518246][ T314] devlink_nl_reload_doit (net/devlink/dev.c:584) [ 44.518254][ T314] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 44.518262][ T314] ? __nla_parse (lib/nlattr.c:732) [ 44.518276][ T314] genl_family_rcv_msg_doit (net/netlink/genetlink.c:1117) [ 44.518284][ T314] ? __pfx_genl_family_rcv_msg_doit (net/netlink/genetlink.c:1088) [ 44.518301][ T314] ? cap_capable (security/commoncap.c:132) [ 44.518305][ T314] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83) [ 44.518317][ T314] genl_family_rcv_msg (net/netlink/genetlink.c:1195) [ 44.518323][ T314] ? __pfx_genl_family_rcv_msg (net/netlink/genetlink.c:1160) [ 44.518328][ T314] ? __pfx_devlink_nl_pre_doit_dev_lock (net/devlink/netlink.c:257) [ 44.518331][ T314] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 44.518334][ T314] ? __pfx_devlink_nl_post_doit_dev_lock (net/devlink/netlink.c:288) [ 44.518349][ T314] genl_rcv_msg (net/netlink/genetlink.c:65 net/netlink/genetlink.c:1211) [ 44.518356][ T314] netlink_rcv_skb (net/netlink/af_netlink.c:2534) [ 44.518360][ T314] ? __pfx_genl_rcv_msg (net/netlink/genetlink.c:1201) [ 44.518367][ T314] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2511) [ 44.518385][ T314] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 44.518394][ T314] genl_rcv (net/netlink/genetlink.c:1220) [ 44.518397][ T314] netlink_unicast (net/netlink/af_netlink.c:1314 net/netlink/af_netlink.c:1339) [ 44.518406][ T314] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1324) [ 44.518411][ T314] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 44.518423][ T314] netlink_sendmsg (net/netlink/af_netlink.c:1883) [ 44.518432][ T314] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1802) [ 44.518440][ T314] ? __might_fault (mm/memory.c:6991 mm/memory.c:6985) [ 44.518451][ T314] __sys_sendto (net/socket.c:712 net/socket.c:727 net/socket.c:2180) [ 44.518459][ T314] ? __pfx___sys_sendto (net/socket.c:2147) [ 44.518473][ T314] ? __pfx_lock_vma_under_rcu (mm/mmap_lock.c:137) [ 44.518482][ T314] ? find_held_lock (kernel/locking/lockdep.c:5353) [ 44.518488][ T314] ? exc_page_fault (./arch/x86/include/asm/irqflags.h:26 ./arch/x86/include/asm/irqflags.h:109 ./arch/x86/include/asm/irqflags.h:151 arch/x86/mm/fault.c:1484 arch/x86/mm/fault.c:1532) [ 44.518490][ T314] ? __lock_release (kernel/locking/lockdep.c:5539) [ 44.518498][ T314] ? exc_page_fault (./arch/x86/include/asm/irqflags.h:26 ./arch/x86/include/asm/irqflags.h:109 ./arch/x86/include/asm/irqflags.h:151 arch/x86/mm/fault.c:1484 arch/x86/mm/fault.c:1532) [ 44.518503][ T314] ? 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) [ 44.518514][ T314] __x64_sys_sendto (net/socket.c:2183) [ 44.518518][ T314] ? 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) [ 44.518523][ T314] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4475) [ 44.518527][ T314] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 44.518535][ T314] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 44.518539][ T314] RIP: 0033:0x7f0761d09a4a [ 44.518544][ T314] 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 [ 44.518547][ T314] RSP: 002b:00007fff3de9aee8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 44.518551][ T314] RAX: ffffffffffffffda RBX: 0000000026a74b00 RCX: 00007f0761d09a4a [ 44.518553][ T314] RDX: 0000000000000034 RSI: 0000000026a74b00 RDI: 0000000000000005 [ 44.518555][ T314] RBP: 0000000026a74910 R08: 00007f0761eb0200 R09: 000000000000000c [ 44.518557][ T314] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000040f200 [ 44.518559][ T314] R13: 0000000026a74910 R14: 0000000000000000 R15: 0000000000000001 | [ 44.845795][ T318] netdevsim netdevsim10 eni10np3: renamed from eth2 | [ 44.892211][ T317] netdevsim netdevsim10 eni10np2: renamed from eth1 | [ 48.632748][ T403] BUG: using smp_processor_id() in preemptible [00000000] code: devlink/403 | [ 48.633400][ T403] 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 [ 48.634020][ T403] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 48.634022][ T403] Call Trace: [ 48.634025][ T403] [ 48.634027][ T403] dump_stack_lvl (lib/dump_stack.c:123) [ 48.634040][ T403] check_preemption_disabled (lib/smp_processor_id.c:52) [ 48.634051][ T403] 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 [ 48.634069][ T403] ? nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 48.634087][ T403] nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 48.634106][ T403] __nsim_dev_port_del (drivers/net/netdevsim/dev.c:426 drivers/net/netdevsim/dev.c:1429) netdevsim [ 48.634123][ T403] nsim_dev_reload_destroy (drivers/net/netdevsim/dev.c:1438 drivers/net/netdevsim/dev.c:1661) netdevsim [ 48.634142][ T403] nsim_dev_reload_down (drivers/net/netdevsim/dev.c:969) netdevsim [ 48.634157][ T403] devlink_reload (net/devlink/dev.c:462) [ 48.634168][ T403] ? __pfx_devlink_reload (net/devlink/dev.c:446) [ 48.634175][ T403] ? devlink_resources_validate (net/devlink/resource.c:311) [ 48.634188][ T403] devlink_nl_reload_doit (net/devlink/dev.c:584) [ 48.634196][ T403] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 48.634204][ T403] ? __nla_parse (lib/nlattr.c:732) [ 48.634219][ T403] genl_family_rcv_msg_doit (net/netlink/genetlink.c:1117) [ 48.634228][ T403] ? __pfx_genl_family_rcv_msg_doit (net/netlink/genetlink.c:1088) [ 48.634245][ T403] ? cap_capable (security/commoncap.c:132) [ 48.634252][ T403] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83) [ 48.634265][ T403] genl_family_rcv_msg (net/netlink/genetlink.c:1195) [ 48.634272][ T403] ? __pfx_genl_family_rcv_msg (net/netlink/genetlink.c:1160) [ 48.634276][ T403] ? __pfx_devlink_nl_pre_doit_dev_lock (net/devlink/netlink.c:257) [ 48.634280][ T403] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 48.634283][ T403] ? __pfx_devlink_nl_post_doit_dev_lock (net/devlink/netlink.c:288) [ 48.634298][ T403] genl_rcv_msg (net/netlink/genetlink.c:65 net/netlink/genetlink.c:1211) [ 48.634305][ T403] netlink_rcv_skb (net/netlink/af_netlink.c:2534) [ 48.634309][ T403] ? __pfx_genl_rcv_msg (net/netlink/genetlink.c:1201) [ 48.634316][ T403] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2511) [ 48.634334][ T403] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 48.634344][ T403] genl_rcv (net/netlink/genetlink.c:1220) [ 48.634348][ T403] netlink_unicast (net/netlink/af_netlink.c:1314 net/netlink/af_netlink.c:1339) [ 48.634356][ T403] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1324) [ 48.634361][ T403] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 48.634374][ T403] netlink_sendmsg (net/netlink/af_netlink.c:1883) [ 48.634383][ T403] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1802) [ 48.634392][ T403] ? __might_fault (mm/memory.c:6991 mm/memory.c:6985) [ 48.634405][ T403] __sys_sendto (net/socket.c:712 net/socket.c:727 net/socket.c:2180) [ 48.634416][ T403] ? __pfx___sys_sendto (net/socket.c:2147) [ 48.634430][ T403] ? __pfx_lock_vma_under_rcu (mm/mmap_lock.c:137) [ 48.634439][ T403] ? find_held_lock (kernel/locking/lockdep.c:5353) [ 48.634446][ T403] ? exc_page_fault (./arch/x86/include/asm/irqflags.h:26 ./arch/x86/include/asm/irqflags.h:109 ./arch/x86/include/asm/irqflags.h:151 arch/x86/mm/fault.c:1484 arch/x86/mm/fault.c:1532) [ 48.634449][ T403] ? __lock_release (kernel/locking/lockdep.c:5539) [ 48.634456][ T403] ? exc_page_fault (./arch/x86/include/asm/irqflags.h:26 ./arch/x86/include/asm/irqflags.h:109 ./arch/x86/include/asm/irqflags.h:151 arch/x86/mm/fault.c:1484 arch/x86/mm/fault.c:1532) [ 48.634461][ T403] ? 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) [ 48.634473][ T403] __x64_sys_sendto (net/socket.c:2183) [ 48.634477][ T403] ? 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) [ 48.634482][ T403] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4475) [ 48.634487][ T403] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 48.634493][ T403] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 48.634497][ T403] RIP: 0033:0x7fd8ca108a4a [ 48.634502][ T403] 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 [ 48.634505][ T403] RSP: 002b:00007ffd6f4ac598 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 48.634509][ T403] RAX: ffffffffffffffda RBX: 0000000033545b00 RCX: 00007fd8ca108a4a [ 48.634511][ T403] RDX: 0000000000000034 RSI: 0000000033545b00 RDI: 0000000000000005 [ 48.634512][ T403] RBP: 0000000033545910 R08: 00007fd8ca2af200 R09: 000000000000000c [ 48.634514][ T403] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000040f200 [ 48.634516][ T403] R13: 0000000033545910 R14: 0000000000000000 R15: 0000000000000001 | [ 48.634516][ T403] R13: 0000000033545910 R14: 0000000000000000 R15: 0000000000000001 | [ 48.634533][ T403] | [ 48.703893][ T403] BUG: using smp_processor_id() in preemptible [00000000] code: devlink/403 | [ 48.704793][ T403] 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 [ 48.705253][ T403] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 48.705255][ T403] Call Trace: [ 48.705258][ T403] [ 48.705260][ T403] dump_stack_lvl (lib/dump_stack.c:123) [ 48.705269][ T403] check_preemption_disabled (lib/smp_processor_id.c:52) [ 48.705278][ T403] 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 [ 48.705297][ T403] ? nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 48.705314][ T403] nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 48.705334][ T403] __nsim_dev_port_del (drivers/net/netdevsim/dev.c:426 drivers/net/netdevsim/dev.c:1429) netdevsim [ 48.705351][ T403] nsim_dev_reload_destroy (drivers/net/netdevsim/dev.c:1438 drivers/net/netdevsim/dev.c:1661) netdevsim [ 48.705370][ T403] nsim_dev_reload_down (drivers/net/netdevsim/dev.c:969) netdevsim [ 48.705385][ T403] devlink_reload (net/devlink/dev.c:462) [ 48.705396][ T403] ? __pfx_devlink_reload (net/devlink/dev.c:446) [ 48.705403][ T403] ? devlink_resources_validate (net/devlink/resource.c:311) [ 48.705417][ T403] devlink_nl_reload_doit (net/devlink/dev.c:584) [ 48.705425][ T403] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 48.705432][ T403] ? __nla_parse (lib/nlattr.c:732) [ 48.705445][ T403] genl_family_rcv_msg_doit (net/netlink/genetlink.c:1117) [ 48.705452][ T403] ? __pfx_genl_family_rcv_msg_doit (net/netlink/genetlink.c:1088) [ 48.705469][ T403] ? cap_capable (security/commoncap.c:132) [ 48.705473][ T403] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83) [ 48.705483][ T403] genl_family_rcv_msg (net/netlink/genetlink.c:1195) [ 48.705490][ T403] ? __pfx_genl_family_rcv_msg (net/netlink/genetlink.c:1160) [ 48.705495][ T403] ? __pfx_devlink_nl_pre_doit_dev_lock (net/devlink/netlink.c:257) [ 48.705498][ T403] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 48.705501][ T403] ? __pfx_devlink_nl_post_doit_dev_lock (net/devlink/netlink.c:288) [ 48.705516][ T403] genl_rcv_msg (net/netlink/genetlink.c:65 net/netlink/genetlink.c:1211) [ 48.705522][ T403] netlink_rcv_skb (net/netlink/af_netlink.c:2534) [ 48.705526][ T403] ? __pfx_genl_rcv_msg (net/netlink/genetlink.c:1201) [ 48.705535][ T403] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2511) [ 48.705553][ T403] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 48.705562][ T403] genl_rcv (net/netlink/genetlink.c:1220) [ 48.705565][ T403] netlink_unicast (net/netlink/af_netlink.c:1314 net/netlink/af_netlink.c:1339) [ 48.705573][ T403] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1324) [ 48.705578][ T403] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 48.705591][ T403] netlink_sendmsg (net/netlink/af_netlink.c:1883) [ 48.705604][ T403] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1802) [ 48.705619][ T403] ? __might_fault (mm/memory.c:6991 mm/memory.c:6985) [ 48.705637][ T403] __sys_sendto (net/socket.c:712 net/socket.c:727 net/socket.c:2180) [ 48.705649][ T403] ? __pfx___sys_sendto (net/socket.c:2147) [ 48.705674][ T403] ? __pfx_lock_vma_under_rcu (mm/mmap_lock.c:137) [ 48.705687][ T403] ? find_held_lock (kernel/locking/lockdep.c:5353) [ 48.705693][ T403] ? exc_page_fault (./arch/x86/include/asm/irqflags.h:26 ./arch/x86/include/asm/irqflags.h:109 ./arch/x86/include/asm/irqflags.h:151 arch/x86/mm/fault.c:1484 arch/x86/mm/fault.c:1532) [ 48.705696][ T403] ? __lock_release (kernel/locking/lockdep.c:5539) [ 48.705703][ T403] ? exc_page_fault (./arch/x86/include/asm/irqflags.h:26 ./arch/x86/include/asm/irqflags.h:109 ./arch/x86/include/asm/irqflags.h:151 arch/x86/mm/fault.c:1484 arch/x86/mm/fault.c:1532) [ 48.705709][ T403] ? 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) [ 48.705718][ T403] __x64_sys_sendto (net/socket.c:2183) [ 48.705722][ T403] ? 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) [ 48.705727][ T403] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4475) [ 48.705732][ T403] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 48.705738][ T403] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 48.705742][ T403] RIP: 0033:0x7fd8ca108a4a [ 48.705747][ T403] 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 [ 48.705750][ T403] RSP: 002b:00007ffd6f4ac598 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 48.705753][ T403] RAX: ffffffffffffffda RBX: 0000000033545b00 RCX: 00007fd8ca108a4a [ 48.705756][ T403] RDX: 0000000000000034 RSI: 0000000033545b00 RDI: 0000000000000005 [ 48.705757][ T403] RBP: 0000000033545910 R08: 00007fd8ca2af200 R09: 000000000000000c [ 48.705759][ T403] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000040f200 [ 48.705761][ T403] R13: 0000000033545910 R14: 0000000000000000 R15: 0000000000000001 | [ 48.705761][ T403] R13: 0000000033545910 R14: 0000000000000000 R15: 0000000000000001 | [ 48.705778][ T403] | [ 48.753653][ T403] BUG: using smp_processor_id() in preemptible [00000000] code: devlink/403 | [ 48.754304][ T403] 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 [ 48.754814][ T403] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 48.754817][ T403] Call Trace: [ 48.754819][ T403] [ 48.754822][ T403] dump_stack_lvl (lib/dump_stack.c:123) [ 48.754831][ T403] check_preemption_disabled (lib/smp_processor_id.c:52) [ 48.754841][ T403] 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 [ 48.754859][ T403] ? nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 48.754877][ T403] nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 48.754896][ T403] __nsim_dev_port_del (drivers/net/netdevsim/dev.c:426 drivers/net/netdevsim/dev.c:1429) netdevsim [ 48.754912][ T403] nsim_dev_reload_destroy (drivers/net/netdevsim/dev.c:1438 drivers/net/netdevsim/dev.c:1661) netdevsim [ 48.754931][ T403] nsim_dev_reload_down (drivers/net/netdevsim/dev.c:969) netdevsim [ 48.754946][ T403] devlink_reload (net/devlink/dev.c:462) [ 48.754958][ T403] ? __pfx_devlink_reload (net/devlink/dev.c:446) [ 48.754965][ T403] ? devlink_resources_validate (net/devlink/resource.c:311) [ 48.754978][ T403] devlink_nl_reload_doit (net/devlink/dev.c:584) [ 48.754986][ T403] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 48.754994][ T403] ? __nla_parse (lib/nlattr.c:732) [ 48.755007][ T403] genl_family_rcv_msg_doit (net/netlink/genetlink.c:1117) [ 48.755015][ T403] ? __pfx_genl_family_rcv_msg_doit (net/netlink/genetlink.c:1088) [ 48.755031][ T403] ? cap_capable (security/commoncap.c:132) [ 48.755036][ T403] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83) [ 48.755047][ T403] genl_family_rcv_msg (net/netlink/genetlink.c:1195) [ 48.755053][ T403] ? __pfx_genl_family_rcv_msg (net/netlink/genetlink.c:1160) [ 48.755058][ T403] ? __pfx_devlink_nl_pre_doit_dev_lock (net/devlink/netlink.c:257) [ 48.755061][ T403] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 48.755065][ T403] ? __pfx_devlink_nl_post_doit_dev_lock (net/devlink/netlink.c:288) [ 48.755080][ T403] genl_rcv_msg (net/netlink/genetlink.c:65 net/netlink/genetlink.c:1211) [ 48.755086][ T403] netlink_rcv_skb (net/netlink/af_netlink.c:2534) [ 48.755090][ T403] ? __pfx_genl_rcv_msg (net/netlink/genetlink.c:1201) [ 48.755097][ T403] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2511) [ 48.755115][ T403] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 48.755124][ T403] genl_rcv (net/netlink/genetlink.c:1220) [ 48.755127][ T403] netlink_unicast (net/netlink/af_netlink.c:1314 net/netlink/af_netlink.c:1339) [ 48.755135][ T403] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1324) [ 48.755140][ T403] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 48.755152][ T403] netlink_sendmsg (net/netlink/af_netlink.c:1883) [ 48.755161][ T403] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1802) [ 48.755170][ T403] ? __might_fault (mm/memory.c:6991 mm/memory.c:6985) [ 48.755181][ T403] __sys_sendto (net/socket.c:712 net/socket.c:727 net/socket.c:2180) [ 48.755190][ T403] ? __pfx___sys_sendto (net/socket.c:2147) [ 48.755204][ T403] ? __pfx_lock_vma_under_rcu (mm/mmap_lock.c:137) [ 48.755213][ T403] ? find_held_lock (kernel/locking/lockdep.c:5353) [ 48.755218][ T403] ? exc_page_fault (./arch/x86/include/asm/irqflags.h:26 ./arch/x86/include/asm/irqflags.h:109 ./arch/x86/include/asm/irqflags.h:151 arch/x86/mm/fault.c:1484 arch/x86/mm/fault.c:1532) [ 48.755221][ T403] ? __lock_release (kernel/locking/lockdep.c:5539) [ 48.755228][ T403] ? exc_page_fault (./arch/x86/include/asm/irqflags.h:26 ./arch/x86/include/asm/irqflags.h:109 ./arch/x86/include/asm/irqflags.h:151 arch/x86/mm/fault.c:1484 arch/x86/mm/fault.c:1532) [ 48.755234][ T403] ? 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) [ 48.755243][ T403] __x64_sys_sendto (net/socket.c:2183) [ 48.755247][ T403] ? 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) [ 48.755251][ T403] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4475) [ 48.755256][ T403] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 48.755262][ T403] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 48.755265][ T403] RIP: 0033:0x7fd8ca108a4a [ 48.755271][ T403] 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 [ 48.755273][ T403] RSP: 002b:00007ffd6f4ac598 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 48.755277][ T403] RAX: ffffffffffffffda RBX: 0000000033545b00 RCX: 00007fd8ca108a4a [ 48.755279][ T403] RDX: 0000000000000034 RSI: 0000000033545b00 RDI: 0000000000000005 [ 48.755281][ T403] RBP: 0000000033545910 R08: 00007fd8ca2af200 R09: 000000000000000c [ 48.755283][ T403] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000040f200 [ 48.755285][ T403] R13: 0000000033545910 R14: 0000000000000000 R15: 0000000000000001 | [ 48.755285][ T403] R13: 0000000033545910 R14: 0000000000000000 R15: 0000000000000001 | [ 48.755301][ T403] | [ 48.792490][ T403] BUG: using smp_processor_id() in preemptible [00000000] code: devlink/403 | [ 48.793128][ T403] 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 [ 48.793593][ T403] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 48.793594][ T403] Call Trace: [ 48.793597][ T403] [ 48.793599][ T403] dump_stack_lvl (lib/dump_stack.c:123) [ 48.793608][ T403] check_preemption_disabled (lib/smp_processor_id.c:52) [ 48.793617][ T403] 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 [ 48.793635][ T403] ? nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 48.793653][ T403] nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 48.793672][ T403] __nsim_dev_port_del (drivers/net/netdevsim/dev.c:426 drivers/net/netdevsim/dev.c:1429) netdevsim [ 48.793689][ T403] nsim_dev_reload_destroy (drivers/net/netdevsim/dev.c:1438 drivers/net/netdevsim/dev.c:1661) netdevsim [ 48.793708][ T403] nsim_dev_reload_down (drivers/net/netdevsim/dev.c:969) netdevsim [ 48.793723][ T403] devlink_reload (net/devlink/dev.c:462) [ 48.793733][ T403] ? __pfx_devlink_reload (net/devlink/dev.c:446) [ 48.793740][ T403] ? devlink_resources_validate (net/devlink/resource.c:311) [ 48.793753][ T403] devlink_nl_reload_doit (net/devlink/dev.c:584) [ 48.793761][ T403] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 48.793768][ T403] ? __nla_parse (lib/nlattr.c:732) [ 48.793782][ T403] genl_family_rcv_msg_doit (net/netlink/genetlink.c:1117) [ 48.793789][ T403] ? __pfx_genl_family_rcv_msg_doit (net/netlink/genetlink.c:1088) [ 48.793806][ T403] ? cap_capable (security/commoncap.c:132) [ 48.793811][ T403] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83) [ 48.793822][ T403] genl_family_rcv_msg (net/netlink/genetlink.c:1195) [ 48.793829][ T403] ? __pfx_genl_family_rcv_msg (net/netlink/genetlink.c:1160) [ 48.793834][ T403] ? __pfx_devlink_nl_pre_doit_dev_lock (net/devlink/netlink.c:257) [ 48.793837][ T403] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 48.793840][ T403] ? __pfx_devlink_nl_post_doit_dev_lock (net/devlink/netlink.c:288) [ 48.793855][ T403] genl_rcv_msg (net/netlink/genetlink.c:65 net/netlink/genetlink.c:1211) [ 48.793861][ T403] netlink_rcv_skb (net/netlink/af_netlink.c:2534) [ 48.793865][ T403] ? __pfx_genl_rcv_msg (net/netlink/genetlink.c:1201) [ 48.793872][ T403] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2511) [ 48.793890][ T403] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 48.793899][ T403] genl_rcv (net/netlink/genetlink.c:1220) [ 48.793902][ T403] netlink_unicast (net/netlink/af_netlink.c:1314 net/netlink/af_netlink.c:1339) [ 48.793910][ T403] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1324) [ 48.793916][ T403] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 48.793927][ T403] netlink_sendmsg (net/netlink/af_netlink.c:1883) [ 48.793936][ T403] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1802) [ 48.793944][ T403] ? __might_fault (mm/memory.c:6991 mm/memory.c:6985) [ 48.793956][ T403] __sys_sendto (net/socket.c:712 net/socket.c:727 net/socket.c:2180) [ 48.793964][ T403] ? __pfx___sys_sendto (net/socket.c:2147) [ 48.793977][ T403] ? __pfx_lock_vma_under_rcu (mm/mmap_lock.c:137) [ 48.793987][ T403] ? find_held_lock (kernel/locking/lockdep.c:5353) [ 48.793992][ T403] ? exc_page_fault (./arch/x86/include/asm/irqflags.h:26 ./arch/x86/include/asm/irqflags.h:109 ./arch/x86/include/asm/irqflags.h:151 arch/x86/mm/fault.c:1484 arch/x86/mm/fault.c:1532) [ 48.793995][ T403] ? __lock_release (kernel/locking/lockdep.c:5539) [ 48.794002][ T403] ? exc_page_fault (./arch/x86/include/asm/irqflags.h:26 ./arch/x86/include/asm/irqflags.h:109 ./arch/x86/include/asm/irqflags.h:151 arch/x86/mm/fault.c:1484 arch/x86/mm/fault.c:1532) [ 48.794008][ T403] ? 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) [ 48.794017][ T403] __x64_sys_sendto (net/socket.c:2183) [ 48.794021][ T403] ? 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) [ 48.794025][ T403] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4475) [ 48.794030][ T403] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 48.794036][ T403] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 48.794039][ T403] RIP: 0033:0x7fd8ca108a4a [ 48.794044][ T403] 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 [ 48.794047][ T403] RSP: 002b:00007ffd6f4ac598 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 48.794050][ T403] RAX: ffffffffffffffda RBX: 0000000033545b00 RCX: 00007fd8ca108a4a [ 48.794052][ T403] RDX: 0000000000000034 RSI: 0000000033545b00 RDI: 0000000000000005 [ 48.794054][ T403] RBP: 0000000033545910 R08: 00007fd8ca2af200 R09: 000000000000000c [ 48.794056][ T403] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000040f200 [ 48.794057][ T403] R13: 0000000033545910 R14: 0000000000000000 R15: 0000000000000001 | [ 48.794074][ T403] | [ 49.100371][ T408] netdevsim netdevsim10 eni10np2: renamed from eth1 | [ 49.140988][ T418] BUG: using smp_processor_id() in preemptible [00000000] code: devlink/418 | [ 49.143004][ T418] 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 [ 49.143457][ T418] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 49.143460][ T418] Call Trace: [ 49.143462][ T418] [ 49.143465][ T418] dump_stack_lvl (lib/dump_stack.c:123) [ 49.143477][ T418] check_preemption_disabled (lib/smp_processor_id.c:52) [ 49.143487][ T418] 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 [ 49.143506][ T418] ? nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 49.143524][ T418] nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 49.143544][ T418] __nsim_dev_port_del (drivers/net/netdevsim/dev.c:426 drivers/net/netdevsim/dev.c:1429) netdevsim [ 49.143561][ T418] nsim_dev_reload_destroy (drivers/net/netdevsim/dev.c:1438 drivers/net/netdevsim/dev.c:1661) netdevsim [ 49.143580][ T418] nsim_dev_reload_down (drivers/net/netdevsim/dev.c:969) netdevsim [ 49.143595][ T418] devlink_reload (net/devlink/dev.c:462) [ 49.143609][ T418] ? __pfx_devlink_reload (net/devlink/dev.c:446) [ 49.143615][ T418] ? devlink_resources_validate (net/devlink/resource.c:311) [ 49.143630][ T418] devlink_nl_reload_doit (net/devlink/dev.c:584) [ 49.143637][ T418] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 49.143645][ T418] ? __nla_parse (lib/nlattr.c:732) [ 49.143659][ T418] genl_family_rcv_msg_doit (net/netlink/genetlink.c:1117) [ 49.143667][ T418] ? __pfx_genl_family_rcv_msg_doit (net/netlink/genetlink.c:1088) [ 49.143684][ T418] ? cap_capable (security/commoncap.c:132) [ 49.143689][ T418] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83) [ 49.143702][ T418] genl_family_rcv_msg (net/netlink/genetlink.c:1195) [ 49.143709][ T418] ? __pfx_genl_family_rcv_msg (net/netlink/genetlink.c:1160) [ 49.143713][ T418] ? __pfx_devlink_nl_pre_doit_dev_lock (net/devlink/netlink.c:257) [ 49.143717][ T418] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 49.143720][ T418] ? __pfx_devlink_nl_post_doit_dev_lock (net/devlink/netlink.c:288) [ 49.143735][ T418] genl_rcv_msg (net/netlink/genetlink.c:65 net/netlink/genetlink.c:1211) [ 49.143741][ T418] netlink_rcv_skb (net/netlink/af_netlink.c:2534) [ 49.143745][ T418] ? __pfx_genl_rcv_msg (net/netlink/genetlink.c:1201) [ 49.143752][ T418] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2511) [ 49.143770][ T418] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 49.143779][ T418] genl_rcv (net/netlink/genetlink.c:1220) [ 49.143783][ T418] netlink_unicast (net/netlink/af_netlink.c:1314 net/netlink/af_netlink.c:1339) [ 49.143791][ T418] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1324) [ 49.143796][ T418] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 49.143809][ T418] netlink_sendmsg (net/netlink/af_netlink.c:1883) [ 49.143817][ T418] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1802) [ 49.143826][ T418] ? __might_fault (mm/memory.c:6991 mm/memory.c:6985) [ 49.143837][ T418] __sys_sendto (net/socket.c:712 net/socket.c:727 net/socket.c:2180) [ 49.143847][ T418] ? __pfx___sys_sendto (net/socket.c:2147) [ 49.143861][ T418] ? __pfx_lock_vma_under_rcu (mm/mmap_lock.c:137) [ 49.143870][ T418] ? find_held_lock (kernel/locking/lockdep.c:5353) [ 49.143876][ T418] ? exc_page_fault (./arch/x86/include/asm/irqflags.h:26 ./arch/x86/include/asm/irqflags.h:109 ./arch/x86/include/asm/irqflags.h:151 arch/x86/mm/fault.c:1484 arch/x86/mm/fault.c:1532) [ 49.143879][ T418] ? __lock_release (kernel/locking/lockdep.c:5539) [ 49.143886][ T418] ? exc_page_fault (./arch/x86/include/asm/irqflags.h:26 ./arch/x86/include/asm/irqflags.h:109 ./arch/x86/include/asm/irqflags.h:151 arch/x86/mm/fault.c:1484 arch/x86/mm/fault.c:1532) [ 49.143891][ T418] ? 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) [ 49.143902][ T418] __x64_sys_sendto (net/socket.c:2183) [ 49.143906][ T418] ? 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) [ 49.143911][ T418] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4475) [ 49.143915][ T418] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 49.143921][ T418] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 49.143925][ T418] RIP: 0033:0x7fb3ebef1a4a [ 49.143930][ T418] 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 [ 49.143933][ T418] RSP: 002b:00007fff2329a128 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 49.143938][ T418] RAX: ffffffffffffffda RBX: 000000002e9bfb00 RCX: 00007fb3ebef1a4a [ 49.143940][ T418] RDX: 0000000000000034 RSI: 000000002e9bfb00 RDI: 0000000000000005 [ 49.143941][ T418] RBP: 000000002e9bf910 R08: 00007fb3ec098200 R09: 000000000000000c [ 49.143944][ T418] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000040f200 [ 49.143946][ T418] R13: 000000002e9bf910 R14: 0000000000000000 R15: 0000000000000001 | [ 49.143946][ T418] R13: 000000002e9bf910 R14: 0000000000000000 R15: 0000000000000001 | [ 49.143962][ T418] | [ 49.198304][ T418] BUG: using smp_processor_id() in preemptible [00000000] code: devlink/418 | [ 49.198954][ T418] 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 [ 49.199407][ T418] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 49.199409][ T418] Call Trace: [ 49.199412][ T418] [ 49.199414][ T418] dump_stack_lvl (lib/dump_stack.c:123) [ 49.199426][ T418] check_preemption_disabled (lib/smp_processor_id.c:52) [ 49.199437][ T418] 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 [ 49.199455][ T418] ? nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 49.199473][ T418] nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 49.199492][ T418] __nsim_dev_port_del (drivers/net/netdevsim/dev.c:426 drivers/net/netdevsim/dev.c:1429) netdevsim [ 49.199509][ T418] nsim_dev_reload_destroy (drivers/net/netdevsim/dev.c:1438 drivers/net/netdevsim/dev.c:1661) netdevsim [ 49.199528][ T418] nsim_dev_reload_down (drivers/net/netdevsim/dev.c:969) netdevsim [ 49.199545][ T418] devlink_reload (net/devlink/dev.c:462) [ 49.199558][ T418] ? __pfx_devlink_reload (net/devlink/dev.c:446) [ 49.199565][ T418] ? devlink_resources_validate (net/devlink/resource.c:311) [ 49.199580][ T418] devlink_nl_reload_doit (net/devlink/dev.c:584) [ 49.199588][ T418] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 49.199595][ T418] ? __nla_parse (lib/nlattr.c:732) [ 49.199611][ T418] genl_family_rcv_msg_doit (net/netlink/genetlink.c:1117) [ 49.199620][ T418] ? __pfx_genl_family_rcv_msg_doit (net/netlink/genetlink.c:1088) [ 49.199637][ T418] ? cap_capable (security/commoncap.c:132) [ 49.199644][ T418] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83) [ 49.199658][ T418] genl_family_rcv_msg (net/netlink/genetlink.c:1195) [ 49.199665][ T418] ? __pfx_genl_family_rcv_msg (net/netlink/genetlink.c:1160) [ 49.199670][ T418] ? __pfx_devlink_nl_pre_doit_dev_lock (net/devlink/netlink.c:257) [ 49.199673][ T418] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 49.199676][ T418] ? __pfx_devlink_nl_post_doit_dev_lock (net/devlink/netlink.c:288) [ 49.199691][ T418] genl_rcv_msg (net/netlink/genetlink.c:65 net/netlink/genetlink.c:1211) [ 49.199697][ T418] netlink_rcv_skb (net/netlink/af_netlink.c:2534) [ 49.199701][ T418] ? __pfx_genl_rcv_msg (net/netlink/genetlink.c:1201) [ 49.199708][ T418] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2511) [ 49.199726][ T418] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 49.199735][ T418] genl_rcv (net/netlink/genetlink.c:1220) [ 49.199739][ T418] netlink_unicast (net/netlink/af_netlink.c:1314 net/netlink/af_netlink.c:1339) [ 49.199747][ T418] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1324) [ 49.199752][ T418] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 49.199765][ T418] netlink_sendmsg (net/netlink/af_netlink.c:1883) [ 49.199774][ T418] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1802) [ 49.199782][ T418] ? __might_fault (mm/memory.c:6991 mm/memory.c:6985) [ 49.199794][ T418] __sys_sendto (net/socket.c:712 net/socket.c:727 net/socket.c:2180) [ 49.199805][ T418] ? __pfx___sys_sendto (net/socket.c:2147) [ 49.199819][ T418] ? __pfx_lock_vma_under_rcu (mm/mmap_lock.c:137) [ 49.199828][ T418] ? find_held_lock (kernel/locking/lockdep.c:5353) [ 49.199834][ T418] ? exc_page_fault (./arch/x86/include/asm/irqflags.h:26 ./arch/x86/include/asm/irqflags.h:109 ./arch/x86/include/asm/irqflags.h:151 arch/x86/mm/fault.c:1484 arch/x86/mm/fault.c:1532) [ 49.199837][ T418] ? __lock_release (kernel/locking/lockdep.c:5539) [ 49.199844][ T418] ? exc_page_fault (./arch/x86/include/asm/irqflags.h:26 ./arch/x86/include/asm/irqflags.h:109 ./arch/x86/include/asm/irqflags.h:151 arch/x86/mm/fault.c:1484 arch/x86/mm/fault.c:1532) [ 49.199850][ T418] ? 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) [ 49.199860][ T418] __x64_sys_sendto (net/socket.c:2183) [ 49.199863][ T418] ? 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) [ 49.199869][ T418] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4475) [ 49.199873][ T418] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 49.199879][ T418] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 49.199883][ T418] RIP: 0033:0x7fb3ebef1a4a [ 49.199888][ T418] 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 [ 49.199891][ T418] RSP: 002b:00007fff2329a128 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 49.199896][ T418] RAX: ffffffffffffffda RBX: 000000002e9bfb00 RCX: 00007fb3ebef1a4a [ 49.199898][ T418] RDX: 0000000000000034 RSI: 000000002e9bfb00 RDI: 0000000000000005 [ 49.199900][ T418] RBP: 000000002e9bf910 R08: 00007fb3ec098200 R09: 000000000000000c [ 49.199902][ T418] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000040f200 [ 49.199903][ T418] R13: 000000002e9bf910 R14: 0000000000000000 R15: 0000000000000001 | [ 49.748091][ T406] netdevsim netdevsim10 eni10np2: renamed from eth1 | [ 49.855831][ T429] check_preemption_disabled: 2 callbacks suppressed | [ 49.855838][ T429] BUG: using smp_processor_id() in preemptible [00000000] code: devlink/429 | [ 49.857387][ T429] 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 [ 49.857852][ T429] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 49.857854][ T429] Call Trace: [ 49.857856][ T429] [ 49.857859][ T429] dump_stack_lvl (lib/dump_stack.c:123) [ 49.857868][ T429] check_preemption_disabled (lib/smp_processor_id.c:52) [ 49.857877][ T429] 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 [ 49.857895][ T429] ? nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 49.857913][ T429] nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 49.857932][ T429] __nsim_dev_port_del (drivers/net/netdevsim/dev.c:426 drivers/net/netdevsim/dev.c:1429) netdevsim [ 49.857949][ T429] nsim_dev_reload_destroy (drivers/net/netdevsim/dev.c:1438 drivers/net/netdevsim/dev.c:1661) netdevsim [ 49.857967][ T429] nsim_dev_reload_down (drivers/net/netdevsim/dev.c:969) netdevsim [ 49.857982][ T429] devlink_reload (net/devlink/dev.c:462) [ 49.857993][ T429] ? __pfx_devlink_reload (net/devlink/dev.c:446) [ 49.858000][ T429] ? devlink_resources_validate (net/devlink/resource.c:311) [ 49.858014][ T429] devlink_nl_reload_doit (net/devlink/dev.c:584) [ 49.858022][ T429] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 49.858029][ T429] ? __nla_parse (lib/nlattr.c:732) [ 49.858043][ T429] genl_family_rcv_msg_doit (net/netlink/genetlink.c:1117) [ 49.858051][ T429] ? __pfx_genl_family_rcv_msg_doit (net/netlink/genetlink.c:1088) [ 49.858067][ T429] ? cap_capable (security/commoncap.c:132) [ 49.858071][ T429] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83) [ 49.858083][ T429] genl_family_rcv_msg (net/netlink/genetlink.c:1195) [ 49.858089][ T429] ? __pfx_genl_family_rcv_msg (net/netlink/genetlink.c:1160) [ 49.858094][ T429] ? __pfx_devlink_nl_pre_doit_dev_lock (net/devlink/netlink.c:257) [ 49.858097][ T429] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 49.858100][ T429] ? __pfx_devlink_nl_post_doit_dev_lock (net/devlink/netlink.c:288) [ 49.858115][ T429] genl_rcv_msg (net/netlink/genetlink.c:65 net/netlink/genetlink.c:1211) [ 49.858122][ T429] netlink_rcv_skb (net/netlink/af_netlink.c:2534) [ 49.858125][ T429] ? __pfx_genl_rcv_msg (net/netlink/genetlink.c:1201) [ 49.858132][ T429] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2511) [ 49.858150][ T429] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 49.858160][ T429] genl_rcv (net/netlink/genetlink.c:1220) [ 49.858163][ T429] netlink_unicast (net/netlink/af_netlink.c:1314 net/netlink/af_netlink.c:1339) [ 49.858171][ T429] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1324) [ 49.858177][ T429] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 49.858189][ T429] netlink_sendmsg (net/netlink/af_netlink.c:1883) [ 49.858198][ T429] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1802) [ 49.858207][ T429] ? __might_fault (mm/memory.c:6991 mm/memory.c:6985) [ 49.858218][ T429] __sys_sendto (net/socket.c:712 net/socket.c:727 net/socket.c:2180) [ 49.858226][ T429] ? __pfx___sys_sendto (net/socket.c:2147) [ 49.858240][ T429] ? __pfx_lock_vma_under_rcu (mm/mmap_lock.c:137) [ 49.858250][ T429] ? find_held_lock (kernel/locking/lockdep.c:5353) [ 49.858255][ T429] ? exc_page_fault (./arch/x86/include/asm/irqflags.h:26 ./arch/x86/include/asm/irqflags.h:109 ./arch/x86/include/asm/irqflags.h:151 arch/x86/mm/fault.c:1484 arch/x86/mm/fault.c:1532) [ 49.858258][ T429] ? __lock_release (kernel/locking/lockdep.c:5539) [ 49.858265][ T429] ? exc_page_fault (./arch/x86/include/asm/irqflags.h:26 ./arch/x86/include/asm/irqflags.h:109 ./arch/x86/include/asm/irqflags.h:151 arch/x86/mm/fault.c:1484 arch/x86/mm/fault.c:1532) [ 49.858271][ T429] ? 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) [ 49.858280][ T429] __x64_sys_sendto (net/socket.c:2183) [ 49.858284][ T429] ? 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) [ 49.858289][ T429] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4475) [ 49.858293][ T429] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 49.858299][ T429] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 49.858303][ T429] RIP: 0033:0x7f9840111a4a [ 49.858310][ T429] Code: Unable to access opcode bytes at 0x7f9840111a20. Code starting with the faulting instruction =========================================== [ 49.858312][ T429] RSP: 002b:00007ffc88860ec8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 49.858315][ T429] RAX: ffffffffffffffda RBX: 000000000524bb00 RCX: 00007f9840111a4a [ 49.858317][ T429] RDX: 0000000000000034 RSI: 000000000524bb00 RDI: 0000000000000005 [ 49.858319][ T429] RBP: 000000000524b910 R08: 00007f98402b8200 R09: 000000000000000c [ 49.858321][ T429] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000040f200 [ 49.858322][ T429] R13: 000000000524b910 R14: 0000000000000000 R15: 0000000000000001 | [ 49.858322][ T429] R13: 000000000524b910 R14: 0000000000000000 R15: 0000000000000001 | [ 49.858339][ T429] | [ 49.911498][ T429] BUG: using smp_processor_id() in preemptible [00000000] code: devlink/429 | [ 49.912715][ T429] 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 [ 49.913170][ T429] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 49.913172][ T429] Call Trace: [ 49.913174][ T429] [ 49.913177][ T429] dump_stack_lvl (lib/dump_stack.c:123) [ 49.913186][ T429] check_preemption_disabled (lib/smp_processor_id.c:52) [ 49.913194][ T429] 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 [ 49.913213][ T429] ? nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 49.913231][ T429] nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 49.913250][ T429] __nsim_dev_port_del (drivers/net/netdevsim/dev.c:426 drivers/net/netdevsim/dev.c:1429) netdevsim [ 49.913267][ T429] nsim_dev_reload_destroy (drivers/net/netdevsim/dev.c:1438 drivers/net/netdevsim/dev.c:1661) netdevsim [ 49.913285][ T429] nsim_dev_reload_down (drivers/net/netdevsim/dev.c:969) netdevsim [ 49.913301][ T429] devlink_reload (net/devlink/dev.c:462) [ 49.913312][ T429] ? __pfx_devlink_reload (net/devlink/dev.c:446) [ 49.913319][ T429] ? devlink_resources_validate (net/devlink/resource.c:311) [ 49.913332][ T429] devlink_nl_reload_doit (net/devlink/dev.c:584) [ 49.913340][ T429] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 49.913348][ T429] ? __nla_parse (lib/nlattr.c:732) [ 49.913361][ T429] genl_family_rcv_msg_doit (net/netlink/genetlink.c:1117) [ 49.913368][ T429] ? __pfx_genl_family_rcv_msg_doit (net/netlink/genetlink.c:1088) [ 49.913384][ T429] ? cap_capable (security/commoncap.c:132) [ 49.913388][ T429] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83) [ 49.913399][ T429] genl_family_rcv_msg (net/netlink/genetlink.c:1195) [ 49.913406][ T429] ? __pfx_genl_family_rcv_msg (net/netlink/genetlink.c:1160) [ 49.913410][ T429] ? __pfx_devlink_nl_pre_doit_dev_lock (net/devlink/netlink.c:257) [ 49.913413][ T429] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 49.913417][ T429] ? __pfx_devlink_nl_post_doit_dev_lock (net/devlink/netlink.c:288) [ 49.913432][ T429] genl_rcv_msg (net/netlink/genetlink.c:65 net/netlink/genetlink.c:1211) [ 49.913438][ T429] netlink_rcv_skb (net/netlink/af_netlink.c:2534) [ 49.913441][ T429] ? __pfx_genl_rcv_msg (net/netlink/genetlink.c:1201) [ 49.913449][ T429] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2511) [ 49.913467][ T429] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 49.913476][ T429] genl_rcv (net/netlink/genetlink.c:1220) [ 49.913480][ T429] netlink_unicast (net/netlink/af_netlink.c:1314 net/netlink/af_netlink.c:1339) [ 49.913488][ T429] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1324) [ 49.913493][ T429] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 49.913505][ T429] netlink_sendmsg (net/netlink/af_netlink.c:1883) [ 49.913514][ T429] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1802) [ 49.913522][ T429] ? __might_fault (mm/memory.c:6991 mm/memory.c:6985) [ 49.913534][ T429] __sys_sendto (net/socket.c:712 net/socket.c:727 net/socket.c:2180) [ 49.913543][ T429] ? __pfx___sys_sendto (net/socket.c:2147) [ 49.913557][ T429] ? __pfx_lock_vma_under_rcu (mm/mmap_lock.c:137) [ 49.913566][ T429] ? find_held_lock (kernel/locking/lockdep.c:5353) [ 49.913571][ T429] ? exc_page_fault (./arch/x86/include/asm/irqflags.h:26 ./arch/x86/include/asm/irqflags.h:109 ./arch/x86/include/asm/irqflags.h:151 arch/x86/mm/fault.c:1484 arch/x86/mm/fault.c:1532) [ 49.913574][ T429] ? __lock_release (kernel/locking/lockdep.c:5539) [ 49.913582][ T429] ? exc_page_fault (./arch/x86/include/asm/irqflags.h:26 ./arch/x86/include/asm/irqflags.h:109 ./arch/x86/include/asm/irqflags.h:151 arch/x86/mm/fault.c:1484 arch/x86/mm/fault.c:1532) [ 49.913587][ T429] ? 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) [ 49.913596][ T429] __x64_sys_sendto (net/socket.c:2183) [ 49.913600][ T429] ? 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) [ 49.913605][ T429] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4475) [ 49.913609][ T429] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 49.913615][ T429] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 49.913619][ T429] RIP: 0033:0x7f9840111a4a [ 49.913626][ T429] Code: Unable to access opcode bytes at 0x7f9840111a20. Code starting with the faulting instruction =========================================== [ 49.913628][ T429] RSP: 002b:00007ffc88860ec8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 49.913631][ T429] RAX: ffffffffffffffda RBX: 000000000524bb00 RCX: 00007f9840111a4a [ 49.913633][ T429] RDX: 0000000000000034 RSI: 000000000524bb00 RDI: 0000000000000005 [ 49.913635][ T429] RBP: 000000000524b910 R08: 00007f98402b8200 R09: 000000000000000c [ 49.913636][ T429] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000040f200 [ 49.913638][ T429] R13: 000000000524b910 R14: 0000000000000000 R15: 0000000000000001 | [ 49.913638][ T429] R13: 000000000524b910 R14: 0000000000000000 R15: 0000000000000001 | [ 49.913655][ T429] | [ 49.971248][ T429] BUG: using smp_processor_id() in preemptible [00000000] code: devlink/429 | [ 49.971927][ T429] 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 [ 49.972388][ T429] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 49.972390][ T429] Call Trace: [ 49.972392][ T429] [ 49.972395][ T429] dump_stack_lvl (lib/dump_stack.c:123) [ 49.972404][ T429] check_preemption_disabled (lib/smp_processor_id.c:52) [ 49.972413][ T429] 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 [ 49.972432][ T429] ? nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 49.972449][ T429] nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 49.972468][ T429] __nsim_dev_port_del (drivers/net/netdevsim/dev.c:426 drivers/net/netdevsim/dev.c:1429) netdevsim [ 49.972485][ T429] nsim_dev_reload_destroy (drivers/net/netdevsim/dev.c:1438 drivers/net/netdevsim/dev.c:1661) netdevsim [ 49.972503][ T429] nsim_dev_reload_down (drivers/net/netdevsim/dev.c:969) netdevsim [ 49.972519][ T429] devlink_reload (net/devlink/dev.c:462) [ 49.972532][ T429] ? __pfx_devlink_reload (net/devlink/dev.c:446) [ 49.972539][ T429] ? devlink_resources_validate (net/devlink/resource.c:311) [ 49.972552][ T429] devlink_nl_reload_doit (net/devlink/dev.c:584) [ 49.972560][ T429] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 49.972568][ T429] ? __nla_parse (lib/nlattr.c:732) [ 49.972581][ T429] genl_family_rcv_msg_doit (net/netlink/genetlink.c:1117) [ 49.972589][ T429] ? __pfx_genl_family_rcv_msg_doit (net/netlink/genetlink.c:1088) [ 49.972606][ T429] ? cap_capable (security/commoncap.c:132) [ 49.972611][ T429] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83) [ 49.972622][ T429] genl_family_rcv_msg (net/netlink/genetlink.c:1195) [ 49.972628][ T429] ? __pfx_genl_family_rcv_msg (net/netlink/genetlink.c:1160) [ 49.972633][ T429] ? __pfx_devlink_nl_pre_doit_dev_lock (net/devlink/netlink.c:257) [ 49.972636][ T429] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 49.972639][ T429] ? __pfx_devlink_nl_post_doit_dev_lock (net/devlink/netlink.c:288) [ 49.972654][ T429] genl_rcv_msg (net/netlink/genetlink.c:65 net/netlink/genetlink.c:1211) [ 49.972661][ T429] netlink_rcv_skb (net/netlink/af_netlink.c:2534) [ 49.972664][ T429] ? __pfx_genl_rcv_msg (net/netlink/genetlink.c:1201) [ 49.972671][ T429] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2511) [ 49.972689][ T429] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 49.972698][ T429] genl_rcv (net/netlink/genetlink.c:1220) [ 49.972701][ T429] netlink_unicast (net/netlink/af_netlink.c:1314 net/netlink/af_netlink.c:1339) [ 49.972709][ T429] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1324) [ 49.972714][ T429] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 49.972725][ T429] netlink_sendmsg (net/netlink/af_netlink.c:1883) [ 49.972734][ T429] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1802) [ 49.972743][ T429] ? __might_fault (mm/memory.c:6991 mm/memory.c:6985) [ 49.972753][ T429] __sys_sendto (net/socket.c:712 net/socket.c:727 net/socket.c:2180) [ 49.972761][ T429] ? __pfx___sys_sendto (net/socket.c:2147) [ 49.972774][ T429] ? __pfx_lock_vma_under_rcu (mm/mmap_lock.c:137) [ 49.972783][ T429] ? find_held_lock (kernel/locking/lockdep.c:5353) [ 49.972789][ T429] ? exc_page_fault (./arch/x86/include/asm/irqflags.h:26 ./arch/x86/include/asm/irqflags.h:109 ./arch/x86/include/asm/irqflags.h:151 arch/x86/mm/fault.c:1484 arch/x86/mm/fault.c:1532) [ 49.972792][ T429] ? __lock_release (kernel/locking/lockdep.c:5539) [ 49.972799][ T429] ? exc_page_fault (./arch/x86/include/asm/irqflags.h:26 ./arch/x86/include/asm/irqflags.h:109 ./arch/x86/include/asm/irqflags.h:151 arch/x86/mm/fault.c:1484 arch/x86/mm/fault.c:1532) [ 49.972804][ T429] ? 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) [ 49.972813][ T429] __x64_sys_sendto (net/socket.c:2183) [ 49.972817][ T429] ? 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) [ 49.972823][ T429] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4475) [ 49.972827][ T429] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 49.972833][ T429] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 49.972837][ T429] RIP: 0033:0x7f9840111a4a [ 49.972844][ T429] Code: Unable to access opcode bytes at 0x7f9840111a20. Code starting with the faulting instruction =========================================== [ 49.972846][ T429] RSP: 002b:00007ffc88860ec8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 49.972849][ T429] RAX: ffffffffffffffda RBX: 000000000524bb00 RCX: 00007f9840111a4a [ 49.972851][ T429] RDX: 0000000000000034 RSI: 000000000524bb00 RDI: 0000000000000005 [ 49.972853][ T429] RBP: 000000000524b910 R08: 00007f98402b8200 R09: 000000000000000c [ 49.972855][ T429] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000040f200 [ 49.972857][ T429] R13: 000000000524b910 R14: 0000000000000000 R15: 0000000000000001 | [ 49.972857][ T429] R13: 000000000524b910 R14: 0000000000000000 R15: 0000000000000001 | [ 49.972873][ T429] | [ 50.023399][ T429] BUG: using smp_processor_id() in preemptible [00000000] code: devlink/429 | [ 50.024045][ T429] 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 [ 50.024505][ T429] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 50.024507][ T429] Call Trace: [ 50.024509][ T429] [ 50.024511][ T429] dump_stack_lvl (lib/dump_stack.c:123) [ 50.024521][ T429] check_preemption_disabled (lib/smp_processor_id.c:52) [ 50.024531][ T429] 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 [ 50.024550][ T429] ? nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 50.024568][ T429] nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 50.024587][ T429] __nsim_dev_port_del (drivers/net/netdevsim/dev.c:426 drivers/net/netdevsim/dev.c:1429) netdevsim [ 50.024604][ T429] nsim_dev_reload_destroy (drivers/net/netdevsim/dev.c:1438 drivers/net/netdevsim/dev.c:1661) netdevsim [ 50.024622][ T429] nsim_dev_reload_down (drivers/net/netdevsim/dev.c:969) netdevsim [ 50.024638][ T429] devlink_reload (net/devlink/dev.c:462) [ 50.024649][ T429] ? __pfx_devlink_reload (net/devlink/dev.c:446) [ 50.024655][ T429] ? devlink_resources_validate (net/devlink/resource.c:311) [ 50.024669][ T429] devlink_nl_reload_doit (net/devlink/dev.c:584) [ 50.024677][ T429] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 50.024685][ T429] ? __nla_parse (lib/nlattr.c:732) [ 50.024697][ T429] genl_family_rcv_msg_doit (net/netlink/genetlink.c:1117) [ 50.024704][ T429] ? __pfx_genl_family_rcv_msg_doit (net/netlink/genetlink.c:1088) [ 50.024721][ T429] ? cap_capable (security/commoncap.c:132) [ 50.024726][ T429] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83) [ 50.024737][ T429] genl_family_rcv_msg (net/netlink/genetlink.c:1195) [ 50.024744][ T429] ? __pfx_genl_family_rcv_msg (net/netlink/genetlink.c:1160) [ 50.024748][ T429] ? __pfx_devlink_nl_pre_doit_dev_lock (net/devlink/netlink.c:257) [ 50.024752][ T429] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 50.024755][ T429] ? __pfx_devlink_nl_post_doit_dev_lock (net/devlink/netlink.c:288) [ 50.024770][ T429] genl_rcv_msg (net/netlink/genetlink.c:65 net/netlink/genetlink.c:1211) [ 50.024776][ T429] netlink_rcv_skb (net/netlink/af_netlink.c:2534) [ 50.024779][ T429] ? __pfx_genl_rcv_msg (net/netlink/genetlink.c:1201) [ 50.024786][ T429] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2511) [ 50.024805][ T429] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 50.024814][ T429] genl_rcv (net/netlink/genetlink.c:1220) [ 50.024817][ T429] netlink_unicast (net/netlink/af_netlink.c:1314 net/netlink/af_netlink.c:1339) [ 50.024825][ T429] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1324) [ 50.024830][ T429] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 50.024841][ T429] netlink_sendmsg (net/netlink/af_netlink.c:1883) [ 50.024850][ T429] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1802) [ 50.024859][ T429] ? __might_fault (mm/memory.c:6991 mm/memory.c:6985) [ 50.024870][ T429] __sys_sendto (net/socket.c:712 net/socket.c:727 net/socket.c:2180) [ 50.024878][ T429] ? __pfx___sys_sendto (net/socket.c:2147) [ 50.024892][ T429] ? __pfx_lock_vma_under_rcu (mm/mmap_lock.c:137) [ 50.024901][ T429] ? find_held_lock (kernel/locking/lockdep.c:5353) [ 50.024907][ T429] ? exc_page_fault (./arch/x86/include/asm/irqflags.h:26 ./arch/x86/include/asm/irqflags.h:109 ./arch/x86/include/asm/irqflags.h:151 arch/x86/mm/fault.c:1484 arch/x86/mm/fault.c:1532) [ 50.024910][ T429] ? __lock_release (kernel/locking/lockdep.c:5539) [ 50.024917][ T429] ? exc_page_fault (./arch/x86/include/asm/irqflags.h:26 ./arch/x86/include/asm/irqflags.h:109 ./arch/x86/include/asm/irqflags.h:151 arch/x86/mm/fault.c:1484 arch/x86/mm/fault.c:1532) [ 50.024923][ T429] ? 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) [ 50.024932][ T429] __x64_sys_sendto (net/socket.c:2183) [ 50.024936][ T429] ? 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) [ 50.024942][ T429] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4475) [ 50.024946][ T429] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 50.024952][ T429] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 50.024956][ T429] RIP: 0033:0x7f9840111a4a [ 50.024964][ T429] Code: Unable to access opcode bytes at 0x7f9840111a20. Code starting with the faulting instruction =========================================== [ 50.024965][ T429] RSP: 002b:00007ffc88860ec8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 50.024969][ T429] RAX: ffffffffffffffda RBX: 000000000524bb00 RCX: 00007f9840111a4a [ 50.024971][ T429] RDX: 0000000000000034 RSI: 000000000524bb00 RDI: 0000000000000005 [ 50.024972][ T429] RBP: 000000000524b910 R08: 00007f98402b8200 R09: 000000000000000c [ 50.024974][ T429] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000040f200 [ 50.024976][ T429] R13: 000000000524b910 R14: 0000000000000000 R15: 0000000000000001 | [ 50.749395][ T408] netdevsim netdevsim10 eni10np2: renamed from eth1 | [ 50.776588][ T406] netdevsim netdevsim10 eni10np4: renamed from eth3 | [ 50.886253][ T456] BUG: using smp_processor_id() in preemptible [00000000] code: devlink/456 | [ 50.886953][ 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 [ 50.887440][ T456] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 50.887442][ T456] Call Trace: [ 50.887444][ T456] [ 50.887447][ T456] dump_stack_lvl (lib/dump_stack.c:123) [ 50.887456][ T456] check_preemption_disabled (lib/smp_processor_id.c:52) [ 50.887465][ 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 [ 50.887484][ T456] ? nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 50.887502][ T456] nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 50.887521][ T456] __nsim_dev_port_del (drivers/net/netdevsim/dev.c:426 drivers/net/netdevsim/dev.c:1429) netdevsim [ 50.887540][ T456] nsim_dev_reload_destroy (drivers/net/netdevsim/dev.c:1438 drivers/net/netdevsim/dev.c:1661) netdevsim [ 50.887559][ T456] nsim_dev_reload_down (drivers/net/netdevsim/dev.c:969) netdevsim [ 50.887575][ T456] devlink_reload (net/devlink/dev.c:462) [ 50.887585][ T456] ? __pfx_devlink_reload (net/devlink/dev.c:446) [ 50.887594][ T456] ? cap_capable (security/commoncap.c:132) [ 50.887599][ T456] ? fdget (./include/linux/atomic/atomic-arch-fallback.h:479 ./include/linux/atomic/atomic-instrumented.h:50 fs/file.c:1152 fs/file.c:1166) [ 50.887611][ T456] devlink_nl_reload_doit (net/devlink/dev.c:584) [ 50.887619][ T456] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 50.887627][ T456] ? __nla_parse (lib/nlattr.c:732) [ 50.887639][ T456] genl_family_rcv_msg_doit (net/netlink/genetlink.c:1117) [ 50.887647][ T456] ? __pfx_genl_family_rcv_msg_doit (net/netlink/genetlink.c:1088) [ 50.887664][ T456] ? cap_capable (security/commoncap.c:132) [ 50.887666][ T456] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83) [ 50.887678][ T456] genl_family_rcv_msg (net/netlink/genetlink.c:1195) [ 50.887685][ T456] ? __pfx_genl_family_rcv_msg (net/netlink/genetlink.c:1160) [ 50.887690][ T456] ? __pfx_devlink_nl_pre_doit_dev_lock (net/devlink/netlink.c:257) [ 50.887693][ T456] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 50.887696][ T456] ? __pfx_devlink_nl_post_doit_dev_lock (net/devlink/netlink.c:288) [ 50.887711][ T456] genl_rcv_msg (net/netlink/genetlink.c:65 net/netlink/genetlink.c:1211) [ 50.887717][ T456] netlink_rcv_skb (net/netlink/af_netlink.c:2534) [ 50.887721][ T456] ? __pfx_genl_rcv_msg (net/netlink/genetlink.c:1201) [ 50.887728][ T456] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2511) [ 50.887746][ T456] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 50.887754][ T456] genl_rcv (net/netlink/genetlink.c:1220) [ 50.887758][ T456] netlink_unicast (net/netlink/af_netlink.c:1314 net/netlink/af_netlink.c:1339) [ 50.887766][ T456] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1324) [ 50.887771][ T456] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 50.887783][ T456] netlink_sendmsg (net/netlink/af_netlink.c:1883) [ 50.887791][ T456] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1802) [ 50.887800][ T456] ? __might_fault (mm/memory.c:6991 mm/memory.c:6985) [ 50.887811][ T456] __sys_sendto (net/socket.c:712 net/socket.c:727 net/socket.c:2180) [ 50.887818][ T456] ? __pfx___sys_sendto (net/socket.c:2147) [ 50.887833][ T456] ? rseq_update_cpu_node_id (kernel/rseq.c:189 (discriminator 10)) [ 50.887840][ T456] ? __rseq_handle_notify_resume (kernel/rseq.c:442) [ 50.887843][ T456] ? find_held_lock (kernel/locking/lockdep.c:5353) [ 50.887849][ T456] ? __pfx___rseq_handle_notify_resume (kernel/rseq.c:425) [ 50.887855][ T456] ? exc_page_fault (./arch/x86/include/asm/irqflags.h:26 ./arch/x86/include/asm/irqflags.h:109 ./arch/x86/include/asm/irqflags.h:151 arch/x86/mm/fault.c:1484 arch/x86/mm/fault.c:1532) [ 50.887860][ T456] ? __pfx___x64_sys_openat (fs/open.c:1463) [ 50.887869][ T456] __x64_sys_sendto (net/socket.c:2183) [ 50.887873][ 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) [ 50.887879][ T456] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4475) [ 50.887883][ T456] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 50.887889][ T456] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 50.887893][ T456] RIP: 0033:0x7f3fd5187a4a [ 50.887898][ 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 [ 50.887900][ T456] RSP: 002b:00007fffbd9b82f8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 50.887904][ T456] RAX: ffffffffffffffda RBX: 0000000011d57b00 RCX: 00007f3fd5187a4a [ 50.887906][ T456] RDX: 000000000000003c RSI: 0000000011d57b00 RDI: 0000000000000005 [ 50.887908][ T456] RBP: 0000000011d57910 R08: 00007f3fd532e200 R09: 000000000000000c [ 50.887910][ T456] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000040f200 [ 50.887912][ T456] R13: 0000000011d57910 R14: 0000000000000000 R15: 0000000000000001 | [ 50.887928][ T456] | [ 50.915849][ T407] netdevsim netdevsim10 eni10np3: renamed from eth2 | [ 50.940071][ T456] BUG: using smp_processor_id() in preemptible [00000000] code: devlink/456 | [ 50.940785][ 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 [ 50.941275][ T456] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 50.941276][ T456] Call Trace: [ 50.941279][ T456] [ 50.941281][ T456] dump_stack_lvl (lib/dump_stack.c:123) [ 50.941291][ T456] check_preemption_disabled (lib/smp_processor_id.c:52) [ 50.941299][ 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 [ 50.941318][ T456] ? nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 50.941336][ T456] nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 50.941355][ T456] __nsim_dev_port_del (drivers/net/netdevsim/dev.c:426 drivers/net/netdevsim/dev.c:1429) netdevsim [ 50.941372][ T456] nsim_dev_reload_destroy (drivers/net/netdevsim/dev.c:1438 drivers/net/netdevsim/dev.c:1661) netdevsim [ 50.941390][ T456] nsim_dev_reload_down (drivers/net/netdevsim/dev.c:969) netdevsim [ 50.941405][ T456] devlink_reload (net/devlink/dev.c:462) [ 50.941417][ T456] ? __pfx_devlink_reload (net/devlink/dev.c:446) [ 50.941425][ T456] ? cap_capable (security/commoncap.c:132) [ 50.941429][ T456] ? fdget (./include/linux/atomic/atomic-arch-fallback.h:479 ./include/linux/atomic/atomic-instrumented.h:50 fs/file.c:1152 fs/file.c:1166) [ 50.941441][ T456] devlink_nl_reload_doit (net/devlink/dev.c:584) [ 50.941448][ T456] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 50.941456][ T456] ? __nla_parse (lib/nlattr.c:732) [ 50.941468][ T456] genl_family_rcv_msg_doit (net/netlink/genetlink.c:1117) [ 50.941476][ T456] ? __pfx_genl_family_rcv_msg_doit (net/netlink/genetlink.c:1088) [ 50.941493][ T456] ? cap_capable (security/commoncap.c:132) [ 50.941495][ T456] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83) [ 50.941506][ T456] genl_family_rcv_msg (net/netlink/genetlink.c:1195) [ 50.941513][ T456] ? __pfx_genl_family_rcv_msg (net/netlink/genetlink.c:1160) [ 50.941518][ T456] ? __pfx_devlink_nl_pre_doit_dev_lock (net/devlink/netlink.c:257) [ 50.941521][ T456] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 50.941524][ T456] ? __pfx_devlink_nl_post_doit_dev_lock (net/devlink/netlink.c:288) [ 50.941542][ T456] genl_rcv_msg (net/netlink/genetlink.c:65 net/netlink/genetlink.c:1211) [ 50.941548][ T456] netlink_rcv_skb (net/netlink/af_netlink.c:2534) [ 50.941552][ T456] ? __pfx_genl_rcv_msg (net/netlink/genetlink.c:1201) [ 50.941558][ T456] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2511) [ 50.941577][ T456] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 50.941586][ T456] genl_rcv (net/netlink/genetlink.c:1220) [ 50.941589][ T456] netlink_unicast (net/netlink/af_netlink.c:1314 net/netlink/af_netlink.c:1339) [ 50.941597][ T456] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1324) [ 50.941602][ T456] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 50.941614][ T456] netlink_sendmsg (net/netlink/af_netlink.c:1883) [ 50.941622][ T456] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1802) [ 50.941631][ T456] ? __might_fault (mm/memory.c:6991 mm/memory.c:6985) [ 50.941641][ T456] __sys_sendto (net/socket.c:712 net/socket.c:727 net/socket.c:2180) [ 50.941648][ T456] ? __pfx___sys_sendto (net/socket.c:2147) [ 50.941663][ T456] ? rseq_update_cpu_node_id (kernel/rseq.c:189 (discriminator 10)) [ 50.941671][ T456] ? __rseq_handle_notify_resume (kernel/rseq.c:442) [ 50.941673][ T456] ? find_held_lock (kernel/locking/lockdep.c:5353) [ 50.941679][ T456] ? __pfx___rseq_handle_notify_resume (kernel/rseq.c:425) [ 50.941686][ T456] ? exc_page_fault (./arch/x86/include/asm/irqflags.h:26 ./arch/x86/include/asm/irqflags.h:109 ./arch/x86/include/asm/irqflags.h:151 arch/x86/mm/fault.c:1484 arch/x86/mm/fault.c:1532) [ 50.941690][ T456] ? __pfx___x64_sys_openat (fs/open.c:1463) [ 50.941700][ T456] __x64_sys_sendto (net/socket.c:2183) [ 50.941703][ 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) [ 50.941709][ T456] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4475) [ 50.941713][ T456] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 50.941720][ T456] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 50.941724][ T456] RIP: 0033:0x7f3fd5187a4a [ 50.941728][ 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 [ 50.941731][ T456] RSP: 002b:00007fffbd9b82f8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 50.941735][ T456] RAX: ffffffffffffffda RBX: 0000000011d57b00 RCX: 00007f3fd5187a4a [ 50.941737][ T456] RDX: 000000000000003c RSI: 0000000011d57b00 RDI: 0000000000000005 [ 50.941739][ T456] RBP: 0000000011d57910 R08: 00007f3fd532e200 R09: 000000000000000c [ 50.941740][ T456] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000040f200 [ 50.941742][ T456] R13: 0000000011d57910 R14: 0000000000000000 R15: 0000000000000001 | [ 50.941742][ T456] R13: 0000000011d57910 R14: 0000000000000000 R15: 0000000000000001 | [ 50.941759][ T456] | [ 50.994033][ T456] BUG: using smp_processor_id() in preemptible [00000000] code: devlink/456 | [ 50.994742][ 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 [ 50.995234][ T456] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 50.995236][ T456] Call Trace: [ 50.995239][ T456] [ 50.995241][ T456] dump_stack_lvl (lib/dump_stack.c:123) [ 50.995251][ T456] check_preemption_disabled (lib/smp_processor_id.c:52) [ 50.995260][ 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 [ 50.995279][ T456] ? nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 50.995297][ T456] nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 50.995315][ T456] __nsim_dev_port_del (drivers/net/netdevsim/dev.c:426 drivers/net/netdevsim/dev.c:1429) netdevsim [ 50.995332][ T456] nsim_dev_reload_destroy (drivers/net/netdevsim/dev.c:1438 drivers/net/netdevsim/dev.c:1661) netdevsim [ 50.995351][ T456] nsim_dev_reload_down (drivers/net/netdevsim/dev.c:969) netdevsim [ 50.995367][ T456] devlink_reload (net/devlink/dev.c:462) [ 50.995378][ T456] ? __pfx_devlink_reload (net/devlink/dev.c:446) [ 50.995386][ T456] ? cap_capable (security/commoncap.c:132) [ 50.995390][ T456] ? fdget (./include/linux/atomic/atomic-arch-fallback.h:479 ./include/linux/atomic/atomic-instrumented.h:50 fs/file.c:1152 fs/file.c:1166) [ 50.995401][ T456] devlink_nl_reload_doit (net/devlink/dev.c:584) [ 50.995409][ T456] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 50.995416][ T456] ? __nla_parse (lib/nlattr.c:732) [ 50.995429][ T456] genl_family_rcv_msg_doit (net/netlink/genetlink.c:1117) [ 50.995437][ T456] ? __pfx_genl_family_rcv_msg_doit (net/netlink/genetlink.c:1088) [ 50.995453][ T456] ? cap_capable (security/commoncap.c:132) [ 50.995456][ T456] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83) [ 50.995468][ T456] genl_family_rcv_msg (net/netlink/genetlink.c:1195) [ 50.995474][ T456] ? __pfx_genl_family_rcv_msg (net/netlink/genetlink.c:1160) [ 50.995479][ T456] ? __pfx_devlink_nl_pre_doit_dev_lock (net/devlink/netlink.c:257) [ 50.995482][ T456] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 50.995486][ T456] ? __pfx_devlink_nl_post_doit_dev_lock (net/devlink/netlink.c:288) [ 50.995501][ T456] genl_rcv_msg (net/netlink/genetlink.c:65 net/netlink/genetlink.c:1211) [ 50.995507][ T456] netlink_rcv_skb (net/netlink/af_netlink.c:2534) [ 50.995511][ T456] ? __pfx_genl_rcv_msg (net/netlink/genetlink.c:1201) [ 50.995518][ T456] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2511) [ 50.995538][ T456] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 50.995547][ T456] genl_rcv (net/netlink/genetlink.c:1220) [ 50.995551][ T456] netlink_unicast (net/netlink/af_netlink.c:1314 net/netlink/af_netlink.c:1339) [ 50.995559][ T456] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1324) [ 50.995564][ T456] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 50.995575][ T456] netlink_sendmsg (net/netlink/af_netlink.c:1883) [ 50.995585][ T456] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1802) [ 50.995593][ T456] ? __might_fault (mm/memory.c:6991 mm/memory.c:6985) [ 50.995604][ T456] __sys_sendto (net/socket.c:712 net/socket.c:727 net/socket.c:2180) [ 50.995612][ T456] ? __pfx___sys_sendto (net/socket.c:2147) [ 50.995627][ T456] ? rseq_update_cpu_node_id (kernel/rseq.c:189 (discriminator 10)) [ 50.995634][ T456] ? __rseq_handle_notify_resume (kernel/rseq.c:442) [ 50.995637][ T456] ? find_held_lock (kernel/locking/lockdep.c:5353) [ 50.995643][ T456] ? __pfx___rseq_handle_notify_resume (kernel/rseq.c:425) [ 50.995649][ T456] ? exc_page_fault (./arch/x86/include/asm/irqflags.h:26 ./arch/x86/include/asm/irqflags.h:109 ./arch/x86/include/asm/irqflags.h:151 arch/x86/mm/fault.c:1484 arch/x86/mm/fault.c:1532) [ 50.995654][ T456] ? __pfx___x64_sys_openat (fs/open.c:1463) [ 50.995663][ T456] __x64_sys_sendto (net/socket.c:2183) [ 50.995667][ 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) [ 50.995672][ T456] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4475) [ 50.995677][ T456] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 50.995683][ T456] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 50.995687][ T456] RIP: 0033:0x7f3fd5187a4a [ 50.995691][ 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 [ 50.995694][ T456] RSP: 002b:00007fffbd9b82f8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 50.995698][ T456] RAX: ffffffffffffffda RBX: 0000000011d57b00 RCX: 00007f3fd5187a4a [ 50.995701][ T456] RDX: 000000000000003c RSI: 0000000011d57b00 RDI: 0000000000000005 [ 50.995702][ T456] RBP: 0000000011d57910 R08: 00007f3fd532e200 R09: 000000000000000c [ 50.995704][ T456] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000040f200 [ 50.995706][ T456] R13: 0000000011d57910 R14: 0000000000000000 R15: 0000000000000001 | [ 50.995706][ T456] R13: 0000000011d57910 R14: 0000000000000000 R15: 0000000000000001 | [ 50.995722][ T456] | [ 51.050679][ T456] BUG: using smp_processor_id() in preemptible [00000000] code: devlink/456 | [ 51.051370][ 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 [ 51.052557][ T456] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 51.052559][ T456] Call Trace: [ 51.052561][ T456] [ 51.052564][ T456] dump_stack_lvl (lib/dump_stack.c:123) [ 51.052573][ T456] check_preemption_disabled (lib/smp_processor_id.c:52) [ 51.052582][ 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 [ 51.052601][ T456] ? nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 51.052619][ T456] nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 51.052638][ T456] __nsim_dev_port_del (drivers/net/netdevsim/dev.c:426 drivers/net/netdevsim/dev.c:1429) netdevsim [ 51.052654][ T456] nsim_dev_reload_destroy (drivers/net/netdevsim/dev.c:1438 drivers/net/netdevsim/dev.c:1661) netdevsim [ 51.052673][ T456] nsim_dev_reload_down (drivers/net/netdevsim/dev.c:969) netdevsim [ 51.052688][ T456] devlink_reload (net/devlink/dev.c:462) [ 51.052699][ T456] ? __pfx_devlink_reload (net/devlink/dev.c:446) [ 51.052708][ T456] ? cap_capable (security/commoncap.c:132) [ 51.052712][ T456] ? fdget (./include/linux/atomic/atomic-arch-fallback.h:479 ./include/linux/atomic/atomic-instrumented.h:50 fs/file.c:1152 fs/file.c:1166) [ 51.052723][ T456] devlink_nl_reload_doit (net/devlink/dev.c:584) [ 51.052731][ T456] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 51.052738][ T456] ? __nla_parse (lib/nlattr.c:732) [ 51.052750][ T456] genl_family_rcv_msg_doit (net/netlink/genetlink.c:1117) [ 51.052757][ T456] ? __pfx_genl_family_rcv_msg_doit (net/netlink/genetlink.c:1088) [ 51.052774][ T456] ? cap_capable (security/commoncap.c:132) [ 51.052776][ T456] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83) [ 51.052788][ T456] genl_family_rcv_msg (net/netlink/genetlink.c:1195) [ 51.052794][ T456] ? __pfx_genl_family_rcv_msg (net/netlink/genetlink.c:1160) [ 51.052799][ T456] ? __pfx_devlink_nl_pre_doit_dev_lock (net/devlink/netlink.c:257) [ 51.052802][ T456] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 51.052805][ T456] ? __pfx_devlink_nl_post_doit_dev_lock (net/devlink/netlink.c:288) [ 51.052820][ T456] genl_rcv_msg (net/netlink/genetlink.c:65 net/netlink/genetlink.c:1211) [ 51.052827][ T456] netlink_rcv_skb (net/netlink/af_netlink.c:2534) [ 51.052830][ T456] ? __pfx_genl_rcv_msg (net/netlink/genetlink.c:1201) [ 51.052837][ T456] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2511) [ 51.052855][ T456] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 51.052864][ T456] genl_rcv (net/netlink/genetlink.c:1220) [ 51.052867][ T456] netlink_unicast (net/netlink/af_netlink.c:1314 net/netlink/af_netlink.c:1339) [ 51.052876][ T456] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1324) [ 51.052881][ T456] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 51.052893][ T456] netlink_sendmsg (net/netlink/af_netlink.c:1883) [ 51.052901][ T456] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1802) [ 51.052910][ T456] ? __might_fault (mm/memory.c:6991 mm/memory.c:6985) [ 51.052920][ T456] __sys_sendto (net/socket.c:712 net/socket.c:727 net/socket.c:2180) [ 51.052927][ T456] ? __pfx___sys_sendto (net/socket.c:2147) [ 51.052942][ T456] ? rseq_update_cpu_node_id (kernel/rseq.c:189 (discriminator 10)) [ 51.052950][ T456] ? __rseq_handle_notify_resume (kernel/rseq.c:442) [ 51.052952][ T456] ? find_held_lock (kernel/locking/lockdep.c:5353) [ 51.052958][ T456] ? __pfx___rseq_handle_notify_resume (kernel/rseq.c:425) [ 51.052964][ T456] ? exc_page_fault (./arch/x86/include/asm/irqflags.h:26 ./arch/x86/include/asm/irqflags.h:109 ./arch/x86/include/asm/irqflags.h:151 arch/x86/mm/fault.c:1484 arch/x86/mm/fault.c:1532) [ 51.052969][ T456] ? __pfx___x64_sys_openat (fs/open.c:1463) [ 51.052978][ T456] __x64_sys_sendto (net/socket.c:2183) [ 51.052982][ 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) [ 51.052988][ T456] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4475) [ 51.052992][ T456] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 51.052998][ T456] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 51.053002][ T456] RIP: 0033:0x7f3fd5187a4a [ 51.053008][ 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 [ 51.053011][ T456] RSP: 002b:00007fffbd9b82f8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 51.053014][ T456] RAX: ffffffffffffffda RBX: 0000000011d57b00 RCX: 00007f3fd5187a4a [ 51.053017][ T456] RDX: 000000000000003c RSI: 0000000011d57b00 RDI: 0000000000000005 [ 51.053018][ T456] RBP: 0000000011d57910 R08: 00007f3fd532e200 R09: 000000000000000c [ 51.053020][ T456] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000040f200 [ 51.053022][ T456] R13: 0000000011d57910 R14: 0000000000000000 R15: 0000000000000001 | [ 51.053022][ T456] R13: 0000000011d57910 R14: 0000000000000000 R15: 0000000000000001 | [ 51.053039][ T456] | [ 51.369746][ T464] BUG: using smp_processor_id() in preemptible [00000000] code: devlink/464 | [ 51.370387][ T464] 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 [ 51.370852][ T464] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 51.370854][ T464] Call Trace: [ 51.370856][ T464] [ 51.370859][ T464] dump_stack_lvl (lib/dump_stack.c:123) [ 51.370868][ T464] check_preemption_disabled (lib/smp_processor_id.c:52) [ 51.370877][ T464] 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 [ 51.370895][ T464] ? nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 51.370913][ T464] nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 51.370932][ T464] __nsim_dev_port_del (drivers/net/netdevsim/dev.c:426 drivers/net/netdevsim/dev.c:1429) netdevsim [ 51.370949][ T464] nsim_dev_reload_destroy (drivers/net/netdevsim/dev.c:1438 drivers/net/netdevsim/dev.c:1661) netdevsim [ 51.370968][ T464] nsim_dev_reload_down (drivers/net/netdevsim/dev.c:969) netdevsim [ 51.370983][ T464] devlink_reload (net/devlink/dev.c:462) [ 51.370994][ T464] ? __pfx_devlink_reload (net/devlink/dev.c:446) [ 51.371002][ T464] ? cap_capable (security/commoncap.c:132) [ 51.371007][ T464] ? fdget (./include/linux/atomic/atomic-arch-fallback.h:479 ./include/linux/atomic/atomic-instrumented.h:50 fs/file.c:1152 fs/file.c:1166) [ 51.371018][ T464] devlink_nl_reload_doit (net/devlink/dev.c:584) [ 51.371026][ T464] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 51.371033][ T464] ? __nla_parse (lib/nlattr.c:732) [ 51.371045][ T464] genl_family_rcv_msg_doit (net/netlink/genetlink.c:1117) [ 51.371053][ T464] ? __pfx_genl_family_rcv_msg_doit (net/netlink/genetlink.c:1088) [ 51.371069][ T464] ? cap_capable (security/commoncap.c:132) [ 51.371072][ T464] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83) [ 51.371083][ T464] genl_family_rcv_msg (net/netlink/genetlink.c:1195) [ 51.371090][ T464] ? __pfx_genl_family_rcv_msg (net/netlink/genetlink.c:1160) [ 51.371095][ T464] ? __pfx_devlink_nl_pre_doit_dev_lock (net/devlink/netlink.c:257) [ 51.371098][ T464] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 51.371101][ T464] ? __pfx_devlink_nl_post_doit_dev_lock (net/devlink/netlink.c:288) [ 51.371116][ T464] genl_rcv_msg (net/netlink/genetlink.c:65 net/netlink/genetlink.c:1211) [ 51.371122][ T464] netlink_rcv_skb (net/netlink/af_netlink.c:2534) [ 51.371126][ T464] ? __pfx_genl_rcv_msg (net/netlink/genetlink.c:1201) [ 51.371133][ T464] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2511) [ 51.371151][ T464] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 51.371160][ T464] genl_rcv (net/netlink/genetlink.c:1220) [ 51.371163][ T464] netlink_unicast (net/netlink/af_netlink.c:1314 net/netlink/af_netlink.c:1339) [ 51.371172][ T464] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1324) [ 51.371177][ T464] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 51.371189][ T464] netlink_sendmsg (net/netlink/af_netlink.c:1883) [ 51.371198][ T464] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1802) [ 51.371214][ T464] ? __might_fault (mm/memory.c:6991 mm/memory.c:6985) [ 51.371226][ T464] __sys_sendto (net/socket.c:712 net/socket.c:727 net/socket.c:2180) [ 51.371234][ T464] ? __pfx___sys_sendto (net/socket.c:2147) [ 51.371249][ T464] ? rseq_update_cpu_node_id (kernel/rseq.c:189 (discriminator 10)) [ 51.371257][ T464] ? __rseq_handle_notify_resume (kernel/rseq.c:442) [ 51.371264][ T464] ? __pfx___rseq_handle_notify_resume (kernel/rseq.c:425) [ 51.371273][ T464] ? __pfx___x64_sys_openat (fs/open.c:1463) [ 51.371282][ T464] __x64_sys_sendto (net/socket.c:2183) [ 51.371287][ T464] ? 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) [ 51.371292][ T464] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4475) [ 51.371297][ T464] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 51.371303][ T464] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 51.371307][ T464] RIP: 0033:0x7fba58b72a4a [ 51.371311][ T464] 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 [ 51.371314][ T464] RSP: 002b:00007fff4e66f998 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 51.371318][ T464] RAX: ffffffffffffffda RBX: 0000000010f6cb00 RCX: 00007fba58b72a4a [ 51.371320][ T464] RDX: 000000000000003c RSI: 0000000010f6cb00 RDI: 0000000000000005 [ 51.371321][ T464] RBP: 0000000010f6c910 R08: 00007fba58d19200 R09: 000000000000000c [ 51.371323][ T464] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000040f200 [ 51.371325][ T464] R13: 0000000010f6c910 R14: 0000000000000000 R15: 0000000000000003 | [ 51.371325][ T464] R13: 0000000010f6c910 R14: 0000000000000000 R15: 0000000000000003 | [ 51.371341][ T464] | [ 51.408766][ T464] BUG: using smp_processor_id() in preemptible [00000000] code: devlink/464 | [ 51.409406][ T464] 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 [ 51.409866][ T464] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 51.409868][ T464] Call Trace: [ 51.409871][ T464] [ 51.409874][ T464] dump_stack_lvl (lib/dump_stack.c:123) [ 51.409885][ T464] check_preemption_disabled (lib/smp_processor_id.c:52) [ 51.409895][ T464] 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 [ 51.409914][ T464] ? nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 51.409932][ T464] nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 51.409951][ T464] __nsim_dev_port_del (drivers/net/netdevsim/dev.c:426 drivers/net/netdevsim/dev.c:1429) netdevsim [ 51.409967][ T464] nsim_dev_reload_destroy (drivers/net/netdevsim/dev.c:1438 drivers/net/netdevsim/dev.c:1661) netdevsim [ 51.409986][ T464] nsim_dev_reload_down (drivers/net/netdevsim/dev.c:969) netdevsim [ 51.410001][ T464] devlink_reload (net/devlink/dev.c:462) [ 51.410013][ T464] ? __pfx_devlink_reload (net/devlink/dev.c:446) [ 51.410022][ T464] ? cap_capable (security/commoncap.c:132) [ 51.410027][ T464] ? fdget (./include/linux/atomic/atomic-arch-fallback.h:479 ./include/linux/atomic/atomic-instrumented.h:50 fs/file.c:1152 fs/file.c:1166) [ 51.410039][ T464] devlink_nl_reload_doit (net/devlink/dev.c:584) [ 51.410047][ T464] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 51.410055][ T464] ? __nla_parse (lib/nlattr.c:732) [ 51.410068][ T464] genl_family_rcv_msg_doit (net/netlink/genetlink.c:1117) [ 51.410077][ T464] ? __pfx_genl_family_rcv_msg_doit (net/netlink/genetlink.c:1088) [ 51.410094][ T464] ? cap_capable (security/commoncap.c:132) [ 51.410097][ T464] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83) [ 51.410110][ T464] genl_family_rcv_msg (net/netlink/genetlink.c:1195) [ 51.410117][ T464] ? __pfx_genl_family_rcv_msg (net/netlink/genetlink.c:1160) [ 51.410122][ T464] ? __pfx_devlink_nl_pre_doit_dev_lock (net/devlink/netlink.c:257) [ 51.410125][ T464] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 51.410128][ T464] ? __pfx_devlink_nl_post_doit_dev_lock (net/devlink/netlink.c:288) [ 51.410143][ T464] genl_rcv_msg (net/netlink/genetlink.c:65 net/netlink/genetlink.c:1211) [ 51.410149][ T464] netlink_rcv_skb (net/netlink/af_netlink.c:2534) [ 51.410153][ T464] ? __pfx_genl_rcv_msg (net/netlink/genetlink.c:1201) [ 51.410160][ T464] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2511) [ 51.410178][ T464] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 51.410187][ T464] genl_rcv (net/netlink/genetlink.c:1220) [ 51.410191][ T464] netlink_unicast (net/netlink/af_netlink.c:1314 net/netlink/af_netlink.c:1339) [ 51.410199][ T464] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1324) [ 51.410204][ T464] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 51.410217][ T464] netlink_sendmsg (net/netlink/af_netlink.c:1883) [ 51.410226][ T464] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1802) [ 51.410234][ T464] ? __might_fault (mm/memory.c:6991 mm/memory.c:6985) [ 51.410247][ T464] __sys_sendto (net/socket.c:712 net/socket.c:727 net/socket.c:2180) [ 51.410255][ T464] ? __pfx___sys_sendto (net/socket.c:2147) [ 51.410270][ T464] ? rseq_update_cpu_node_id (kernel/rseq.c:189 (discriminator 10)) [ 51.410278][ T464] ? __rseq_handle_notify_resume (kernel/rseq.c:442) [ 51.410285][ T464] ? __pfx___rseq_handle_notify_resume (kernel/rseq.c:425) [ 51.410294][ T464] ? __pfx___x64_sys_openat (fs/open.c:1463) [ 51.410303][ T464] __x64_sys_sendto (net/socket.c:2183) [ 51.410307][ T464] ? 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) [ 51.410314][ T464] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4475) [ 51.410318][ T464] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 51.410325][ T464] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 51.410329][ T464] RIP: 0033:0x7fba58b72a4a [ 51.410335][ T464] 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 [ 51.410338][ T464] RSP: 002b:00007fff4e66f998 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 51.410342][ T464] RAX: ffffffffffffffda RBX: 0000000010f6cb00 RCX: 00007fba58b72a4a [ 51.410344][ T464] RDX: 000000000000003c RSI: 0000000010f6cb00 RDI: 0000000000000005 [ 51.410346][ T464] RBP: 0000000010f6c910 R08: 00007fba58d19200 R09: 000000000000000c [ 51.410348][ T464] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000040f200 [ 51.410351][ T464] R13: 0000000010f6c910 R14: 0000000000000000 R15: 0000000000000003 | [ 52.413309][ T406] netdevsim netdevsim10 eni10np4: renamed from eth3 | [ 55.459784][ T535] check_preemption_disabled: 14 callbacks suppressed | [ 55.459791][ T535] BUG: using smp_processor_id() in preemptible [00000000] code: devlink/535 | [ 55.460947][ T535] 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 [ 55.461433][ T535] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 55.461435][ T535] Call Trace: [ 55.461437][ T535] [ 55.461440][ T535] dump_stack_lvl (lib/dump_stack.c:123) [ 55.461452][ T535] check_preemption_disabled (lib/smp_processor_id.c:52) [ 55.461463][ T535] 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 [ 55.461482][ T535] ? nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 55.461500][ T535] nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 55.461519][ T535] __nsim_dev_port_del (drivers/net/netdevsim/dev.c:426 drivers/net/netdevsim/dev.c:1429) netdevsim [ 55.461537][ T535] nsim_dev_reload_destroy (drivers/net/netdevsim/dev.c:1438 drivers/net/netdevsim/dev.c:1661) netdevsim [ 55.461556][ T535] nsim_dev_reload_down (drivers/net/netdevsim/dev.c:969) netdevsim [ 55.461570][ T535] devlink_reload (net/devlink/dev.c:462) [ 55.461583][ T535] ? __pfx_devlink_reload (net/devlink/dev.c:446) [ 55.461592][ T535] ? cap_capable (security/commoncap.c:132) [ 55.461597][ T535] ? fdget (./include/linux/atomic/atomic-arch-fallback.h:479 ./include/linux/atomic/atomic-instrumented.h:50 fs/file.c:1152 fs/file.c:1166) [ 55.461609][ T535] devlink_nl_reload_doit (net/devlink/dev.c:584) [ 55.461617][ T535] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 55.461625][ T535] ? __nla_parse (lib/nlattr.c:732) [ 55.461639][ T535] genl_family_rcv_msg_doit (net/netlink/genetlink.c:1117) [ 55.461648][ T535] ? __pfx_genl_family_rcv_msg_doit (net/netlink/genetlink.c:1088) [ 55.461665][ T535] ? cap_capable (security/commoncap.c:132) [ 55.461667][ T535] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83) [ 55.461682][ T535] genl_family_rcv_msg (net/netlink/genetlink.c:1195) [ 55.461688][ T535] ? __pfx_genl_family_rcv_msg (net/netlink/genetlink.c:1160) [ 55.461693][ T535] ? __pfx_devlink_nl_pre_doit_dev_lock (net/devlink/netlink.c:257) [ 55.461697][ T535] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 55.461700][ T535] ? __pfx_devlink_nl_post_doit_dev_lock (net/devlink/netlink.c:288) [ 55.461715][ T535] genl_rcv_msg (net/netlink/genetlink.c:65 net/netlink/genetlink.c:1211) [ 55.461722][ T535] netlink_rcv_skb (net/netlink/af_netlink.c:2534) [ 55.461725][ T535] ? __pfx_genl_rcv_msg (net/netlink/genetlink.c:1201) [ 55.461732][ T535] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2511) [ 55.461751][ T535] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 55.461760][ T535] genl_rcv (net/netlink/genetlink.c:1220) [ 55.461763][ T535] netlink_unicast (net/netlink/af_netlink.c:1314 net/netlink/af_netlink.c:1339) [ 55.461771][ T535] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1324) [ 55.461776][ T535] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 55.461790][ T535] netlink_sendmsg (net/netlink/af_netlink.c:1883) [ 55.461799][ T535] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1802) [ 55.461807][ T535] ? __might_fault (mm/memory.c:6991 mm/memory.c:6985) [ 55.461819][ T535] __sys_sendto (net/socket.c:712 net/socket.c:727 net/socket.c:2180) [ 55.461827][ T535] ? __pfx___sys_sendto (net/socket.c:2147) [ 55.461842][ T535] ? rseq_update_cpu_node_id (kernel/rseq.c:189 (discriminator 10)) [ 55.461850][ T535] ? __rseq_handle_notify_resume (kernel/rseq.c:442) [ 55.461857][ T535] ? __pfx___rseq_handle_notify_resume (kernel/rseq.c:425) [ 55.461866][ T535] ? __pfx___x64_sys_openat (fs/open.c:1463) [ 55.461876][ T535] __x64_sys_sendto (net/socket.c:2183) [ 55.461880][ T535] ? 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) [ 55.461888][ T535] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4475) [ 55.461892][ T535] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 55.461899][ T535] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 55.461903][ T535] RIP: 0033:0x7f79df440a4a [ 55.461908][ T535] 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 [ 55.461911][ T535] RSP: 002b:00007ffc30287b98 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 55.461915][ T535] RAX: ffffffffffffffda RBX: 000000000d9ecb00 RCX: 00007f79df440a4a [ 55.461917][ T535] RDX: 000000000000003c RSI: 000000000d9ecb00 RDI: 0000000000000005 [ 55.461919][ T535] RBP: 000000000d9ec910 R08: 00007f79df5e7200 R09: 000000000000000c [ 55.461921][ T535] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000040f200 [ 55.461923][ T535] R13: 000000000d9ec910 R14: 0000000000000000 R15: 0000000000000003 | [ 55.461923][ T535] R13: 000000000d9ec910 R14: 0000000000000000 R15: 0000000000000003 | [ 55.461939][ T535] | [ 55.506300][ T535] BUG: using smp_processor_id() in preemptible [00000000] code: devlink/535 | [ 55.506996][ T535] 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 [ 55.507461][ T535] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 55.507462][ T535] Call Trace: [ 55.507465][ T535] [ 55.507467][ T535] dump_stack_lvl (lib/dump_stack.c:123) [ 55.507474][ T535] check_preemption_disabled (lib/smp_processor_id.c:52) [ 55.507482][ T535] 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 [ 55.507501][ T535] ? nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 55.507519][ T535] nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 55.507540][ T535] __nsim_dev_port_del (drivers/net/netdevsim/dev.c:426 drivers/net/netdevsim/dev.c:1429) netdevsim [ 55.507557][ T535] nsim_dev_reload_destroy (drivers/net/netdevsim/dev.c:1438 drivers/net/netdevsim/dev.c:1661) netdevsim [ 55.507575][ T535] nsim_dev_reload_down (drivers/net/netdevsim/dev.c:969) netdevsim [ 55.507590][ T535] devlink_reload (net/devlink/dev.c:462) [ 55.507601][ T535] ? __pfx_devlink_reload (net/devlink/dev.c:446) [ 55.507609][ T535] ? cap_capable (security/commoncap.c:132) [ 55.507613][ T535] ? fdget (./include/linux/atomic/atomic-arch-fallback.h:479 ./include/linux/atomic/atomic-instrumented.h:50 fs/file.c:1152 fs/file.c:1166) [ 55.507624][ T535] devlink_nl_reload_doit (net/devlink/dev.c:584) [ 55.507631][ T535] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 55.507639][ T535] ? __nla_parse (lib/nlattr.c:732) [ 55.507651][ T535] genl_family_rcv_msg_doit (net/netlink/genetlink.c:1117) [ 55.507658][ T535] ? __pfx_genl_family_rcv_msg_doit (net/netlink/genetlink.c:1088) [ 55.507675][ T535] ? cap_capable (security/commoncap.c:132) [ 55.507677][ T535] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83) [ 55.507688][ T535] genl_family_rcv_msg (net/netlink/genetlink.c:1195) [ 55.507694][ T535] ? __pfx_genl_family_rcv_msg (net/netlink/genetlink.c:1160) [ 55.507699][ T535] ? __pfx_devlink_nl_pre_doit_dev_lock (net/devlink/netlink.c:257) [ 55.507702][ T535] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 55.507705][ T535] ? __pfx_devlink_nl_post_doit_dev_lock (net/devlink/netlink.c:288) [ 55.507720][ T535] genl_rcv_msg (net/netlink/genetlink.c:65 net/netlink/genetlink.c:1211) [ 55.507726][ T535] netlink_rcv_skb (net/netlink/af_netlink.c:2534) [ 55.507730][ T535] ? __pfx_genl_rcv_msg (net/netlink/genetlink.c:1201) [ 55.507737][ T535] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2511) [ 55.507755][ T535] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 55.507764][ T535] genl_rcv (net/netlink/genetlink.c:1220) [ 55.507767][ T535] netlink_unicast (net/netlink/af_netlink.c:1314 net/netlink/af_netlink.c:1339) [ 55.507775][ T535] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1324) [ 55.507780][ T535] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 55.507791][ T535] netlink_sendmsg (net/netlink/af_netlink.c:1883) [ 55.507800][ T535] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1802) [ 55.507809][ T535] ? __might_fault (mm/memory.c:6991 mm/memory.c:6985) [ 55.507819][ T535] __sys_sendto (net/socket.c:712 net/socket.c:727 net/socket.c:2180) [ 55.507826][ T535] ? __pfx___sys_sendto (net/socket.c:2147) [ 55.507841][ T535] ? rseq_update_cpu_node_id (kernel/rseq.c:189 (discriminator 10)) [ 55.507848][ T535] ? __rseq_handle_notify_resume (kernel/rseq.c:442) [ 55.507854][ T535] ? __pfx___rseq_handle_notify_resume (kernel/rseq.c:425) [ 55.507863][ T535] ? __pfx___x64_sys_openat (fs/open.c:1463) [ 55.507872][ T535] __x64_sys_sendto (net/socket.c:2183) [ 55.507876][ T535] ? 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) [ 55.507881][ T535] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4475) [ 55.507885][ T535] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 55.507892][ T535] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 55.507895][ T535] RIP: 0033:0x7f79df440a4a [ 55.507899][ T535] 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 [ 55.507902][ T535] RSP: 002b:00007ffc30287b98 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 55.507906][ T535] RAX: ffffffffffffffda RBX: 000000000d9ecb00 RCX: 00007f79df440a4a [ 55.507908][ T535] RDX: 000000000000003c RSI: 000000000d9ecb00 RDI: 0000000000000005 [ 55.507909][ T535] RBP: 000000000d9ec910 R08: 00007f79df5e7200 R09: 000000000000000c [ 55.507911][ T535] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000040f200 [ 55.507913][ T535] R13: 000000000d9ec910 R14: 0000000000000000 R15: 0000000000000003 | [ 55.507913][ T535] R13: 000000000d9ec910 R14: 0000000000000000 R15: 0000000000000003 | [ 55.507930][ T535] | [ 55.562204][ T535] BUG: using smp_processor_id() in preemptible [00000000] code: devlink/535 | [ 55.562920][ T535] 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 [ 55.563408][ T535] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 55.563410][ T535] Call Trace: [ 55.563412][ T535] [ 55.563414][ T535] dump_stack_lvl (lib/dump_stack.c:123) [ 55.563421][ T535] check_preemption_disabled (lib/smp_processor_id.c:52) [ 55.563429][ T535] 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 [ 55.563448][ T535] ? nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 55.563466][ T535] nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 55.563484][ T535] __nsim_dev_port_del (drivers/net/netdevsim/dev.c:426 drivers/net/netdevsim/dev.c:1429) netdevsim [ 55.563502][ T535] nsim_dev_reload_destroy (drivers/net/netdevsim/dev.c:1438 drivers/net/netdevsim/dev.c:1661) netdevsim [ 55.563520][ T535] nsim_dev_reload_down (drivers/net/netdevsim/dev.c:969) netdevsim [ 55.563538][ T535] devlink_reload (net/devlink/dev.c:462) [ 55.563551][ T535] ? __pfx_devlink_reload (net/devlink/dev.c:446) [ 55.563566][ T535] ? cap_capable (security/commoncap.c:132) [ 55.563572][ T535] ? fdget (./include/linux/atomic/atomic-arch-fallback.h:479 ./include/linux/atomic/atomic-instrumented.h:50 fs/file.c:1152 fs/file.c:1166) [ 55.563583][ T535] devlink_nl_reload_doit (net/devlink/dev.c:584) [ 55.563591][ T535] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 55.563598][ T535] ? __nla_parse (lib/nlattr.c:732) [ 55.563610][ T535] genl_family_rcv_msg_doit (net/netlink/genetlink.c:1117) [ 55.563617][ T535] ? __pfx_genl_family_rcv_msg_doit (net/netlink/genetlink.c:1088) [ 55.563634][ T535] ? cap_capable (security/commoncap.c:132) [ 55.563637][ T535] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83) [ 55.563647][ T535] genl_family_rcv_msg (net/netlink/genetlink.c:1195) [ 55.563653][ T535] ? __pfx_genl_family_rcv_msg (net/netlink/genetlink.c:1160) [ 55.563658][ T535] ? __pfx_devlink_nl_pre_doit_dev_lock (net/devlink/netlink.c:257) [ 55.563661][ T535] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 55.563665][ T535] ? __pfx_devlink_nl_post_doit_dev_lock (net/devlink/netlink.c:288) [ 55.563679][ T535] genl_rcv_msg (net/netlink/genetlink.c:65 net/netlink/genetlink.c:1211) [ 55.563686][ T535] netlink_rcv_skb (net/netlink/af_netlink.c:2534) [ 55.563689][ T535] ? __pfx_genl_rcv_msg (net/netlink/genetlink.c:1201) [ 55.563696][ T535] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2511) [ 55.563714][ T535] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 55.563723][ T535] genl_rcv (net/netlink/genetlink.c:1220) [ 55.563726][ T535] netlink_unicast (net/netlink/af_netlink.c:1314 net/netlink/af_netlink.c:1339) [ 55.563734][ T535] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1324) [ 55.563739][ T535] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 55.563751][ T535] netlink_sendmsg (net/netlink/af_netlink.c:1883) [ 55.563759][ T535] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1802) [ 55.563768][ T535] ? __might_fault (mm/memory.c:6991 mm/memory.c:6985) [ 55.563778][ T535] __sys_sendto (net/socket.c:712 net/socket.c:727 net/socket.c:2180) [ 55.563785][ T535] ? __pfx___sys_sendto (net/socket.c:2147) [ 55.563800][ T535] ? rseq_update_cpu_node_id (kernel/rseq.c:189 (discriminator 10)) [ 55.563807][ T535] ? __rseq_handle_notify_resume (kernel/rseq.c:442) [ 55.563813][ T535] ? __pfx___rseq_handle_notify_resume (kernel/rseq.c:425) [ 55.563822][ T535] ? __pfx___x64_sys_openat (fs/open.c:1463) [ 55.563831][ T535] __x64_sys_sendto (net/socket.c:2183) [ 55.563835][ T535] ? 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) [ 55.563840][ T535] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4475) [ 55.563844][ T535] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 55.563850][ T535] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 55.563854][ T535] RIP: 0033:0x7f79df440a4a [ 55.563857][ T535] 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 [ 55.563860][ T535] RSP: 002b:00007ffc30287b98 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 55.563863][ T535] RAX: ffffffffffffffda RBX: 000000000d9ecb00 RCX: 00007f79df440a4a [ 55.563865][ T535] RDX: 000000000000003c RSI: 000000000d9ecb00 RDI: 0000000000000005 [ 55.563867][ T535] RBP: 000000000d9ec910 R08: 00007f79df5e7200 R09: 000000000000000c [ 55.563869][ T535] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000040f200 [ 55.563871][ T535] R13: 000000000d9ec910 R14: 0000000000000000 R15: 0000000000000003 | [ 55.563871][ T535] R13: 000000000d9ec910 R14: 0000000000000000 R15: 0000000000000003 | [ 55.563887][ T535] | [ 55.618821][ T535] BUG: using smp_processor_id() in preemptible [00000000] code: devlink/535 | [ 55.619493][ T535] 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 [ 55.619985][ T535] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 55.619986][ T535] Call Trace: [ 55.619988][ T535] [ 55.619991][ T535] dump_stack_lvl (lib/dump_stack.c:123) [ 55.619997][ T535] check_preemption_disabled (lib/smp_processor_id.c:52) [ 55.620005][ T535] 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 [ 55.620024][ T535] ? nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 55.620042][ T535] nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 55.620061][ T535] __nsim_dev_port_del (drivers/net/netdevsim/dev.c:426 drivers/net/netdevsim/dev.c:1429) netdevsim [ 55.620078][ T535] nsim_dev_reload_destroy (drivers/net/netdevsim/dev.c:1438 drivers/net/netdevsim/dev.c:1661) netdevsim [ 55.620097][ T535] nsim_dev_reload_down (drivers/net/netdevsim/dev.c:969) netdevsim [ 55.620112][ T535] devlink_reload (net/devlink/dev.c:462) [ 55.620121][ T535] ? __pfx_devlink_reload (net/devlink/dev.c:446) [ 55.620130][ T535] ? cap_capable (security/commoncap.c:132) [ 55.620133][ T535] ? fdget (./include/linux/atomic/atomic-arch-fallback.h:479 ./include/linux/atomic/atomic-instrumented.h:50 fs/file.c:1152 fs/file.c:1166) [ 55.620143][ T535] devlink_nl_reload_doit (net/devlink/dev.c:584) [ 55.620151][ T535] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 55.620158][ T535] ? __nla_parse (lib/nlattr.c:732) [ 55.620172][ T535] genl_family_rcv_msg_doit (net/netlink/genetlink.c:1117) [ 55.620182][ T535] ? __pfx_genl_family_rcv_msg_doit (net/netlink/genetlink.c:1088) [ 55.620206][ T535] ? cap_capable (security/commoncap.c:132) [ 55.620209][ T535] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83) [ 55.620219][ T535] genl_family_rcv_msg (net/netlink/genetlink.c:1195) [ 55.620226][ T535] ? __pfx_genl_family_rcv_msg (net/netlink/genetlink.c:1160) [ 55.620230][ T535] ? __pfx_devlink_nl_pre_doit_dev_lock (net/devlink/netlink.c:257) [ 55.620234][ T535] ? __pfx_devlink_nl_reload_doit (net/devlink/dev.c:520) [ 55.620237][ T535] ? __pfx_devlink_nl_post_doit_dev_lock (net/devlink/netlink.c:288) [ 55.620252][ T535] genl_rcv_msg (net/netlink/genetlink.c:65 net/netlink/genetlink.c:1211) [ 55.620258][ T535] netlink_rcv_skb (net/netlink/af_netlink.c:2534) [ 55.620262][ T535] ? __pfx_genl_rcv_msg (net/netlink/genetlink.c:1201) [ 55.620268][ T535] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2511) [ 55.620287][ T535] ? netlink_deliver_tap (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 net/netlink/af_netlink.c:340) [ 55.620295][ T535] genl_rcv (net/netlink/genetlink.c:1220) [ 55.620299][ T535] netlink_unicast (net/netlink/af_netlink.c:1314 net/netlink/af_netlink.c:1339) [ 55.620307][ T535] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1324) [ 55.620312][ T535] ? __lock_acquire (kernel/locking/lockdep.c:5240) [ 55.620322][ T535] netlink_sendmsg (net/netlink/af_netlink.c:1883) [ 55.620331][ T535] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1802) [ 55.620340][ T535] ? __might_fault (mm/memory.c:6991 mm/memory.c:6985) [ 55.620349][ T535] __sys_sendto (net/socket.c:712 net/socket.c:727 net/socket.c:2180) [ 55.620356][ T535] ? __pfx___sys_sendto (net/socket.c:2147) [ 55.620371][ T535] ? rseq_update_cpu_node_id (kernel/rseq.c:189 (discriminator 10)) [ 55.620378][ T535] ? __rseq_handle_notify_resume (kernel/rseq.c:442) [ 55.620385][ T535] ? __pfx___rseq_handle_notify_resume (kernel/rseq.c:425) [ 55.620393][ T535] ? __pfx___x64_sys_openat (fs/open.c:1463) [ 55.620402][ T535] __x64_sys_sendto (net/socket.c:2183) [ 55.620406][ T535] ? 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) [ 55.620411][ T535] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4475) [ 55.620415][ T535] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 55.620422][ T535] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 55.620425][ T535] RIP: 0033:0x7f79df440a4a [ 55.620429][ T535] 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 [ 55.620431][ T535] RSP: 002b:00007ffc30287b98 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 55.620435][ T535] RAX: ffffffffffffffda RBX: 000000000d9ecb00 RCX: 00007f79df440a4a [ 55.620437][ T535] RDX: 000000000000003c RSI: 000000000d9ecb00 RDI: 0000000000000005 [ 55.620438][ T535] RBP: 000000000d9ec910 R08: 00007f79df5e7200 R09: 000000000000000c [ 55.620440][ T535] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000040f200 [ 55.620442][ T535] R13: 000000000d9ec910 R14: 0000000000000000 R15: 0000000000000003 | [ 66.244376][ T785] netdevsim netdevsim10 eni10npf0vf1: renamed from eth1 | [ 66.384820][ T788] netdevsim netdevsim10 eni10npf0vf3: renamed from eth3 | [ 73.460812][ T230] BUG: using smp_processor_id() in preemptible [00000000] code: devlink.sh/230 | [ 73.461881][ T230] 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 [ 73.462337][ T230] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 73.462339][ T230] Call Trace: [ 73.462341][ T230] [ 73.462343][ T230] dump_stack_lvl (lib/dump_stack.c:123) [ 73.462353][ T230] check_preemption_disabled (lib/smp_processor_id.c:52) [ 73.462362][ T230] 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 [ 73.462381][ T230] ? nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 73.462400][ T230] nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 73.462419][ T230] __nsim_dev_port_del (drivers/net/netdevsim/dev.c:426 drivers/net/netdevsim/dev.c:1429) netdevsim [ 73.462437][ T230] nsim_dev_reload_destroy (drivers/net/netdevsim/dev.c:1438 drivers/net/netdevsim/dev.c:1661) netdevsim [ 73.462456][ T230] nsim_drv_remove (drivers/net/netdevsim/dev.c:1678) netdevsim [ 73.462472][ T230] device_release_driver_internal (drivers/base/dd.c:1274 drivers/base/dd.c:1295) [ 73.462479][ T230] ? klist_put (lib/klist.c:220) [ 73.462487][ T230] bus_remove_device (./include/linux/kobject.h:193 drivers/base/base.h:73 drivers/base/bus.c:586) [ 73.462498][ T230] device_del (drivers/base/core.c:3882) [ 73.462505][ T230] ? __pfx_device_del (drivers/base/core.c:3836) [ 73.462518][ T230] device_unregister (drivers/base/core.c:3799 drivers/base/core.c:3923) [ 73.462522][ T230] del_device_store (drivers/net/netdevsim/bus.c:230) netdevsim [ 73.462542][ T230] ? __pfx_del_device_store (drivers/net/netdevsim/bus.c:197) netdevsim [ 73.462555][ T230] ? sysfs_file_kobj (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 ./include/linux/rcupdate.h:1155 fs/sysfs/file.c:24) [ 73.462563][ T230] ? sysfs_file_kobj (fs/sysfs/file.c:26) [ 73.462571][ T230] ? __pfx_sysfs_kf_write (fs/sysfs/file.c:138) [ 73.462574][ T230] kernfs_fop_write_iter (fs/kernfs/file.c:334) [ 73.462584][ T230] vfs_write (fs/read_write.c:593 fs/read_write.c:686) [ 73.462595][ T230] ? __pfx_vfs_write (fs/read_write.c:667) [ 73.462604][ T230] ? __pfx_lock_vma_under_rcu (mm/mmap_lock.c:137) [ 73.462615][ T230] ? find_held_lock (kernel/locking/lockdep.c:5353) [ 73.462628][ T230] ksys_write (fs/read_write.c:738) [ 73.462633][ T230] ? __pfx_ksys_write (fs/read_write.c:728) [ 73.462636][ T230] ? 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) [ 73.462651][ T230] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 73.462659][ T230] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 73.462662][ T230] RIP: 0033:0x7f98c4bd3b77 [ 73.462668][ T230] 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 [ 73.462671][ T230] RSP: 002b:00007fffe6ed2af8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 73.462675][ T230] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f98c4bd3b77 [ 73.462677][ T230] RDX: 0000000000000003 RSI: 0000557cd777cb10 RDI: 0000000000000001 [ 73.462679][ T230] RBP: 0000557cd777cb10 R08: 0000000000000000 R09: 00007f98c4c464e0 [ 73.462680][ T230] R10: 00007f98c4c463e0 R11: 0000000000000246 R12: 0000000000000003 [ 73.462682][ T230] R13: 00007f98c4c8f760 R14: 0000000000000003 R15: 00007f98c4c8a9c0 | [ 73.462682][ T230] R13: 00007f98c4c8f760 R14: 0000000000000003 R15: 00007f98c4c8a9c0 | [ 73.462700][ T230] | [ 73.502816][ T230] BUG: using smp_processor_id() in preemptible [00000000] code: devlink.sh/230 | [ 73.503718][ T230] 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 [ 73.504190][ T230] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 73.504192][ T230] Call Trace: [ 73.504195][ T230] [ 73.504197][ T230] dump_stack_lvl (lib/dump_stack.c:123) [ 73.504209][ T230] check_preemption_disabled (lib/smp_processor_id.c:52) [ 73.504219][ T230] 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 [ 73.504238][ T230] ? nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 73.504257][ T230] nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 73.504276][ T230] __nsim_dev_port_del (drivers/net/netdevsim/dev.c:426 drivers/net/netdevsim/dev.c:1429) netdevsim [ 73.504293][ T230] nsim_dev_reload_destroy (drivers/net/netdevsim/dev.c:1438 drivers/net/netdevsim/dev.c:1661) netdevsim [ 73.504313][ T230] nsim_drv_remove (drivers/net/netdevsim/dev.c:1678) netdevsim [ 73.504329][ T230] device_release_driver_internal (drivers/base/dd.c:1274 drivers/base/dd.c:1295) [ 73.504338][ T230] ? klist_put (lib/klist.c:220) [ 73.504346][ T230] bus_remove_device (./include/linux/kobject.h:193 drivers/base/base.h:73 drivers/base/bus.c:586) [ 73.504356][ T230] device_del (drivers/base/core.c:3882) [ 73.504364][ T230] ? __pfx_device_del (drivers/base/core.c:3836) [ 73.504378][ T230] device_unregister (drivers/base/core.c:3799 drivers/base/core.c:3923) [ 73.504381][ T230] del_device_store (drivers/net/netdevsim/bus.c:230) netdevsim [ 73.504399][ T230] ? __pfx_del_device_store (drivers/net/netdevsim/bus.c:197) netdevsim [ 73.504412][ T230] ? sysfs_file_kobj (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 ./include/linux/rcupdate.h:1155 fs/sysfs/file.c:24) [ 73.504420][ T230] ? sysfs_file_kobj (fs/sysfs/file.c:26) [ 73.504428][ T230] ? __pfx_sysfs_kf_write (fs/sysfs/file.c:138) [ 73.504431][ T230] kernfs_fop_write_iter (fs/kernfs/file.c:334) [ 73.504441][ T230] vfs_write (fs/read_write.c:593 fs/read_write.c:686) [ 73.504453][ T230] ? __pfx_vfs_write (fs/read_write.c:667) [ 73.504462][ T230] ? __pfx_lock_vma_under_rcu (mm/mmap_lock.c:137) [ 73.504474][ T230] ? find_held_lock (kernel/locking/lockdep.c:5353) [ 73.504487][ T230] ksys_write (fs/read_write.c:738) [ 73.504493][ T230] ? __pfx_ksys_write (fs/read_write.c:728) [ 73.504495][ T230] ? 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) [ 73.504511][ T230] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 73.504521][ T230] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 73.504524][ T230] RIP: 0033:0x7f98c4bd3b77 [ 73.504531][ T230] 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 [ 73.504534][ T230] RSP: 002b:00007fffe6ed2af8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 73.504539][ T230] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f98c4bd3b77 [ 73.504541][ T230] RDX: 0000000000000003 RSI: 0000557cd777cb10 RDI: 0000000000000001 [ 73.504544][ T230] RBP: 0000557cd777cb10 R08: 0000000000000000 R09: 00007f98c4c464e0 [ 73.504546][ T230] R10: 00007f98c4c463e0 R11: 0000000000000246 R12: 0000000000000003 [ 73.504547][ T230] R13: 00007f98c4c8f760 R14: 0000000000000003 R15: 00007f98c4c8a9c0 | [ 73.504547][ T230] R13: 00007f98c4c8f760 R14: 0000000000000003 R15: 00007f98c4c8a9c0 | [ 73.504565][ T230] | [ 73.546111][ T230] BUG: using smp_processor_id() in preemptible [00000000] code: devlink.sh/230 | [ 73.547625][ T230] 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 [ 73.548122][ T230] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 73.548124][ T230] Call Trace: [ 73.548127][ T230] [ 73.548130][ T230] dump_stack_lvl (lib/dump_stack.c:123) [ 73.548142][ T230] check_preemption_disabled (lib/smp_processor_id.c:52) [ 73.548152][ T230] 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 [ 73.548171][ T230] ? nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 73.548189][ T230] nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 73.548209][ T230] __nsim_dev_port_del (drivers/net/netdevsim/dev.c:426 drivers/net/netdevsim/dev.c:1429) netdevsim [ 73.548227][ T230] nsim_dev_reload_destroy (drivers/net/netdevsim/dev.c:1438 drivers/net/netdevsim/dev.c:1661) netdevsim [ 73.548246][ T230] nsim_drv_remove (drivers/net/netdevsim/dev.c:1678) netdevsim [ 73.548263][ T230] device_release_driver_internal (drivers/base/dd.c:1274 drivers/base/dd.c:1295) [ 73.548271][ T230] ? klist_put (lib/klist.c:220) [ 73.548279][ T230] bus_remove_device (./include/linux/kobject.h:193 drivers/base/base.h:73 drivers/base/bus.c:586) [ 73.548290][ T230] device_del (drivers/base/core.c:3882) [ 73.548298][ T230] ? __pfx_device_del (drivers/base/core.c:3836) [ 73.548311][ T230] device_unregister (drivers/base/core.c:3799 drivers/base/core.c:3923) [ 73.548315][ T230] del_device_store (drivers/net/netdevsim/bus.c:230) netdevsim [ 73.548333][ T230] ? __pfx_del_device_store (drivers/net/netdevsim/bus.c:197) netdevsim [ 73.548347][ T230] ? sysfs_file_kobj (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 ./include/linux/rcupdate.h:1155 fs/sysfs/file.c:24) [ 73.548355][ T230] ? sysfs_file_kobj (fs/sysfs/file.c:26) [ 73.548363][ T230] ? __pfx_sysfs_kf_write (fs/sysfs/file.c:138) [ 73.548365][ T230] kernfs_fop_write_iter (fs/kernfs/file.c:334) [ 73.548376][ T230] vfs_write (fs/read_write.c:593 fs/read_write.c:686) [ 73.548388][ T230] ? __pfx_vfs_write (fs/read_write.c:667) [ 73.548397][ T230] ? __pfx_lock_vma_under_rcu (mm/mmap_lock.c:137) [ 73.548409][ T230] ? find_held_lock (kernel/locking/lockdep.c:5353) [ 73.548422][ T230] ksys_write (fs/read_write.c:738) [ 73.548427][ T230] ? __pfx_ksys_write (fs/read_write.c:728) [ 73.548430][ T230] ? 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) [ 73.548446][ T230] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 73.548455][ T230] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 73.548459][ T230] RIP: 0033:0x7f98c4bd3b77 [ 73.548464][ T230] 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 [ 73.548467][ T230] RSP: 002b:00007fffe6ed2af8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 73.548471][ T230] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f98c4bd3b77 [ 73.548474][ T230] RDX: 0000000000000003 RSI: 0000557cd777cb10 RDI: 0000000000000001 [ 73.548475][ T230] RBP: 0000557cd777cb10 R08: 0000000000000000 R09: 00007f98c4c464e0 [ 73.548477][ T230] R10: 00007f98c4c463e0 R11: 0000000000000246 R12: 0000000000000003 [ 73.548479][ T230] R13: 00007f98c4c8f760 R14: 0000000000000003 R15: 00007f98c4c8a9c0 | [ 73.548479][ T230] R13: 00007f98c4c8f760 R14: 0000000000000003 R15: 00007f98c4c8a9c0 | [ 73.548496][ T230] | [ 73.605993][ T230] BUG: using smp_processor_id() in preemptible [00000000] code: devlink.sh/230 | [ 73.606744][ T230] 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 [ 73.607206][ T230] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 73.607209][ T230] Call Trace: [ 73.607211][ T230] [ 73.607214][ T230] dump_stack_lvl (lib/dump_stack.c:123) [ 73.607226][ T230] check_preemption_disabled (lib/smp_processor_id.c:52) [ 73.607237][ T230] 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 [ 73.607256][ T230] ? nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 73.607274][ T230] nsim_destroy (drivers/net/netdevsim/netdev.c:1062) netdevsim [ 73.607294][ T230] __nsim_dev_port_del (drivers/net/netdevsim/dev.c:426 drivers/net/netdevsim/dev.c:1429) netdevsim [ 73.607311][ T230] nsim_dev_reload_destroy (drivers/net/netdevsim/dev.c:1438 drivers/net/netdevsim/dev.c:1661) netdevsim [ 73.607330][ T230] nsim_drv_remove (drivers/net/netdevsim/dev.c:1678) netdevsim [ 73.607347][ T230] device_release_driver_internal (drivers/base/dd.c:1274 drivers/base/dd.c:1295) [ 73.607355][ T230] ? klist_put (lib/klist.c:220) [ 73.607363][ T230] bus_remove_device (./include/linux/kobject.h:193 drivers/base/base.h:73 drivers/base/bus.c:586) [ 73.607374][ T230] device_del (drivers/base/core.c:3882) [ 73.607381][ T230] ? __pfx_device_del (drivers/base/core.c:3836) [ 73.607395][ T230] device_unregister (drivers/base/core.c:3799 drivers/base/core.c:3923) [ 73.607399][ T230] del_device_store (drivers/net/netdevsim/bus.c:230) netdevsim [ 73.607417][ T230] ? __pfx_del_device_store (drivers/net/netdevsim/bus.c:197) netdevsim [ 73.607430][ T230] ? sysfs_file_kobj (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 ./include/linux/rcupdate.h:1155 fs/sysfs/file.c:24) [ 73.607437][ T230] ? sysfs_file_kobj (fs/sysfs/file.c:26) [ 73.607445][ T230] ? __pfx_sysfs_kf_write (fs/sysfs/file.c:138) [ 73.607448][ T230] kernfs_fop_write_iter (fs/kernfs/file.c:334) [ 73.607458][ T230] vfs_write (fs/read_write.c:593 fs/read_write.c:686) [ 73.607470][ T230] ? __pfx_vfs_write (fs/read_write.c:667) [ 73.607479][ T230] ? __pfx_lock_vma_under_rcu (mm/mmap_lock.c:137) [ 73.607490][ T230] ? find_held_lock (kernel/locking/lockdep.c:5353) [ 73.607504][ T230] ksys_write (fs/read_write.c:738) [ 73.607510][ T230] ? __pfx_ksys_write (fs/read_write.c:728) [ 73.607512][ T230] ? 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) [ 73.607529][ T230] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 73.607540][ T230] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 73.607544][ T230] RIP: 0033:0x7f98c4bd3b77 [ 73.607550][ T230] 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 [ 73.607553][ T230] RSP: 002b:00007fffe6ed2af8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 73.607557][ T230] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f98c4bd3b77 [ 73.607559][ T230] RDX: 0000000000000003 RSI: 0000557cd777cb10 RDI: 0000000000000001 [ 73.607561][ T230] RBP: 0000557cd777cb10 R08: 0000000000000000 R09: 00007f98c4c464e0 [ 73.607563][ T230] R10: 00007f98c4c463e0 R11: 0000000000000246 R12: 0000000000000003 Finger prints: check_preemption_disabled:nsim_queue_uninit:nsim_destroy:__nsim_dev_port_del:nsim_dev_reload_destroy