8<--- cut here --- Unable to handle kernel paging request at virtual address fee04f27 when write [fee04f27] *pgd=80000080007003, *pmd=00000000 Internal error: Oops: a06 [#1] SMP ARM Modules linked in: CPU: 0 UID: 0 PID: 5079 Comm: syz.1.257 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 parport_attach drivers/comedi/drivers/comedi_parport.c:289 [inline] PC is at parport_attach+0x174/0x1d0 drivers/comedi/drivers/comedi_parport.c:224 LR is at parport_attach drivers/comedi/drivers/comedi_parport.c:289 [inline] LR is at parport_attach+0x164/0x1d0 drivers/comedi/drivers/comedi_parport.c:224 pc : [<813ab008>] lr : [<813aaff8>] psr: 60000013 sp : dfa39d30 ip : dfa39d30 fp : dfa39d54 r10: 82b16f00 r9 : 00000003 r8 : 83ca3480 r7 : dfa39d90 r6 : 83ca3480 r5 : 00000000 r4 : 00000000 r3 : fee04f27 r2 : 81e15444 r1 : 00000001 r0 : 813aac78 Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user Control: 30c5387d Table: 854c4000 DAC: fffffffd Register r0 information: non-slab/vmalloc memory Register r1 information: non-paged memory Register r2 information: non-slab/vmalloc memory Register r3 information: 0-page vmalloc region starting at 0xfee00000 allocated at pci_reserve_io+0x0/0x38 arch/arm/mm/mmu.c:1055 Register r4 information: NULL pointer Register r5 information: NULL pointer Register r6 information: slab kmalloc-192 start 83ca3480 pointer offset 0 size 192 Register r7 information: 2-page vmalloc region starting at 0xdfa38000 allocated at kernel_clone+0xac/0x3ec kernel/fork.c:2605 Register r8 information: slab kmalloc-192 start 83ca3480 pointer offset 0 size 192 Register r9 information: non-paged memory Register r10 information: non-slab/vmalloc memory Register r11 information: 2-page vmalloc region starting at 0xdfa38000 allocated at kernel_clone+0xac/0x3ec kernel/fork.c:2605 Register r12 information: 2-page vmalloc region starting at 0xdfa38000 allocated at kernel_clone+0xac/0x3ec kernel/fork.c:2605 Process syz.1.257 (pid: 5079, stack limit = 0xdfa38000) Stack: (0xdfa39d30 to 0xdfa3a000) 9d20: dfa39d4c dfa39d40 829cf8ec 829cf8ec 9d40: 81e15904 83ca34c4 dfa39d8c dfa39d58 813a70a0 813aaea0 200000c0 00000000 9d60: dfa39d7c 200000c0 83ca3480 b5403587 200000c0 84330c00 40946400 00000003 9d80: dfa39e4c dfa39d90 813a2c20 813a6fa4 656d6f63 705f6964 6f707261 00007472 9da0: 00000000 00004f27 00000000 00000008 00000006 00000005 00000005 00000009 9dc0: 00000007 54c6cff3 000000fd 00000002 00008401 00000006 5da31c5d 00000006 9de0: 00000101 00000000 00000892 0000a418 40000001 00000005 0000caa3 00000008 9e00: 20001e5b 00000000 00000e66 00000004 00000008 00000005 00000000 fffffff8 9e20: 00000000 7f03c46b 00000000 85990840 83ca3480 200000c0 200000c0 84330c00 9e40: dfa39f14 dfa39e50 813a3bec 813a2b2c 00000000 00000000 00000000 7f03c46b 9e60: 00000000 00000000 8247054c 0000005f 83ed9658 83ca34b0 83c8aabc 84330c00 9e80: dfa39ee4 dfa39e90 8079795c 8078dcc0 00000064 00000001 00000000 dfa39eac 9ea0: 85a7c6d0 834d5770 00006400 0000000b dfa39ea0 00000000 00000000 7f03c46b 9ec0: 85990840 40946400 200000c0 200000c0 85990840 00000003 dfa39ef4 dfa39ee8 9ee0: 80797a7c 7f03c46b dfa39f14 40946400 00000000 85990841 200000c0 85990840 9f00: 00000003 84330c00 dfa39fa4 dfa39f18 8056cf18 813a361c ecac8b10 84330c00 9f20: dfa39f3c dfa39f30 81a388b8 81a38788 dfa39f54 dfa39f40 8025e490 8028ef8c 9f40: dfa39fb0 40000000 dfa39f84 dfa39f58 802229ec 8025e44c 00000000 8281cddc 9f60: dfa39fb0 0014c820 ecac8b10 80222940 00000000 7f03c46b dfa39fac 00000000 9f80: 00000000 002f6308 00000036 8020029c 84330c00 00000036 00000000 dfa39fa8 9fa0: 80200060 8056cdf4 00000000 00000000 00000003 40946400 200000c0 00000000 9fc0: 00000000 00000000 002f6308 00000036 002e0000 00000000 00006364 76f0e0bc 9fe0: 76f0dec0 76f0deb0 0001948c 001322c0 60000010 00000003 00000000 00000000 Call trace: [<813aae94>] (parport_attach) from [<813a70a0>] (comedi_device_attach+0x108/0x250 drivers/comedi/drivers.c:1006) r6:83ca34c4 r5:81e15904 r4:829cf8ec [<813a6f98>] (comedi_device_attach) from [<813a2c20>] (do_devconfig_ioctl+0x100/0x220 drivers/comedi/comedi_fops.c:872) r10:00000003 r9:40946400 r8:84330c00 r7:200000c0 r6:b5403587 r5:83ca3480 r4:200000c0 [<813a2b20>] (do_devconfig_ioctl) from [<813a3bec>] (comedi_unlocked_ioctl+0x5dc/0x1c24 drivers/comedi/comedi_fops.c:2173) r8:84330c00 r7:200000c0 r6:200000c0 r5:83ca3480 r4:85990840 [<813a3610>] (comedi_unlocked_ioctl) from [<8056cf18>] (vfs_ioctl fs/ioctl.c:51 [inline]) [<813a3610>] (comedi_unlocked_ioctl) from [<8056cf18>] (do_vfs_ioctl fs/ioctl.c:552 [inline]) [<813a3610>] (comedi_unlocked_ioctl) from [<8056cf18>] (__do_sys_ioctl fs/ioctl.c:596 [inline]) [<813a3610>] (comedi_unlocked_ioctl) from [<8056cf18>] (sys_ioctl+0x130/0xba0 fs/ioctl.c:584) r10:84330c00 r9:00000003 r8:85990840 r7:200000c0 r6:85990841 r5:00000000 r4:40946400 [<8056cde8>] (sys_ioctl) from [<80200060>] (ret_fast_syscall+0x0/0x1c arch/arm/mm/proc-v7.S:67) Exception stack(0xdfa39fa8 to 0xdfa39ff0) 9fa0: 00000000 00000000 00000003 40946400 200000c0 00000000 9fc0: 00000000 00000000 002f6308 00000036 002e0000 00000000 00006364 76f0e0bc 9fe0: 76f0dec0 76f0deb0 0001948c 001322c0 r10:00000036 r9:84330c00 r8:8020029c r7:00000036 r6:002f6308 r5:00000000 r4:00000000 Code: e596306c e3a04000 e7f33053 e2433612 (e5c34000) ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: e596306c ldr r3, [r6, #108] @ 0x6c 4: e3a04000 mov r4, #0 8: e7f33053 ubfx r3, r3, #0, #20 c: e2433612 sub r3, r3, #18874368 @ 0x1200000 * 10: e5c34000 strb r4, [r3] <-- trapping instruction