comedi comedi3: c6xdigio: I/O port conflict (0x10401,3) BUG: unable to handle page fault for address: ffffffff9d77ea90 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD e189067 P4D e189067 PUD e18a063 PMD 0 Oops: Oops: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 29708 Comm: syz.2.6373 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 RIP: 0010:variable_test_bit arch/x86/include/asm/bitops.h:222 [inline] RIP: 0010:arch_test_bit arch/x86/include/asm/bitops.h:233 [inline] RIP: 0010:_test_bit include/asm-generic/bitops/instrumented-non-atomic.h:142 [inline] RIP: 0010:__lock_acquire+0x4de/0x22f0 kernel/locking/lockdep.c:5207 Code: 5c 24 08 85 c0 4c 8b 4c 24 10 4c 8b 54 24 18 74 0e 8b 05 55 4c ed 0e 85 c0 0f 84 8e 06 00 00 90 31 c9 e9 1f fe ff ff 4d 63 c9 <4c> 0f a3 0d 4a bc 17 14 0f 82 62 ff ff ff 90 e8 2e 37 0a 03 85 c0 RSP: 0018:ffffc9000475f778 EFLAGS: 00010046 RAX: 0000000000000001 RBX: ffff88805ebbd528 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffff88805ebbd528 RDI: ffff88805ebbc980 RBP: ffff88805ebbc980 R08: ffffffff95b79660 R09: 000000003e38218c R10: ffff88805ebbd4b0 R11: 0000000000000004 R12: 0000000000000000 R13: 0000000000000003 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f36a61626c0(0000) GS:ffff88812497e000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffff9d77ea90 CR3: 0000000024b65000 CR4: 00000000003526f0 Call Trace: lock_acquire kernel/locking/lockdep.c:5868 [inline] lock_acquire+0x179/0x330 kernel/locking/lockdep.c:5825 down_write+0x92/0x200 kernel/locking/rwsem.c:1590 kernfs_remove_by_name_ns+0x3d/0x100 fs/kernfs/dir.c:1712 sysfs_remove_file include/linux/sysfs.h:770 [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:605 [inline] bus_remove_driver+0x224/0x2c0 drivers/base/bus.c:743 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 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:597 [inline] __se_sys_ioctl fs/ioctl.c:583 [inline] __x64_sys_ioctl+0x18e/0x210 fs/ioctl.c:583 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f36a538f749 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:00007f36a6162038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f36a55e6090 RCX: 00007f36a538f749 RDX: 0000200000000080 RSI: 0000000040946400 RDI: 0000000000000005 RBP: 00007f36a5413f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f36a55e6128 R14: 00007f36a55e6090 R15: 00007ffd7fb35ae8 Modules linked in: CR2: ffffffff9d77ea90 ---[ end trace 0000000000000000 ]--- RIP: 0010:variable_test_bit arch/x86/include/asm/bitops.h:222 [inline] RIP: 0010:arch_test_bit arch/x86/include/asm/bitops.h:233 [inline] RIP: 0010:_test_bit include/asm-generic/bitops/instrumented-non-atomic.h:142 [inline] RIP: 0010:__lock_acquire+0x4de/0x22f0 kernel/locking/lockdep.c:5207 Code: 5c 24 08 85 c0 4c 8b 4c 24 10 4c 8b 54 24 18 74 0e 8b 05 55 4c ed 0e 85 c0 0f 84 8e 06 00 00 90 31 c9 e9 1f fe ff ff 4d 63 c9 <4c> 0f a3 0d 4a bc 17 14 0f 82 62 ff ff ff 90 e8 2e 37 0a 03 85 c0 RSP: 0018:ffffc9000475f778 EFLAGS: 00010046 RAX: 0000000000000001 RBX: ffff88805ebbd528 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffff88805ebbd528 RDI: ffff88805ebbc980 RBP: ffff88805ebbc980 R08: ffffffff95b79660 R09: 000000003e38218c R10: ffff88805ebbd4b0 R11: 0000000000000004 R12: 0000000000000000 R13: 0000000000000003 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f36a61626c0(0000) GS:ffff88812497e000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffff9d77ea90 CR3: 0000000024b65000 CR4: 00000000003526f0 ---------------- Code disassembly (best guess): 0: 5c pop %rsp 1: 24 08 and $0x8,%al 3: 85 c0 test %eax,%eax 5: 4c 8b 4c 24 10 mov 0x10(%rsp),%r9 a: 4c 8b 54 24 18 mov 0x18(%rsp),%r10 f: 74 0e je 0x1f 11: 8b 05 55 4c ed 0e mov 0xeed4c55(%rip),%eax # 0xeed4c6c 17: 85 c0 test %eax,%eax 19: 0f 84 8e 06 00 00 je 0x6ad 1f: 90 nop 20: 31 c9 xor %ecx,%ecx 22: e9 1f fe ff ff jmp 0xfffffe46 27: 4d 63 c9 movslq %r9d,%r9 * 2a: 4c 0f a3 0d 4a bc 17 bt %r9,0x1417bc4a(%rip) # 0x1417bc7c <-- trapping instruction 31: 14 32: 0f 82 62 ff ff ff jb 0xffffff9a 38: 90 nop 39: e8 2e 37 0a 03 call 0x30a376c 3e: 85 c0 test %eax,%eax