comedi comedi2: c6xdigio: I/O port conflict (0x4f28,3) ------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(1) WARNING: kernel/locking/lockdep.c:238 at hlock_class kernel/locking/lockdep.c:238 [inline], CPU#0: syz.4.1883/17763 WARNING: kernel/locking/lockdep.c:238 at check_wait_context kernel/locking/lockdep.c:4857 [inline], CPU#0: syz.4.1883/17763 WARNING: kernel/locking/lockdep.c:238 at __lock_acquire+0x379/0xd20 kernel/locking/lockdep.c:5190, CPU#0: syz.4.1883/17763 Modules linked in: CPU: 0 UID: 0 PID: 17763 Comm: syz.4.1883 Not tainted 6.16.0-rc6-next-20250718-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:hlock_class kernel/locking/lockdep.c:238 [inline] RIP: 0010:check_wait_context kernel/locking/lockdep.c:4857 [inline] RIP: 0010:__lock_acquire+0x379/0xd20 kernel/locking/lockdep.c:5190 Code: eb 33 90 e8 d9 4f 2d 03 85 c0 74 22 83 3d 32 46 46 0e 00 75 19 90 48 c7 c7 9a 9f e5 8d 48 c7 c6 fb ea d4 8d e8 48 ce e5 ff 90 <0f> 0b 90 90 90 31 c0 48 8b 3c 24 0f b6 98 c4 00 00 00 41 8b 46 20 RSP: 0018:ffffc90004ae7810 EFLAGS: 00010046 RAX: c8270a9ddd898600 RBX: ffffffff8b3bdcb8 RCX: 0000000000080000 RDX: ffffc90018364000 RSI: 00000000000048fd RDI: 00000000000048fe RBP: 0000000000001153 R08: ffff8880b8624253 R09: 1ffff110170c484a R10: dffffc0000000000 R11: ffffed10170c484b R12: 0000000000000000 R13: 0000000000000000 R14: ffff888030a20b68 R15: ffff888030a20af0 FS: 00007fca71e8d6c0(0000) GS:ffff8881257ab000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c379f58 CR3: 0000000051b58000 CR4: 00000000003526f0 Call Trace: lock_acquire+0x120/0x360 kernel/locking/lockdep.c:5871 down_write+0x96/0x1f0 kernel/locking/rwsem.c:1592 kernfs_remove_by_name_ns+0x3d/0x130 fs/kernfs/dir.c:1712 remove_bind_files drivers/base/bus.c:605 [inline] bus_remove_driver+0x198/0x2f0 drivers/base/bus.c:743 comedi_device_detach+0x137/0x720 drivers/comedi/drivers.c:207 comedi_device_attach+0x568/0x670 drivers/comedi/drivers.c:1003 do_devconfig_ioctl drivers/comedi/comedi_fops.c:855 [inline] comedi_unlocked_ioctl+0x686/0xfc0 drivers/comedi/comedi_fops.c:2156 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:0x7fca70f8e9a9 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:00007fca71e8d038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fca711b5fa0 RCX: 00007fca70f8e9a9 RDX: 00002000000000c0 RSI: 0000000040946400 RDI: 0000000000000004 RBP: 00007fca71010d69 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fca711b5fa0 R15: 00007ffc6ca019d8