syzbot


WARNING in sched_mm_cid_remote_clear (2)

Status: upstream: reported on 2024/11/24 03:33
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+0784d42fd852319c56a4@syzkaller.appspotmail.com
First crash: 4d13h, last: 4d13h
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [kernel?] WARNING in sched_mm_cid_remote_clear (2) 0 (1) 2024/11/24 03:33
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in sched_mm_cid_remote_clear kernel 14 151d 184d 0/28 auto-obsoleted due to no activity on 2024/09/04 08:26

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 6707 at include/linux/cpumask.h:135 cpu_max_bits_warn include/linux/cpumask.h:135 [inline]
WARNING: CPU: 0 PID: 6707 at include/linux/cpumask.h:135 cpumask_check include/linux/cpumask.h:142 [inline]
WARNING: CPU: 0 PID: 6707 at include/linux/cpumask.h:135 cpumask_clear_cpu include/linux/cpumask.h:536 [inline]
WARNING: CPU: 0 PID: 6707 at include/linux/cpumask.h:135 __mm_cid_put kernel/sched/sched.h:3599 [inline]
WARNING: CPU: 0 PID: 6707 at include/linux/cpumask.h:135 sched_mm_cid_remote_clear+0x48a/0x4f0 kernel/sched/core.c:10474
Modules linked in:
CPU: 0 UID: 0 PID: 6707 Comm: syz-executor Not tainted 6.12.0-syzkaller-01518-ga5c93bfec0be #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024
RIP: 0010:cpu_max_bits_warn include/linux/cpumask.h:135 [inline]
RIP: 0010:cpumask_check include/linux/cpumask.h:142 [inline]
RIP: 0010:cpumask_clear_cpu include/linux/cpumask.h:536 [inline]
RIP: 0010:__mm_cid_put kernel/sched/sched.h:3599 [inline]
RIP: 0010:sched_mm_cid_remote_clear+0x48a/0x4f0 kernel/sched/core.c:10474
Code: 0e 01 e8 19 6a 0d 00 eb 9d 4c 89 ef e8 ff ed 91 00 e9 66 fc ff ff e8 f5 ed 91 00 e9 46 fd ff ff 89 44 24 48 e9 16 fe ff ff 90 <0f> 0b 90 e9 ef fd ff ff e8 f9 b3 c7 09 e9 06 ff ff ff 48 89 d6 48
RSP: 0018:ffffc9001c567cf8 EFLAGS: 00010006
RAX: 000000000000001f RBX: ffffe8ffffd37180 RCX: ffffffff815ca5c2
RDX: 00000000ffffffff RSI: 0000000000000004 RDI: ffffc9001c567d40
RBP: 1ffff920038acfa0 R08: 0000000000000001 R09: fffff520038acfa8
R10: 0000000000000003 R11: 0000000000000000 R12: ffff888028574390
R13: ffffe8ffffd37188 R14: 0000000000000200 R15: ffff8880b873eec0
FS:  00005555936c8500(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b30d14ff8 CR3: 000000002fe54000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 sched_mm_cid_remote_clear_old kernel/sched/core.c:10507 [inline]
 task_mm_cid_work+0x39e/0x930 kernel/sched/core.c:10557
 task_work_run+0x151/0x250 kernel/task_work.c:239
 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:114 [inline]
 exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline]
 irqentry_exit_to_user_mode+0x25c/0x280 kernel/entry/common.c:231
 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623
RIP: 0033:0x7fc4b4f51dc0
Code: 66 2e 0f 1f 84 00 00 00 00 00 48 8d 47 0d c3 66 66 2e 0f 1f 84 00 00 00 00 00 48 8d 47 0e c3 66 2e 0f 1f 84 00 00 00 00 00 90 <c5> f9 6e c6 89 f8 25 ff 0f 00 00 c4 e2 7d 78 c0 c5 f1 ef c9 3d e0
RSP: 002b:00007ffedb2eba78 EFLAGS: 00010246
RAX: 00007ffedb2ec180 RBX: 00007ffedb2ebfe0 RCX: 0000000000000000
RDX: 00007ffedb2ec160 RSI: 0000000000000025 RDI: 00007fc4b4ff2d5a
RBP: 00000000fbad8001 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fc4b4ff2d5a
R13: 00007ffedb2ec160 R14: 0000000000000000 R15: 00007ffedb2ebfe0
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/11/20 03:26 upstream a5c93bfec0be 7d02db5a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in sched_mm_cid_remote_clear
* Struck through repros no longer work on HEAD.