================================================================================ UBSAN: shift-out-of-bounds in kernel/sched/fair.c:7712:14 shift exponent 124 is too large for 64-bit type 'long unsigned int' CPU: 3 PID: 11341 Comm: syz-executor.2 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:__local_bh_enable_ip+0xa8/0x120 kernel/softirq.c:205 Code: 1d ed d3 bc 7e 65 8b 05 e6 d3 bc 7e a9 00 ff ff 00 74 45 bf 01 00 00 00 e8 25 09 09 00 e8 a0 c8 34 00 fb 65 8b 05 c8 d3 bc 7e <85> c0 74 58 5b 5d c3 65 8b 05 f6 da bc 7e 85 c0 75 a2 0f 0b eb 9e RSP: 0000:ffffc9000fb3fd70 EFLAGS: 00000202 RAX: 0000000080000000 RBX: 00000000fffffe01 RCX: 1ffffffff1b89e11 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffffff812a0ad3 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff8179e4c8 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: ffffc9000fb3ff58 R15: 0000000000000004 handle_signal arch/x86/kernel/signal.c:762 [inline] arch_do_signal_or_restart+0xc67/0x1eb0 arch/x86/kernel/signal.c:791 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 irqentry_exit_to_user_mode+0x5/0x40 kernel/entry/common.c:314 exc_page_fault+0xc6/0x180 arch/x86/mm/fault.c:1534 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:577 RIP: 0023:0x804c540 Code: e8 15 8f 04 00 83 c4 10 85 c0 75 12 83 c4 20 5b 5e 5f c3 8d 83 0c de f7 ff e8 4c fb ff ff 8d 83 1a de f7 ff e8 41 fb ff ff 90 <53> e8 fa eb ff ff 81 c3 ba fa 11 00 83 ec 08 8b 44 24 14 8b 40 0c RSP: 002b:00000000f555e13c EFLAGS: 00000283 RAX: 000000000000000b RBX: 0000000000000000 RCX: 00000000f555e1cc RDX: 00000000f555e14c RSI: 0000000000000007 RDI: 00000000080ea51d RBP: 000000000819b030 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000296 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ================================================================================