------------[ cut here ]------------ !list_empty(&offdev->netdevs) WARNING: kernel/bpf/offload.c:817 at bpf_offload_dev_destroy+0x50/0x60 kernel/bpf/offload.c:817, CPU#0: syz-executor/25682 Modules linked in: CPU: 0 UID: 0 PID: 25682 Comm: syz-executor Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/15/2026 RIP: 0010:bpf_offload_dev_destroy+0x50/0x60 kernel/bpf/offload.c:817 Code: 08 00 74 08 4c 89 f7 e8 7e 8a 3c 00 49 8b 06 4c 39 f0 75 10 e8 e1 29 c6 ff 48 89 df 5b 41 5e e9 b6 77 30 00 e8 d1 29 c6 ff 90 <0f> 0b 90 eb ea 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 RSP: 0018:ffffc90003b178e8 EFLAGS: 00010293 RAX: ffffffff8202cc6f RBX: ffff888062d6f700 RCX: ffff88807d6b9f40 RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff888062d6f700 RBP: ffff88807d2ee068 R08: ffffffff919d2fbf R09: 1ffffffff233a5f7 R10: dffffc0000000000 R11: fffffbfff233a5f8 R12: dffffc0000000000 R13: 1ffff1100fa5dc0f R14: ffff888062d6f708 R15: ffff88807d2e9360 FS: 000055558f944500(0000) GS:ffff888123638000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f86ef0e0e9c CR3: 000000008b373000 CR4: 0000000000350ef0 Call Trace: nsim_drv_remove+0x60/0x170 drivers/net/netdevsim/dev.c:1727 device_remove drivers/base/dd.c:616 [inline] __device_release_driver drivers/base/dd.c:1349 [inline] device_release_driver_internal+0x48b/0x880 drivers/base/dd.c:1372 bus_remove_device+0x444/0x560 drivers/base/bus.c:667 device_del+0x524/0x8f0 drivers/base/core.c:3965 device_unregister+0x21/0xf0 drivers/base/core.c:4006 nsim_bus_dev_del drivers/net/netdevsim/bus.c:488 [inline] del_device_store+0x2b5/0x370 drivers/net/netdevsim/bus.c:243 kernfs_fop_write_iter+0x3a4/0x540 fs/kernfs/file.c:345 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x612/0xba0 fs/read_write.c:687 ksys_write+0x150/0x270 fs/read_write.c:739 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fbc39d5fd8e Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08 RSP: 002b:00007ffc886afac8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 000055558f944500 RCX: 00007fbc39d5fd8e RDX: 0000000000000001 RSI: 00007ffc886afb50 RDI: 0000000000000005 RBP: 00007fbc39e373e4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffc886afb50 R14: 00007ffc886b0390 R15: 0000000000000003