syzbot


KMSAN: uninit-value in profile_hits (3)

Status: upstream: reported C repro on 2023/12/26 15:59
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+b1a83ab2a9eb9321fbdd@syzkaller.appspotmail.com
First crash: 744d, last: 1d05h
Discussions (2)
Title Replies (including bot) Last reply
[PATCH] profiling: initialize prof_cpu_mask from profile_online_cpu() 2 (2) 2024/02/15 14:41
[syzbot] [kernel?] KMSAN: uninit-value in profile_hits (3) 1 (4) 2023/12/30 05:38
Similar bugs (20)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KMSAN: uninit-value in profile_hits (2) kernel 4 865d 876d 0/26 auto-closed as invalid on 2022/03/03 02:13
upstream KMSAN: uninit-value in profile_hits kernel C 43 1002d 1002d 0/26 closed as invalid on 2021/07/19 13:31
android-54 KASAN: user-memory-access Write in profile_hits (2) 1 554d 554d 0/2 auto-obsoleted due to no activity on 2023/02/07 02:54
android-54 KASAN: user-memory-access Write in profile_hits 1 829d 829d 0/2 auto-closed as invalid on 2022/05/08 09:48
upstream KMSAN: uninit-value in hid_connect kernel C 176 531d 882d 0/26 closed as invalid on 2022/11/03 08:52
upstream KMSAN: uninit-value in preempt_count_add kernel C 6657 555d 555d 0/26 closed as invalid on 2022/10/10 13:29
upstream KMSAN: kernel-infoleak in _copy_to_iter (7) net C 138977 417d 769d 22/26 fixed on 2023/02/24 13:50
upstream KMSAN: uninit-value in snd_pcm_hw_rule_add (2) sound 18 669d 937d 0/26 auto-closed as invalid on 2022/09/15 02:38
upstream KMSAN: uninit-value in seq_printf (2) fs C 99 671d 937d 0/26 auto-closed as invalid on 2022/09/30 02:43
upstream KMSAN: uninit-value in number (4) kernel C 7189 510d 888d 0/26 closed as invalid on 2022/11/28 10:01
upstream KMSAN: uninit-value in vsscanf bluetooth syz 9 776d 842d 0/26 auto-closed as invalid on 2022/09/27 18:52
upstream KMSAN: uninit-value in kobject_set_name_vargs kernel 5 746d 875d 0/26 auto-closed as invalid on 2022/06/30 14:28
upstream KMSAN: uninit-value in asix_read_cmd usb syz 8 702d 852d 0/26 auto-closed as invalid on 2022/09/29 13:21
upstream KMSAN: uninit-value in usbnet_probe (2) usb syz 6 832d 848d 0/26 auto-closed as invalid on 2022/09/27 01:28
upstream KMSAN: uninit-value in kallsyms_lookup_buildid usb C 232 564d 840d 0/26 closed as invalid on 2022/11/03 10:09
upstream KMSAN: uninit-value in batadv_tt_hash_find (2) batman 1 830d 830d 0/26 auto-closed as invalid on 2022/04/07 21:37
upstream KMSAN: uninit-value in __vmalloc_node_range block 5 820d 865d 0/26 auto-closed as invalid on 2022/04/17 19:38
upstream KMSAN: uninit-value in kallsyms_lookup_buildid (2) kernel 12 424d 431d 0/26 closed as invalid on 2023/03/06 11:22
upstream KMSAN: uninit-value in p9pdu_readf v9fs 14 805d 919d 20/26 fixed on 2022/03/08 16:11
upstream KMSAN: uninit-value in asix_mdio_read (3) usb C 1582 700d 765d 22/26 fixed on 2023/02/24 13:51
Last patch testing requests (12)
Created Duration User Patch Repo Result
2024/02/17 01:18 18m retest repro upstream report log
2024/01/15 05:45 23m retest repro upstream OK log
2024/01/15 05:45 22m retest repro upstream OK log
2024/01/15 03:37 23m retest repro upstream OK log
2024/01/15 03:37 22m retest repro upstream OK log
2024/01/15 03:37 22m retest repro upstream OK log
2024/01/15 03:37 22m retest repro upstream OK log
2024/01/15 03:37 22m retest repro upstream OK log
2023/12/30 05:38 19m eadavis@qq.com patch https://github.com/google/kmsan.git master OK log
2023/12/29 16:38 17m penguin-kernel@i-love.sakura.ne.jp patch upstream OK log
2023/09/15 15:08 17m retest repro upstream report log
2023/09/15 15:08 16m retest repro upstream report log

