comedi comedi3: 8255: I/O port conflict (0x404f26,4) 8<--- cut here --- Unable to handle kernel paging request at virtual address fee00008 when write [fee00008] *pgd=80000080007003, *pmd=00000000 Internal error: Oops: a06 [#1] SMP ARM Modules linked in: CPU: 1 UID: 0 PID: 6995 Comm: syz.2.704 Not tainted 6.17.0-rc1-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 : [<813b7f78>] lr : [<813b7f64>] psr: 60000013 sp : e046dcb8 ip : e046dcb8 fp : e046dcd4 r10: 00000001 r9 : 00000000 r8 : 00000084 r7 : 00000005 r6 : 0000009b r5 : 84121c00 r4 : 00000008 r3 : 0000009b r2 : fee00008 r1 : 00000001 r0 : 84121c00 Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none Control: 30c5387d Table: 85a87340 DAC: 00000000 Register r0 information: slab kmalloc-192 start 84121c00 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 84121c00 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 0xe046c000 allocated at kernel_clone+0xac/0x3ec kernel/fork.c:2605 Register r12 information: 2-page vmalloc region starting at 0xe046c000 allocated at kernel_clone+0xac/0x3ec kernel/fork.c:2605 Process syz.2.704 (pid: 6995, stack limit = 0xe046c000) Stack: (0xe046dcb8 to 0xe046e000) dca0: 813b7f18 84121c00 dcc0: 00000005 00000005 e046dcf4 e046dcd8 813b7c50 813b7f24 00000005 80503c38 dce0: 85cb9084 85cb9084 e046dd14 e046dcf8 813b8010 813b7c04 85cb9084 84121c00 dd00: e046dda8 00000005 e046dd54 e046dd18 813b8204 813b7f90 82ae3d60 857d5780 dd20: 82821598 00000000 00000000 829d0084 84121c00 84121c44 e046dd90 84121c00 dd40: 00000000 82b16f00 e046dd8c e046dd58 813a7108 813b8154 200000c0 00000000 dd60: e046dd7c 200000c0 84121c00 b5403587 200000c0 859b5400 40946400 00000003 dd80: e046de4c e046dd90 813a2c88 813a700c 35353238 00000000 00000000 00000000 dda0: 00000000 00404f26 00000005 00000002 00000401 0000000c 00000000 00000fff ddc0: 5c95239c 00000005 000003bf 00000802 00001600 00000001 20000001 00000009 dde0: 0000e1cb 00000006 00000004 00000400 00000195 00000006 00000000 0000000b de00: 00000402 00000009 00000003 00000040 00000005 00000004 08000003 dffffffa de20: 00000000 61d05820 00000000 859df180 84121c00 200000c0 200000c0 859b5400 de40: e046df14 e046de50 813a3c54 813a2b94 00000000 00000000 00000000 61d05820 de60: 00000000 00000000 8247054c 0000005f 84236c58 84121c30 8420e324 859b5400 de80: e046dee4 e046de90 8079782c 8078db90 00000064 00000001 00000000 e046deac dea0: 85b7c850 834e04c8 00006400 0000000b e046dea0 00000000 00000000 61d05820 dec0: 859df180 40946400 200000c0 200000c0 859df180 00000003 e046def4 e046dee8 dee0: 8079794c 61d05820 e046df14 40946400 00000000 859df181 200000c0 859df180 df00: 00000003 859b5400 e046dfa4 e046df18 8056ce00 813a3684 ecac8b10 859b5400 df20: e046df3c e046df30 81a38e18 81a38ce8 e046df54 e046df40 8025e490 8028ef8c df40: e046dfb0 40000000 e046df84 e046df58 802229ec 8025e44c 00000000 8281cddc df60: e046dfb0 0014c820 ecac8b10 80222940 00000000 61d05820 e046dfac 00000000 df80: 00000000 002f6308 00000036 8020029c 859b5400 00000036 00000000 e046dfa8 dfa0: 80200060 8056ccdc 00000000 00000000 00000003 40946400 200000c0 00000000 dfc0: 00000000 00000000 002f6308 00000036 002e0000 00000000 00006364 76f170bc dfe0: 76f16ec0 76f16eb0 0001948c 001322c0 60000010 00000003 00000000 00000000 Call trace: [<813b7f18>] (subdev_8255_io) from [<813b7c50>] (subdev_8255_do_config+0x58/0x60 drivers/comedi/drivers/comedi_8255.c:115) r7:00000005 r6:00000005 r5:84121c00 r4:813b7f18 [<813b7bf8>] (subdev_8255_do_config) from [<813b8010>] (__subdev_8255_init drivers/comedi/drivers/comedi_8255.c:172 [inline]) [<813b7bf8>] (subdev_8255_do_config) from [<813b8010>] (subdev_8255_io_init+0x8c/0x9c drivers/comedi/drivers/comedi_8255.c:192) r4:85cb9084 [<813b7f84>] (subdev_8255_io_init) from [<813b8204>] (dev_8255_attach drivers/comedi/drivers/8255.c:83 [inline]) [<813b7f84>] (subdev_8255_io_init) from [<813b8204>] (dev_8255_attach+0xbc/0x114 drivers/comedi/drivers/8255.c:46) r7:00000005 r6:e046dda8 r5:84121c00 r4:85cb9084 [<813b8148>] (dev_8255_attach) from [<813a7108>] (comedi_device_attach+0x108/0x250 drivers/comedi/drivers.c:1006) r10:82b16f00 r9:00000000 r8:84121c00 r7:e046dd90 r6:84121c44 r5:84121c00 r4:829d0084 [<813a7000>] (comedi_device_attach) from [<813a2c88>] (do_devconfig_ioctl+0x100/0x220 drivers/comedi/comedi_fops.c:872) r10:00000003 r9:40946400 r8:859b5400 r7:200000c0 r6:b5403587 r5:84121c00 r4:200000c0 [<813a2b88>] (do_devconfig_ioctl) from [<813a3c54>] (comedi_unlocked_ioctl+0x5dc/0x1c24 drivers/comedi/comedi_fops.c:2173) r8:859b5400 r7:200000c0 r6:200000c0 r5:84121c00 r4:859df180 [<813a3678>] (comedi_unlocked_ioctl) from [<8056ce00>] (vfs_ioctl fs/ioctl.c:51 [inline]) [<813a3678>] (comedi_unlocked_ioctl) from [<8056ce00>] (do_vfs_ioctl fs/ioctl.c:552 [inline]) [<813a3678>] (comedi_unlocked_ioctl) from [<8056ce00>] (__do_sys_ioctl fs/ioctl.c:596 [inline]) [<813a3678>] (comedi_unlocked_ioctl) from [<8056ce00>] (sys_ioctl+0x130/0xba0 fs/ioctl.c:584) r10:859b5400 r9:00000003 r8:859df180 r7:200000c0 r6:859df181 r5:00000000 r4:40946400 [<8056ccd0>] (sys_ioctl) from [<80200060>] (ret_fast_syscall+0x0/0x1c arch/arm/mm/proc-v7.S:67) Exception stack(0xe046dfa8 to 0xe046dff0) dfa0: 00000000 00000000 00000003 40946400 200000c0 00000000 dfc0: 00000000 00000000 002f6308 00000036 002e0000 00000000 00006364 76f170bc dfe0: 76f16ec0 76f16eb0 0001948c 001322c0 r10:00000036 r9:859b5400 r8:8020029c r7:00000036 r6:002f6308 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