syzbot


WARNING in c_start

Status: upstream: reported on 2022/10/14 21:16
Reported-by: syzbot+d0fd2bf0dd6da72496dd@syzkaller.appspotmail.com
Fix commit: 80493877d7d0 Revert "cpumask: fix checking valid cpu range".
Patched on: [ci-qemu-upstream ci-qemu-upstream-386 ci-qemu2-arm32 ci-qemu2-arm64 ci-qemu2-arm64-compat ci-qemu2-arm64-mte ci-upstream-bpf-kasan-gce ci-upstream-bpf-next-kasan-gce ci-upstream-gce-arm64 ci-upstream-gce-leak ci-upstream-kasan-gce ci-upstream-kasan-gce-386 ci-upstream-kasan-gce-root ci-upstream-kasan-gce-selinux-root ci-upstream-kasan-gce-smack-root ci-upstream-kmsan-gce ci-upstream-kmsan-gce-386 ci-upstream-linux-next-kasan-gce-root ci-upstream-net-kasan-gce ci-upstream-net-this-kasan-gce ci2-upstream-fs ci2-upstream-kcsan-gce ci2-upstream-usb], missing on: [ci-qemu2-riscv64]
First crash: 115d, last: 109d
duplicates (5):
Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-next boot error: WARNING in cpumask_next_wrap 87 110d 128d 0/24 closed as dup on 2022/10/15 16:00
upstream boot error: WARNING in cpumask_next_wrap 333 109d 114d 0/24 closed as dup on 2022/10/15 16:01
upstream test error: WARNING in wg_cpumask_next_online 156 110d 114d 0/24 closed as dup on 2022/10/15 16:02
net boot error: WARNING in cpumask_next_wrap 54 105d 110d 0/24 closed as dup on 2022/10/16 10:37
net-next boot error: WARNING in cpumask_next_wrap 39 105d 110d 0/24 closed as dup on 2022/10/16 10:37

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 3675 at include/linux/cpumask.h:110 cpu_max_bits_warn include/linux/cpumask.h:110 [inline]
WARNING: CPU: 1 PID: 3675 at include/linux/cpumask.h:110 cpumask_check include/linux/cpumask.h:117 [inline]
WARNING: CPU: 1 PID: 3675 at include/linux/cpumask.h:110 cpumask_next include/linux/cpumask.h:178 [inline]
WARNING: CPU: 1 PID: 3675 at include/linux/cpumask.h:110 c_start+0x152/0x1b0 arch/x86/kernel/cpu/proc.c:156
Modules linked in:
CPU: 1 PID: 3675 Comm: syz-fuzzer Not tainted 6.0.0-syzkaller-12196-g1501278bb7ba #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014
RIP: 0010:cpu_max_bits_warn include/linux/cpumask.h:110 [inline]
RIP: 0010:cpumask_check include/linux/cpumask.h:117 [inline]
RIP: 0010:cpumask_next include/linux/cpumask.h:178 [inline]
RIP: 0010:c_start+0x152/0x1b0 arch/x86/kernel/cpu/proc.c:156
Code: a0 68 99 8b e8 8f b0 4b 00 5b 5d 4c 89 e0 41 5c 41 5d c3 e8 80 b0 4b 00 45 31 e4 5b 4c 89 e0 5d 41 5c 41 5d c3 e8 6e b0 4b 00 <0f> 0b e9 1e ff ff ff 48 c7 c7 80 5b e1 8d e8 cb 38 97 00 e9 6b ff
RSP: 0018:ffffc900029d7c70 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffffffff8de15b80 RCX: 0000000000000000
RDX: ffff88801e586280 RSI: ffffffff812ffc02 RDI: 0000000000000004
RBP: 0000000000000008 R08: 0000000000000004 R09: 0000000000000008
R10: 0000000000000008 R11: 0000000000000001 R12: ffff88801a7f4c38
R13: 0000000000000008 R14: ffff88801df4fa7c R15: 0000000000000000
FS:  0000000001f02f50(0000) GS:ffff88802c800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fda1badf3d8 CR3: 0000000023215000 CR4: 0000000000150ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 seq_read_iter+0x2c6/0x1280 fs/seq_file.c:225
 proc_reg_read_iter+0x111/0x2d0 fs/proc/inode.c:301
 call_read_iter include/linux/fs.h:2185 [inline]
 new_sync_read fs/read_write.c:389 [inline]
 vfs_read+0x67d/0x930 fs/read_write.c:470
 ksys_read+0x127/0x250 fs/read_write.c:613
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x4ae09b
Code: e8 ea 57 fb ff eb 88 cc cc cc cc cc cc cc cc e8 fb 9b fb ff 48 8b 7c 24 10 48 8b 74 24 18 48 8b 54 24 20 48 8b 44 24 08 0f 05 <48> 3d 01 f0 ff ff 76 20 48 c7 44 24 28 ff ff ff ff 48 c7 44 24 30
RSP: 002b:000000c0004873b8 EFLAGS: 00000212 ORIG_RAX: 0000000000000000
RAX: ffffffffffffffda RBX: 000000c00003e800 RCX: 00000000004ae09b
RDX: 0000000000000b49 RSI: 000000c00060b4b7 RDI: 0000000000000003
RBP: 000000c000487408 R08: 0000000000000001 R09: 000000c00006c360
R10: 0000000000000b49 R11: 0000000000000212 R12: 000000c000487570
R13: 0000000000000000 R14: 000000c0000001a0 R15: 00007fd9f9417005
 </TASK>