Sample crash report:
=====================================================
BUG: KMSAN: uninit-value in profile_hit include/linux/profile.h:58 [inline]
BUG: KMSAN: uninit-value in profile_tick+0x1a8/0x1b0 kernel/profile.c:339
 profile_hit include/linux/profile.h:58 [inline]
 profile_tick+0x1a8/0x1b0 kernel/profile.c:339
 tick_sched_handle kernel/time/tick-sched.c:256 [inline]
 tick_nohz_highres_handler+0x595/0x690 kernel/time/tick-sched.c:1519
 __run_hrtimer kernel/time/hrtimer.c:1688 [inline]
 __hrtimer_run_queues+0x570/0x1110 kernel/time/hrtimer.c:1752
 hrtimer_interrupt+0x47b/0x14a0 kernel/time/hrtimer.c:1814
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1065 [inline]
 __sysvec_apic_timer_interrupt+0x9f/0x390 arch/x86/kernel/apic/apic.c:1082
 sysvec_apic_timer_interrupt+0x75/0x90 arch/x86/kernel/apic/apic.c:1076
 asm_sysvec_apic_timer_interrupt+0x1f/0x30 arch/x86/include/asm/idtentry.h:649
 __preempt_count_dec_and_test arch/x86/include/asm/preempt.h:95 [inline]
 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
 _raw_spin_unlock_irqrestore+0x33/0x60 kernel/locking/spinlock.c:194
 task_rq_unlock kernel/sched/sched.h:1660 [inline]
 wait_task_inactive+0x318/0x670 kernel/sched/core.c:2344
 ptrace_check_attach+0x51d/0x5f0 kernel/ptrace.c:273
 __do_sys_ptrace kernel/ptrace.c:1294 [inline]
 __se_sys_ptrace+0x269/0x750 kernel/ptrace.c:1272
 __x64_sys_ptrace+0xbd/0x110 kernel/ptrace.c:1272
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x6d/0x140 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

Local variable iovstack_r created at:
 process_vm_rw+0x77/0x1a60 mm/process_vm_access.c:261
 __do_sys_process_vm_readv mm/process_vm_access.c:295 [inline]
 __se_sys_process_vm_readv mm/process_vm_access.c:291 [inline]
 __x64_sys_process_vm_readv+0x11f/0x1a0 mm/process_vm_access.c:291

CPU: 1 PID: 5004 Comm: strace-static-x Not tainted 6.7.0-syzkaller-00562-g9f8413c4a66f #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
=====================================================

