[ 2.032157] netconsole: network logging started [ 3.534856] Test #1 from CPU2: netcons_fAPH3 [ 3.664984] Test #2 from CPU1: netcons_fAPH3 [ 3.781883] Test #3 from CPU3: netcons_fAPH3 [ 3.850353] BUG: kernel NULL pointer dereference, address: 0000000000000000 [ 3.850426] #PF: supervisor write access in kernel mode [ 3.850472] #PF: error_code(0x0002) - not-present page [ 3.850511] PGD 0 P4D 0 [ 3.850539] Oops: Oops: 0002 [#1] SMP [ 3.850576] CPU: 2 UID: 0 PID: 234 Comm: bash Not tainted 6.18.0-rc5-virtme #1 PREEMPT(voluntary) [ 3.850649] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 3.850698] RIP: 0010:work_grab_pending+0x2f/0x1b0 [ 3.850750] Code: 83 e6 01 41 57 41 56 4c 8d 77 20 41 55 41 54 41 89 f4 55 48 89 d5 53 48 89 fb 9c 58 fa 48 89 45 00 45 85 e4 0f 85 8a 00 00 00 48 0f ba 2b 00 41 0f 92 c5 72 0e 5b 44 89 e8 5d 41 5c 41 5d 41 [ 3.850888] RSP: 0018:ffff9e82405b7ae8 EFLAGS: 00010046 [ 3.850927] RAX: 0000000000000246 RBX: 0000000000000000 RCX: 000000000010000c [ 3.850987] RDX: ffff9e82405b7b20 RSI: 0000000000000000 RDI: 0000000000000000 [ 3.851046] RBP: ffff9e82405b7b20 R08: 0000000000000000 R09: ffffffffa553c800 [ 3.851105] R10: ffff8d4f8307d800 R11: 0000000000000001 R12: 0000000000000000 [ 3.851164] R13: ffff9e82405b7c18 R14: 0000000000000020 R15: 0000000000000000 [ 3.851225] FS: 00007f7a3567d000(0000) GS:ffff8d50182d6000(0000) knlGS:0000000000000000 [ 3.851290] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 3.851345] CR2: 0000000000000000 CR3: 0000000006018005 CR4: 0000000000772ef0 [ 3.851405] PKRU: 55555554 [ 3.851430] Call Trace: [ 3.851452] [ 3.851479] __cancel_work+0x29/0xe0 [ 3.851517] __cancel_work_sync+0x16/0x80 [ 3.851554] __dev_close_many+0x113/0x2b0 [ 3.851596] netif_close_many+0x98/0x160 [ 3.851631] unregister_netdevice_many_notify+0x10c/0xaa0 [ 3.851677] unregister_netdevice_queue+0xa0/0xe0 [ 3.851723] nsim_destroy+0x86/0x180 [netdevsim] [ 3.851769] __nsim_dev_port_del+0x47/0x70 [netdevsim] [ 3.851814] nsim_dev_reload_destroy+0x5b/0x110 [netdevsim] [ 3.851860] nsim_drv_remove+0x2f/0xb0 [netdevsim] [ 3.851906] device_release_driver_internal+0x193/0x200 [ 3.851952] bus_remove_device+0xc1/0x100 [ 3.851988] device_del+0x15f/0x480 [ 3.852024] device_unregister+0x12/0x30 [ 3.852059] del_device_store+0x117/0x1a0 [netdevsim] [ 3.852105] kernfs_fop_write_iter+0x12b/0x1c0 [ 3.852152] vfs_write+0x33a/0x470 [ 3.852193] ksys_write+0x65/0xe0 [ 3.852228] do_syscall_64+0xa4/0xfd0 [ 3.852265] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 3.852310] RIP: 0033:0x7f7a3577d257 [ 3.852345] 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 [ 3.852490] RSP: 002b:00007ffc445f27a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 3.852556] RAX: ffffffffffffffda RBX: 00007f7a35879780 RCX: 00007f7a3577d257 [ 3.852621] RDX: 0000000000000004 RSI: 000055a925e0f080 RDI: 0000000000000001 [ 3.852680] RBP: 0000000000000004 R08: 0000000000000000 R09: 00007f7a3582fd20 [ 3.852739] R10: 00007f7a3582fc20 R11: 0000000000000246 R12: 0000000000000004 [ 3.852798] R13: 000055a925e0f080 R14: 0000000000000004 R15: 00007f7a358749c0 [ 3.852858] [ 3.852877] Modules linked in: netconsole netdevsim [ 3.852925] CR2: 0000000000000000 [ 3.852960] ---[ end trace 0000000000000000 ]--- [ 3.852999] RIP: 0010:work_grab_pending+0x2f/0x1b0 [ 3.853045] Code: 83 e6 01 41 57 41 56 4c 8d 77 20 41 55 41 54 41 89 f4 55 48 89 d5 53 48 89 fb 9c 58 fa 48 89 45 00 45 85 e4 0f 85 8a 00 00 00 48 0f ba 2b 00 41 0f 92 c5 72 0e 5b 44 89 e8 5d 41 5c 41 5d 41 [ 3.853183] RSP: 0018:ffff9e82405b7ae8 EFLAGS: 00010046 [ 3.853222] RAX: 0000000000000246 RBX: 0000000000000000 RCX: 000000000010000c [ 3.853281] RDX: ffff9e82405b7b20 RSI: 0000000000000000 RDI: 0000000000000000 [ 3.853340] RBP: ffff9e82405b7b20 R08: 0000000000000000 R09: ffffffffa553c800 [ 3.853400] R10: ffff8d4f8307d800 R11: 0000000000000001 R12: 0000000000000000 [ 3.853465] R13: ffff9e82405b7c18 R14: 0000000000000020 R15: 0000000000000000 [ 3.853529] FS: 00007f7a3567d000(0000) GS:ffff8d50182d6000(0000) knlGS:0000000000000000 [ 3.853594] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 3.853649] CR2: 0000000000000000 CR3: 0000000006018005 CR4: 0000000000772ef0 [ 3.853709] PKRU: 55555554 [ 3.853736] note: bash[234] exited with irqs disabled