comedi comedi0: c6xdigio: I/O port conflict (0x1,3) ------------[ cut here ]------------ kernfs: can not remove 'bind', no directory WARNING: fs/kernfs/dir.c:1709 at 0x0, CPU#3: syz.0.3845/22833 Modules linked in: CPU: 3 UID: 0 PID: 22833 Comm: syz.0.3845 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:kernfs_remove_by_name_ns+0xf8/0x100 fs/kernfs/dir.c:1709 Code: 00 09 e8 ab da 55 ff 48 89 df 31 db e8 a1 a2 ff ff 48 89 ef e8 b9 54 30 ff eb b1 e8 92 da 55 ff 48 8d 3d eb 44 25 0e 4c 89 ee <67> 48 0f b9 3a eb ba 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc90003e0f6f0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff85e03e72 RDX: ffff88802681a4c0 RSI: ffffffff8c2118c0 RDI: ffffffff908d16b0 RBP: ffffffff8f2ab780 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 000000005ad536ec R12: 0000000000000000 R13: ffffffff8c2118c0 R14: 0000000000000000 R15: ffff88804aa01800 FS: 0000000000000000(0000) GS:ffff888097a5b000(0063) knlGS:00000000f53ecb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f72e0bb4 CR3: 0000000071377000 CR4: 0000000000352ef0 Call Trace: sysfs_remove_file include/linux/sysfs.h:780 [inline] driver_remove_file drivers/base/driver.c:201 [inline] driver_remove_file+0x4a/0x60 drivers/base/driver.c:197 remove_bind_files drivers/base/bus.c:604 [inline] bus_remove_driver+0x224/0x2c0 drivers/base/bus.c:742 driver_unregister+0x76/0xb0 drivers/base/driver.c:277 comedi_device_detach_locked+0x12f/0xa50 drivers/comedi/drivers.c:207 comedi_device_detach+0x67/0xb0 drivers/comedi/drivers.c:215 comedi_device_attach+0x43d/0x900 drivers/comedi/drivers.c:1011 do_devconfig_ioctl+0x1b1/0x710 drivers/comedi/comedi_fops.c:872 comedi_unlocked_ioctl+0x165d/0x2ee0 drivers/comedi/comedi_fops.c:2178 comedi_compat_ioctl+0x1d0/0x960 drivers/comedi/comedi_fops.c:3249 __do_compat_sys_ioctl fs/ioctl.c:695 [inline] __se_compat_sys_ioctl fs/ioctl.c:638 [inline] __ia32_compat_sys_ioctl+0x242/0x370 fs/ioctl.c:638 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline] __do_fast_syscall_32+0xe8/0x680 arch/x86/entry/syscall_32.c:307 do_fast_syscall_32+0x32/0x80 arch/x86/entry/syscall_32.c:332 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf701d579 Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f53ec55c EFLAGS: 00000296 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 0000000040946400 RDX: 0000000080000540 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000296 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ---------------- Code disassembly (best guess): 0: 00 09 add %cl,(%rcx) 2: e8 ab da 55 ff call 0xff55dab2 7: 48 89 df mov %rbx,%rdi a: 31 db xor %ebx,%ebx c: e8 a1 a2 ff ff call 0xffffa2b2 11: 48 89 ef mov %rbp,%rdi 14: e8 b9 54 30 ff call 0xff3054d2 19: eb b1 jmp 0xffffffcc 1b: e8 92 da 55 ff call 0xff55dab2 20: 48 8d 3d eb 44 25 0e lea 0xe2544eb(%rip),%rdi # 0xe254512 27: 4c 89 ee mov %r13,%rsi * 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2f: eb ba jmp 0xffffffeb 31: 90 nop 32: 90 nop 33: 90 nop 34: 90 nop 35: 90 nop 36: 90 nop 37: 90 nop 38: 90 nop 39: 90 nop 3a: 90 nop 3b: 90 nop 3c: 90 nop 3d: 90 nop 3e: 90 nop 3f: 90 nop