Crashes (234):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/01/15 21:12 upstream 9f8413c4a66f 2a7bcc7f .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in profile_tick
2022/04/03 18:48 https://github.com/google/kmsan.git master 1978a14f70af 79a2a8fc .config console log report syz C ci-upstream-kmsan-gce KMSAN: uninit-value in profile_hits
2023/12/09 21:50 upstream f2e8a57ee903 28b24332 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in profile_tick
2023/11/23 06:53 upstream 9b6de136b5f0 03e12510 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in profile_tick
2023/11/23 05:52 upstream 9b6de136b5f0 03e12510 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in profile_tick
2023/10/16 10:02 upstream 58720809f527 6388bc36 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in profile_tick
2023/07/07 10:50 https://github.com/google/kmsan.git master 257152fe29be 22ae5830 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in profile_tick
2023/03/21 18:26 https://github.com/google/kmsan.git master 90ea0df61c98 03fb9538 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in profile_tick
2023/02/18 00:36 https://github.com/google/kmsan.git master 31b504f219a9 3e7039f4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in profile_hits
2022/04/03 17:53 https://github.com/google/kmsan.git master 1978a14f70af 79a2a8fc .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in profile_hits
2024/04/15 15:55 upstream 0bbac3facb5d c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in profile_tick
2024/04/15 12:15 upstream 0bbac3facb5d c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in profile_tick
2024/04/15 09:17 upstream 0bbac3facb5d c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in profile_tick
2024/04/15 00:48 upstream 7efd0a74039f c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in profile_tick
2024/04/14 04:03 upstream fa4022cb7361 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in profile_tick
2024/04/12 17:22 upstream 586b5dfb51b9 27de0a5c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in profile_tick
2024/04/10 21:16 upstream 2c71fdf02a95 56086b24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in profile_tick
2024/04/08 22:25 upstream fec50db7033e 53df08b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in profile_tick
2024/04/07 14:11 upstream f2f80ac80987 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in profile_tick
2024/04/06 18:12 upstream e8b0ccb2a787 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in profile_tick
2024/04/06 16:38 upstream e8b0ccb2a787 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in profile_tick
2024/04/05 17:56 upstream 8cb4a9a82b21 18ea8213 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in profile_tick
2024/04/05 10:34 upstream 8cb4a9a82b21 0ee3535e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in profile_tick
2024/04/04 19:25 upstream c85af715cac0 0ee3535e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in profile_tick
2024/04/04 17:15 upstream c85af715cac0 0ee3535e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in profile_tick
2024/04/03 12:05 upstream b1e6ec0a0fd0 7925100d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in profile_tick
2024/04/03 03:53 upstream b1e6ec0a0fd0 7925100d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in profile_tick
2024/04/02 20:20 upstream 026e680b0a08 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in profile_tick
2024/04/02 10:33 upstream 026e680b0a08 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in profile_tick
2024/04/02 09:23 upstream 026e680b0a08 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in profile_tick
2024/04/02 06:09 upstream 026e680b0a08 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in profile_tick
2024/04/02 06:09 upstream 026e680b0a08 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in profile_tick
2024/04/02 02:53 upstream 39cd87c4eb2b 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in profile_tick
2024/04/02 00:59 upstream 39cd87c4eb2b 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in profile_tick
2024/04/01 17:25 upstream 39cd87c4eb2b 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in profile_tick
2023/12/18 22:18 upstream 2cf4f94d8e86 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in profile_tick
2023/12/14 11:21 upstream 5bd7ef53ffe5 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in profile_tick
2024/04/14 04:28 upstream fa4022cb7361 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386-root KMSAN: uninit-value in profile_tick
2024/04/12 20:46 upstream 586b5dfb51b9 27de0a5c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386-root KMSAN: uninit-value in profile_tick
2024/04/12 13:25 upstream 586b5dfb51b9 27de0a5c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386-root KMSAN: uninit-value in profile_tick
2024/04/11 02:43 upstream 2c71fdf02a95 56086b24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386-root KMSAN: uninit-value in profile_tick
2024/04/10 03:03 upstream 20cb38a7af88 56086b24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386-root KMSAN: uninit-value in profile_tick
2024/04/09 00:37 upstream fec50db7033e 53df08b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386-root KMSAN: uninit-value in profile_tick
2024/04/07 06:34 upstream f2f80ac80987 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386-root KMSAN: uninit-value in profile_tick
2024/04/06 16:38 upstream e8b0ccb2a787 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386-root KMSAN: uninit-value in profile_tick
2024/04/04 22:21 upstream c85af715cac0 0ee3535e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386-root KMSAN: uninit-value in profile_tick
2024/04/03 21:19 upstream 3e92c1e6cd87 fed899ed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386-root KMSAN: uninit-value in profile_tick
2024/04/03 20:16 upstream 3e92c1e6cd87 fed899ed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386-root KMSAN: uninit-value in profile_tick
2024/04/03 18:33 upstream 3e92c1e6cd87 fed899ed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386-root KMSAN: uninit-value in profile_tick
2024/04/03 08:20 upstream b1e6ec0a0fd0 7925100d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386-root KMSAN: uninit-value in profile_tick
2024/04/03 08:20 upstream b1e6ec0a0fd0 7925100d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386-root KMSAN: uninit-value in profile_tick
2024/04/02 12:53 upstream 026e680b0a08 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386-root KMSAN: uninit-value in profile_tick
2024/04/02 07:25 upstream 026e680b0a08 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386-root KMSAN: uninit-value in profile_tick
2024/04/02 04:08 upstream 026e680b0a08 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386-root KMSAN: uninit-value in profile_tick
2024/04/01 11:32 upstream 39cd87c4eb2b 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386-root KMSAN: uninit-value in profile_tick
2023/12/13 23:24 upstream 5bd7ef53ffe5 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in profile_tick
* Struck through repros no longer work on HEAD.