8<--- cut here --- Unable to handle kernel NULL pointer dereference at virtual address 00000000 when read [00000000] *pgd=8542c003, *pmd=fe659003 Internal error: Oops: 205 [#1] PREEMPT SMP ARM Modules linked in: CPU: 0 PID: 5769 Comm: syz.1.349 Not tainted 6.10.0-rc7-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 : [<804810b0>] lr : [<808067e4>] psr: 60000013 sp : dfaa5c18 ip : dfaa5c28 fp : dfaa5c24 r10: 00000018 r9 : 8285f4e8 r8 : 00000000 r7 : 00000000 r6 : 00000000 r5 : 00000000 r4 : 8546a000 r3 : 00c00000 r2 : 0000071f r1 : 00000000 r0 : 00000000 Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user Control: 30c5387d Table: 849e2d80 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 8546a000 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 0xdfaa4000 allocated at kernel_clone+0xac/0x3e4 kernel/fork.c:2797 Register r12 information: 2-page vmalloc region starting at 0xdfaa4000 allocated at kernel_clone+0xac/0x3e4 kernel/fork.c:2797 Process syz.1.349 (pid: 5769, stack limit = 0xdfaa4000) Stack: (0xdfaa5c18 to 0xdfaa6000) 5c00: dfaa5c5c dfaa5c28 5c20: 808067e4 804810b0 dfaa5c4c dfaa5ef0 8024d2a4 8546a000 8546a000 00000000 5c40: 00000000 00000000 00000041 00000018 dfaa5cac dfaa5c60 814620fc 808066f8 5c60: 40000013 844711c0 85433200 854332e0 84143c00 854332e8 dfaa5ef0 00000000 5c80: dfaa5cac 84143c00 00000041 85433200 8347d400 00000001 00000000 00000000 5ca0: dfaa5d1c dfaa5cb0 81689be8 81462018 00000000 dfaa5ee0 00000000 854332e0 5cc0: 854332d0 7fffffff 84143c88 854332fc 84143e34 dfaa5ee0 00000000 8347d400 5ce0: 802a492c 00000100 00000122 44983563 dfaa5d1c 81689a98 20000d60 84471180 5d00: 81688948 00000000 00000000 dfaa5d4c dfaa5d3c dfaa5d20 81688980 81689aa4 5d20: 00000000 20000d40 84471180 dfaa5ee0 dfaa5dfc dfaa5d40 813d13d8 81688954 5d40: 00000001 00000000 dfaa5d8c 00000000 00000000 00000000 00000000 00000000 5d60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 5d80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 5da0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 5dc0: 00000000 00000000 00000000 44983563 00000000 00000000 dfaa5ee0 20000d60 5de0: 00000000 84471180 8347d400 b5403587 dfaa5e7c dfaa5e00 813d43ec 813d1284 5e00: 00000000 00000001 dfaa5ea4 00000000 00000000 20000500 00000041 00000000 5e20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 5e40: 00000000 00000000 00000000 00000000 00000000 44983563 dfaa5e7c dfaa5ec0 5e60: 20000d60 00000001 00000000 00000000 dfaa5f5c dfaa5e80 813d4520 813d4370 5e80: 00000001 00000000 00000000 b5003500 00000002 84471180 00000001 00000000 5ea0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 5ec0: 00000000 00000000 00000000 00000000 00000000 00000000 dfaa5f04 dfaa5ee8 5ee0: dfaa5d4c 00000000 00000000 00000000 00000000 00000000 20000500 00000041 5f00: 00000001 00000000 00000000 00000001 00000000 00000000 00000000 00000000 5f20: 00000000 00000000 dfaa5f44 44983563 818f3c94 00000005 20000d40 00000000 5f40: 00000000 00000002 8347d400 0000016d dfaa5fa4 dfaa5f60 813d4f0c 813d442c 5f60: 00000000 dfaa5fb0 00000000 00000000 00000000 00000000 dfaa5fac 44983563 5f80: 8020c910 00000000 00000000 002642e8 0000016d 8020029c 00000000 dfaa5fa8 5fa0: 80200060 813d4e54 00000000 00000000 00000005 20000d40 00000002 00000000 5fc0: 00000000 00000000 002642e8 0000016d 7edf6766 7edf6767 003d0f00 76b8b0bc 5fe0: 76b8aec8 76b8aeb8 00018394 001304d0 60000010 00000005 00000000 00000000 Call trace: [<804810a4>] (__kmap_local_page_prot) from [<808067e4>] (kmap_local_page include/linux/highmem-internal.h:73 [inline]) [<804810a4>] (__kmap_local_page_prot) from [<808067e4>] (copy_page_to_iter+0xf8/0x184 lib/iov_iter.c:360) [<808066ec>] (copy_page_to_iter) from [<814620fc>] (sk_msg_recvmsg+0xf0/0x3cc net/core/skmsg.c:437) r10:00000018 r9:00000041 r8:00000000 r7:00000000 r6:00000000 r5:8546a000 r4:8546a000 [<8146200c>] (sk_msg_recvmsg) from [<81689be8>] (unix_bpf_recvmsg net/unix/unix_bpf.c:73 [inline]) [<8146200c>] (sk_msg_recvmsg) from [<81689be8>] (unix_bpf_recvmsg+0x150/0x444 net/unix/unix_bpf.c:50) r10:00000000 r9:00000000 r8:00000001 r7:8347d400 r6:85433200 r5:00000041 r4:84143c00 [<81689a98>] (unix_bpf_recvmsg) from [<81688980>] (unix_dgram_recvmsg+0x38/0x4c net/unix/af_unix.c:2488) r10:dfaa5d4c r9:00000000 r8:00000000 r7:81688948 r6:84471180 r5:20000d60 r4:81689a98 [<81688948>] (unix_dgram_recvmsg) from [<813d13d8>] (sock_recvmsg_nosec net/socket.c:1046 [inline]) [<81688948>] (unix_dgram_recvmsg) from [<813d13d8>] (____sys_recvmsg+0x160/0x184 net/socket.c:2802) r4:dfaa5ee0 [<813d1278>] (____sys_recvmsg) from [<813d43ec>] (___sys_recvmsg+0x88/0xbc net/socket.c:2846) r10:b5403587 r9:8347d400 r8:84471180 r7:00000000 r6:20000d60 r5:dfaa5ee0 r4:00000000 [<813d4364>] (___sys_recvmsg) from [<813d4520>] (do_recvmmsg+0x100/0x2d0 net/socket.c:2940) r8:00000000 r7:00000000 r6:00000001 r5:20000d60 r4:dfaa5ec0 [<813d4420>] (do_recvmmsg) from [<813d4f0c>] (__sys_recvmmsg net/socket.c:3019 [inline]) [<813d4420>] (do_recvmmsg) from [<813d4f0c>] (__do_sys_recvmmsg_time32 net/socket.c:3053 [inline]) [<813d4420>] (do_recvmmsg) from [<813d4f0c>] (sys_recvmmsg_time32+0xc4/0xd8 net/socket.c:3046) r10:0000016d r9:8347d400 r8:00000002 r7:00000000 r6:00000000 r5:20000d40 r4:00000005 [<813d4e48>] (sys_recvmmsg_time32) from [<80200060>] (ret_fast_syscall+0x0/0x1c arch/arm/mm/proc-v7.S:67) Exception stack(0xdfaa5fa8 to 0xdfaa5ff0) 5fa0: 00000000 00000000 00000005 20000d40 00000002 00000000 5fc0: 00000000 00000000 002642e8 0000016d 7edf6766 7edf6767 003d0f00 76b8b0bc 5fe0: 76b8aec8 76b8aeb8 00018394 001304d0 r8:8020029c r7:0000016d r6:002642e8 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