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: 8162 Comm: syz.1.996 Not tainted 6.16.0-rc7-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 : [<8139f1a8>] lr : [<8139f194>] psr: 60000013 sp : e0685cc0 ip : e0685cc0 fp : e0685cdc r10: 00000001 r9 : 00000000 r8 : 00000084 r7 : 00000005 r6 : 0000009b r5 : 840c83c0 r4 : 00000008 r3 : 0000009b r2 : fee00008 r1 : 00000001 r0 : 840c83c0 Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none Control: 30c5387d Table: 85edfbc0 DAC: 00000000 Register r0 information: slab kmalloc-192 start 840c83c0 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 840c83c0 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 0xe0684000 allocated at kernel_clone+0xac/0x3e4 kernel/fork.c:2599 Register r12 information: 2-page vmalloc region starting at 0xe0684000 allocated at kernel_clone+0xac/0x3e4 kernel/fork.c:2599 Process syz.1.996 (pid: 8162, stack limit = 0xe0684000) Stack: (0xe0685cc0 to 0xe0686000) 5cc0: 8139f148 840c83c0 00000005 00000005 e0685cfc e0685ce0 8139ee80 8139f154 5ce0: 00000005 80500f20 85892084 85892084 e0685d1c e0685d00 8139f240 8139ee34 5d00: 85892084 840c83c0 e0685db0 00000005 e0685d5c e0685d20 8139f434 8139f1c0 5d20: 00000013 85d25080 82822670 00000000 00000000 829c53b0 840c83c0 00000000 5d40: e0685d98 840c83c0 00000000 82b14ef8 e0685d94 e0685d60 8138e344 8139f384 5d60: 200000c0 00000000 e0685d84 200000c0 840c83c0 b5403587 200000c0 85446000 5d80: 40946400 00000003 e0685e4c e0685d98 81389f10 8138e24c 35353238 00000000 5da0: 00000000 00000000 00000000 00404f26 00000005 00000002 00000401 0000000c 5dc0: 00000cc7 00000fff 5c95239c 00000005 000003bf 00000802 00001600 00000001 5de0: 20000001 00000009 0000e1cb 00000006 00000004 00000400 00000195 00000006 5e00: 00000000 0000000b 00000402 00000009 00000003 00000040 00000005 00000004 5e20: 08000003 dffffffa 00000000 92d9a440 00000000 856a5e40 840c83c0 200000c0 5e40: e0685f14 e0685e50 8138aec4 81389e44 00000000 00000000 00000000 92d9a440 5e60: 00000000 00000000 824693fc 0000005f 83db3658 840c83f0 83fa6b94 85446000 5e80: e0685ee4 e0685e90 8078f7bc 80785aac 00000064 00000001 00000000 e0685eac 5ea0: 856843d0 834e5b28 00006400 0000000b e0685ea0 00000000 00000000 92d9a440 5ec0: 856a5e40 40946400 200000c0 200000c0 00000003 856a5e40 e0685ef4 e0685ee8 5ee0: 8078f8dc 92d9a440 e0685f14 40946400 00000000 856a5e41 200000c0 00000003 5f00: 856a5e40 85446000 e0685fa4 e0685f18 805679c4 8138a8f4 ecac8b10 85446000 5f20: e0685f3c e0685f30 81a24bcc 81a24a9c e0685f54 e0685f40 80261ffc 80293598 5f40: e0685fb0 40000000 e0685f84 e0685f58 802229ec 80261fb8 00000000 8281d09c 5f60: e0685fb0 0014c520 ecac8b10 80222940 00000000 92d9a440 e0685fac 00000000 5f80: 00000000 002f6300 00000036 8020029c 85446000 00000036 00000000 e0685fa8 5fa0: 80200060 805678a0 00000000 00000000 00000003 40946400 200000c0 00000000 5fc0: 00000000 00000000 002f6300 00000036 002e0000 00000000 00006364 76b860bc 5fe0: 76b85ec0 76b85eb0 000193a4 00131fc0 60000010 00000003 00000000 00000000 Call trace: [<8139f148>] (subdev_8255_io) from [<8139ee80>] (subdev_8255_do_config+0x58/0x60 drivers/comedi/drivers/comedi_8255.c:115) r7:00000005 r6:00000005 r5:840c83c0 r4:8139f148 [<8139ee28>] (subdev_8255_do_config) from [<8139f240>] (__subdev_8255_init drivers/comedi/drivers/comedi_8255.c:172 [inline]) [<8139ee28>] (subdev_8255_do_config) from [<8139f240>] (subdev_8255_io_init+0x8c/0x9c drivers/comedi/drivers/comedi_8255.c:192) r4:85892084 [<8139f1b4>] (subdev_8255_io_init) from [<8139f434>] (dev_8255_attach drivers/comedi/drivers/8255.c:83 [inline]) [<8139f1b4>] (subdev_8255_io_init) from [<8139f434>] (dev_8255_attach+0xbc/0x114 drivers/comedi/drivers/8255.c:46) r7:00000005 r6:e0685db0 r5:840c83c0 r4:85892084 [<8139f378>] (dev_8255_attach) from [<8138e344>] (comedi_device_attach+0x104/0x240 drivers/comedi/drivers.c:999) r10:82b14ef8 r9:00000000 r8:840c83c0 r7:e0685d98 r6:00000000 r5:840c83c0 r4:829c53b0 [<8138e240>] (comedi_device_attach) from [<81389f10>] (do_devconfig_ioctl+0xd8/0x1e0 drivers/comedi/comedi_fops.c:855) r10:00000003 r9:40946400 r8:85446000 r7:200000c0 r6:b5403587 r5:840c83c0 r4:200000c0 [<81389e38>] (do_devconfig_ioctl) from [<8138aec4>] (comedi_unlocked_ioctl+0x5dc/0x1c24 drivers/comedi/comedi_fops.c:2156) r6:200000c0 r5:840c83c0 r4:856a5e40 [<8138a8e8>] (comedi_unlocked_ioctl) from [<805679c4>] (vfs_ioctl fs/ioctl.c:51 [inline]) [<8138a8e8>] (comedi_unlocked_ioctl) from [<805679c4>] (do_vfs_ioctl fs/ioctl.c:861 [inline]) [<8138a8e8>] (comedi_unlocked_ioctl) from [<805679c4>] (__do_sys_ioctl fs/ioctl.c:905 [inline]) [<8138a8e8>] (comedi_unlocked_ioctl) from [<805679c4>] (sys_ioctl+0x130/0xdc8 fs/ioctl.c:893) r10:85446000 r9:856a5e40 r8:00000003 r7:200000c0 r6:856a5e41 r5:00000000 r4:40946400 [<80567894>] (sys_ioctl) from [<80200060>] (ret_fast_syscall+0x0/0x1c arch/arm/mm/proc-v7.S:67) Exception stack(0xe0685fa8 to 0xe0685ff0) 5fa0: 00000000 00000000 00000003 40946400 200000c0 00000000 5fc0: 00000000 00000000 002f6300 00000036 002e0000 00000000 00006364 76b860bc 5fe0: 76b85ec0 76b85eb0 000193a4 00131fc0 r10:00000036 r9:85446000 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