------------[ cut here ]------------ Unexpected driver unregister! WARNING: drivers/base/driver.c:273 at driver_unregister+0x94/0xb0 drivers/base/driver.c:273, CPU#1: syz.1.491/8154 Modules linked in: CPU: 1 UID: 0 PID: 8154 Comm: syz.1.491 Not tainted 6.17.0-rc1-next-20250814-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:driver_unregister+0x94/0xb0 drivers/base/driver.c:273 Code: b5 5b fc 48 89 df 5b 41 5e 41 5f e9 56 55 ff ff e8 b1 b3 bc fb eb 05 e8 aa b3 bc fb 90 48 c7 c7 80 17 0a 8c e8 cd 57 80 fb 90 <0f> 0b 90 90 5b 41 5e 41 5f c3 cc cc cc cc cc cc cc cc cc cc cc cc RSP: 0018:ffffc9000c017a40 EFLAGS: 00010246 RAX: 6e172cba1af46300 RBX: ffffffff8f3f8840 RCX: ffff888025bb5a00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000002 RBP: 0000000000000000 R08: ffffffff8fa3b137 R09: 1ffffffff1f47626 R10: dffffc0000000000 R11: fffffbfff1f47627 R12: ffff88802efe1038 R13: ffffffff8f3f8790 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007fe2d48176c0(0000) GS:ffff888125d0f000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555567184608 CR3: 00000000522d6000 CR4: 00000000003526f0 Call Trace: comedi_device_detach_locked+0x178/0x750 drivers/comedi/drivers.c:207 comedi_device_detach drivers/comedi/drivers.c:215 [inline] comedi_device_attach+0x5d4/0x720 drivers/comedi/drivers.c:1010 do_devconfig_ioctl drivers/comedi/comedi_fops.c:872 [inline] comedi_unlocked_ioctl+0x5ff/0x1020 drivers/comedi/comedi_fops.c:2173 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:598 [inline] __se_sys_ioctl+0xf9/0x170 fs/ioctl.c:584 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fe2d398ebe9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fe2d4817038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fe2d3bb5fa0 RCX: 00007fe2d398ebe9 RDX: 00002000000000c0 RSI: 0000000040946400 RDI: 0000000000000003 RBP: 00007fe2d3a11e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fe2d3bb6038 R14: 00007fe2d3bb5fa0 R15: 00007fff9f0d63c8