8<--- cut here --- Unable to handle kernel NULL pointer dereference at virtual address 00000000 when read [00000000] *pgd=854c7003, *pmd=fe625003 Internal error: Oops: 205 [#1] PREEMPT SMP ARM Modules linked in: CPU: 0 PID: 5205 Comm: syz.1.390 Not tainted 6.10.0-rc6-syzkaller #0 Hardware name: ARM-Versatile Express PC is at page_zonenum include/linux/mmzone.h:1102 [inline] PC is at __kmap_local_page_prot+0xc/0x74 mm/highmem.c:573 LR is at kmap_local_page include/linux/highmem-internal.h:73 [inline] LR is at copy_page_to_iter+0xf8/0x184 lib/iov_iter.c:360 pc : [<804810d0>] lr : [<808067d4>] psr: 60000013 sp : e0459ca0 ip : e0459cb0 fp : e0459cac r10: 00000018 r9 : 8285f4e8 r8 : 00000000 r7 : 00000000 r6 : 00000000 r5 : 00000000 r4 : 84fb4000 r3 : 00c00000 r2 : 0000071f r1 : 00000000 r0 : 00000000 Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user Control: 30c5387d Table: 84f181c0 DAC: fffffffd Register r0 information: NULL pointer Register r1 information: NULL pointer Register r2 information: non-paged memory Register r3 information: non-paged memory Register r4 information: slab kmalloc-1k start 84fb4000 pointer offset 0 size 1024 Register r5 information: NULL pointer Register r6 information: NULL pointer Register r7 information: NULL pointer Register r8 information: NULL pointer Register r9 information: non-slab/vmalloc memory Register r10 information: non-paged memory Register r11 information: 2-page vmalloc region starting at 0xe0458000 allocated at kernel_clone+0xac/0x3e4 kernel/fork.c:2797 Register r12 information: 2-page vmalloc region starting at 0xe0458000 allocated at kernel_clone+0xac/0x3e4 kernel/fork.c:2797 Process syz.1.390 (pid: 5205, stack limit = 0xe0458000) Stack: (0xe0459ca0 to 0xe045a000) 9ca0: e0459ce4 e0459cb0 808067d4 804810d0 e0459cd4 e0459f48 8024d29c 84fb4000 9cc0: 84fb4000 00000000 00000001 00000000 000000c7 00000018 e0459d34 e0459ce8 9ce0: 81461fc4 808066e8 00000000 3a4ddeba 8513b800 8513b8e0 83f1f300 8513b8e8 9d00: e0459f48 00000002 e0459d8c 83f1f300 000000c7 8513b800 84122400 00000000 9d20: 00000102 00000000 e0459da4 e0459d38 81689af0 81461ee0 00000102 00000000 9d40: 00000000 00000000 00000000 00000000 83f1f388 8513b8fc 83f1f534 e0459f38 9d60: 00000000 3a4ddeba 818f6a18 821cb998 00000102 3a4ddeba e0459f38 816899a0 9d80: e0459f38 831f2780 00000102 00000000 00000102 e0459df4 e0459dc4 e0459da8 9da0: 81688838 816899ac 00000000 00000102 00000000 81688800 e0459de4 e0459dc8 9dc0: 813d1084 8168880c e0459f38 200004c0 831f2780 00000000 e0459ea4 e0459de8 9de0: 813d1288 813d1040 00000001 00000000 e0459e34 00000000 00000000 00000000 9e00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 9e20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 9e40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 9e60: 00000000 00000000 00000000 00000000 00000000 3a4ddeba 00000000 00000000 9e80: e0459f38 200004c0 00000102 831f2780 84122400 00000129 e0459f24 e0459ea8 9ea0: 813d436c 813d1204 00000102 00000000 802873d4 00000000 00000000 200002c0 9ec0: 000000c7 00000000 00000000 00000000 00000000 00000000 00000000 00000000 9ee0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 3a4ddeba 9f00: e0459f24 831f2780 00000000 200004c0 00000102 8020029c e0459fa4 e0459f28 9f20: 813d4b4c 813d42f0 00000000 e0459f38 00000001 fffffff7 e0459df4 00000000 9f40: 00000000 00000000 00000000 00000001 200002c0 000000c6 00000001 00000000 9f60: 00000000 00000001 00000000 00000000 00000000 00000000 00000000 00000000 9f80: 8020c910 3a4ddeba 00000000 00000000 002642e0 00000129 00000000 e0459fa8 9fa0: 80200060 813d4ae4 00000000 00000000 00000003 200004c0 00000102 00000000 9fc0: 00000000 00000000 002642e0 00000129 7e9d8776 7e9d8777 003d0f00 76b270bc 9fe0: 76b26ec8 76b26eb8 00017ecc 00130aa0 60000010 00000003 00000000 00000000 Call trace: [<804810c4>] (__kmap_local_page_prot) from [<808067d4>] (kmap_local_page include/linux/highmem-internal.h:73 [inline]) [<804810c4>] (__kmap_local_page_prot) from [<808067d4>] (copy_page_to_iter+0xf8/0x184 lib/iov_iter.c:360) [<808066dc>] (copy_page_to_iter) from [<81461fc4>] (sk_msg_recvmsg+0xf0/0x3cc net/core/skmsg.c:437) r10:00000018 r9:000000c7 r8:00000000 r7:00000001 r6:00000000 r5:84fb4000 r4:84fb4000 [<81461ed4>] (sk_msg_recvmsg) from [<81689af0>] (unix_bpf_recvmsg net/unix/unix_bpf.c:73 [inline]) [<81461ed4>] (sk_msg_recvmsg) from [<81689af0>] (unix_bpf_recvmsg+0x150/0x444 net/unix/unix_bpf.c:50) r10:00000000 r9:00000102 r8:00000000 r7:84122400 r6:8513b800 r5:000000c7 r4:83f1f300 [<816899a0>] (unix_bpf_recvmsg) from [<81688838>] (unix_dgram_recvmsg+0x38/0x4c net/unix/af_unix.c:2488) r10:e0459df4 r9:00000102 r8:00000000 r7:00000102 r6:831f2780 r5:e0459f38 r4:816899a0 [<81688800>] (unix_dgram_recvmsg) from [<813d1084>] (sock_recvmsg_nosec net/socket.c:1046 [inline]) [<81688800>] (unix_dgram_recvmsg) from [<813d1084>] (sock_recvmsg+0x50/0x78 net/socket.c:1068) r4:81688800 [<813d1034>] (sock_recvmsg) from [<813d1288>] (____sys_recvmsg+0x90/0x184 net/socket.c:2804) r7:00000000 r6:831f2780 r5:200004c0 r4:e0459f38 [<813d11f8>] (____sys_recvmsg) from [<813d436c>] (___sys_recvmsg+0x88/0xbc net/socket.c:2846) r10:00000129 r9:84122400 r8:831f2780 r7:00000102 r6:200004c0 r5:e0459f38 r4:00000000 [<813d42e4>] (___sys_recvmsg) from [<813d4b4c>] (__sys_recvmsg net/socket.c:2876 [inline]) [<813d42e4>] (___sys_recvmsg) from [<813d4b4c>] (__do_sys_recvmsg net/socket.c:2886 [inline]) [<813d42e4>] (___sys_recvmsg) from [<813d4b4c>] (sys_recvmsg+0x74/0xb8 net/socket.c:2883) r8:8020029c r7:00000102 r6:200004c0 r5:00000000 r4:831f2780 [<813d4ad8>] (sys_recvmsg) from [<80200060>] (ret_fast_syscall+0x0/0x1c arch/arm/mm/proc-v7.S:67) Exception stack(0xe0459fa8 to 0xe0459ff0) 9fa0: 00000000 00000000 00000003 200004c0 00000102 00000000 9fc0: 00000000 00000000 002642e0 00000129 7e9d8776 7e9d8777 003d0f00 76b270bc 9fe0: 76b26ec8 76b26eb8 00017ecc 00130aa0 r7:00000129 r6:002642e0 r5:00000000 r4:00000000 Code: eaffffe8 e1a0c00d e92dd800 e24cb004 (e5901000) ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: eaffffe8 b 0xffffffa8 4: e1a0c00d mov ip, sp 8: e92dd800 push {fp, ip, lr, pc} c: e24cb004 sub fp, ip, #4 * 10: e5901000 ldr r1, [r0] <-- trapping instruction