syzbot


KMSAN: uninit-value in __schedule (5)

Status: upstream: reported on 2024/04/10 09:12
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+28bdcfc1dab2ffa279a5@syzkaller.appspotmail.com
First crash: 45d, last: 7d15h
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [kernel?] KMSAN: uninit-value in __schedule (5) 0 (1) 2024/04/10 09:12
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KMSAN: uninit-value in __schedule (4) reiserfs sctp C error 4 263d 259d 0/26 auto-obsoleted due to no activity on 2023/12/10 17:35
upstream KMSAN: uninit-value in __schedule (3) net trace 2 460d 464d 0/26 auto-obsoleted due to no activity on 2023/05/17 02:32
upstream KMSAN: uninit-value in __schedule (2) kernel 1 634d 634d 0/26 auto-obsoleted due to no activity on 2022/11/24 18:35
linux-4.19 KASAN: use-after-free Read in __schedule 1 1177d 1177d 0/1 auto-closed as invalid on 2021/06/29 13:25
linux-4.19 KASAN: use-after-free Read in __schedule (2) 1 853d 853d 0/1 auto-closed as invalid on 2022/05/18 22:28
android-54 BUG: unable to handle kernel paging request in __schedule C 12 1181d 1338d 0/2 auto-obsoleted due to no activity on 2023/04/17 21:57

Sample crash report:
Dead loop on virtual device ipvlan1, fix it urgently!
=====================================================
BUG: KMSAN: uninit-value in schedule_debug kernel/sched/core.c:5962 [inline]
BUG: KMSAN: uninit-value in __schedule+0x816/0x6bc0 kernel/sched/core.c:6629
 schedule_debug kernel/sched/core.c:5962 [inline]
 __schedule+0x816/0x6bc0 kernel/sched/core.c:6629
 preempt_schedule_common kernel/sched/core.c:6925 [inline]
 __cond_resched+0x49/0xc0 kernel/sched/core.c:8590
 _cond_resched include/linux/sched.h:1988 [inline]
 process_one_work kernel/workqueue.c:3287 [inline]
 process_scheduled_works+0xc19/0x1bd0 kernel/workqueue.c:3335
 worker_thread+0xea5/0x1560 kernel/workqueue.c:3416
 kthread+0x3e2/0x540 kernel/kthread.c:388
 ret_from_fork+0x6d/0x90 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243

Local variable _addrs created at:
 nf_ct_get_tuple+0x56/0x7d0 net/netfilter/nf_conntrack_core.c:277
 resolve_normal_ct net/netfilter/nf_conntrack_core.c:1822 [inline]
 nf_conntrack_in+0x5cd/0x30d0 net/netfilter/nf_conntrack_core.c:1996

CPU: 0 PID: 5088 Comm: kworker/0:4 Tainted: G        W          6.9.0-rc2-syzkaller-00207-ge8b0ccb2a787 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Workqueue: mld mld_ifc_work
=====================================================

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/06 09:02 upstream e8b0ccb2a787 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in __schedule
2024/05/14 05:56 upstream cd97950cbcab fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root KASAN: wild-memory-access Read in __schedule
2024/05/14 02:53 upstream cd97950cbcab fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root KASAN: wild-memory-access Read in __schedule
* Struck through repros no longer work on HEAD.