syzbot


BUG: unable to handle kernel NULL pointer dereference in sk_msg_recvmsg

Status: auto-obsoleted due to no activity on 2024/09/19 08:22
Subsystems: bpf net
[Documentation on labels]
Reported-by: syzbot+84f695756ed0c4bb3aba@syzkaller.appspotmail.com
First crash: 436d, last: 163d
Discussions (7)
Title Replies (including bot) Last reply
[syzbot] Monthly bpf report (Jul 2024) 0 (1) 2024/07/15 11:52
[syzbot] [bpf?] [net?] BUG: unable to handle kernel NULL pointer dereference in sk_msg_recvmsg 0 (3) 2024/04/16 00:37
[syzbot] Monthly bpf report (Mar 2024) 0 (1) 2024/03/11 10:18
[syzbot] Monthly bpf report (Feb 2024) 0 (1) 2024/02/08 21:48
[syzbot] Monthly bpf report (Jan 2024) 1 (2) 2024/01/10 00:28
[syzbot] Monthly bpf report (Dec 2023) 0 (1) 2023/12/08 13:16
[syzbot] Monthly bpf report (Nov 2023) 0 (1) 2023/11/07 04:52
Last patch testing requests (7)
Created Duration User Patch Repo Result
2024/09/07 11:21 26m retest repro upstream OK log
2024/08/17 16:16 24m retest repro upstream OK log
2024/06/29 11:10 9m retest repro upstream report log
2024/06/08 16:03 11m retest repro upstream report log
2024/04/16 00:37 7m andrew.kanner@gmail.com upstream report log
2023/12/16 18:17 11m retest repro upstream report log
2023/11/06 13:35 11m yuran.pereira@hotmail.com https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master report log

Sample crash report:
Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000
Mem abort info:
  ESR = 0x0000000096000006
  EC = 0x25: DABT (current EL), IL = 32 bits
  SET = 0, FnV = 0
  EA = 0, S1PTW = 0
  FSC = 0x06: level 2 translation fault
Data abort info:
  ISV = 0, ISS = 0x00000006, ISS2 = 0x00000000
  CM = 0, WnR = 0, TnD = 0, TagAccess = 0
  GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0
user pgtable: 4k pages, 52-bit VAs, pgdp=000000004668cd00
[0000000000000000] pgd=08000000440c2003, p4d=0800000044128003, pud=0800000044129003, pmd=0000000000000000
Internal error: Oops: 0000000096000006 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 3189 Comm: syz-executor262 Not tainted 6.9.0-syzkaller-09699-geb6a9339efeb #0
Hardware name: linux,dummy-virt (DT)
pstate: 61400009 (nZCv daif +PAN -UAO -TCO +DIT -SSBS BTYPE=--)
pc : page_kasan_tag include/linux/mm.h:1836 [inline]
pc : lowmem_page_address include/linux/mm.h:2279 [inline]
pc : kmap_local_page include/linux/highmem-internal.h:185 [inline]
pc : copy_page_to_iter+0xb0/0x150 lib/iov_iter.c:360
lr : sk_msg_recvmsg+0xf8/0x37c net/core/skmsg.c:437
sp : ffff80008906b9f0
x29: ffff80008906b9f0 x28: 0000000000000000 x27: f0f00000063bbc00
x26: 0000000000000000 x25: 0000000000000000 x24: 0000000000000000
x23: 0000000000000000 x22: 00003e0040000000 x21: fff0000000000000
x20: 0000000000001000 x19: ffff80008906bda0 x18: 0000000000000000
x17: 0000000000000000 x16: 0000000000000000 x15: 0000ffffcb6b7618
x14: 00000000000003c9 x13: 0000000000000000 x12: 0000000000000000
x11: 0000000000000001 x10: b4d70487c60cf53e x9 : 747fa31a142593dc
x8 : f2f000000624ed18 x7 : 0000000000000000 x6 : faf00000063b9960
x5 : 0000000000000001 x4 : 0000000000000000 x3 : ffff80008906bda0
x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff801000000000
Call trace:
 arch_static_branch_jump arch/arm64/include/asm/jump_label.h:45 [inline]
 kasan_enabled include/linux/kasan-enabled.h:13 [inline]
 page_kasan_tag include/linux/mm.h:1835 [inline]
 lowmem_page_address include/linux/mm.h:2279 [inline]
 kmap_local_page include/linux/highmem-internal.h:185 [inline]
 copy_page_to_iter+0xb0/0x150 lib/iov_iter.c:360
 sk_msg_recvmsg+0xf8/0x37c net/core/skmsg.c:437
 unix_bpf_recvmsg net/unix/unix_bpf.c:73 [inline]
 unix_bpf_recvmsg+0x13c/0x4f0 net/unix/unix_bpf.c:50
 unix_dgram_recvmsg+0x30/0x4c net/unix/af_unix.c:2482
 sock_recvmsg_nosec net/socket.c:1046 [inline]
 sock_recvmsg net/socket.c:1068 [inline]
 sock_recvmsg net/socket.c:1064 [inline]
 ____sys_recvmsg+0x1d0/0x268 net/socket.c:2804
 ___sys_recvmsg+0x90/0xe8 net/socket.c:2846
 __sys_recvmsg+0x80/0xdc net/socket.c:2876
 __do_sys_recvmsg net/socket.c:2886 [inline]
 __se_sys_recvmsg net/socket.c:2883 [inline]
 __arm64_sys_recvmsg+0x24/0x30 net/socket.c:2883
 __invoke_syscall arch/arm64/kernel/syscall.c:34 [inline]
 invoke_syscall+0x48/0x118 arch/arm64/kernel/syscall.c:48
 el0_svc_common.constprop.0+0x40/0xe0 arch/arm64/kernel/syscall.c:133
 do_el0_svc+0x1c/0x28 arch/arm64/kernel/syscall.c:152
 el0_svc+0x34/0xf8 arch/arm64/kernel/entry-common.c:712
 el0t_64_sync_handler+0x100/0x12c arch/arm64/kernel/entry-common.c:730
 el0t_64_sync+0x19c/0x1a0 arch/arm64/kernel/entry.S:598
