================================================================================ UBSAN: shift-out-of-bounds in kernel/sched/fair.c:7712:14 shift exponent 170 is too large for 64-bit type 'long unsigned int' CPU: 0 PID: 6543 Comm: systemd-udevd Not tainted 5.12.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 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:kasan_check_range+0x15/0x180 mm/kasan/generic.c:185 Code: 2e 02 0f 1f 00 48 89 f2 be f8 00 00 00 e9 d3 d7 2e 02 0f 1f 00 48 85 f6 0f 84 70 01 00 00 49 89 f9 41 54 44 0f b6 c2 49 01 f1 <55> 53 0f 82 18 01 00 00 48 b8 ff ff ff ff ff 7f ff ff 48 39 c7 0f RSP: 0018:ffffc9000170f750 EFLAGS: 00000296 RAX: 0000000000000000 RBX: fffffbfff1fda50b RCX: ffffffff81c9c4f5 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8fed2858 RBP: 0000000000000012 R08: 0000000000000000 R09: ffffffff8fed2860 R10: ffffffff81c9c50f R11: 0000000000000000 R12: 0000000000000001 R13: dffffc0000000000 R14: 00000000763d4c55 R15: ffffffff8fed2858 instrument_atomic_read include/linux/instrumented.h:71 [inline] test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] bit_spin_lock include/linux/bit_spinlock.h:31 [inline] hlist_bl_lock include/linux/list_bl.h:148 [inline] d_alloc_parallel+0xee5/0x1a00 fs/dcache.c:2609 __lookup_slow+0x193/0x480 fs/namei.c:1611 lookup_slow fs/namei.c:1643 [inline] walk_component+0x418/0x6a0 fs/namei.c:1939 lookup_last fs/namei.c:2396 [inline] path_lookupat+0x1ba/0x830 fs/namei.c:2420 filename_lookup+0x19f/0x560 fs/namei.c:2453 user_path_at include/linux/namei.h:60 [inline] vfs_statx+0x142/0x390 fs/stat.c:195 vfs_fstatat fs/stat.c:217 [inline] __do_sys_newfstatat+0x96/0x120 fs/stat.c:386 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f319966e44b Code: 00 16 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 83 ff 01 48 89 d0 77 38 48 63 fe 4d 63 d0 48 89 c6 48 89 ca b8 06 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 05 f3 c3 0f 1f 00 48 8b 15 19 da 2b 00 f7 d8 RSP: 002b:00007ffc0f0fcb18 EFLAGS: 00000246 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 00007ffc0f0fcc10 RCX: 00007f319966e44b RDX: 00007ffc0f0fcb50 RSI: 00007f319a1ca0b7 RDI: 0000000000000010 RBP: 00007f319a1ca0b7 R08: 0000000000000000 R09: 0000000000000020 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffc0f0fcc10 R13: 00007ffc0f0fcb50 R14: 0000000000000000 R15: 0000000000000000 ================================================================================