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: 5478 Comm: syz.1.279 Not tainted 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 : [<813b8bd8>] lr : [<813b8bc4>] psr: 60000013 sp : dfc1dcb8 ip : dfc1dcb8 fp : dfc1dcd4 r10: 00000001 r9 : 00000000 r8 : 00000084 r7 : 00000007 r6 : 0000009b r5 : 84101600 r4 : 0000000a r3 : 0000009b r2 : fee0000a r1 : 00000001 r0 : 84101600 Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user Control: 30c5387d Table: 85b75ec0 DAC: fffffffd Register r0 information: slab kmalloc-192 start 84101600 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 84101600 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 0xdfc1c000 allocated at kernel_clone+0xac/0x3ec kernel/fork.c:2605 Register r12 information: 2-page vmalloc region starting at 0xdfc1c000 allocated at kernel_clone+0xac/0x3ec kernel/fork.c:2605 Process syz.1.279 (pid: 5478, stack limit = 0xdfc1c000) Stack: (0xdfc1dcb8 to 0xdfc1e000) dca0: 813b8b78 84101600 dcc0: 00000007 00000007 dfc1dcf4 dfc1dcd8 813b88b0 813b8b84 00000007 80503b64 dce0: 84e83084 84e83084 dfc1dd14 dfc1dcf8 813b8c70 813b8864 84e83084 84101600 dd00: dfc1dda8 00000007 dfc1dd54 dfc1dd18 813b8e64 813b8bf0 82ae3da0 838ea800 dd20: 828215b0 00000000 00000000 829d0144 84101600 84101644 dfc1dd90 84101600 dd40: 00000000 82b16f40 dfc1dd8c dfc1dd58 813a7d68 813b8db4 20000140 00000000 dd60: dfc1dd7c 20000140 84101600 b5403587 20000140 85639800 40946400 00000003 dd80: dfc1de4c dfc1dd90 813a38b4 813a7c6c 35353238 00000000 00000000 00000000 dda0: 00000000 fffffffb 00000007 00000002 00100000 040088d6 0000008f fffffffd ddc0: 00100810 01000002 ffffffff 00000200 00000004 00000006 00000001 00000007 dde0: 00000005 00000009 00000003 00008001 00000101 00000100 00000003 00000000 de00: 00000001 0000000b 00000001 00005721 000007db 00000008 00000007 00000001 de20: 00000000 6d8cc28d 00000000 858943c0 84101600 20000140 20000140 85639800 de40: dfc1df14 dfc1de50 813a4880 813a37c0 00000000 00000000 00000000 6d8cc28d de60: 00000000 00000000 8247054c 0000005f 83ddf458 84101630 841d0174 85639800 de80: dfc1dee4 dfc1de90 80797aa4 8078de08 00000064 00000001 00000000 dfc1deac dea0: 84ee7e50 834d73b8 00006400 0000000b dfc1dea0 00000000 00000000 6d8cc28d dec0: 858943c0 40946400 20000140 20000140 858943c0 00000003 dfc1def4 dfc1dee8 dee0: 80797bc4 6d8cc28d dfc1df14 40946400 00000000 858943c1 20000140 858943c0 df00: 00000003 85639800 dfc1dfa4 dfc1df18 8056cdc8 813a42b0 ecac8b10 85639800 df20: dfc1df3c dfc1df30 81a39df8 81a39cc8 dfc1df54 dfc1df40 8025e490 8028ef6c df40: dfc1dfb0 40000000 dfc1df84 dfc1df58 802229ec 8025e44c 00000000 8281cddc df60: dfc1dfb0 0014c820 ecac8b10 80222940 00000000 6d8cc28d dfc1dfac 00000000 df80: 00000000 002f6308 00000036 8020029c 85639800 00000036 00000000 dfc1dfa8 dfa0: 80200060 8056cca4 00000000 00000000 00000003 40946400 20000140 00000000 dfc0: 00000000 00000000 002f6308 00000036 002e0000 00000000 00006364 76fcb0bc dfe0: 76fcaec0 76fcaeb0 0001948c 001322c0 60000010 00000003 00000000 00000000 Call trace: [<813b8b78>] (subdev_8255_io) from [<813b88b0>] (subdev_8255_do_config+0x58/0x60 drivers/comedi/drivers/comedi_8255.c:115) r7:00000007 r6:00000007 r5:84101600 r4:813b8b78 [<813b8858>] (subdev_8255_do_config) from [<813b8c70>] (__subdev_8255_init drivers/comedi/drivers/comedi_8255.c:172 [inline]) [<813b8858>] (subdev_8255_do_config) from [<813b8c70>] (subdev_8255_io_init+0x8c/0x9c drivers/comedi/drivers/comedi_8255.c:192) r4:84e83084 [<813b8be4>] (subdev_8255_io_init) from [<813b8e64>] (dev_8255_attach drivers/comedi/drivers/8255.c:83 [inline]) [<813b8be4>] (subdev_8255_io_init) from [<813b8e64>] (dev_8255_attach+0xbc/0x114 drivers/comedi/drivers/8255.c:46) r7:00000007 r6:dfc1dda8 r5:84101600 r4:84e83084 [<813b8da8>] (dev_8255_attach) from [<813a7d68>] (comedi_device_attach+0x108/0x250 drivers/comedi/drivers.c:1007) r10:82b16f40 r9:00000000 r8:84101600 r7:dfc1dd90 r6:84101644 r5:84101600 r4:829d0144 [<813a7c60>] (comedi_device_attach) from [<813a38b4>] (do_devconfig_ioctl+0x100/0x220 drivers/comedi/comedi_fops.c:872) r10:00000003 r9:40946400 r8:85639800 r7:20000140 r6:b5403587 r5:84101600 r4:20000140 [<813a37b4>] (do_devconfig_ioctl) from [<813a4880>] (comedi_unlocked_ioctl+0x5dc/0x1c50 drivers/comedi/comedi_fops.c:2178) r8:85639800 r7:20000140 r6:20000140 r5:84101600 r4:858943c0 [<813a42a4>] (comedi_unlocked_ioctl) from [<8056cdc8>] (vfs_ioctl fs/ioctl.c:51 [inline]) [<813a42a4>] (comedi_unlocked_ioctl) from [<8056cdc8>] (do_vfs_ioctl fs/ioctl.c:552 [inline]) [<813a42a4>] (comedi_unlocked_ioctl) from [<8056cdc8>] (__do_sys_ioctl fs/ioctl.c:596 [inline]) [<813a42a4>] (comedi_unlocked_ioctl) from [<8056cdc8>] (sys_ioctl+0x130/0xba0 fs/ioctl.c:584) r10:85639800 r9:00000003 r8:858943c0 r7:20000140 r6:858943c1 r5:00000000 r4:40946400 [<8056cc98>] (sys_ioctl) from [<80200060>] (ret_fast_syscall+0x0/0x1c arch/arm/mm/proc-v7.S:67) Exception stack(0xdfc1dfa8 to 0xdfc1dff0) dfa0: 00000000 00000000 00000003 40946400 20000140 00000000 dfc0: 00000000 00000000 002f6308 00000036 002e0000 00000000 00006364 76fcb0bc dfe0: 76fcaec0 76fcaeb0 0001948c 001322c0 r10:00000036 r9:85639800 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