syzbot


KASAN: stack-out-of-bounds Read in __show_regs

Status: upstream: reported C repro on 2021/06/17 03:08
Reported-by: syzbot+b17d3e853d5dce65f981@syzkaller.appspotmail.com
First crash: 605d, last: 97d

Cause bisection: introduced by (bisect log) [no-op commit]:
commit b9fc8b4a591811546fec2dbef7e9f809362100c9
Author: Grant Seltzer <grantseltzer@gmail.com>
Date: Mon Feb 22 19:58:46 2021 +0000

  bpf: Add kernel/modules BTF presence checks to bpftool feature command

Crash: KASAN: stack-out-of-bounds Read in __show_regs (log)
Repro: syz .config

Fix bisection: fixed by (bisect log) [no-op commit]:
commit 1328a883258b4507909090ed0a9ad63771f9f780
Author: Vladimir Oltean <vladimir.oltean@nxp.com>
Date: Tue Oct 12 11:40:42 2021 +0000

  net: dsa: felix: purge skb from TX timestamping queue if it cannot be sent

Last patch testing requests:
Created Duration User Patch Repo Result
2022/06/14 19:53 6m paskripkin@gmail.com patch https://github.com/google/kmsan.git master error
2021/06/18 21:19 16m rajatasthana4@gmail.com upstream OK

Sample crash report:
Code: 85 ff 0f 84 78 f4 ff ff e8 0e 91 8f 00 0f 0b e9 71 f4 ff ff 44 89 f7 e8 bf cc 0c 01 45 85 ff 0f 84 b2 f4 ff ff e8 f1 90 8f 00 <0f> 0b e9 ab f4 ff ff 44 89 f7 e8 a2 cc 0c 01 45 84 ff 0f 85 e2 fd
RSP: 0018:ffff8881321e7cc0 EFLAGS: 00010293
=====================================================
BUG: KMSAN: uninit-value in __show_regs+0xaff/0xc90 arch/x86/kernel/process_64.c:81
 __show_regs+0xaff/0xc90 arch/x86/kernel/process_64.c:81
 show_regs+0x6e/0xd0 arch/x86/kernel/dumpstack.c:469
 __warn+0x242/0x580 kernel/panic.c:618
 report_bug+0x7ff/0xa10 lib/bug.c:198
 handle_bug+0x41/0x70 arch/x86/kernel/traps.c:317
 exc_invalid_op+0x1b/0x50 arch/x86/kernel/traps.c:338
 asm_exc_invalid_op+0x1b/0x20 arch/x86/include/asm/idtentry.h:568
 kvm_arch_vcpu_ioctl_run+0x19cf/0x2390
 kvm_vcpu_ioctl+0xcd4/0x1980 arch/x86/kvm/../../../virt/kvm/kvm_main.c:4065
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:870 [inline]
 __se_sys_ioctl+0x222/0x400 fs/ioctl.c:856
 __x64_sys_ioctl+0x92/0xd0 fs/ioctl.c:856
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

Local variable bookmark.i created at:
 __wake_up_common_lock kernel/sched/wait.c:128 [inline]
 __wake_up_sync_key+0x51/0x1b0 kernel/sched/wait.c:204
 __wake_up_parent+0x49/0x60 kernel/exit.c:1467

CPU: 0 PID: 4320 Comm: syz-executor657 Not tainted 6.1.0-rc2-syzkaller-61959-gbe8b0d020631 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022
=====================================================

