syzbot


WARNING in io_sq_offload_create

Status: upstream: reported C repro on 2024/09/20 12:47
Subsystems: io-uring
[Documentation on labels]
Reported-by: syzbot+71b95eda637a2088bd6b@syzkaller.appspotmail.com
Fix commit: a09c17240bdf io_uring/sqpoll: retain test for whether the CPU is valid
Patched on: [ci-qemu-gce-upstream-auto ci-qemu-upstream ci-qemu-upstream-386 ci-qemu2-arm32 ci-qemu2-arm64 ci-qemu2-arm64-compat ci-qemu2-arm64-mte ci-snapshot-upstream-root ci-upstream-bpf-kasan-gce ci-upstream-bpf-next-kasan-gce ci-upstream-gce-arm64 ci-upstream-gce-leak ci-upstream-kasan-badwrites-root 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-386-root ci-upstream-kmsan-gce-root 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-qemu-native-arm64-kvm ci-qemu2-riscv64]
First crash: 18d, last: 10d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [io-uring?] WARNING in io_sq_offload_create 1 (2) 2024/09/24 11:37

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 5230 at include/linux/cpumask.h:135 cpu_max_bits_warn include/linux/cpumask.h:135 [inline]
WARNING: CPU: 1 PID: 5230 at include/linux/cpumask.h:135 cpumask_check include/linux/cpumask.h:142 [inline]
WARNING: CPU: 1 PID: 5230 at include/linux/cpumask.h:135 cpumask_test_cpu include/linux/cpumask.h:562 [inline]
WARNING: CPU: 1 PID: 5230 at include/linux/cpumask.h:135 io_sq_offload_create+0xe3d/0x1090 io_uring/sqpoll.c:469
Modules linked in:
CPU: 1 UID: 0 PID: 5230 Comm: syz-executor334 Not tainted 6.11.0-syzkaller-02520-gadfc3ded5c33 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/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_test_cpu include/linux/cpumask.h:562 [inline]
RIP: 0010:io_sq_offload_create+0xe3d/0x1090 io_uring/sqpoll.c:469
Code: 44 24 08 e9 2f f7 ff ff e8 a0 8d 0f fd 44 89 e3 e9 06 ff ff ff e8 93 8d 0f fd 4c 89 ff e8 6b 5f 7f fd eb ad e8 84 8d 0f fd 90 <0f> 0b 90 e9 f3 fd ff ff e8 76 8d 0f fd 31 ff 89 de e8 ad 8f 0f fd
RSP: 0018:ffffc9000369fcd8 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff88803234bc00 RCX: ffffffff847b951e
RDX: ffff88801f7eda00 RSI: ffffffff847b972c RDI: 0000000000000005
RBP: ffff88802b2aa000 R08: 0000000000000005 R09: 0000000000000007
R10: 0000000000000008 R11: 0000000000000000 R12: 0000000000000008
R13: 1ffff920006d3fa0 R14: ffffc9000369fd20 R15: 0000000000000000
FS:  000055557be9d380(0000) GS:ffff8880b8900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f88aadf0df8 CR3: 0000000078b14000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 io_uring_create io_uring/io_uring.c:3617 [inline]
 io_uring_setup+0x180f/0x3730 io_uring/io_uring.c:3726
 __do_sys_io_uring_setup io_uring/io_uring.c:3753 [inline]
 __se_sys_io_uring_setup io_uring/io_uring.c:3747 [inline]
 __x64_sys_io_uring_setup+0x98/0x140 io_uring/io_uring.c:3747
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f88aad91919
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffe74f4e298 EFLAGS: 00000246 ORIG_RAX: 00000000000001a9
RAX: ffffffffffffffda RBX: 00007f88aaddb105 RCX: 00007f88aad91919
RDX: ffffffffffffffb8 RSI: 0000000000000003 RDI: 00000000000003ff
RBP: 00007f88aaddb0e3 R08: 0000000000008000 R09: 0000000000008000
R10: 0000000000008000 R11: 0000000000000246 R12: 00007f88aade009c
R13: 00007f88aaddb0a3 R14: 0000000000000001 R15: 0000000000000001
 </TASK>

