------------[ cut here ]------------ WARNING: CPU: 0 PID: 7506 at include/linux/cpumask.h:144 cpu_max_bits_warn include/linux/cpumask.h:144 [inline] WARNING: CPU: 0 PID: 7506 at include/linux/cpumask.h:144 cpumask_check include/linux/cpumask.h:151 [inline] WARNING: CPU: 0 PID: 7506 at include/linux/cpumask.h:144 cpumask_clear_cpu include/linux/cpumask.h:538 [inline] WARNING: CPU: 0 PID: 7506 at include/linux/cpumask.h:144 __mm_cid_put kernel/sched/sched.h:3256 [inline] WARNING: CPU: 0 PID: 7506 at include/linux/cpumask.h:144 sched_mm_cid_remote_clear+0x374/0x4f0 kernel/sched/core.c:11874 Modules linked in: CPU: 0 PID: 7506 Comm: syz-executor.1 Not tainted 6.10.0-rc1-syzkaller-00027-g4a4be1ad3a6e #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 RIP: 0010:cpu_max_bits_warn include/linux/cpumask.h:144 [inline] RIP: 0010:cpumask_check include/linux/cpumask.h:151 [inline] RIP: 0010:cpumask_clear_cpu include/linux/cpumask.h:538 [inline] RIP: 0010:__mm_cid_put kernel/sched/sched.h:3256 [inline] RIP: 0010:sched_mm_cid_remote_clear+0x374/0x4f0 kernel/sched/core.c:11874 Code: 00 e9 48 fe ff ff 4d 85 ed 89 44 24 48 0f 84 52 ff ff ff e8 6e d6 36 00 9c 58 f6 c4 02 0f 85 41 01 00 00 fb e9 47 ff ff ff 90 <0f> 0b 90 e9 0b ff ff ff e8 af 03 16 00 84 c0 0f 85 d6 fd ff ff e8 RSP: 0018:ffffc9000cdcfcb8 EFLAGS: 00010002 RAX: 000000000000000b RBX: ffffe8ffad336910 RCX: ffffffff815ef518 RDX: 00000000ffffffff RSI: 0000000000000004 RDI: ffffc9000cdcfd00 RBP: ffff88802234b848 R08: 0000000000000001 R09: fffff520019b9fa0 R10: 0000000000000003 R11: 0000000000000000 R12: 1ffff920019b9f98 R13: 0000000000000200 R14: ffffc9000cdcfd00 R15: ffff88802c33ec00 FS: 0000000000000000(0000) GS:ffff88802c000000(0063) knlGS:00000000f5f10b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00007ff8d697ae18 CR3: 000000002a1fe000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: sched_mm_cid_remote_clear_old kernel/sched/core.c:11907 [inline] task_mm_cid_work+0x39a/0x920 kernel/sched/core.c:11957 task_work_run+0x14e/0x250 kernel/task_work.c:180 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:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x278/0x2a0 kernel/entry/common.c:218 __do_fast_syscall_32+0x80/0x120 arch/x86/entry/common.c:389 do_fast_syscall_32+0x32/0x80 arch/x86/entry/common.c:411 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf731e579 Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f5f103b0 EFLAGS: 00000293 ORIG_RAX: 0000000000000004 RAX: 0000000001000000 RBX: 0000000000000003 RCX: 00000000edaf0000 RDX: 0000000001000000 RSI: 00000000f7474ff4 RDI: 0000000000000000 RBP: 00000000f5f10460 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ---------------- Code disassembly (best guess), 2 bytes skipped: 0: 10 06 adc %al,(%rsi) 2: 03 74 b4 01 add 0x1(%rsp,%rsi,4),%esi 6: 10 07 adc %al,(%rdi) 8: 03 74 b0 01 add 0x1(%rax,%rsi,4),%esi c: 10 08 adc %cl,(%rax) e: 03 74 d8 01 add 0x1(%rax,%rbx,8),%esi 1e: 00 51 52 add %dl,0x52(%rcx) 21: 55 push %rbp 22: 89 e5 mov %esp,%ebp 24: 0f 34 sysenter 26: cd 80 int $0x80 * 28: 5d pop %rbp <-- trapping instruction 29: 5a pop %rdx 2a: 59 pop %rcx 2b: c3 ret 2c: 90 nop 2d: 90 nop 2e: 90 nop 2f: 90 nop 30: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi 37: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi