comedi comedi3: 8255: I/O port conflict (0xfffffffb,4) 8<--- cut here --- Unable to handle kernel paging request at virtual address fee02169 when write [fee02169] *pgd=80000080007003, *pmd=00000000 Internal error: Oops: a06 [#1] SMP ARM Modules linked in: CPU: 0 UID: 0 PID: 7240 Comm: syz.3.517 Not tainted 6.17.0-rc2-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 : [<813b8368>] lr : [<813b8354>] psr: 60000013 sp : dfc21cb8 ip : dfc21cb8 fp : dfc21cd4 r10: 00000001 r9 : 00000000 r8 : 00000084 r7 : 00002166 r6 : 0000009b r5 : 842530c0 r4 : 00002169 r3 : 0000009b r2 : fee02169 r1 : 00000001 r0 : 842530c0 Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user Control: 30c5387d Table: 85d4d980 DAC: fffffffd Register r0 information: slab kmalloc-192 start 842530c0 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 842530c0 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 0xdfc20000 allocated at kernel_clone+0xac/0x3ec kernel/fork.c:2605 Register r12 information: 2-page vmalloc region starting at 0xdfc20000 allocated at kernel_clone+0xac/0x3ec kernel/fork.c:2605 Process syz.3.517 (pid: 7240, stack limit = 0xdfc20000) Stack: (0xdfc21cb8 to 0xdfc22000) 1ca0: 813b8308 842530c0 1cc0: 00002166 00002166 dfc21cf4 dfc21cd8 813b8040 813b8314 00002166 80503bc0 1ce0: 84ad0084 84ad0084 dfc21d14 dfc21cf8 813b8400 813b7ff4 84ad0084 842530c0 1d00: dfc21da8 00002166 dfc21d54 dfc21d18 813b85f4 813b8380 82ae3d60 85891080 1d20: 82821598 00000000 00000000 829d00c4 842530c0 84253104 dfc21d90 842530c0 1d40: 00000000 82b16f00 dfc21d8c dfc21d58 813a74f8 813b8544 20000140 00000000 1d60: dfc21d7c 20000140 842530c0 b5403587 20000140 85bb0c00 40946400 00000003 1d80: dfc21e4c dfc21d90 813a3078 813a73fc 35353238 00000000 00000000 00000000 1da0: 00000000 fffffffb 00002166 00000002 00100000 000088d6 0000008f fffffffd 1dc0: 00100010 01000002 ffffffbf 00000200 00000008 00000008 00000001 00000008 1de0: 00000007 00000009 00000003 00000003 00000101 00000100 00000003 00000080 1e00: 00000005 0000000b 00000001 00005721 000007db 00000008 00000007 00000000 1e20: 00000000 7fe64b02 00000000 832b1b40 842530c0 20000140 20000140 85bb0c00 1e40: dfc21f14 dfc21e50 813a4044 813a2f84 00000000 00000000 00000000 7fe64b02 1e60: 00000000 00000000 8247054c 0000005f 83de2458 842530f0 83f53294 85bb0c00 1e80: dfc21ee4 dfc21e90 807977b4 8078db18 00000064 00000001 00000000 dfc21eac 1ea0: 848e8610 834d4110 00006400 0000000b dfc21ea0 00000000 00000000 7fe64b02 1ec0: 832b1b40 40946400 20000140 20000140 832b1b40 00000003 dfc21ef4 dfc21ee8 1ee0: 807978d4 7fe64b02 dfc21f14 40946400 00000000 832b1b41 20000140 832b1b40 1f00: 00000003 85bb0c00 dfc21fa4 dfc21f18 8056cd88 813a3a74 ecac8b10 85bb0c00 1f20: dfc21f3c dfc21f30 81a392b8 81a39188 dfc21f54 dfc21f40 8025e490 8028ef8c 1f40: dfc21fb0 40000000 dfc21f84 dfc21f58 802229ec 8025e44c 00000000 8281cddc 1f60: dfc21fb0 0014c820 ecac8b10 80222940 00000000 7fe64b02 dfc21fac 00000000 1f80: 00000000 002f6308 00000036 8020029c 85bb0c00 00000036 00000000 dfc21fa8 1fa0: 80200060 8056cc64 00000000 00000000 00000003 40946400 20000140 00000000 1fc0: 00000000 00000000 002f6308 00000036 002e0000 00000000 00006364 76fda0bc 1fe0: 76fd9ec0 76fd9eb0 0001948c 001322c0 60000010 00000003 00000000 00000000 Call trace: [<813b8308>] (subdev_8255_io) from [<813b8040>] (subdev_8255_do_config+0x58/0x60 drivers/comedi/drivers/comedi_8255.c:115) r7:00002166 r6:00002166 r5:842530c0 r4:813b8308 [<813b7fe8>] (subdev_8255_do_config) from [<813b8400>] (__subdev_8255_init drivers/comedi/drivers/comedi_8255.c:172 [inline]) [<813b7fe8>] (subdev_8255_do_config) from [<813b8400>] (subdev_8255_io_init+0x8c/0x9c drivers/comedi/drivers/comedi_8255.c:192) r4:84ad0084 [<813b8374>] (subdev_8255_io_init) from [<813b85f4>] (dev_8255_attach drivers/comedi/drivers/8255.c:83 [inline]) [<813b8374>] (subdev_8255_io_init) from [<813b85f4>] (dev_8255_attach+0xbc/0x114 drivers/comedi/drivers/8255.c:46) r7:00002166 r6:dfc21da8 r5:842530c0 r4:84ad0084 [<813b8538>] (dev_8255_attach) from [<813a74f8>] (comedi_device_attach+0x108/0x250 drivers/comedi/drivers.c:1006) r10:82b16f00 r9:00000000 r8:842530c0 r7:dfc21d90 r6:84253104 r5:842530c0 r4:829d00c4 [<813a73f0>] (comedi_device_attach) from [<813a3078>] (do_devconfig_ioctl+0x100/0x220 drivers/comedi/comedi_fops.c:872) r10:00000003 r9:40946400 r8:85bb0c00 r7:20000140 r6:b5403587 r5:842530c0 r4:20000140 [<813a2f78>] (do_devconfig_ioctl) from [<813a4044>] (comedi_unlocked_ioctl+0x5dc/0x1c24 drivers/comedi/comedi_fops.c:2173) r8:85bb0c00 r7:20000140 r6:20000140 r5:842530c0 r4:832b1b40 [<813a3a68>] (comedi_unlocked_ioctl) from [<8056cd88>] (vfs_ioctl fs/ioctl.c:51 [inline]) [<813a3a68>] (comedi_unlocked_ioctl) from [<8056cd88>] (do_vfs_ioctl fs/ioctl.c:552 [inline]) [<813a3a68>] (comedi_unlocked_ioctl) from [<8056cd88>] (__do_sys_ioctl fs/ioctl.c:596 [inline]) [<813a3a68>] (comedi_unlocked_ioctl) from [<8056cd88>] (sys_ioctl+0x130/0xba0 fs/ioctl.c:584) r10:85bb0c00 r9:00000003 r8:832b1b40 r7:20000140 r6:832b1b41 r5:00000000 r4:40946400 [<8056cc58>] (sys_ioctl) from [<80200060>] (ret_fast_syscall+0x0/0x1c arch/arm/mm/proc-v7.S:67) Exception stack(0xdfc21fa8 to 0xdfc21ff0) 1fa0: 00000000 00000000 00000003 40946400 20000140 00000000 1fc0: 00000000 00000000 002f6308 00000036 002e0000 00000000 00006364 76fda0bc 1fe0: 76fd9ec0 76fd9eb0 0001948c 001322c0 r10:00000036 r9:85bb0c00 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