Crashes (75097):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-qemu-upstream 2022/10/16 18:28 upstream 1501278bb7ba 67cb024c .config console log report info WARNING in c_start
ci-qemu-upstream 2022/10/16 18:06 upstream 1501278bb7ba 67cb024c .config console log report info WARNING in c_start
ci-qemu-upstream 2022/10/16 18:04 upstream 1501278bb7ba 67cb024c .config console log report info WARNING in c_start
ci-qemu-upstream 2022/10/16 17:32 upstream 1501278bb7ba 67cb024c .config console log report info WARNING in c_start
ci-qemu-upstream 2022/10/16 17:30 upstream 1501278bb7ba 67cb024c .config console log report info WARNING in c_start
ci-qemu-upstream 2022/10/16 17:24 upstream 1501278bb7ba 67cb024c .config console log report info WARNING in c_start
ci-qemu-upstream 2022/10/16 17:22 upstream 1501278bb7ba 67cb024c .config console log report info WARNING in c_start
ci-qemu-upstream 2022/10/16 17:17 upstream 1501278bb7ba 67cb024c .config console log report info WARNING in c_start
ci-qemu-upstream 2022/10/16 17:11 upstream 1501278bb7ba 67cb024c .config console log report info WARNING in c_start
ci-qemu-upstream 2022/10/14 20:50 upstream 9c9155a3509a 67cb024c .config console log report info WARNING in c_start
ci-qemu-upstream 2022/10/10 21:14 upstream d4013bc4d49f 5bcf0c31 .config console log report info WARNING in c_start
ci-qemu-upstream-386 2022/10/16 18:47 upstream 1501278bb7ba 67cb024c .config console log report info WARNING in c_start
ci-qemu-upstream-386 2022/10/16 18:39 upstream 1501278bb7ba 67cb024c .config console log report info WARNING in c_start
ci-qemu-upstream-386 2022/10/16 18:34 upstream 1501278bb7ba 67cb024c .config console log report info WARNING in c_start
ci-qemu-upstream-386 2022/10/16 18:31 upstream 1501278bb7ba 67cb024c .config console log report info WARNING in c_start
ci-qemu-upstream-386 2022/10/16 18:28 upstream 1501278bb7ba 67cb024c .config console log report info WARNING in c_start
ci-qemu-upstream-386 2022/10/16 18:23 upstream 1501278bb7ba 67cb024c .config console log report info WARNING in c_start
ci-qemu-upstream-386 2022/10/16 18:19 upstream 1501278bb7ba 67cb024c .config console log report info WARNING in c_start
ci-qemu-upstream-386 2022/10/16 18:17 upstream 1501278bb7ba 67cb024c .config console log report info WARNING in c_start
ci-qemu-upstream-386 2022/10/16 18:15 upstream 1501278bb7ba 67cb024c .config console log report info WARNING in c_start
ci-qemu-upstream-386 2022/10/16 18:13 upstream 1501278bb7ba 67cb024c .config console log report info WARNING in c_start
ci-qemu-upstream-386 2022/10/16 18:11 upstream 1501278bb7ba 67cb024c .config console log report info WARNING in c_start
ci-qemu-upstream-386 2022/10/16 18:08 upstream 1501278bb7ba 67cb024c .config console log report info WARNING in c_start
ci-qemu-upstream-386 2022/10/16 18:02 upstream 1501278bb7ba 67cb024c .config console log report info WARNING in c_start
ci-qemu-upstream-386 2022/10/16 18:00 upstream 1501278bb7ba 67cb024c .config console log report info WARNING in c_start
ci-qemu-upstream-386 2022/10/16 17:58 upstream 1501278bb7ba 67cb024c .config console log report info WARNING in c_start
ci-qemu-upstream-386 2022/10/16 17:56 upstream 1501278bb7ba 67cb024c .config console log report info WARNING in c_start
ci-qemu-upstream-386 2022/10/16 17:54 upstream 1501278bb7ba 67cb024c .config console log report info WARNING in c_start
ci-qemu-upstream-386 2022/10/16 17:51 upstream 1501278bb7ba 67cb024c .config console log report info WARNING in c_start
ci-qemu-upstream-386 2022/10/16 17:49 upstream 1501278bb7ba 67cb024c .config console log report info WARNING in c_start
ci-qemu-upstream-386 2022/10/16 17:47 upstream 1501278bb7ba 67cb024c .config console log report info WARNING in c_start
ci-qemu-upstream-386 2022/10/16 17:45 upstream 1501278bb7ba 67cb024c .config console log report info WARNING in c_start
ci-qemu-upstream-386 2022/10/16 17:43 upstream 1501278bb7ba 67cb024c .config console log report info WARNING in c_start
ci-qemu-upstream-386 2022/10/16 17:41 upstream 1501278bb7ba 67cb024c .config console log report info WARNING in c_start
ci-qemu-upstream-386 2022/10/16 17:39 upstream 1501278bb7ba 67cb024c .config console log report info WARNING in c_start
ci-qemu-upstream-386 2022/10/16 17:37 upstream 1501278bb7ba 67cb024c .config console log report info WARNING in c_start
ci-qemu-upstream-386 2022/10/16 17:34 upstream 1501278bb7ba 67cb024c .config console log report info WARNING in c_start
ci-qemu-upstream-386 2022/10/16 17:30 upstream 1501278bb7ba 67cb024c .config console log report info WARNING in c_start
ci-qemu-upstream-386 2022/10/16 17:28 upstream 1501278bb7ba 67cb024c .config console log report info WARNING in c_start
ci-qemu-upstream-386 2022/10/16 17:26 upstream 1501278bb7ba 67cb024c .config console log report info WARNING in c_start
ci-qemu-upstream-386 2022/10/16 17:22 upstream 1501278bb7ba 67cb024c .config console log report info WARNING in c_start
ci-qemu-upstream-386 2022/10/16 17:20 upstream 1501278bb7ba 67cb024c .config console log report info WARNING in c_start
ci-qemu-upstream-386 2022/10/16 17:17 upstream 1501278bb7ba 67cb024c .config console log report info WARNING in c_start
ci-qemu-upstream-386 2022/10/16 17:15 upstream 1501278bb7ba 67cb024c .config console log report info WARNING in c_start
ci-qemu-upstream-386 2022/10/16 17:13 upstream 1501278bb7ba 67cb024c .config console log report info WARNING in c_start
* Struck through repros no longer work on HEAD.