8<--- cut here --- Unable to handle kernel NULL pointer dereference at virtual address 00000018 when write [00000018] *pgd=847d9003, *pmd=fe79f003 Internal error: Oops: a05 [#1] PREEMPT SMP ARM Modules linked in: CPU: 0 PID: 3909 Comm: syz-executor.1 Not tainted 6.9.0-syzkaller #0 Hardware name: ARM-Versatile Express PC is at pagemap_scan_init_bounce_buffer fs/proc/task_mmu.c:2409 [inline] PC is at do_pagemap_scan+0x2ac/0x6f8 fs/proc/task_mmu.c:2455 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:2404 [inline] LR is at do_pagemap_scan+0x278/0x6f8 fs/proc/task_mmu.c:2455 pc : [<805a9530>] lr : [<805a94fc>] psr: 20000013 sp : e0a71e18 ip : e0a71e18 fp : e0a71f04 r10: 00000000 r9 : 00000000 r8 : 00000000 r7 : e0a71e50 r6 : 83e36c00 r5 : 00000000 r4 : 8415c000 r3 : 00000000 r2 : 00000000 r1 : 00000000 r0 : 00000010 Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user Control: 30c5387d Table: 84d4cfc0 DAC: fffffffd Register r0 information: zero-size pointer Register r1 information: NULL pointer Register r2 information: NULL pointer Register r3 information: NULL pointer Register r4 information: slab mm_struct start 8415c000 pointer offset 0 size 712 Register r5 information: NULL pointer Register r6 information: slab task_struct start 83e36c00 pointer offset 0 size 3072 Register r7 information: 2-page vmalloc region starting at 0xe0a70000 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 0xe0a70000 allocated at kernel_clone+0xac/0x3e4 kernel/fork.c:2797 Register r12 information: 2-page vmalloc region starting at 0xe0a70000 allocated at kernel_clone+0xac/0x3e4 kernel/fork.c:2797 Process syz-executor.1 (pid: 3909, stack limit = 0xe0a70000) Stack: (0xe0a71e18 to 0xe0a72000) 1e00: 00000000 00000000 1e20: 00000000 00000000 20000040 00000001 00000000 00000000 00000000 00000000 1e40: 00000000 00000000 00000000 00000000 00000060 00000000 00000000 00000000 1e60: 00000000 00000000 00000000 00000000 00000000 00000000 00000007 00000000 1e80: 00000000 00000001 ffffffff 00000000 00000000 00000000 00000000 00000000 1ea0: 00000000 00000000 00000000 00000000 00000000 00000000 00000010 00000000 1ec0: 00000000 00000000 00000007 00000000 c0606610 9f2a2e20 e0a71ef4 c0606610 1ee0: 00000000 84d3e6c1 20000040 84d3e6c0 00000004 83e36c00 e0a71f14 e0a71f08 1f00: 805a99a4 805a9290 e0a71fa4 e0a71f18 8051c364 805a9988 83e36c00 00000001 1f20: ecac8b10 83e36c00 e0a71f44 e0a71f38 819018f4 819017c4 e0a71f5c e0a71f48 1f40: 8024d45c 8027d278 40000000 e0a71fb0 e0a71f84 e0a71f60 80202df4 8024d418 1f60: 8261c90c e0a71fb0 0006bd90 ecac8b10 80202cdc 9f2a2e20 e0a71fac 00000000 1f80: 00000000 0014c2c8 00000036 8020029c 83e36c00 00000036 00000000 e0a71fa8 1fa0: 80200060 8051c23c 00000000 00000000 00000004 c0606610 20000040 00000000 1fc0: 00000000 00000000 0014c2c8 00000036 7ea1e32e 7ea1e32f 003d0f00 76bcf0fc 1fe0: 76bcef08 76bceef8 00016d28 00051560 60000010 00000004 00000000 00000000 Call trace: [<805a9284>] (do_pagemap_scan) from [<805a99a4>] (do_pagemap_cmd+0x28/0x34 fs/proc/task_mmu.c:2522) r10:83e36c00 r9:00000004 r8:84d3e6c0 r7:20000040 r6:84d3e6c1 r5:00000000 r4:c0606610 [<805a997c>] (do_pagemap_cmd) from [<8051c364>] (vfs_ioctl fs/ioctl.c:51 [inline]) [<805a997c>] (do_pagemap_cmd) from [<8051c364>] (do_vfs_ioctl fs/ioctl.c:861 [inline]) [<805a997c>] (do_pagemap_cmd) from [<8051c364>] (__do_sys_ioctl fs/ioctl.c:905 [inline]) [<805a997c>] (do_pagemap_cmd) from [<8051c364>] (sys_ioctl+0x134/0xda4 fs/ioctl.c:893) [<8051c230>] (sys_ioctl) from [<80200060>] (ret_fast_syscall+0x0/0x1c arch/arm/mm/proc-v7.S:67) Exception stack(0xe0a71fa8 to 0xe0a71ff0) 1fa0: 00000000 00000000 00000004 c0606610 20000040 00000000 1fc0: 00000000 00000000 0014c2c8 00000036 7ea1e32e 7ea1e32f 003d0f00 76bcf0fc 1fe0: 76bcef08 76bceef8 00016d28 00051560 r10:00000036 r9:83e36c00 r8:8020029c r7:00000036 r6:0014c2c8 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