syzbot


KMSAN: uninit-value in profile_hits (2)

Status: auto-closed as invalid on 2022/03/03 02:13
Subsystems: kernel
[Documentation on labels]
First crash: 900d, last: 889d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KMSAN: uninit-value in profile_hits (3) kernel C 444 1h04m 135d 0/26 upstream: reported C repro on 2023/12/26 15:59
upstream KMSAN: uninit-value in profile_hits kernel C 43 1025d 1025d 0/26 closed as invalid on 2021/07/19 13:31
android-54 KASAN: user-memory-access Write in profile_hits (2) 1 578d 578d 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 852d 852d 0/2 auto-closed as invalid on 2022/05/08 09:48

Sample crash report:
=====================================================
BUG: KMSAN: uninit-value in do_profile_hits kernel/profile.c:309 [inline]
BUG: KMSAN: uninit-value in profile_hits+0xae5/0x11d0 kernel/profile.c:399
 do_profile_hits kernel/profile.c:309 [inline]
 profile_hits+0xae5/0x11d0 kernel/profile.c:399
 profile_hit include/linux/profile.h:63 [inline]
 profile_tick+0x202/0x210 kernel/profile.c:409
 tick_sched_handle kernel/time/tick-sched.c:227 [inline]
 tick_sched_timer+0x466/0x5a0 kernel/time/tick-sched.c:1421
 __run_hrtimer+0x4a7/0xd60 kernel/time/hrtimer.c:1685
 __hrtimer_run_queues kernel/time/hrtimer.c:1749 [inline]
 hrtimer_interrupt+0x6cb/0x1bd0 kernel/time/hrtimer.c:1811
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline]
 __sysvec_apic_timer_interrupt+0xf5/0x460 arch/x86/kernel/apic/apic.c:1103
 sysvec_apic_timer_interrupt+0x79/0x90 arch/x86/kernel/apic/apic.c:1097
 asm_sysvec_apic_timer_interrupt+0x12/0x20
 _raw_spin_unlock_irqrestore+0x62/0x80 kernel/locking/spinlock.c:195
 try_to_wake_up+0x93d/0x1340 kernel/sched/core.c:4099
 wake_up_process kernel/sched/core.c:4166 [inline]
 wake_up_q+0xe8/0x200 kernel/sched/core.c:949
 futex_wake+0xd99/0xdf0 kernel/futex.c:1692
 do_futex+0x255f/0x3290 kernel/futex.c:3969
 __do_sys_futex kernel/futex.c:4041 [inline]
 __se_sys_futex+0x46f/0x990 kernel/futex.c:4022
 __x64_sys_futex+0x19d/0x200 kernel/futex.c:4022
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x54/0xd0 arch/x86/entry/common.c:82
 entry_SYSCALL_64_after_hwframe+0x44/0xae

Local variable mmap_event created at:
 perf_event_mmap+0x66/0x2aa0 kernel/events/core.c:8548
 mmap_region+0x20a8/0x3e10 mm/mmap.c:1847
=====================================================

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/11/28 09:10 https://github.com/google/kmsan.git master a535b0caaa2f 63eeac02 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in profile_hits
2021/11/27 23:27 https://github.com/google/kmsan.git master a535b0caaa2f 63eeac02 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in profile_hits
2021/11/22 01:58 https://github.com/google/kmsan.git master 425295055ce6 4eb20a4e .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in profile_hits
2021/12/03 02:11 https://github.com/google/kmsan.git master a535b0caaa2f 61f86278 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in profile_hits
* Struck through repros no longer work on HEAD.