Crashes (517):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-upstream-kmsan-gce 2022/10/30 19:34 https://github.com/google/kmsan.git master be8b0d020631 2a71366b .config strace log report syz C [disk image] [vmlinux] [kernel image] KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce 2022/10/10 19:08 https://github.com/google/kmsan.git master 968c2729e576 aea5da89 .config strace log report syz C [disk image] [vmlinux] KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce 2022/10/10 11:48 https://github.com/google/kmsan.git master 968c2729e576 aea5da89 .config console log report syz C [disk image] [vmlinux] KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce 2022/10/09 20:17 https://github.com/google/kmsan.git master 968c2729e576 aea5da89 .config console log report syz C [disk image] [vmlinux] KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce 2022/10/09 16:55 https://github.com/google/kmsan.git master 968c2729e576 aea5da89 .config strace log report syz C [disk image] [vmlinux] KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce 2022/10/09 02:52 https://github.com/google/kmsan.git master 968c2729e576 aea5da89 .config strace log report syz C [disk image] [vmlinux] KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce 2022/09/25 00:56 https://github.com/google/kmsan.git master 523d2ce66d07 0042f2b4 .config console log report syz C KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce 2022/09/14 01:04 https://github.com/google/kmsan.git master faf04f9bcf05 b884348d .config strace log report syz C KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce 2022/09/13 03:45 https://github.com/google/kmsan.git master 4367d178d9eb f371ed7e .config strace log report syz C KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce 2022/08/12 09:49 https://github.com/google/kmsan.git master 1b070a5d1a2c 402cd70d .config strace log report syz C KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce 2022/08/08 19:27 https://github.com/google/kmsan.git master 168a92de0739 88e3a122 .config console log report syz C KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce 2022/08/04 16:20 https://github.com/google/kmsan.git master bba47a4b6421 1c9013ac .config console log report syz C KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce 2022/07/31 20:35 https://github.com/google/kmsan.git master 97117d69c353 fef302b1 .config strace log report syz C KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce 2022/07/21 16:01 https://github.com/google/kmsan.git master 97117d69c353 6e67af9d .config console log report syz C KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce 2022/07/14 15:27 https://github.com/google/kmsan.git master 97117d69c353 5d921b08 .config console log report syz C KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce 2022/07/02 12:44 https://github.com/google/kmsan.git master 97117d69c353 1434eec0 .config console log report syz C KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce 2022/06/14 19:04 https://github.com/google/kmsan.git master 2f3064574275 127d1faf .config console log report syz C KMSAN: uninit-value in __show_regs
ci-upstream-kasan-gce 2021/06/13 02:59 upstream ad347abe4a98 1ba81399 .config console log report syz KASAN: stack-out-of-bounds Read in __show_regs
ci-upstream-kmsan-gce 2022/10/16 20:14 https://github.com/google/kmsan.git master 968c2729e576 67cb024c .config strace log report syz [disk image] [vmlinux] KMSAN: uninit-value in __show_regs
ci2-upstream-usb 2022/06/24 12:11 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 508aeb54e4f0 a371c43c .config console log report info KASAN: stack-out-of-bounds Read in __show_regs
ci-upstream-kmsan-gce 2022/11/01 03:32 https://github.com/google/kmsan.git master be8b0d020631 a1d8560a .config console log report info [disk image] [vmlinux] [kernel image] KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce 2022/10/31 21:14 https://github.com/google/kmsan.git master be8b0d020631 2a71366b .config console log report info [disk image] [vmlinux] [kernel image] KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce 2022/10/29 11:24 https://github.com/google/kmsan.git master be8b0d020631 899d812a .config console log report info [disk image] [vmlinux] [kernel image] KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce 2022/10/29 08:43 https://github.com/google/kmsan.git master be8b0d020631 899d812a .config console log report info [disk image] [vmlinux] [kernel image] KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce 2022/10/28 20:20 https://github.com/google/kmsan.git master be8b0d020631 ea12ae9b .config console log report info [disk image] [vmlinux] [kernel image] KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce 2022/10/28 10:30 https://github.com/google/kmsan.git master be8b0d020631 86777b7f .config console log report info [disk image] [vmlinux] [kernel image] KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce 2022/10/28 07:24 https://github.com/google/kmsan.git master be8b0d020631 86777b7f .config console log report info [disk image] [vmlinux] [kernel image] KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce 2022/10/27 16:58 https://github.com/google/kmsan.git master 1aa4f78e4630 86777b7f .config console log report info [disk image] [vmlinux] [kernel image] KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce 2022/10/26 21:18 https://github.com/google/kmsan.git master 1aa4f78e4630 2159e4d2 .config console log report info [disk image] [vmlinux] [kernel image] KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce 2022/10/26 17:09 https://github.com/google/kmsan.git master 1aa4f78e4630 2159e4d2 .config console log report info [disk image] [vmlinux] [kernel image] KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce 2022/10/25 23:11 https://github.com/google/kmsan.git master 4a3e741a3d6a 1984aebd .config console log report info [disk image] [vmlinux] KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce 2022/10/25 17:12 https://github.com/google/kmsan.git master 4a3e741a3d6a 45645420 .config console log report info [disk image] [vmlinux] KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce 2022/10/25 06:32 https://github.com/google/kmsan.git master 4a3e741a3d6a 45645420 .config console log report info [disk image] [vmlinux] KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce 2022/10/23 23:06 https://github.com/google/kmsan.git master 968c2729e576 23bf86af .config console log report info [disk image] [vmlinux] KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce 2022/10/23 08:43 https://github.com/google/kmsan.git master 968c2729e576 c0b80a55 .config console log report info [disk image] [vmlinux] KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce 2022/10/23 07:01 https://github.com/google/kmsan.git master 968c2729e576 c0b80a55 .config console log report info [disk image] [vmlinux] KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce 2022/10/22 20:09 https://github.com/google/kmsan.git master 968c2729e576 c0b80a55 .config console log report info [disk image] [vmlinux] KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce 2022/10/22 18:21 https://github.com/google/kmsan.git master 968c2729e576 c0b80a55 .config console log report info [disk image] [vmlinux] KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce 2022/10/22 16:57 https://github.com/google/kmsan.git master 968c2729e576 c0b80a55 .config console log report info [disk image] [vmlinux] KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce 2022/10/22 13:24 https://github.com/google/kmsan.git master 968c2729e576 c0b80a55 .config console log report info [disk image] [vmlinux] KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce 2022/10/21 16:06 https://github.com/google/kmsan.git master 968c2729e576 4bfd3c27 .config console log report info [disk image] [vmlinux] KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce 2022/10/21 08:01 https://github.com/google/kmsan.git master 968c2729e576 63e790dd .config console log report info [disk image] [vmlinux] KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce 2022/10/21 03:32 https://github.com/google/kmsan.git master 968c2729e576 a0fd4dab .config console log report info [disk image] [vmlinux] KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce 2022/10/20 00:08 https://github.com/google/kmsan.git master 968c2729e576 b31320fc .config console log report info [disk image] [vmlinux] KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce 2022/10/19 17:22 https://github.com/google/kmsan.git master 968c2729e576 b31320fc .config console log report info [disk image] [vmlinux] KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce 2022/08/02 19:17 https://github.com/google/kmsan.git master 3ea9edba19ef 1c9013ac .config console log report info KMSAN: uninit-value in tomoyo_realpath_from_path
ci-upstream-kmsan-gce-386 2022/11/02 13:37 https://github.com/google/kmsan.git master be8b0d020631 edac4fd1 .config console log report info [disk image] [vmlinux] [kernel image] KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce-386 2022/11/02 03:58 https://github.com/google/kmsan.git master be8b0d020631 edac4fd1 .config console log report info [disk image] [vmlinux] [kernel image] KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce-386 2022/11/01 20:41 https://github.com/google/kmsan.git master be8b0d020631 edac4fd1 .config console log report info [disk image] [vmlinux] [kernel image] KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce-386 2022/11/01 06:12 https://github.com/google/kmsan.git master be8b0d020631 a1d8560a .config console log report info [disk image] [vmlinux] [kernel image] KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce-386 2022/11/01 04:46 https://github.com/google/kmsan.git master be8b0d020631 a1d8560a .config console log report info [disk image] [vmlinux] [kernel image] KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce-386 2022/10/31 23:45 https://github.com/google/kmsan.git master be8b0d020631 2a71366b .config console log report info [disk image] [vmlinux] [kernel image] KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce-386 2022/10/31 22:21 https://github.com/google/kmsan.git master be8b0d020631 2a71366b .config console log report info [disk image] [vmlinux] [kernel image] KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce-386 2022/10/31 07:12 https://github.com/google/kmsan.git master be8b0d020631 2a71366b .config console log report info [disk image] [vmlinux] [kernel image] KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce-386 2022/10/31 03:10 https://github.com/google/kmsan.git master be8b0d020631 2a71366b .config console log report info [disk image] [vmlinux] [kernel image] KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce-386 2022/10/30 18:19 https://github.com/google/kmsan.git master be8b0d020631 2a71366b .config console log report info [disk image] [vmlinux] [kernel image] KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce-386 2022/10/30 10:28 https://github.com/google/kmsan.git master be8b0d020631 2a71366b .config console log report info [disk image] [vmlinux] [kernel image] KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce-386 2022/10/29 23:27 https://github.com/google/kmsan.git master be8b0d020631 2a71366b .config console log report info [disk image] [vmlinux] [kernel image] KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce-386 2022/10/28 08:28 https://github.com/google/kmsan.git master be8b0d020631 86777b7f .config console log report info [disk image] [vmlinux] [kernel image] KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce-386 2022/10/27 19:19 https://github.com/google/kmsan.git master 1aa4f78e4630 86777b7f .config console log report info [disk image] [vmlinux] [kernel image] KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce-386 2022/10/27 09:05 https://github.com/google/kmsan.git master 1aa4f78e4630 86777b7f .config console log report info [disk image] [vmlinux] [kernel image] KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce-386 2022/10/27 03:04 https://github.com/google/kmsan.git master 1aa4f78e4630 86777b7f .config console log report info [disk image] [vmlinux] [kernel image] KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce-386 2022/10/25 12:48 https://github.com/google/kmsan.git master 4a3e741a3d6a 45645420 .config console log report info [disk image] [vmlinux] KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce-386 2022/10/25 09:54 https://github.com/google/kmsan.git master 4a3e741a3d6a 45645420 .config console log report info [disk image] [vmlinux] KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce-386 2022/10/25 03:48 https://github.com/google/kmsan.git master 968c2729e576 ff2fe65d .config console log report info [disk image] [vmlinux] KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce-386 2022/10/24 21:00 https://github.com/google/kmsan.git master 968c2729e576 ff2fe65d .config console log report info [disk image] [vmlinux] KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce-386 2022/10/22 02:25 https://github.com/google/kmsan.git master 968c2729e576 4bfd3c27 .config console log report info [disk image] [vmlinux] KMSAN: uninit-value in __show_regs
ci-upstream-kmsan-gce-386 2022/10/21 13:56 https://github.com/google/kmsan.git master 968c2729e576 4bfd3c27 .config console log report info [disk image] [vmlinux] KMSAN: uninit-value in __show_regs
* Struck through repros no longer work on HEAD.