================================================================================ UBSAN: shift-out-of-bounds in kernel/sched/fair.c:7712:14 shift exponent 64 is too large for 64-bit type 'long unsigned int' CPU: 2 PID: 13655 Comm: syz-executor.0 Not tainted 5.12.0-rc8-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x141/0x1d7 lib/dump_stack.c:120 ubsan_epilogue+0xb/0x5a lib/ubsan.c:148 __ubsan_handle_shift_out_of_bounds.cold+0xb1/0x181 lib/ubsan.c:327 detach_tasks kernel/sched/fair.c:7712 [inline] load_balance.cold+0x1d/0x2e kernel/sched/fair.c:9641 rebalance_domains+0x5cc/0xdb0 kernel/sched/fair.c:10029 __do_softirq+0x29b/0x9f6 kernel/softirq.c:345 invoke_softirq kernel/softirq.c:221 [inline] __irq_exit_rcu kernel/softirq.c:422 [inline] irq_exit_rcu+0x134/0x200 kernel/softirq.c:434 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:632 RIP: 0010:zap_pte_range mm/memory.c:1233 [inline] RIP: 0010:zap_pmd_range mm/memory.c:1374 [inline] RIP: 0010:zap_pud_range mm/memory.c:1403 [inline] RIP: 0010:zap_p4d_range mm/memory.c:1424 [inline] RIP: 0010:unmap_page_range+0x9e1/0x2650 mm/memory.c:1445 Code: 84 43 0e 00 00 49 89 c7 49 8d 87 00 f0 ff ff 48 89 04 24 e8 a1 f4 cc ff 4c 89 e8 48 c1 e8 03 42 80 3c 30 00 0f 85 e0 17 00 00 <4d> 8b 65 00 31 ff 4c 89 e3 48 83 e3 9f 48 89 de e8 9a fc cc ff 48 RSP: 0018:ffffc900088a7768 EFLAGS: 00000246 RAX: 1ffff1100d56f64f RBX: 000000002f600000 RCX: 0000000000000000 RDX: ffff888012a254c0 RSI: ffffffff81a700af RDI: 0000000000000003 RBP: ffffea0001690b40 R08: 000000002f600000 R09: 0000000000000000 R10: ffffffff81a7008c R11: 0000000000000000 R12: ffffea0001690b70 R13: ffff88806ab7b278 R14: dffffc0000000000 R15: 000000002f450000 unmap_single_vma+0x198/0x300 mm/memory.c:1490 unmap_vmas+0x16d/0x2f0 mm/memory.c:1522 exit_mmap+0x2a8/0x590 mm/mmap.c:3218 __mmput+0x122/0x470 kernel/fork.c:1090 mmput+0x58/0x60 kernel/fork.c:1111 exit_mm kernel/exit.c:501 [inline] do_exit+0xb0a/0x2a60 kernel/exit.c:812 do_group_exit+0x125/0x310 kernel/exit.c:922 get_signal+0x47f/0x2150 kernel/signal.c:2781 arch_do_signal_or_restart+0x2a8/0x1eb0 arch/x86/kernel/signal.c:789 handle_signal_work kernel/entry/common.c:147 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0x148/0x250 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:301 __do_fast_syscall_32+0x62/0x90 arch/x86/entry/common.c:143 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:165 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7f15549 Code: Unable to access opcode bytes at RIP 0xf7f1551f. RSP: 002b:00000000f550f5fc EFLAGS: 00000296 ORIG_RAX: 0000000000000112 RAX: 0000000000000000 RBX: 00000000203b5000 RCX: 0000000000800000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000002 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ================================================================================