comedi comedi3: c6xdigio: a I/O base address must be specified ------------[ cut here ]------------ Unexpected driver unregister! WARNING: drivers/base/driver.c:273 at 0x0, CPU#0: syz.0.0/5335 Modules linked in: CPU: 0 UID: 0 PID: 5335 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:driver_unregister+0x8d/0xa0 drivers/base/driver.c:273 Code: 73 68 4c 89 f7 e8 83 f6 97 fc 48 89 df 5b 41 5e 41 5f e9 e6 55 ff ff e8 d1 64 f3 fb eb 05 e8 ca 64 f3 fb 48 8d 3d 43 06 bf 09 <67> 48 0f b9 3a 5b 41 5e 41 5f c3 cc cc cc cc cc cc cc cc 90 90 90 RSP: 0018:ffffc9000d477a20 EFLAGS: 00010283 RAX: ffffffff85cdf656 RBX: ffffffff8f1d8180 RCX: 0000000000100000 RDX: ffffc9000f6f2000 RSI: 000000000000087b RDI: ffffffff8f8cfca0 RBP: 0000000000000001 R08: ffff88803e7d612f R09: 1ffff11007cfac25 R10: dffffc0000000000 R11: ffffffff88bed5c0 R12: ffff88803e7d6038 R13: ffffffff8f1d80d0 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007f81bf05e6c0(0000) GS:ffff88808d683000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f81be3d3e08 CR3: 0000000019ed4000 CR4: 0000000000352ef0 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:1011 do_devconfig_ioctl drivers/comedi/comedi_fops.c:872 [inline] comedi_unlocked_ioctl+0x5ff/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:0x7f81be18f7c9 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:00007f81bf05e038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f81be3e5fa0 RCX: 00007f81be18f7c9 RDX: 0000200000000080 RSI: 0000000040946400 RDI: 0000000000000003 RBP: 00007f81be213f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f81be3e6038 R14: 00007f81be3e5fa0 R15: 00007ffe59fd60f8 ---------------- Code disassembly (best guess): 0: 73 68 jae 0x6a 2: 4c 89 f7 mov %r14,%rdi 5: e8 83 f6 97 fc call 0xfc97f68d a: 48 89 df mov %rbx,%rdi d: 5b pop %rbx e: 41 5e pop %r14 10: 41 5f pop %r15 12: e9 e6 55 ff ff jmp 0xffff55fd 17: e8 d1 64 f3 fb call 0xfbf364ed 1c: eb 05 jmp 0x23 1e: e8 ca 64 f3 fb call 0xfbf364ed 23: 48 8d 3d 43 06 bf 09 lea 0x9bf0643(%rip),%rdi # 0x9bf066d * 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: c3 ret 35: cc int3 36: cc int3 37: cc int3 38: cc int3 39: cc int3 3a: cc int3 3b: cc int3 3c: cc int3 3d: 90 nop 3e: 90 nop 3f: 90 nop