[ 15.745494][ T272] netdevsim netdevsim2025 nsim2025: renamed from eth0
[ 16.820181][ T290] The supplied perm_addr is not a valid MAC address
[ 17.324070][ T298] netdevsim netdevsim2025 nsim2025p2: renamed from eth0
[ 17.796592][ T253] ==================================================================
[ 17.796924][ T253] BUG: KASAN: null-ptr-deref in try_to_grab_pending+0x81/0x6c0
[ 17.797243][ T253] Write of size 8 at addr 0000000000000000 by task netdev-l2addr.s/253
[ 17.797542][ T253]
[ 17.797654][ T253] CPU: 3 UID: 0 PID: 253 Comm: netdev-l2addr.s Not tainted 6.18.0-rc5-virtme #1 PREEMPT(full)
[ 17.797660][ T253] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[ 17.797662][ T253] Call Trace:
[ 17.797666][ T253]
[ 17.797668][ T253] dump_stack_lvl+0x82/0xc0
[ 17.797679][ T253] ? try_to_grab_pending+0x81/0x6c0
[ 17.797682][ T253] kasan_report+0xca/0x100
[ 17.797688][ T253] ? try_to_grab_pending+0x81/0x6c0
[ 17.797696][ T253] kasan_check_range+0x39/0x1b0
[ 17.797700][ T253] try_to_grab_pending+0x81/0x6c0
[ 17.797703][ T253] ? page_pool_release+0x13c/0x170
[ 17.797709][ T253] __cancel_work+0x7c/0x260
[ 17.797712][ T253] ? enable_delayed_work+0x10/0x10
[ 17.797716][ T253] ? page_pool_release+0x13c/0x170
[ 17.797719][ T253] ? page_pool_destroy+0xbf/0x420
[ 17.797724][ T253] __cancel_work_sync+0x18/0xc0
[ 17.797729][ T253] __dev_close_many+0x1cf/0x980
[ 17.797733][ T253] ? netdev_notify_peers+0x20/0x20
[ 17.797737][ T253] ? __mutex_lock+0x19f/0x1190
[ 17.797747][ T253] netif_close_many+0x201/0x650
[ 17.797750][ T253] ? ww_mutex_lock+0x160/0x160
[ 17.797754][ T253] ? __dev_close_many+0x980/0x980
[ 17.797757][ T253] ? validate_chain+0x15e/0x4d0
[ 17.797761][ T253] ? find_held_lock+0x2b/0x80
[ 17.797767][ T253] netif_close_many_and_unlock+0x21/0x2a0
[ 17.797772][ T253] unregister_netdevice_many_notify+0xeed/0x1c90
[ 17.797775][ T253] ? __mutex_handoff+0x2b0/0x2b0
[ 17.797778][ T253] ? rcu_is_watching+0x12/0xb0
[ 17.797785][ T253] ? dev_ingress_queue_create+0x190/0x190
[ 17.797789][ T253] ? __mutex_lock+0x19f/0x1190
[ 17.797792][ T253] ? __rtnl_unlock+0x69/0xf0
[ 17.797797][ T253] ? nsim_destroy+0xf1/0x700 [netdevsim]
[ 17.797811][ T253] ? ww_mutex_lock+0x160/0x160
[ 17.797816][ T253] unregister_netdevice_queue+0x29e/0x410
[ 17.797820][ T253] ? unregister_netdevice_many+0x20/0x20
[ 17.797826][ T253] nsim_destroy+0x16e/0x700 [netdevsim]
[ 17.797839][ T253] __nsim_dev_port_del+0x17e/0x250 [netdevsim]
[ 17.797851][ T253] nsim_dev_reload_destroy+0xdc/0x470 [netdevsim]
[ 17.797863][ T253] nsim_drv_remove+0x51/0x1d0 [netdevsim]
[ 17.797875][ T253] device_release_driver_internal+0x3bb/0x580
[ 17.797882][ T253] ? klist_put+0xb1/0x170
[ 17.797887][ T253] bus_remove_device+0x1ee/0x3f0
[ 17.797892][ T253] device_del+0x33b/0x8c0
[ 17.797896][ T253] ? __device_link_del+0x3c0/0x3c0
[ 17.797902][ T253] device_unregister+0x17/0xa0
[ 17.797905][ T253] del_device_store+0x2f2/0x4f0 [netdevsim]
[ 17.797917][ T253] ? nsim_bus_dev_numvfs_show+0x60/0x60 [netdevsim]
[ 17.797926][ T253] ? sysfs_file_kobj+0xb5/0x1f0
[ 17.797931][ T253] ? sysfs_file_kobj+0xbf/0x1f0
[ 17.797935][ T253] ? sysfs_file_ops+0x120/0x120
[ 17.797937][ T253] kernfs_fop_write_iter+0x2f2/0x490
[ 17.797941][ T253] vfs_write+0xaae/0x12c0
[ 17.797946][ T253] ? kernel_write+0x6b0/0x6b0
[ 17.797950][ T253] ? lock_vma_under_rcu+0x138/0x3d0
[ 17.797956][ T253] ? find_held_lock+0x2b/0x80
[ 17.797962][ T253] ksys_write+0xf7/0x1d0
[ 17.797966][ T253] ? __ia32_sys_read+0xb0/0xb0
[ 17.797969][ T253] ? do_user_addr_fault+0x955/0xe00
[ 17.797976][ T253] do_syscall_64+0xc1/0xfd0
[ 17.797982][ T253] entry_SYSCALL_64_after_hwframe+0x4b/0x53
[ 17.797985][ T253] RIP: 0033:0x7f51e57d7257
[ 17.797989][ T253] Code: 0f 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
[ 17.797993][ T253] RSP: 002b:00007ffe67448598 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
[ 17.797999][ T253] RAX: ffffffffffffffda RBX: 00007f51e58d3780 RCX: 00007f51e57d7257
[ 17.798002][ T253] RDX: 0000000000000005 RSI: 0000559c51d93520 RDI: 0000000000000001
[ 17.798003][ T253] RBP: 0000000000000005 R08: 0000000000000003 R09: 0000000000000000
[ 17.798005][ T253] R10: 0000000000010000 R11: 0000000000000246 R12: 0000000000000005
[ 17.798007][ T253] R13: 0000559c51d93520 R14: 0000000000000005 R15: 00007f51e58ce9c0
[ 17.798013][ T253]
[ 17.798014][ T253] ==================================================================
[ 17.814779][ T253] Disabling lock debugging due to kernel taint
[ 17.815030][ T253] BUG: kernel NULL pointer dereference, address: 0000000000000000
[ 17.815316][ T253] #PF: supervisor write access in kernel mode
[ 17.815679][ T253] #PF: error_code(0x0002) - not-present page
[ 17.815913][ T253] PGD 0 P4D 0
[ 17.816062][ T253] Oops: Oops: 0002 [#1] SMP KASAN
[ 17.816386][ T253] CPU: 3 UID: 0 PID: 253 Comm: netdev-l2addr.s Tainted: G B 6.18.0-rc5-virtme #1 PREEMPT(full)
[ 17.816816][ T253] Tainted: [B]=BAD_PAGE
[ 17.816974][ T253] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[ 17.817349][ T253] RIP: 0010:try_to_grab_pending+0x81/0x6c0
[ 17.817596][ T253] Code: 00 41 89 c0 b8 01 00 00 00 45 85 c0 74 0f 48 83 c4 10 5b 5d 41 5c 41 5d 41 5e 41 5f c3 be 08 00 00 00 48 89 df e8 1f 93 82 00 48 0f ba 2b 00 72 11 48 83 c4 10 31 c0 5b 5d 41 5c 41 5d 41 5e
[ 17.818413][ T253] RSP: 0018:ffffc90000bb7510 EFLAGS: 00010046
[ 17.818663][ T253] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffffb6649b8a
[ 17.818951][ T253] RDX: fffffbfff766cacd RSI: 0000000000000008 RDI: ffffffffbb365660
[ 17.819370][ T253] RBP: ffffc90000bb7578 R08: 0000000000000001 R09: fffffbfff766cacc
[ 17.819656][ T253] R10: ffffffffbb365667 R11: ffffc90000bb7000 R12: 0000000000000000
[ 17.820068][ T253] R13: 0000000000000282 R14: ffff888009902000 R15: dffffc0000000000
[ 17.820365][ T253] FS: 00007f51e56d7000(0000) GS:ffff8880b1e87000(0000) knlGS:0000000000000000
[ 17.820700][ T253] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 17.821067][ T253] CR2: 0000000000000000 CR3: 000000000ae8a002 CR4: 0000000000772ef0
[ 17.821360][ T253] PKRU: 55555554
[ 17.821504][ T253] Call Trace:
[ 17.821656][ T253]
[ 17.821882][ T253] ? page_pool_release+0x13c/0x170
[ 17.822075][ T253] __cancel_work+0x7c/0x260
[ 17.822272][ T253] ? enable_delayed_work+0x10/0x10
[ 17.822460][ T253] ? page_pool_release+0x13c/0x170
[ 17.822776][ T253] ? page_pool_destroy+0xbf/0x420
[ 17.822966][ T253] __cancel_work_sync+0x18/0xc0
[ 17.823157][ T253] __dev_close_many+0x1cf/0x980
[ 17.823351][ T253] ? netdev_notify_peers+0x20/0x20
[ 17.823667][ T253] ? __mutex_lock+0x19f/0x1190
[ 17.823858][ T253] netif_close_many+0x201/0x650
[ 17.824048][ T253] ? ww_mutex_lock+0x160/0x160
[ 17.824240][ T253] ? __dev_close_many+0x980/0x980
[ 17.824553][ T253] ? validate_chain+0x15e/0x4d0
[ 17.824741][ T253] ? find_held_lock+0x2b/0x80
[ 17.824937][ T253] netif_close_many_and_unlock+0x21/0x2a0
[ 17.825129][ T253] unregister_netdevice_many_notify+0xeed/0x1c90
[ 17.825503][ T253] ? __mutex_handoff+0x2b0/0x2b0
[ 17.825693][ T253] ? rcu_is_watching+0x12/0xb0
[ 17.825885][ T253] ? dev_ingress_queue_create+0x190/0x190
[ 17.826074][ T253] ? __mutex_lock+0x19f/0x1190
[ 17.826392][ T253] ? __rtnl_unlock+0x69/0xf0
[ 17.826581][ T253] ? nsim_destroy+0xf1/0x700 [netdevsim]
[ 17.826779][ T253] ? ww_mutex_lock+0x160/0x160
[ 17.826973][ T253] unregister_netdevice_queue+0x29e/0x410
[ 17.827287][ T253] ? unregister_netdevice_many+0x20/0x20
[ 17.827479][ T253] nsim_destroy+0x16e/0x700 [netdevsim]
[ 17.827677][ T253] __nsim_dev_port_del+0x17e/0x250 [netdevsim]
[ 17.827921][ T253] nsim_dev_reload_destroy+0xdc/0x470 [netdevsim]
[ 17.828291][ T253] nsim_drv_remove+0x51/0x1d0 [netdevsim]
[ 17.828491][ T253] device_release_driver_internal+0x3bb/0x580
[ 17.828736][ T253] ? klist_put+0xb1/0x170
[ 17.829005][ T253] bus_remove_device+0x1ee/0x3f0
[ 17.829197][ T253] device_del+0x33b/0x8c0
[ 17.829347][ T253] ? __device_link_del+0x3c0/0x3c0
[ 17.829538][ T253] device_unregister+0x17/0xa0
[ 17.829728][ T253] del_device_store+0x2f2/0x4f0 [netdevsim]
[ 17.830100][ T253] ? nsim_bus_dev_numvfs_show+0x60/0x60 [netdevsim]
[ 17.830348][ T253] ? sysfs_file_kobj+0xb5/0x1f0
[ 17.830539][ T253] ? sysfs_file_kobj+0xbf/0x1f0
[ 17.830851][ T253] ? sysfs_file_ops+0x120/0x120
[ 17.831048][ T253] kernfs_fop_write_iter+0x2f2/0x490
[ 17.831239][ T253] vfs_write+0xaae/0x12c0
[ 17.831386][ T253] ? kernel_write+0x6b0/0x6b0
[ 17.831697][ T253] ? lock_vma_under_rcu+0x138/0x3d0
[ 17.831896][ T253] ? find_held_lock+0x2b/0x80
[ 17.832087][ T253] ksys_write+0xf7/0x1d0
[ 17.832236][ T253] ? __ia32_sys_read+0xb0/0xb0
[ 17.832426][ T253] ? do_user_addr_fault+0x955/0xe00
[ 17.832742][ T253] do_syscall_64+0xc1/0xfd0
[ 17.832936][ T253] entry_SYSCALL_64_after_hwframe+0x4b/0x53
[ 17.833169][ T253] RIP: 0033:0x7f51e57d7257
[ 17.833504][ T253] Code: 0f 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
[ 17.834177][ T253] RSP: 002b:00007ffe67448598 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
[ 17.834595][ T253] RAX: ffffffffffffffda RBX: 00007f51e58d3780 RCX: 00007f51e57d7257
[ 17.834895][ T253] RDX: 0000000000000005 RSI: 0000559c51d93520 RDI: 0000000000000001
[ 17.835315][ T253] RBP: 0000000000000005 R08: 0000000000000003 R09: 0000000000000000
[ 17.835598][ T253] R10: 0000000000010000 R11: 0000000000000246 R12: 0000000000000005
[ 17.835882][ T253] R13: 0000559c51d93520 R14: 0000000000000005 R15: 00007f51e58ce9c0
[ 17.836314][ T253]
[ 17.836458][ T253] Modules linked in: netdevsim psample
[ 17.836657][ T253] CR2: 0000000000000000
[ 17.836803][ T253] ---[ end trace 0000000000000000 ]---
[ 17.837123][ T253] RIP: 0010:try_to_grab_pending+0x81/0x6c0
[ 17.837373][ T253] Code: 00 41 89 c0 b8 01 00 00 00 45 85 c0 74 0f 48 83 c4 10 5b 5d 41 5c 41 5d 41 5e 41 5f c3 be 08 00 00 00 48 89 df e8 1f 93 82 00 48 0f ba 2b 00 72 11 48 83 c4 10 31 c0 5b 5d 41 5c 41 5d 41 5e
[ 17.838168][ T253] RSP: 0018:ffffc90000bb7510 EFLAGS: 00010046
[ 17.838420][ T253] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffffb6649b8a
[ 17.838711][ T253] RDX: fffffbfff766cacd RSI: 0000000000000008 RDI: ffffffffbb365660
[ 17.839119][ T253] RBP: ffffc90000bb7578 R08: 0000000000000001 R09: fffffbfff766cacc
[ 17.839412][ T253] R10: ffffffffbb365667 R11: ffffc90000bb7000 R12: 0000000000000000
[ 17.839825][ T253] R13: 0000000000000282 R14: ffff888009902000 R15: dffffc0000000000
[ 17.840106][ T253] FS: 00007f51e56d7000(0000) GS:ffff8880b1e87000(0000) knlGS:0000000000000000
[ 17.840442][ T253] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 17.840810][ T253] CR2: 0000000000000000 CR3: 000000000ae8a002 CR4: 0000000000772ef0
[ 17.841102][ T253] PKRU: 55555554
[ 17.841248][ T253] Kernel panic - not syncing: Fatal exception
[ 17.841675][ T253] Kernel Offset: 0x35000000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[ 17.842128][ T253] ---[ end Kernel panic - not syncing: Fatal exception ]---
HARD STOP (26.204734)
WAIT TIMEOUT stderr
Ctrl-C stderr
Ctrl-C stderr
WAIT TIMEOUT stderr