comedi comedi3: 8255: I/O port conflict (0xfffffffb,4) 8<--- cut here --- Unable to handle kernel paging request at virtual address fee0000a when write [fee0000a] *pgd=80000080007003, *pmd=00000000 Internal error: Oops: a06 [#1] SMP ARM Modules linked in: CPU: 0 UID: 0 PID: 4980 Comm: syz.0.246 Not tainted 6.16.0-rc5-syzkaller #0 PREEMPT Hardware name: ARM-Versatile Express PC is at __raw_writeb arch/arm/include/asm/io.h:88 [inline] PC is at subdev_8255_io drivers/comedi/drivers/comedi_8255.c:47 [inline] PC is at subdev_8255_io+0x60/0x6c drivers/comedi/drivers/comedi_8255.c:43 LR is at subdev_8255_io drivers/comedi/drivers/comedi_8255.c:47 [inline] LR is at subdev_8255_io+0x4c/0x6c drivers/comedi/drivers/comedi_8255.c:43 pc : [<813a4cc8>] lr : [<813a4cb4>] psr: 60000013 sp : dfaadcc0 ip : dfaadcc0 fp : dfaadcdc r10: 00000001 r9 : 00000000 r8 : 00000084 r7 : 00000007 r6 : 0000009b r5 : 840b7840 r4 : 0000000a r3 : 0000009b r2 : fee0000a r1 : 00000001 r0 : 840b7840 Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user Control: 30c5387d Table: 85a10740 DAC: fffffffd Register r0 information: slab kmalloc-192 start 840b7840 pointer offset 0 size 192 Register r1 information: non-paged memory Register r2 information: 0-page vmalloc region starting at 0xfee00000 allocated at pci_reserve_io+0x0/0x38 arch/arm/mm/mmu.c:1055 Register r3 information: non-paged memory Register r4 information: non-paged memory Register r5 information: slab kmalloc-192 start 840b7840 pointer offset 0 size 192 Register r6 information: non-paged memory Register r7 information: non-paged memory Register r8 information: non-paged memory Register r9 information: NULL pointer Register r10 information: non-paged memory Register r11 information: 2-page vmalloc region starting at 0xdfaac000 allocated at kernel_clone+0xac/0x3e4 kernel/fork.c:2599 Register r12 information: 2-page vmalloc region starting at 0xdfaac000 allocated at kernel_clone+0xac/0x3e4 kernel/fork.c:2599 Process syz.0.246 (pid: 4980, stack limit = 0xdfaac000) Stack: (0xdfaadcc0 to 0xdfaae000) dcc0: 813a4c68 840b7840 00000007 00000007 dfaadcfc dfaadce0 813a49a0 813a4c74 dce0: 00000007 80507874 85cd0084 85cd0084 dfaadd1c dfaadd00 813a4d60 813a4954 dd00: 85cd0084 840b7840 dfaaddb0 00000007 dfaadd5c dfaadd20 813a4f54 813a4ce0 dd20: 00000013 84131080 82822670 00000000 00000000 829c53f0 840b7840 00000000 dd40: dfaadd98 840b7840 00000000 82b15078 dfaadd94 dfaadd60 81393e78 813a4ea4 dd60: 20000140 00000000 dfaadd84 20000140 840b7840 b5403587 20000140 84f96c00 dd80: 40946400 00000003 dfaade4c dfaadd98 8138fb08 81393d80 35353238 00000000 dda0: 00000000 00000000 00000000 fffffffb 00000007 00000002 00100000 040088d6 ddc0: 0000008f fffffffd 00100810 01000002 ffffffff 00000200 00000004 00000006 dde0: 00000001 00000007 00000005 00000009 00000003 00008001 00000101 00000100 de00: 00000003 00000000 00000001 0000000b 00000001 00005721 000007db 00000008 de20: 00000007 00000001 00000000 e09cc2f3 00000000 8590c840 840b7840 20000140 de40: dfaadf14 dfaade50 81390abc 8138fa3c 00000000 00000000 00000000 e09cc2f3 de60: 00000000 00000000 8246a3fc 0000005f 8418e858 840b7870 8415f1bc 84f96c00 de80: dfaadee4 dfaade90 80795a14 8078bd04 00000064 00000001 00000000 dfaadeac dea0: 858d39d0 8342df68 00006400 0000000b dfaadea0 00000000 00000000 e09cc2f3 dec0: 8590c840 40946400 20000140 20000140 00000003 8590c840 dfaadef4 dfaadee8 dee0: 80795b34 e09cc2f3 dfaadf14 40946400 00000000 8590c841 20000140 00000003 df00: 8590c840 84f96c00 dfaadfa4 dfaadf18 8056e2cc 813904ec ecac8b10 84f96c00 df20: dfaadf3c dfaadf30 81a2d168 81a2d038 dfaadf54 dfaadf40 80261ffc 80293598 df40: dfaadfb0 40000000 dfaadf84 dfaadf58 802229ec 80261fb8 00000000 8281d09c df60: dfaadfb0 0014c4a0 ecac8b10 80222940 00000000 e09cc2f3 dfaadfac 00000000 df80: 00000000 002f6300 00000036 8020029c 84f96c00 00000036 00000000 dfaadfa8 dfa0: 80200060 8056e1a8 00000000 00000000 00000003 40946400 20000140 00000000 dfc0: 00000000 00000000 002f6300 00000036 002e0000 00000000 00006364 76b220bc dfe0: 76b21ec0 76b21eb0 000193a4 00131f40 60000010 00000003 00000000 00000000 Call trace: [<813a4c68>] (subdev_8255_io) from [<813a49a0>] (subdev_8255_do_config+0x58/0x60 drivers/comedi/drivers/comedi_8255.c:115) r7:00000007 r6:00000007 r5:840b7840 r4:813a4c68 [<813a4948>] (subdev_8255_do_config) from [<813a4d60>] (__subdev_8255_init drivers/comedi/drivers/comedi_8255.c:172 [inline]) [<813a4948>] (subdev_8255_do_config) from [<813a4d60>] (subdev_8255_io_init+0x8c/0x9c drivers/comedi/drivers/comedi_8255.c:192) r4:85cd0084 [<813a4cd4>] (subdev_8255_io_init) from [<813a4f54>] (dev_8255_attach drivers/comedi/drivers/8255.c:83 [inline]) [<813a4cd4>] (subdev_8255_io_init) from [<813a4f54>] (dev_8255_attach+0xbc/0x114 drivers/comedi/drivers/8255.c:46) r7:00000007 r6:dfaaddb0 r5:840b7840 r4:85cd0084 [<813a4e98>] (dev_8255_attach) from [<81393e78>] (comedi_device_attach+0x104/0x240 drivers/comedi/drivers.c:996) r10:82b15078 r9:00000000 r8:840b7840 r7:dfaadd98 r6:00000000 r5:840b7840 r4:829c53f0 [<81393d74>] (comedi_device_attach) from [<8138fb08>] (do_devconfig_ioctl+0xd8/0x1e0 drivers/comedi/comedi_fops.c:855) r10:00000003 r9:40946400 r8:84f96c00 r7:20000140 r6:b5403587 r5:840b7840 r4:20000140 [<8138fa30>] (do_devconfig_ioctl) from [<81390abc>] (comedi_unlocked_ioctl+0x5dc/0x1b94 drivers/comedi/comedi_fops.c:2136) r6:20000140 r5:840b7840 r4:8590c840 [<813904e0>] (comedi_unlocked_ioctl) from [<8056e2cc>] (vfs_ioctl fs/ioctl.c:51 [inline]) [<813904e0>] (comedi_unlocked_ioctl) from [<8056e2cc>] (do_vfs_ioctl fs/ioctl.c:861 [inline]) [<813904e0>] (comedi_unlocked_ioctl) from [<8056e2cc>] (__do_sys_ioctl fs/ioctl.c:905 [inline]) [<813904e0>] (comedi_unlocked_ioctl) from [<8056e2cc>] (sys_ioctl+0x130/0xdc8 fs/ioctl.c:893) r10:84f96c00 r9:8590c840 r8:00000003 r7:20000140 r6:8590c841 r5:00000000 r4:40946400 [<8056e19c>] (sys_ioctl) from [<80200060>] (ret_fast_syscall+0x0/0x1c arch/arm/mm/proc-v7.S:67) Exception stack(0xdfaadfa8 to 0xdfaadff0) dfa0: 00000000 00000000 00000003 40946400 20000140 00000000 dfc0: 00000000 00000000 002f6300 00000036 002e0000 00000000 00006364 76b220bc dfe0: 76b21ec0 76b21eb0 000193a4 00131f40 r10:00000036 r9:84f96c00 r8:8020029c r7:00000036 r6:002f6300 r5:00000000 r4:00000000 Code: e6ef3076 e0842002 e7f32052 e2422612 (e5c23000) ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: e6ef3076 uxtb r3, r6 4: e0842002 add r2, r4, r2 8: e7f32052 ubfx r2, r2, #0, #20 c: e2422612 sub r2, r2, #18874368 @ 0x1200000 * 10: e5c23000 strb r3, [r2] <-- trapping instruction