================================================================================ UBSAN: shift-out-of-bounds in kernel/sched/fair.c:7712:14 shift exponent 223 is too large for 64-bit type 'long unsigned int' CPU: 1 PID: 1 Comm: systemd 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:qlist_free_all+0x7b/0x110 mm/kasan/quarantine.c:163 Code: 75 52 9c 58 f6 c4 02 0f 85 a4 00 00 00 48 85 db 74 01 fb 48 85 ed 74 73 48 89 ee 4d 85 e4 4c 89 e7 74 38 48 63 87 80 00 00 00 <48> 8b 2e 48 29 c6 9c 5b fa 81 e3 00 02 00 00 74 aa 48 89 74 24 08 RSP: 0018:ffffc9000034f988 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000200 RCX: ffffea000068abc7 RDX: 0000000000000000 RSI: ffff8880141a2400 RDI: ffff888010840600 RBP: ffff8880141a2400 R08: 0000000000000000 R09: 0000000000000028 R10: ffffffff813371da R11: 000000000000003f R12: 0000000000000000 R13: dffffc0000000000 R14: ffffc9000034f9d0 R15: ffffea0000000000 kasan_quarantine_reduce+0x180/0x200 mm/kasan/quarantine.c:272 __kasan_slab_alloc+0x7d/0x90 mm/kasan/common.c:437 kasan_slab_alloc include/linux/kasan.h:223 [inline] slab_post_alloc_hook mm/slab.h:516 [inline] slab_alloc mm/slab.c:3325 [inline] kmem_cache_alloc+0x1c8/0x500 mm/slab.c:3502 kmem_cache_zalloc include/linux/slab.h:674 [inline] lsm_file_alloc security/security.c:569 [inline] security_file_alloc+0x34/0x170 security/security.c:1470 __alloc_file+0xd8/0x280 fs/file_table.c:106 alloc_empty_file+0x6d/0x170 fs/file_table.c:150 path_openat+0xe3/0x27e0 fs/namei.c:3486 do_filp_open+0x190/0x3d0 fs/namei.c:3527 do_sys_openat2+0x16d/0x420 fs/open.c:1187 do_sys_open fs/open.c:1203 [inline] __do_sys_open fs/open.c:1211 [inline] __se_sys_open fs/open.c:1207 [inline] __x64_sys_open+0x119/0x1c0 fs/open.c:1207 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f286891a6f0 Code: 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 3d 19 30 2c 00 00 75 10 b8 02 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 fe 9d 01 00 48 89 04 24 RSP: 002b:00007ffefbf4e888 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00005651765f2020 RCX: 00007f286891a6f0 RDX: 00000000000001b6 RSI: 0000000000080000 RDI: 00007ffefbf4e940 RBP: 0000000000000008 R08: 0000000000000008 R09: 0000000000000001 R10: 0000000000080000 R11: 0000000000000246 R12: 00007f286a0547b4 R13: 0000000000000001 R14: 00007ffefbf4e940 R15: 0000000000000000 ================================================================================