comedi comedi0: c6xdigio: a I/O base address must be specified Oops: general protection fault, probably for non-canonical address 0xdffffc0000000031: 0000 [#1] SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000188-0x000000000000018f] CPU: 0 UID: 0 PID: 32240 Comm: syz.9.6804 Not tainted 6.16.0-rc7-syzkaller-00018-g01a412d06bc5 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:kasan_byte_accessible+0x12/0x30 mm/kasan/generic.c:199 Code: 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 48 c1 ef 03 48 b8 00 00 00 00 00 fc ff df <0f> b6 04 07 3c 08 0f 92 c0 e9 d0 6b 49 09 cc 66 66 66 66 66 66 2e RSP: 0018:ffffc9000bd1f880 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffffffff8b685236 RCX: 8bcf385b418d3000 RDX: 0000000000000000 RSI: ffffffff8b685236 RDI: 0000000000000031 RBP: ffffffff825a2aed R08: 0000000000000001 R09: 0000000000000000 R10: dffffc0000000000 R11: ffffed102815e623 R12: 0000000000000000 R13: 0000000000000188 R14: 0000000000000188 R15: 0000000000000001 FS: 00007f848ccb06c0(0000) GS:ffff888125c57000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000404030 CR3: 0000000069406000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000006800 DR2: 0000000000009951 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: __kasan_check_byte+0x12/0x40 mm/kasan/common.c:556 kasan_check_byte include/linux/kasan.h:399 [inline] lock_acquire+0x8d/0x360 kernel/locking/lockdep.c:5845 down_write+0x96/0x1f0 kernel/locking/rwsem.c:1577 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+0x134/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:907 [inline] __se_sys_ioctl+0xf9/0x170 fs/ioctl.c:893 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:0x7f848bd8e9a9 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:00007f848ccb0038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f848bfb5fa0 RCX: 00007f848bd8e9a9 RDX: 0000200000000540 RSI: 0000000040946400 RDI: 0000000000000003 RBP: 00007f848be10d69 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f848bfb5fa0 R15: 00007ffdd537deb8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:kasan_byte_accessible+0x12/0x30 mm/kasan/generic.c:199 Code: 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 48 c1 ef 03 48 b8 00 00 00 00 00 fc ff df <0f> b6 04 07 3c 08 0f 92 c0 e9 d0 6b 49 09 cc 66 66 66 66 66 66 2e RSP: 0018:ffffc9000bd1f880 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffffffff8b685236 RCX: 8bcf385b418d3000 RDX: 0000000000000000 RSI: ffffffff8b685236 RDI: 0000000000000031 RBP: ffffffff825a2aed R08: 0000000000000001 R09: 0000000000000000 R10: dffffc0000000000 R11: ffffed102815e623 R12: 0000000000000000 R13: 0000000000000188 R14: 0000000000000188 R15: 0000000000000001 FS: 00007f848ccb06c0(0000) GS:ffff888125d57000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000404030 CR3: 0000000069406000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000006800 DR2: 0000000000009951 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 0f 1f 84 00 00 00 00 nopl 0x0(%rax,%rax,1) 7: 00 8: 90 nop 9: 90 nop a: 90 nop b: 90 nop c: 90 nop d: 90 nop e: 90 nop f: 90 nop 10: 90 nop 11: 90 nop 12: 90 nop 13: 90 nop 14: 90 nop 15: 90 nop 16: 90 nop 17: 90 nop 18: 66 0f 1f 00 nopw (%rax) 1c: 48 c1 ef 03 shr $0x3,%rdi 20: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 27: fc ff df * 2a: 0f b6 04 07 movzbl (%rdi,%rax,1),%eax <-- trapping instruction 2e: 3c 08 cmp $0x8,%al 30: 0f 92 c0 setb %al 33: e9 d0 6b 49 09 jmp 0x9496c08 38: cc int3 39: 66 data16 3a: 66 data16 3b: 66 data16 3c: 66 data16 3d: 66 data16 3e: 66 data16 3f: 2e cs