Code: 8b160320 d346fc00 8b0032a0 d503201f (f9400323) 
---[ end trace 0000000000000000 ]---
----------------
Code disassembly (best guess):
   0:	8b160320 	add	x0, x25, x22
   4:	d346fc00 	lsr	x0, x0, #6
   8:	8b0032a0 	add	x0, x21, x0, lsl #12
   c:	d503201f 	nop
* 10:	f9400323 	ldr	x3, [x25] <-- trapping instruction

Crashes (108):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/20 18:47 upstream eb6a9339efeb c0f1611a .config console log report syz C [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte BUG: unable to handle kernel NULL pointer dereference in sk_msg_recvmsg
2023/10/20 09:09 upstream 7cf4bea77ab6 a42250d2 .config console log report syz C [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte BUG: unable to handle kernel NULL pointer dereference in sk_msg_recvmsg
2024/07/11 08:05 upstream a19ea421490d c699c2eb .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte BUG: unable to handle kernel NULL pointer dereference in sk_msg_recvmsg
2024/07/10 06:09 upstream 34afb82a3c67 bc144f9a .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte BUG: unable to handle kernel NULL pointer dereference in sk_msg_recvmsg
2024/07/08 16:19 upstream 256abd8e550c 7ca8bbea .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte BUG: unable to handle kernel NULL pointer dereference in sk_msg_recvmsg
2024/07/05 18:48 upstream 661e504db04c 76e0d5e0 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte BUG: unable to handle kernel NULL pointer dereference in sk_msg_recvmsg
2024/07/05 06:56 upstream 661e504db04c 7d7fe880 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte BUG: unable to handle kernel NULL pointer dereference in sk_msg_recvmsg
2024/07/04 06:34 upstream 8a9c6c40432e 3f2748a3 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte BUG: unable to handle kernel NULL pointer dereference in sk_msg_recvmsg
2024/06/15 11:09 upstream 0cac73eb3875 f429ab00 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte BUG: unable to handle kernel NULL pointer dereference in sk_msg_recvmsg
2024/05/25 16:00 upstream 56fb6f92854f a10a183e .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte BUG: unable to handle kernel NULL pointer dereference in sk_msg_recvmsg
2024/05/23 19:43 upstream c760b3725e52 8f98448e .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte BUG: unable to handle kernel NULL pointer dereference in sk_msg_recvmsg
2024/05/22 19:17 upstream 29c73fc794c8 6d22fe32 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte BUG: unable to handle kernel NULL pointer dereference in sk_msg_recvmsg
2024/05/22 05:55 upstream 38da32ee70b8 1014eca7 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte BUG: unable to handle kernel NULL pointer dereference in sk_msg_recvmsg
2024/05/20 16:48 upstream eb6a9339efeb c0f1611a .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte BUG: unable to handle kernel NULL pointer dereference in sk_msg_recvmsg
2024/05/04 17:28 upstream 7367539ad4b0 610f2a54 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte BUG: unable to handle kernel NULL pointer dereference in sk_msg_recvmsg
2024/05/04 03:27 upstream 3d25a941ea50 610f2a54 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte BUG: unable to handle kernel NULL pointer dereference in sk_msg_recvmsg
2024/05/02 02:10 upstream 0106679839f7 3ba885bc .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte BUG: unable to handle kernel NULL pointer dereference in sk_msg_recvmsg
2024/04/30 19:03 upstream 98369dccd2f8 3cb29304 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte BUG: unable to handle kernel NULL pointer dereference in sk_msg_recvmsg
2024/04/29 15:11 upstream e67572cd2204 27e33c58 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte BUG: unable to handle kernel NULL pointer dereference in sk_msg_recvmsg
2024/04/27 07:31 upstream e6ebf0117218 07b455f9 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte BUG: unable to handle kernel NULL pointer dereference in sk_msg_recvmsg
2024/04/26 17:32 upstream c942a0cd3603 059e9963 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte BUG: unable to handle kernel NULL pointer dereference in sk_msg_recvmsg
2024/04/25 01:48 upstream e88c4cfcb7b8 21339d7b .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte BUG: unable to handle kernel NULL pointer dereference in sk_msg_recvmsg
2024/04/21 06:50 upstream 977b1ef51866 af24b050 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte BUG: unable to handle kernel NULL pointer dereference in sk_msg_recvmsg
2024/04/17 06:10 upstream 96fca68c4fbf 18f6e127 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte BUG: unable to handle kernel NULL pointer dereference in sk_msg_recvmsg
2024/04/16 05:06 upstream cef27048e5c2 0d592ce4 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte BUG: unable to handle kernel NULL pointer dereference in sk_msg_recvmsg
2024/04/12 07:57 upstream 00dcf5d862e8 27de0a5c .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte BUG: unable to handle kernel NULL pointer dereference in sk_msg_recvmsg
2024/04/04 06:07 upstream c85af715cac0 51c4dcff .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte BUG: unable to handle kernel NULL pointer dereference in sk_msg_recvmsg
2024/04/02 08:45 upstream 026e680b0a08 6baf5069 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte BUG: unable to handle kernel NULL pointer dereference in sk_msg_recvmsg
2024/04/01 01:50 upstream 18737353cca0 6baf5069 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte BUG: unable to handle kernel NULL pointer dereference in sk_msg_recvmsg
2024/03/31 08:35 upstream 712e14250dd2 6baf5069 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte BUG: unable to handle kernel NULL pointer dereference in sk_msg_recvmsg
2024/03/31 01:42 upstream 712e14250dd2 6baf5069 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte BUG: unable to handle kernel NULL pointer dereference in sk_msg_recvmsg
2024/03/29 13:53 upstream 317c7bc0ef03 c52bcb23 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte BUG: unable to handle kernel NULL pointer dereference in sk_msg_recvmsg
2024/03/28 23:11 upstream 8d025e2092e2 ceaf7ddd .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte BUG: unable to handle kernel NULL pointer dereference in sk_msg_recvmsg
2024/03/27 13:20 upstream 7033999ecd7b 454571b6 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte BUG: unable to handle kernel NULL pointer dereference in sk_msg_recvmsg
2024/03/23 11:27 upstream bfa8f18691ed 0ea90952 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte BUG: unable to handle kernel NULL pointer dereference in sk_msg_recvmsg
2024/03/13 22:35 upstream b0546776ad3f f919f202 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte BUG: unable to handle kernel NULL pointer dereference in sk_msg_recvmsg
2024/03/13 10:28 upstream 1f440397665f db5b7ff0 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte BUG: unable to handle kernel NULL pointer dereference in sk_msg_recvmsg
2024/03/09 21:26 upstream 09e5c48fea17 6ee49f2e .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte BUG: unable to handle kernel NULL pointer dereference in sk_msg_recvmsg
2024/03/03 02:33 upstream 5ad3cb0ed525 25905f5d .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte BUG: unable to handle kernel NULL pointer dereference in sk_msg_recvmsg
2024/02/29 08:30 upstream e326df53af00 352ab904 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte BUG: unable to handle kernel NULL pointer dereference in sk_msg_recvmsg
2024/02/29 08:02 upstream e326df53af00 352ab904 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte BUG: unable to handle kernel NULL pointer dereference in sk_msg_recvmsg
2024/02/22 03:05 upstream 9fc1ccccfd8d 9e510875 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte BUG: unable to handle kernel NULL pointer dereference in sk_msg_recvmsg
2024/02/21 06:08 upstream fca7526b7d89 3af7dd65 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte BUG: unable to handle kernel NULL pointer dereference in sk_msg_recvmsg
2024/02/13 23:29 upstream c664e16bb1ba e66542d7 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte BUG: unable to handle kernel NULL pointer dereference in sk_msg_recvmsg
2024/02/13 21:19 upstream c664e16bb1ba e66542d7 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte BUG: unable to handle kernel NULL pointer dereference in sk_msg_recvmsg
* Struck through repros no longer work on HEAD.