syzbot


BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot

Status: upstream: reported C repro on 2023/10/04 17:50
Subsystems: mm
[Documentation on labels]
Reported-by: syzbot+b18872ea9631b5dcef3b@syzkaller.appspotmail.com
First crash: 374d, last: 89d
Discussions (5)
Title Replies (including bot) Last reply
[syzbot] Monthly mm report (May 2024) 0 (1) 2024/05/31 06:48
[syzbot] Monthly mm report (Apr 2024) 0 (1) 2024/04/29 12:35
[syzbot] [mm?] BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot 0 (3) 2024/04/16 00:36
[syzbot] Monthly mm report (Mar 2024) 0 (1) 2024/03/19 21:40
[syzbot] Monthly mm report (Jan 2024) 0 (1) 2024/01/17 09:21
Last patch testing requests (5)
Created Duration User Patch Repo Result
2024/10/03 10:04 16m retest repro upstream report log
2024/10/03 09:38 17m retest repro upstream report log
2024/07/25 09:07 17m retest repro upstream report log
2024/07/25 09:07 25m retest repro upstream report log
2024/04/16 00:36 6m andrew.kanner@gmail.com upstream report log

Sample crash report:
8<--- cut here ---
Unable to handle kernel NULL pointer dereference at virtual address 00000000 when read
[00000000] *pgd=83798003, *pmd=fe6bd003
Internal error: Oops: 207 [#1] PREEMPT SMP ARM
Modules linked in:
CPU: 1 PID: 3002 Comm: syz-executor504 Not tainted 6.9.0-rc3-syzkaller #0
Hardware name: ARM-Versatile Express
PC is at page_zonenum include/linux/mmzone.h:1100 [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 : [<80479f08>]    lr : [<807e99cc>]    psr: 60000013
sp : df96dca0  ip : df96dcb0  fp : df96dcac
r10: 00000018  r9 : 8285a4e8  r8 : 00000000
r7 : 00000000  r6 : 00000000  r5 : 00000000  r4 : 8440a800
r3 : 00c00000  r2 : 0000071f  r1 : 00000000  r0 : 00000000
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
Control: 30c5387d  Table: 84781040  DAC: 00000000
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 8440a800 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 0xdf96c000 allocated at kernel_clone+0xac/0x3cc kernel/fork.c:2796
Register r12 information: 2-page vmalloc region starting at 0xdf96c000 allocated at kernel_clone+0xac/0x3cc kernel/fork.c:2796
Process syz-executor504 (pid: 3002, stack limit = 0xdf96c000)
Stack: (0xdf96dca0 to 0xdf96e000)
dca0: df96dce4 df96dcb0 807e99cc 80479f08 df96dcd4 df96df48 8024c880 8440a800
dcc0: 8440a800 00000000 00000000 00000000 000000d4 00000018 df96dd34 df96dce8
dce0: 8143329c 807e98e0 00000000 582a563e 83fbb400 83fbb4d0 835fc900 83fbb4d8
dd00: df96df48 00000000 df96dd8c 835fc900 000000d4 83fbb400 841c5400 00000000
dd20: 00000000 00000000 df96dda4 df96dd38 81655f50 814331b8 00000000 00000000
dd40: 00000000 00000000 00000000 00000000 835fc988 83fbb4ec 835fcb34 df96df38
dd60: 00000000 582a563e df96dd94 821a9848 00000000 582a563e df96df38 81655e00
dd80: df96df38 83349680 00000000 00000000 00000000 df96ddf4 df96ddc4 df96dda8
dda0: 81654fcc 81655e0c 00000000 00000000 00000000 81654f94 df96dde4 df96ddc8
ddc0: 813a287c 81654fa0 df96df38 83349680 200001c0 00000000 df96dea4 df96dde8
dde0: 813a2a7c 813a2838 00000000 00000000 00000001 00000000 00000000 00000000
de00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
de20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
de40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
de60: 00000000 00000000 00000000 00000000 00000000 582a563e 00000000 00000000
de80: df96df38 200001c0 00000000 83349680 841c5400 00000129 df96df24 df96dea8
dea0: 813a59c0 813a29f8 00000000 00000000 00000000 00000000 00000000 20000280
dec0: 000000d4 00000000 00000000 00000000 00000000 00000000 00000000 00000000
dee0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 582a563e
df00: df96df24 83349680 00000000 200001c0 00000000 80200288 df96dfa4 df96df28
df20: 813a613c 813a5944 00000000 00000000 00000000 fffffff7 df96ddf4 00000000
df40: 00000000 00000000 00000000 00000000 20000280 000000d4 00000001 00000000
df60: 00000000 00000001 00000000 00000000 00000000 00000000 00000000 00000000
df80: df96dfa4 582a563e ffffffff 00000000 0008e070 00000129 00000000 df96dfa8
dfa0: 80200060 813a60d4 ffffffff 00000000 00000003 200001c0 00000000 00000000
dfc0: ffffffff 00000000 0008e070 00000129 20000080 00000000 0008a270 00000000
dfe0: 7ee5cc70 7ee5cc60 00010a8c 0002eb90 00000010 00000003 00000000 00000000
Call trace: 
[<80479efc>] (__kmap_local_page_prot) from [<807e99cc>] (kmap_local_page include/linux/highmem-internal.h:73 [inline])
[<80479efc>] (__kmap_local_page_prot) from [<807e99cc>] (copy_page_to_iter+0xf8/0x184 lib/iov_iter.c:360)
[<807e98d4>] (copy_page_to_iter) from [<8143329c>] (sk_msg_recvmsg+0xf0/0x3cc net/core/skmsg.c:437)
 r10:00000018 r9:000000d4 r8:00000000 r7:00000000 r6:00000000 r5:8440a800
 r4:8440a800
[<814331ac>] (sk_msg_recvmsg) from [<81655f50>] (unix_bpf_recvmsg net/unix/unix_bpf.c:73 [inline])
[<814331ac>] (sk_msg_recvmsg) from [<81655f50>] (unix_bpf_recvmsg+0x150/0x444 net/unix/unix_bpf.c:50)
 r10:00000000 r9:00000000 r8:00000000 r7:841c5400 r6:83fbb400 r5:000000d4
 r4:835fc900
[<81655e00>] (unix_bpf_recvmsg) from [<81654fcc>] (unix_dgram_recvmsg+0x38/0x4c net/unix/af_unix.c:2529)
 r10:df96ddf4 r9:00000000 r8:00000000 r7:00000000 r6:83349680 r5:df96df38
 r4:81655e00
[<81654f94>] (unix_dgram_recvmsg) from [<813a287c>] (sock_recvmsg_nosec net/socket.c:1046 [inline])
[<81654f94>] (unix_dgram_recvmsg) from [<813a287c>] (sock_recvmsg+0x50/0x78 net/socket.c:1068)
 r4:81654f94
[<813a282c>] (sock_recvmsg) from [<813a2a7c>] (____sys_recvmsg+0x90/0x158 net/socket.c:2803)
 r7:00000000 r6:200001c0 r5:83349680 r4:df96df38
[<813a29ec>] (____sys_recvmsg) from [<813a59c0>] (___sys_recvmsg+0x88/0xbc net/socket.c:2845)
 r10:00000129 r9:841c5400 r8:83349680 r7:00000000 r6:200001c0 r5:df96df38
 r4:00000000
[<813a5938>] (___sys_recvmsg) from [<813a613c>] (__sys_recvmsg net/socket.c:2875 [inline])
[<813a5938>] (___sys_recvmsg) from [<813a613c>] (__do_sys_recvmsg net/socket.c:2885 [inline])
[<813a5938>] (___sys_recvmsg) from [<813a613c>] (sys_recvmsg+0x74/0xb8 net/socket.c:2882)
 r8:80200288 r7:00000000 r6:200001c0 r5:00000000 r4:83349680
[<813a60c8>] (sys_recvmsg) from [<80200060>] (ret_fast_syscall+0x0/0x1c arch/arm/mm/proc-v7.S:66)
Exception stack(0xdf96dfa8 to 0xdf96dff0)
dfa0:                   ffffffff 00000000 00000003 200001c0 00000000 00000000
dfc0: ffffffff 00000000 0008e070 00000129 20000080 00000000 0008a270 00000000
dfe0: 7ee5cc70 7ee5cc60 00010a8c 0002eb90
 r7:00000129 r6:0008e070 r5:00000000 r4:ffffffff
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

Crashes (138):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/12 09:03 upstream 00dcf5d862e8 27de0a5c .config console log report syz C [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot
2024/01/02 11:08 upstream 610a9b8f49fb fb427a07 .config console log report syz C [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot
2024/07/11 08:12 upstream a19ea421490d c699c2eb .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot
2024/07/10 07:42 upstream 34afb82a3c67 bc144f9a .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot
2024/07/08 17:07 upstream 256abd8e550c 7ca8bbea .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot
2024/07/05 19:13 upstream 661e504db04c 76e0d5e0 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot
2024/07/05 06:55 upstream 661e504db04c 7d7fe880 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot
2024/07/04 06:30 upstream 8a9c6c40432e 3f2748a3 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot
2024/07/02 05:36 upstream 9903efbddba0 b01b098a .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot
2024/07/02 05:01 upstream 9903efbddba0 b01b098a .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot
2024/06/27 23:45 upstream afcd48134c58 6ef39602 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot
2024/06/25 08:57 upstream 55027e689933 215eef4a .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot
2024/06/24 08:04 upstream f2661062f16b edc5149a .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot
2024/06/21 08:48 upstream 50736169ecc8 dac2aa43 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot
2024/06/20 19:00 upstream e5b3efbe1ab1 82874357 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot
2024/06/19 20:01 upstream 92e5605a199e 41b7e219 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot
2024/06/18 18:17 upstream 14d7c92f8df9 ce6011bc .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot
2024/06/15 08:41 upstream c286c21ff942 f429ab00 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot
2024/06/13 09:36 upstream cea2a26553ac 2aa5052f .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot
2024/06/13 09:35 upstream cea2a26553ac 2aa5052f .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot
2024/06/05 05:47 upstream 32f88d65f01b e1e2c66e .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot
2024/06/04 07:20 upstream f06ce441457d a1feae05 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot
2024/06/04 04:51 upstream f06ce441457d a1feae05 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot
2024/05/28 07:36 upstream 2bfcfd584ff5 f550015e .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot
2024/05/25 13:51 upstream 56fb6f92854f a10a183e .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot
2024/05/23 17:33 upstream c760b3725e52 8f98448e .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot
2024/05/22 17:59 upstream 29c73fc794c8 6d22fe32 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot
2024/05/22 04:55 upstream 38da32ee70b8 1014eca7 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot
2024/05/22 04:54 upstream 38da32ee70b8 1014eca7 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot
2024/05/20 17:06 upstream eb6a9339efeb c0f1611a .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot
2024/05/20 15:03 upstream eb6a9339efeb c0f1611a .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot
2024/05/13 14:35 upstream a38297e3fb01 9026e142 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot
2024/05/10 06:47 upstream 448b3fe5a0ea de979bc2 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot
2024/05/04 17:32 upstream 7367539ad4b0 610f2a54 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot
2024/05/04 03:25 upstream 3d25a941ea50 610f2a54 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot
2024/05/02 01:28 upstream 0106679839f7 3ba885bc .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot
2024/04/30 19:22 upstream 98369dccd2f8 3cb29304 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot
2024/04/29 13:15 upstream e67572cd2204 27e33c58 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot
2024/04/27 07:44 upstream e6ebf0117218 07b455f9 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot
2024/04/26 17:29 upstream c942a0cd3603 059e9963 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot
2024/04/24 22:56 upstream e88c4cfcb7b8 21339d7b .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot
2024/04/21 04:28 upstream 977b1ef51866 af24b050 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot
2024/04/17 04:15 upstream 96fca68c4fbf 18f6e127 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot
2024/04/16 05:57 upstream cef27048e5c2 0d592ce4 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot
2024/04/12 07:55 upstream 00dcf5d862e8 27de0a5c .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot
2024/04/04 06:11 upstream c85af715cac0 51c4dcff .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot
2024/04/02 18:10 upstream 026e680b0a08 f861ecca .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot
2024/04/02 08:28 upstream 026e680b0a08 6baf5069 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot
2024/04/01 01:49 upstream 18737353cca0 6baf5069 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot
2024/03/31 08:28 upstream 712e14250dd2 6baf5069 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot
2023/10/03 17:55 upstream ce36c8b14987 65faba36 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot
2023/09/30 17:08 upstream 9f3ebbef746f 8e26a358 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 BUG: unable to handle kernel NULL pointer dereference in __kmap_local_page_prot
* Struck through repros no longer work on HEAD.