------------[ cut here ]------------ WARNING: CPU: 1 PID: 22201 at ./include/linux/cpumask.h:135 cpu_max_bits_warn include/linux/cpumask.h:135 [inline] WARNING: CPU: 1 PID: 22201 at ./include/linux/cpumask.h:135 cpumask_check include/linux/cpumask.h:142 [inline] WARNING: CPU: 1 PID: 22201 at ./include/linux/cpumask.h:135 cpumask_clear_cpu include/linux/cpumask.h:628 [inline] WARNING: CPU: 1 PID: 22201 at ./include/linux/cpumask.h:135 __mm_cid_put kernel/sched/sched.h:3527 [inline] WARNING: CPU: 1 PID: 22201 at ./include/linux/cpumask.h:135 sched_mm_cid_remote_clear+0x48b/0x4f0 kernel/sched/core.c:10734 Modules linked in: CPU: 1 UID: 0 PID: 22201 Comm: syz.3.4892 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 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:628 [inline] RIP: 0010:__mm_cid_put kernel/sched/sched.h:3527 [inline] RIP: 0010:sched_mm_cid_remote_clear+0x48b/0x4f0 kernel/sched/core.c:10734 Code: 0a 0f 00 75 9e 48 c7 c2 a0 8e ac 8b be 65 03 00 00 48 c7 c7 00 8e ac 8b c6 05 b8 ad 0a 0f 01 e8 ab 92 0e 00 e9 7a ff ff ff 90 <0f> 0b 90 e9 ed fd ff ff e8 a8 c4 0b 0a e9 0d ff ff ff 48 89 d6 48 RSP: 0018:ffffc90004167cc8 EFLAGS: 00010012 RAX: 0000000000000093 RBX: ffffe8fefc0115e0 RCX: ffffffff8188f381 RDX: 00000000ffffffff RSI: 0000000000000004 RDI: ffffc90004167d10 RBP: 1ffff9200082cf9a R08: 0000000000000001 R09: fffff5200082cfa2 R10: 0000000000000003 R11: 0000000000000000 R12: ffff88802652f590 R13: ffffe8fefc0115e8 R14: 0000000000000200 R15: ffff88806a63a300 FS: 00007f37d7fb36c0(0000) GS:ffff8880d67b2000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c408c4a CR3: 000000002b5b6000 CR4: 0000000000352ef0 Call Trace: sched_mm_cid_remote_clear_old kernel/sched/core.c:10767 [inline] task_mm_cid_work+0x3b4/0x900 kernel/sched/core.c:10817 task_work_run+0x150/0x240 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop+0xeb/0x110 kernel/entry/common.c:43 exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:175 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:210 [inline] do_syscall_64+0x41c/0x4e0 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f37d718ec29 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f37d7fb3038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000006 RBX: 00007f37d73d5fa0 RCX: 00007f37d718ec29 RDX: 0000000000000000 RSI: 000000000000ae01 RDI: 0000000000000003 RBP: 00007f37d7211e41 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f37d73d6038 R14: 00007f37d73d5fa0 R15: 00007fff57bf1258