KMSAN: uninit-value in __schedule (3)

Status: auto-obsoleted due to no activity on 2023/05/17 02:32
Subsystems: trace net
[Documentation on labels]
First crash: 1298d, last: 1294d
Similar bugs (9)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KMSAN: uninit-value in __schedule (4) sctp 17 syz, C error 4 1097d 1093d 0/29 auto-obsoleted due to no activity on 2023/12/10 17:35
upstream KMSAN: uninit-value in __schedule (5) net 22 syz, C 595 181d 875d 0/29 auto-obsoleted due to no activity on 2026/05/28 17:49
upstream KMSAN: uninit-value in __schedule (2) kernel 7 1 1468d 1468d 0/29 auto-obsoleted due to no activity on 2022/11/24 18:35
linux-4.19 KASAN: use-after-free Read in __schedule 19 1 2011d 2011d 0/1 auto-closed as invalid on 2021/06/29 13:25
linux-6.1 KASAN: slab-out-of-bounds Write in __schedule origin:upstream 21 syz 4 428d 435d 0/3 auto-obsoleted due to no activity on 2025/10/09 02:03
linux-4.19 KASAN: use-after-free Read in __schedule (2) 19 1 1687d 1687d 0/1 auto-closed as invalid on 2022/05/18 22:28
android-54 BUG: unable to handle kernel paging request in __schedule 8 syz, C 12 2015d 2172d 0/2 auto-obsoleted due to no activity on 2023/04/17 21:57
upstream WARNING: locking bug in __schedule mm 4 1943 526d 816d 0/29 auto-obsoleted due to no activity on 2025/06/02 23:27
upstream general protection fault in __schedule (3) prio:low sound 2 1649 35d 82d 29/29 fixed on 2026/08/08 19:10

Sample crash report:
=====================================================
BUG: KMSAN: uninit-value in schedule_debug kernel/sched/core.c:5848 [inline]
BUG: KMSAN: uninit-value in __schedule+0x8cc/0x6b70 kernel/sched/core.c:6500
 schedule_debug kernel/sched/core.c:5848 [inline]
 __schedule+0x8cc/0x6b70 kernel/sched/core.c:6500
 schedule+0x162/0x240 kernel/sched/core.c:6682
 worker_thread+0x1dd9/0x2230 kernel/workqueue.c:2457
 kthread+0x3c7/0x500 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308

Local variable objcg.i.i.i created at:
 slab_alloc mm/slub.c:3460 [inline]
 __kmem_cache_alloc_lru mm/slub.c:3467 [inline]
 kmem_cache_alloc+0xb5/0xb40 mm/slub.c:3476
 __trace_define_field kernel/trace/trace_events.c:121 [inline]
 trace_define_generic_fields kernel/trace/trace_events.c:194 [inline]
 event_trace_init_fields+0x57c/0x2070 kernel/trace/trace_events.c:3868

CPU: 1 PID: 1059 Comm: kworker/u4:6 Tainted: G        W          6.2.0-rc8-syzkaller-80998-g9c866a280876 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023
Workqueue:  0x0
 (phy12)
=====================================================

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/02/16 02:31 https://github.com/google/kmsan.git master 9c866a280876 6be0f1f5 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in __schedule
2023/02/12 20:32 https://github.com/google/kmsan.git master 8c89ecf5c13b 93e26d60 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in __schedule
* Struck through repros no longer work on HEAD.