comedi comedi3: c6xdigio: I/O port conflict (0x401,3)
------------[ cut here ]------------
Unexpected driver unregister!
WARNING: drivers/base/driver.c:273 at 0x0, CPU#1: syz.7.5235/26815
Modules linked in:
CPU: 1 UID: 0 PID: 26815 Comm: syz.7.5235 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
RIP: 0010:driver_unregister+0x8d/0xa0 drivers/base/driver.c:273
Code: 73 68 4c 89 f7 e8 23 df 96 fc 48 89 df 5b 41 5e 41 5f e9 26 53 ff ff e8 51 f9 f2 fb eb 05 e8 4a f9 f2 fb 48 8d 3d e3 e8 ba 09 <67> 48 0f b9 3a 5b 41 5e 41 5f e9 94 35 8c 05 cc cc cc cc 90 90 90
RSP: 0018:ffffc90003fcfa20 EFLAGS: 00010287
RAX: ffffffff85cea736 RBX: ffffffff8f1b0640 RCX: 0000000000080000
RDX: ffffc9001cc10000 RSI: 0000000000002a77 RDI: ffffffff8f899020
RBP: 0000000000000001 R08: ffff88802ec7b92f R09: 1ffff11005d8f725
R10: dffffc0000000000 R11: ffffffff88c585d0 R12: ffff88802ec7b838
R13: ffffffff8f1b0590 R14: 0000000000000000 R15: dffffc0000000000
FS: 00007f3cfe7076c0(0000) GS:ffff888125f8b000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3cfe6e5f98 CR3: 000000002f94e000 CR4: 00000000003526f0
DR0: 000000000000004b DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
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:1011
do_devconfig_ioctl drivers/comedi/comedi_fops.c:872 [inline]
comedi_unlocked_ioctl+0x645/0x1020 drivers/comedi/comedi_fops.c:2178
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:597 [inline]
__se_sys_ioctl+0xfc/0x170 fs/ioctl.c:583
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0xf80 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f3cfd78f749
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:00007f3cfe707038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f3cfd9e5fa0 RCX: 00007f3cfd78f749
RDX: 0000200000000080 RSI: 0000000040946400 RDI: 0000000000000005
RBP: 00007f3cfd813f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f3cfd9e6038 R14: 00007f3cfd9e5fa0 R15: 00007fffcb39a8b8
</TASK>
----------------
Code disassembly (best guess):
0: 73 68 jae 0x6a
2: 4c 89 f7 mov %r14,%rdi
5: e8 23 df 96 fc call 0xfc96df2d
a: 48 89 df mov %rbx,%rdi
d: 5b pop %rbx
e: 41 5e pop %r14
10: 41 5f pop %r15
12: e9 26 53 ff ff jmp 0xffff533d
17: e8 51 f9 f2 fb call 0xfbf2f96d
1c: eb 05 jmp 0x23
1e: e8 4a f9 f2 fb call 0xfbf2f96d
23: 48 8d 3d e3 e8 ba 09 lea 0x9bae8e3(%rip),%rdi # 0x9bae90d
* 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction
2f: 5b pop %rbx
30: 41 5e pop %r14
32: 41 5f pop %r15
34: e9 94 35 8c 05 jmp 0x58c35cd
39: cc int3
3a: cc int3
3b: cc int3
3c: cc int3
3d: 90 nop
3e: 90 nop
3f: 90 nop