Crashes (284):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/09/16 22:10 upstream adfc3ded5c33 49cf0773 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in io_sq_offload_create
2024/09/16 21:25 upstream adfc3ded5c33 49cf0773 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in io_sq_offload_create
2024/09/16 15:38 upstream adfc3ded5c33 49cf0773 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in io_sq_offload_create
2024/09/24 17:39 upstream 18ba6034468e 5643e0e9 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in io_sq_offload_create
2024/09/24 05:49 upstream a430d95c5efa 89298aad .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in io_sq_offload_create
2024/09/23 15:57 upstream 176000734ee2 49f9c2d2 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in io_sq_offload_create
2024/09/23 11:19 upstream de5cb0dcb74c 89298aad .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in io_sq_offload_create
2024/09/23 06:23 upstream de5cb0dcb74c 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in io_sq_offload_create
2024/09/23 04:36 upstream 176000734ee2 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in io_sq_offload_create
2024/09/23 00:27 upstream af9c191ac2a0 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in io_sq_offload_create
2024/09/22 16:02 upstream 88264981f208 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in io_sq_offload_create
2024/09/22 15:32 upstream 88264981f208 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in io_sq_offload_create
2024/09/22 14:16 upstream 88264981f208 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in io_sq_offload_create
2024/09/22 12:54 upstream 88264981f208 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in io_sq_offload_create
2024/09/22 11:51 upstream 176000734ee2 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in io_sq_offload_create
2024/09/22 08:09 upstream 176000734ee2 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in io_sq_offload_create
2024/09/22 05:06 upstream 1ec6d097897a 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in io_sq_offload_create
2024/09/22 03:03 upstream 88264981f208 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in io_sq_offload_create
2024/09/22 01:03 upstream 88264981f208 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in io_sq_offload_create
2024/09/22 01:00 upstream 176000734ee2 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in io_sq_offload_create
2024/09/21 20:14 upstream 1868f9d0260e 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in io_sq_offload_create
2024/09/21 14:38 upstream 1868f9d0260e 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in io_sq_offload_create
2024/09/21 01:56 upstream baeb9a7d8b60 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in io_sq_offload_create
2024/09/20 18:35 upstream 176000734ee2 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in io_sq_offload_create
2024/09/20 17:14 upstream 2004cef11ea0 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in io_sq_offload_create
2024/09/20 15:19 upstream a430d95c5efa 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in io_sq_offload_create
2024/09/20 11:47 upstream 2004cef11ea0 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in io_sq_offload_create
2024/09/20 10:31 upstream 2004cef11ea0 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in io_sq_offload_create
2024/09/20 08:38 upstream 2004cef11ea0 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in io_sq_offload_create
2024/09/20 06:54 upstream 176000734ee2 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in io_sq_offload_create
2024/09/20 03:30 upstream 2004cef11ea0 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in io_sq_offload_create
2024/09/20 01:26 upstream 2004cef11ea0 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in io_sq_offload_create
2024/09/19 23:15 upstream 839c4f596f89 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in io_sq_offload_create
2024/09/19 18:22 upstream 839c4f596f89 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in io_sq_offload_create
2024/09/19 17:09 upstream 176000734ee2 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in io_sq_offload_create
2024/09/19 10:37 upstream 4a39ac5b7d62 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in io_sq_offload_create
2024/09/19 08:52 upstream a430d95c5efa c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in io_sq_offload_create
2024/09/19 07:41 upstream a430d95c5efa c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in io_sq_offload_create
2024/09/19 06:31 upstream a430d95c5efa c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in io_sq_offload_create
2024/09/19 05:05 upstream 4a39ac5b7d62 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in io_sq_offload_create
2024/09/19 03:38 upstream a430d95c5efa c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in io_sq_offload_create
2024/09/19 02:16 upstream a430d95c5efa c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in io_sq_offload_create
2024/09/16 22:52 upstream adfc3ded5c33 49cf0773 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in io_sq_offload_create
2024/09/23 21:13 upstream de5cb0dcb74c 89298aad .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in io_sq_offload_create
2024/09/23 09:10 upstream af9c191ac2a0 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in io_sq_offload_create
2024/09/22 17:04 upstream 88264981f208 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in io_sq_offload_create
2024/09/22 09:21 upstream 88264981f208 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in io_sq_offload_create
2024/09/24 19:34 upstream abf2050f51fd 5643e0e9 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in io_sq_offload_create
2024/09/24 16:56 upstream abf2050f51fd 5643e0e9 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in io_sq_offload_create
2024/09/24 07:27 upstream 18ba6034468e 89298aad .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in io_sq_offload_create
2024/09/24 00:13 upstream 18ba6034468e 89298aad .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in io_sq_offload_create
2024/09/23 12:20 upstream de5cb0dcb74c 49f9c2d2 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in io_sq_offload_create
2024/09/21 23:45 upstream 1ec6d097897a 6f888b75 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in io_sq_offload_create
2024/09/16 16:19 upstream adfc3ded5c33 49cf0773 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in io_sq_offload_create
2024/09/18 12:37 upstream a430d95c5efa c673ca06 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in io_sq_offload_create
* Struck through repros no longer work on HEAD.