====================================== | [ 144.862471][ T1714] 8021q: adding VLAN 0 to HW filter on device eni4548np1 | [ 144.866563][ T1696] ------------[ cut here ]------------ | [ 144.866784][ T1696] WARNING: drivers/net/netdevsim/netdev.c:1234 at nsim_destroy+0x128/0x780 [netdevsim], CPU#0: python3/1696 | [ 144.867139][ T1696] Modules linked in: netdevsim psample cls_bpf sch_ingress vxlan bonding [ 144.867682][ T1696] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 144.867869][ T1696] RIP: 0010:nsim_destroy (drivers/net/netdevsim/netdev.c:1234 (discriminator 2)) netdevsim [ 144.868072][ T1696] Code: 00 00 00 00 00 fc ff df 48 c1 e9 03 80 3c 01 00 0f 85 e5 05 00 00 48 8b 3b e8 94 d3 e7 c9 31 c0 48 8d ab 48 07 00 00 eb 07 90 <0f> 0b 90 83 c0 01 0f b7 d0 be 00 10 00 00 48 89 ef e8 b2 2e 26 c9 All code ======== 0: 00 00 add %al,(%rax) 2: 00 00 add %al,(%rax) 4: 00 fc add %bh,%ah 6: ff lcall (bad) 7: df 48 c1 fisttps -0x3f(%rax) a: e9 03 80 3c 01 jmp 0x13c8012 f: 00 0f add %cl,(%rdi) 11: 85 e5 test %esp,%ebp 13: 05 00 00 48 8b add $0x8b480000,%eax 18: 3b e8 cmp %eax,%ebp 1a: 94 xchg %eax,%esp 1b: d3 e7 shl %cl,%edi 1d: c9 leave 1e: 31 c0 xor %eax,%eax 20: 48 8d ab 48 07 00 00 lea 0x748(%rbx),%rbp 27: eb 07 jmp 0x30 29: 90 nop 2a:* 0f 0b ud2 <-- trapping instruction 2c: 90 nop 2d: 83 c0 01 add $0x1,%eax 30: 0f b7 d0 movzwl %ax,%edx 33: be 00 10 00 00 mov $0x1000,%esi 38: 48 89 ef mov %rbp,%rdi 3b: e8 b2 2e 26 c9 call 0xffffffffc9262ef2 Code starting with the faulting instruction =========================================== 0: 0f 0b ud2 2: 90 nop 3: 83 c0 01 add $0x1,%eax 6: 0f b7 d0 movzwl %ax,%edx 9: be 00 10 00 00 mov $0x1000,%esi e: 48 89 ef mov %rbp,%rdi 11: e8 b2 2e 26 c9 call 0xffffffffc9262ec8 [ 144.868626][ T1696] RSP: 0018:ffa00000018a79b8 EFLAGS: 00010293 [ 144.868814][ T1696] RAX: 0000000000000000 RBX: ff1100000d8d2d40 RCX: ff1100000d8d3488 [ 144.869036][ T1696] RDX: 0000000000000000 RSI: 0000000000000000 RDI: dffffc0000000000 [ 144.869322][ T1696] RBP: ff1100000d8d3488 R08: ff1100000d8d3488 R09: 0000000000000000 [ 144.869548][ T1696] R10: 1fe2200001b1a691 R11: 0000000000000001 R12: ff110000058cec98 [ 144.869772][ T1696] R13: dffffc0000000000 R14: ff110000058ce800 R15: ffffffffc0808380 [ 144.869997][ T1696] FS: 00007f6019fed3c0(0000) GS:ff110000debd5000(0000) knlGS:0000000000000000 [ 144.870267][ T1696] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 144.870460][ T1696] CR2: 0000562cd0c2e2a8 CR3: 000000000dab6001 CR4: 0000000000771ef0 [ 144.870688][ T1696] PKRU: 55555554 [ 144.870801][ T1696] Call Trace: [ 144.870915][ T1696] [ 144.870993][ T1696] ? rcu_is_watching (./include/linux/context_tracking.h:128 (discriminator 1) kernel/rcu/tree.c:752 (discriminator 1)) [ 144.871158][ T1696] __nsim_dev_port_del (drivers/net/netdevsim/dev.c:444 drivers/net/netdevsim/dev.c:1529) netdevsim [ 144.871348][ T1696] ? devl_lock_is_held (net/devlink/core.c:285 (discriminator 1)) [ 144.871501][ T1696] nsim_dev_reload_destroy (drivers/net/netdevsim/dev.c:1538 (discriminator 4) drivers/net/netdevsim/dev.c:1764 (discriminator 4)) netdevsim [ 144.871687][ T1696] nsim_drv_remove (drivers/net/netdevsim/dev.c:1781) netdevsim [ 144.871839][ T1696] device_release_driver_internal (drivers/base/dd.c:1286 drivers/base/dd.c:1307) [ 144.872029][ T1696] ? sysfs_file_ops (fs/sysfs/file.c:135) [ 144.872194][ T1696] bus_remove_device (./include/linux/kobject.h:193 drivers/base/base.h:73 drivers/base/bus.c:623) [ 144.872344][ T1696] ? sysfs_file_ops (fs/sysfs/file.c:135) [ 144.872495][ T1696] device_del (drivers/base/core.c:3879) [ 144.872607][ T1696] ? __device_link_del (drivers/base/core.c:3833) [ 144.872759][ T1696] ? sysfs_file_ops (fs/sysfs/file.c:135) [ 144.872906][ T1696] device_unregister (drivers/base/core.c:3796 drivers/base/core.c:3920) [ 144.873061][ T1696] del_device_store (drivers/net/netdevsim/bus.c:248) netdevsim [ 144.873256][ T1696] ? sysfs_file_kobj (./include/linux/rcupdate.h:322 (discriminator 1) ./include/linux/rcupdate.h:881 (discriminator 1) ./include/linux/rcupdate.h:1193 (discriminator 1) fs/sysfs/file.c:24 (discriminator 1)) [ 144.873407][ T1696] ? nsim_bus_dev_numvfs_show (drivers/net/netdevsim/bus.c:215) netdevsim [ 144.873593][ T1696] ? sysfs_file_kobj (fs/sysfs/file.c:26) [ 144.873742][ T1696] ? sysfs_kf_write (fs/sysfs/file.c:139) [ 144.873890][ T1696] kernfs_fop_write_iter (fs/kernfs/file.c:88 fs/kernfs/file.c:356) [ 144.874044][ T1696] ? kernfs_ops (fs/kernfs/file.c:312) [ 144.874165][ T1696] new_sync_write (fs/read_write.c:596 (discriminator 1)) [ 144.874316][ T1696] ? new_sync_read (fs/read_write.c:586) [ 144.874470][ T1696] ? lock_acquire.part.0 (kernel/locking/lockdep.c:470 kernel/locking/lockdep.c:5870) [ 144.874618][ T1696] ? ksys_write (fs/read_write.c:741) [ 144.874770][ T1696] vfs_write (fs/read_write.c:688) [ 144.874883][ T1696] ksys_write (fs/read_write.c:741) [ 144.874996][ T1696] ? __ia32_sys_read (fs/read_write.c:730) [ 144.875153][ T1696] ? kernfs_fop_llseek (fs/kernfs/file.c:910) [ 144.875304][ T1696] ? rcu_is_watching (./include/linux/context_tracking.h:128 (discriminator 1) kernel/rcu/tree.c:752 (discriminator 1)) [ 144.875457][ T1696] do_syscall_64 (arch/x86/entry/syscall_64.c:63 (discriminator 1) arch/x86/entry/syscall_64.c:94 (discriminator 1)) [ 144.875608][ T1696] ? exc_page_fault (arch/x86/mm/fault.c:1480 (discriminator 3) arch/x86/mm/fault.c:1527 (discriminator 3)) [ 144.875756][ T1696] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 144.875940][ T1696] RIP: 0033:0x7f601a151c5e [ 144.876108][ T1696] Code: 4d 89 d8 e8 34 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 13 ff ff ff 0f 1f 00 f3 0f 1e fa All code ======== 0: 4d 89 d8 mov %r11,%r8 3: e8 34 bd 00 00 call 0xbd3c 8: 4c 8b 5d f8 mov -0x8(%rbp),%r11 c: 41 8b 93 08 03 00 00 mov 0x308(%r11),%edx 13: 59 pop %rcx 14: 5e pop %rsi 15: 48 83 f8 fc cmp $0xfffffffffffffffc,%rax 19: 74 11 je 0x2c 1b: c9 leave 1c: c3 ret 1d: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 24: 48 8b 45 10 mov 0x10(%rbp),%rax 28: 0f 05 syscall 2a:* c9 leave <-- trapping instruction 2b: c3 ret 2c: 83 e2 39 and $0x39,%edx 2f: 83 fa 08 cmp $0x8,%edx 32: 75 e7 jne 0x1b 34: e8 13 ff ff ff call 0xffffffffffffff4c 39: 0f 1f 00 nopl (%rax) 3c: f3 0f 1e fa endbr64 Code starting with the faulting instruction =========================================== 0: c9 leave 1: c3 ret 2: 83 e2 39 and $0x39,%edx 5: 83 fa 08 cmp $0x8,%edx 8: 75 e7 jne 0xfffffffffffffff1 a: e8 13 ff ff ff call 0xffffffffffffff22 f: 0f 1f 00 nopl (%rax) 12: f3 0f 1e fa endbr64 [ 144.876639][ T1696] RSP: 002b:00007ffcdaf19020 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 [ 144.876862][ T1696] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f601a151c5e [ 144.877090][ T1696] RDX: 0000000000000004 RSI: 0000562cd0bdc630 RDI: 0000000000000007 [ 144.877318][ T1696] RBP: 00007ffcdaf19030 R08: 0000000000000000 R09: 0000000000000000 [ 144.877543][ T1696] R10: 0000000000000000 R11: 0000000000000202 R12: 00007f6019fed340 Finger prints: nsim_destroy:__nsim_dev_port_del:nsim_dev_reload_destroy:nsim_drv_remove:device_release_driver_internal