1fc0: 00000000 00000000 00029734 00000036 7ef7d312 76f856d0 7ef7d4a4 76f8520c 1fe0: 76f85020 76f85010 000163a0 0004bf80 r10:00000036 r9:851eb980 r8:802002a4 r7:00000036 r6:00029734 r5:00000000 r4:00000000 8<--- cut here --- Unable to handle kernel NULL pointer dereference at virtual address 0000001c [0000001c] *pgd=8583a003, *pmd=fe686003 Internal error: Oops: 207 [#1] PREEMPT SMP ARM Modules linked in: CPU: 1 PID: 28082 Comm: syz-executor.1 Not tainted 5.17.0-rc8-syzkaller #0 Hardware name: ARM-Versatile Express PC is at atomic_read include/linux/atomic/atomic-instrumented.h:28 [inline] PC is at page_ref_count include/linux/page_ref.h:67 [inline] PC is at put_page_testzero include/linux/mm.h:717 [inline] PC is at __free_pages+0xc/0xd8 mm/page_alloc.c:5473 LR is at watch_queue_set_size+0x18c/0x1b8 kernel/watch_queue.c:275 pc : [<80444378>] lr : [<803d9bc4>] psr: 60000013 sp : 8a581ea0 ip : 8a581ec0 fp : 8a581ebc r10: 85494a40 r9 : 85494c80 r8 : 00000000 r7 : 85494c80 r6 : 00000001 r5 : 852e2b80 r4 : 00000001 r3 : 00000000 r2 : 00000000 r1 : 00000000 r0 : 00000000 Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none Control: 30c5387d Table: 85581840 DAC: 00000000 Register r0 information: NULL pointer Register r1 information: NULL pointer Register r2 information: NULL pointer Register r3 information: NULL pointer Register r4 information: non-paged memory Register r5 information: slab kmalloc-cg-128 start 852e2b80 pointer offset 0 size 128 Register r6 information: non-paged memory Register r7 information: slab kmalloc-64 start 85494c80 pointer offset 0 size 64 Register r8 information: NULL pointer Register r9 information: slab kmalloc-64 start 85494c80 pointer offset 0 size 64 Register r10 information: slab kmalloc-64 start 85494a40 pointer offset 0 size 64 Register r11 information: non-slab/vmalloc memory Register r12 information: non-slab/vmalloc memory Process syz-executor.1 (pid: 28082, stack limit = 0x8a580000) Stack: (0x8a581ea0 to 0x8a582000) 1ea0: 00000001 852e2b80 00000001 85494c80 8a581ef4 8a581ec0 803d9bc4 80444378 1ec0: 00000020 85494c80 8a581eb8 00005760 00000015 852e2b80 00000015 85836180 1ee0: 00000003 849c7b00 8a581f14 8a581ef8 80497540 803d9a44 00005760 00000000 1f00: 85836181 00000015 8a581fa4 8a581f18 804a4910 804974ec 820a55ec 8209f3b0 1f20: 00029734 851eb980 851ec0a0 820a55f0 00000036 60000010 820a55e8 851eb980 1f40: 820a55f0 00000036 8a581f64 8a581f58 816dafd0 816dae9c 8a581f84 8a581f68 1f60: 816dad58 816dafc0 60000013 00000000 00029734 e7cfbc9f 8a581f9c 00000000 1f80: 00000000 00029734 00000036 802002a4 851eb980 00000036 00000000 8a581fa8 1fa0: 80200060 804a480c 00000000 00000000 00000003 00005760 00000015 00000000 1fc0: 00000000 00000000 00029734 00000036 7ef7d312 76f856d0 7ef7d4a4 76f8520c 1fe0: 76f85020 76f85010 000163a0 0004bf80 60000010 00000003 00000000 00000000 Backtrace: [<8044436c>] (__free_pages) from [<803d9bc4>] (watch_queue_set_size+0x18c/0x1b8 kernel/watch_queue.c:275) r7:85494c80 r6:00000001 r5:852e2b80 r4:00000001 [<803d9a38>] (watch_queue_set_size) from [<80497540>] (pipe_ioctl+0x60/0x100 fs/pipe.c:632) r10:849c7b00 r9:00000003 r8:85836180 r7:00000015 r6:852e2b80 r5:00000015 r4:00005760 [<804974e0>] (pipe_ioctl) from [<804a4910>] (vfs_ioctl fs/ioctl.c:51 [inline]) [<804974e0>] (pipe_ioctl) from [<804a4910>] (do_vfs_ioctl fs/ioctl.c:834 [inline]) [<804974e0>] (pipe_ioctl) from [<804a4910>] (__do_sys_ioctl fs/ioctl.c:872 [inline]) [<804974e0>] (pipe_ioctl) from [<804a4910>] (sys_ioctl+0x110/0xaa0 fs/ioctl.c:860) r7:00000015 r6:85836181 r5:00000000 r4:00005760 [<804a4800>] (sys_ioctl) from [<80200060>] (ret_fast_syscall+0x0/0x1c arch/arm/mm/proc-v7.S:64) Exception stack(0x8a581fa8 to 0x8a581ff0) 1fa0: 00000000 00000000 00000003 00005760 00000015 00000000 1fc0: 00000000 00000000 00029734 00000036 7ef7d312 76f856d0 7ef7d4a4 76f8520c 1fe0: 76f85020 76f85010 000163a0 0004bf80 r10:00000036 r9:851eb980 r8:802002a4 r7:00000036 r6:00029734 r5:00000000 r4:00000000 Code: e7f001f2 e1a0c00d e92dd8f0 e24cb004 (e590301c) ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: e7f001f2 udf #18 4: e1a0c00d mov ip, sp 8: e92dd8f0 push {r4, r5, r6, r7, fp, ip, lr, pc} c: e24cb004 sub fp, ip, #4 * 10: e590301c ldr r3, [r0, #28] <-- trapping instruction