------------[ cut here ]------------ Unexpected driver unregister! WARNING: CPU: 1 PID: 6945 at drivers/base/driver.c:263 driver_unregister+0x8e/0xa0 drivers/base/driver.c:263 Modules linked in: CPU: 1 PID: 6945 Comm: syz.0.551 Not tainted 5.15.187-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:driver_unregister+0x8e/0xa0 drivers/base/driver.c:263 Code: e8 57 89 22 fd 48 89 df 5b 41 5e 41 5f e9 ea 63 ff ff e8 a5 e1 ad fc eb 05 e8 9e e1 ad fc 48 c7 c7 80 89 7b 8a e8 62 e6 d4 04 <0f> 0b 5b 41 5e 41 5f c3 00 00 cc cc 00 00 cc cc 00 00 41 57 41 56 RSP: 0018:ffffc90005547a58 EFLAGS: 00010246 RAX: 61c313372ec18e00 RBX: ffffffff8d12ba20 RCX: ffff88801cec3b80 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: 0000000000000001 R08: dffffc0000000000 R09: ffffed10172267a8 R10: ffffed10172267a8 R11: 1ffff110172267a7 R12: ffff88814cc8a800 R13: ffff88814cc8a920 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007efc1d4b06c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6baeebd178 CR3: 0000000052260000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: comedi_device_detach+0x12d/0x6e0 drivers/comedi/drivers.c:207 comedi_device_attach+0x55d/0x650 drivers/comedi/drivers.c:1000 do_devconfig_ioctl drivers/comedi/comedi_fops.c:851 [inline] comedi_unlocked_ioctl+0x5ec/0xe90 drivers/comedi/comedi_fops.c:2131 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xfa/0x170 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7efc1f648929 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:00007efc1d4b0038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007efc1f86ffa0 RCX: 00007efc1f648929 RDX: 0000200000000100 RSI: 0000000040946400 RDI: 0000000000000003 RBP: 00007efc1f6cab39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007efc1f86ffa0 R15: 00007ffd11b1d038