[ 1.854276] BUG: kernel NULL pointer dereference, address: 0000000000000018 [ 1.854360] #PF: supervisor read access in kernel mode [ 1.854413] #PF: error_code(0x0000) - not-present page [ 1.854462] PGD 0 P4D 0 [ 1.854486] Oops: Oops: 0000 [#1] SMP [ 1.854524] CPU: 0 UID: 0 PID: 221 Comm: basic_features. Not tainted 6.18.0-rc5-virtme #1 PREEMPT(voluntary) [ 1.854627] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 1.854688] RIP: 0010:__flush_work+0x33/0x3a0 [ 1.854747] Code: 41 55 41 54 55 53 48 83 ec 60 44 0f b6 25 0d ab 91 01 65 48 8b 05 2d ff 8d 01 48 89 44 24 58 31 c0 45 84 e4 0f 84 35 03 00 00 <48> 83 7f 18 00 48 89 fd 0f 84 30 03 00 00 41 89 f5 e8 07 24 07 00 [ 1.854917] RSP: 0018:ffffb972c0517cf0 EFLAGS: 00010202 [ 1.854966] RAX: 0000000000000000 RBX: ffff8cd78284c9c0 RCX: ffffb972c0517d28 [ 1.855046] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 1.855118] RBP: ffff8cd781d75000 R08: ffff8cd781e4eb70 R09: 0000000000000000 [ 1.855191] R10: ffff8cd781e4ef80 R11: ffff8cd7814f2238 R12: 0000000000000001 [ 1.855264] R13: ffffffff97fffe00 R14: ffff8cd781c0e140 R15: 0000000000000008 [ 1.855339] FS: 00007fc7774a8000(0000) GS:ffff8cd8265e9000(0000) knlGS:0000000000000000 [ 1.855417] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1.855477] CR2: 0000000000000018 CR3: 0000000004a60003 CR4: 0000000000772ef0 [ 1.855551] PKRU: 55555554 [ 1.855574] Call Trace: [ 1.855600] [ 1.855623] ? kernfs_should_drain_open_files+0x2e/0x40 [ 1.855682] ? __rtnl_unlock+0x37/0x60 [ 1.855724] ? netdev_run_todo+0x63/0x550 [ 1.855767] ? kernfs_name_hash+0x12/0x80 [ 1.855804] virtnet_remove+0x65/0xb0 [ 1.855848] virtio_dev_remove+0x3c/0x80 [ 1.855891] device_release_driver_internal+0x193/0x200 [ 1.855946] unbind_store+0x9d/0xb0 [ 1.855988] kernfs_fop_write_iter+0x12b/0x1c0 [ 1.856043] vfs_write+0x33a/0x470 [ 1.856086] ksys_write+0x65/0xe0 [ 1.856128] do_syscall_64+0xa4/0xfd0 [ 1.856172] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 1.856226] RIP: 0033:0x7fc7775a8257 [ 1.856262] 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 [ 1.856433] RSP: 002b:00007fff71944fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 1.856511] RAX: ffffffffffffffda RBX: 00007fc7776a4780 RCX: 00007fc7775a8257 [ 1.856585] RDX: 0000000000000008 RSI: 000055e062bb1280 RDI: 0000000000000001 [ 1.856657] RBP: 0000000000000008 R08: 0000000000000003 R09: 0000000000000077 [ 1.856736] R10: 0000000000000063 R11: 0000000000000246 R12: 0000000000000008 [ 1.856809] R13: 000055e062bb1280 R14: 0000000000000008 R15: 00007fc77769f9c0 [ 1.856884] [ 1.856906] Modules linked in: [ 1.856944] CR2: 0000000000000018 [ 1.856980] ---[ end trace 0000000000000000 ]--- [ 1.857030] RIP: 0010:__flush_work+0x33/0x3a0 [ 1.857085] Code: 41 55 41 54 55 53 48 83 ec 60 44 0f b6 25 0d ab 91 01 65 48 8b 05 2d ff 8d 01 48 89 44 24 58 31 c0 45 84 e4 0f 84 35 03 00 00 <48> 83 7f 18 00 48 89 fd 0f 84 30 03 00 00 41 89 f5 e8 07 24 07 00 [ 1.857255] RSP: 0018:ffffb972c0517cf0 EFLAGS: 00010202 [ 1.857304] RAX: 0000000000000000 RBX: ffff8cd78284c9c0 RCX: ffffb972c0517d28 [ 1.857377] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 1.857450] RBP: ffff8cd781d75000 R08: ffff8cd781e4eb70 R09: 0000000000000000 [ 1.857523] R10: ffff8cd781e4ef80 R11: ffff8cd7814f2238 R12: 0000000000000001 [ 1.857595] R13: ffffffff97fffe00 R14: ffff8cd781c0e140 R15: 0000000000000008 [ 1.857671] FS: 00007fc7774a8000(0000) GS:ffff8cd8265e9000(0000) knlGS:0000000000000000 [ 1.857751] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1.857809] CR2: 0000000000000018 CR3: 0000000004a60003 CR4: 0000000000772ef0 [ 1.857884] PKRU: 55555554 [ 1.857913] note: basic_features.[221] exited with irqs disabled