8<--- cut here --- Unable to handle kernel NULL pointer dereference at virtual address 00000018 when write [00000018] *pgd=84cd3003, *pmd=ec9c8003 Internal error: Oops: a05 [#1] PREEMPT SMP ARM Modules linked in: CPU: 1 PID: 10490 Comm: syz-executor.0 Not tainted 6.10.0-rc4-syzkaller #0 Hardware name: ARM-Versatile Express PC is at pagemap_scan_init_bounce_buffer fs/proc/task_mmu.c:2414 [inline] PC is at do_pagemap_scan+0x2ac/0x6f8 fs/proc/task_mmu.c:2460 LR is at kmalloc_noprof include/linux/slab.h:664 [inline] LR is at kmalloc_array_noprof include/linux/slab.h:699 [inline] LR is at pagemap_scan_init_bounce_buffer fs/proc/task_mmu.c:2409 [inline] LR is at do_pagemap_scan+0x278/0x6f8 fs/proc/task_mmu.c:2460 pc : [<805a74c4>] lr : [<805a7490>] psr: 20000013 sp : dfa79e18 ip : dfa79e18 fp : dfa79f04 r10: 00000000 r9 : 00000000 r8 : 00000000 r7 : dfa79e50 r6 : 84040c00 r5 : 20165000 r4 : 84411200 r3 : 20ffb000 r2 : 00000000 r1 : 00000000 r0 : 00000010 Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none Control: 30c5387d Table: 84e24700 DAC: 00000000 Register r0 information: zero-size pointer Register r1 information: NULL pointer Register r2 information: NULL pointer Register r3 information: non-paged memory Register r4 information: slab mm_struct start 84411200 pointer offset 0 size 712 Register r5 information: non-paged memory Register r6 information: slab task_struct start 84040c00 pointer offset 0 size 3072 Register r7 information: 2-page vmalloc region starting at 0xdfa78000 allocated at kernel_clone+0xac/0x3e4 kernel/fork.c:2797 Register r8 information: NULL pointer Register r9 information: NULL pointer Register r10 information: NULL pointer Register r11 information: 2-page vmalloc region starting at 0xdfa78000 allocated at kernel_clone+0xac/0x3e4 kernel/fork.c:2797 Register r12 information: 2-page vmalloc region starting at 0xdfa78000 allocated at kernel_clone+0xac/0x3e4 kernel/fork.c:2797 Process syz-executor.0 (pid: 10490, stack limit = 0xdfa78000) Stack: (0xdfa79e18 to 0xdfa7a000) 9e00: 00000000 00000000 9e20: 00000000 00000000 200004c0 00000001 20165000 00000000 00000000 00000000 9e40: 00000000 00000000 00000000 00000000 00000060 00000000 00000000 00000000 9e60: 20165000 00000000 20ffb000 00000000 00000000 00000000 20000000 00000000 9e80: 00000000 10000000 ffffffff 00000000 00000000 00000000 00000000 00000000 9ea0: 00000000 00000000 00000000 00000000 00000000 00000000 00000010 00000000 9ec0: 00000000 00000000 20000000 00000000 c0606610 254ac03e dfa79ef4 c0606610 9ee0: 00000000 84cfa3c1 200004c0 84cfa3c0 00000003 84040c00 dfa79f14 dfa79f08 9f00: 805a7938 805a7224 dfa79fa4 dfa79f18 8051a27c 805a791c 84040c00 00000001 9f20: ecac8b10 84040c00 dfa79f44 dfa79f38 818f36bc 818f358c dfa79f5c dfa79f48 9f40: 8024d2c4 8027cc04 40000000 dfa79fb0 dfa79f84 dfa79f60 80202dc4 8024d280 9f60: 8261c90c dfa79fb0 0006bf00 ecac8b10 80202cac 254ac03e dfa79fac 00000000 9f80: 00000000 001542c8 00000036 8020029c 84040c00 00000036 00000000 dfa79fa8 9fa0: 80200060 8051a154 00000000 00000000 00000003 c0606610 200004c0 00000000 9fc0: 00000000 00000000 001542c8 00000036 7ecc0336 7ecc0337 003d0f00 76b950fc 9fe0: 76b94f08 76b94ef8 00016f30 000516d0 60000010 00000003 00000000 00000000 Call trace: [<805a7218>] (do_pagemap_scan) from [<805a7938>] (do_pagemap_cmd+0x28/0x34 fs/proc/task_mmu.c:2527) r10:84040c00 r9:00000003 r8:84cfa3c0 r7:200004c0 r6:84cfa3c1 r5:00000000 r4:c0606610 [<805a7910>] (do_pagemap_cmd) from [<8051a27c>] (vfs_ioctl fs/ioctl.c:51 [inline]) [<805a7910>] (do_pagemap_cmd) from [<8051a27c>] (do_vfs_ioctl fs/ioctl.c:861 [inline]) [<805a7910>] (do_pagemap_cmd) from [<8051a27c>] (__do_sys_ioctl fs/ioctl.c:905 [inline]) [<805a7910>] (do_pagemap_cmd) from [<8051a27c>] (sys_ioctl+0x134/0xda4 fs/ioctl.c:893) [<8051a148>] (sys_ioctl) from [<80200060>] (ret_fast_syscall+0x0/0x1c arch/arm/mm/proc-v7.S:67) Exception stack(0xdfa79fa8 to 0xdfa79ff0) 9fa0: 00000000 00000000 00000003 c0606610 200004c0 00000000 9fc0: 00000000 00000000 001542c8 00000036 7ecc0336 7ecc0337 003d0f00 76b950fc 9fe0: 76b94f08 76b94ef8 00016f30 000516d0 r10:00000036 r9:84040c00 r8:8020029c r7:00000036 r6:001542c8 r5:00000000 r4:00000000 Code: e51b309c e51b108c e50b103c e3a01000 (e1c080f8) ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: e51b309c ldr r3, [fp, #-156] @ 0xffffff64 4: e51b108c ldr r1, [fp, #-140] @ 0xffffff74 8: e50b103c str r1, [fp, #-60] @ 0xffffffc4 c: e3a01000 mov r1, #0 * 10: e1c080f8 strd r8, [r0, #8] <-- trapping instruction