================================================================================ UBSAN: shift-out-of-bounds in ./include/net/red.h:312:18 shift exponent 108 is too large for 64-bit type 'long unsigned int' CPU: 1 PID: 8394 Comm: syz-executor.1 Not tainted 5.11.0-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+0xfa/0x151 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:395 red_calc_qavg_from_idle_time include/net/red.h:312 [inline] red_adaptative_algo include/net/red.h:444 [inline] red_adaptative_timer.cold+0x1bd/0x26c net/sched/sch_red.c:324 call_timer_fn+0x1a5/0x6b0 kernel/time/timer.c:1431 expire_timers kernel/time/timer.c:1476 [inline] __run_timers.part.0+0x67c/0xa50 kernel/time/timer.c:1745 __run_timers kernel/time/timer.c:1726 [inline] run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1758 __do_softirq+0x29b/0x9f6 kernel/softirq.c:343 asm_call_irq_on_stack+0xf/0x20 __run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline] do_softirq_own_stack+0xaa/0xd0 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:226 [inline] __irq_exit_rcu kernel/softirq.c:420 [inline] irq_exit_rcu+0x134/0x200 kernel/softirq.c:432 sysvec_apic_timer_interrupt+0x4d/0x100 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:lockref_get_not_dead+0x38/0x80 lib/lockref.c:213 Code: ef e8 0c 88 44 05 48 8d 7d 40 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 0f b6 04 02 84 c0 74 04 3c 03 7e 39 8b 5d 40 <31> ff 45 31 e4 89 de e8 8c 29 b4 fd 85 db 78 11 e8 03 22 b4 fd 83 RSP: 0018:ffffc90001a47a40 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffffff81595920 RDX: 1ffff11002dba049 RSI: 0000000000000004 RDI: ffff888016dd0248 RBP: ffff888016dd0208 R08: 0000000000000001 R09: 0000000000000003 R10: fffff52000348f3a R11: 0000000000000000 R12: 0000000000000002 R13: ffffc90001a47c58 R14: 0000000000000040 R15: dffffc0000000000 __legitimize_path+0x7f/0x1c0 fs/namei.c:617 legitimize_path fs/namei.c:627 [inline] try_to_unlazy+0x10a/0x3a0 fs/namei.c:696 complete_walk+0xd5/0x2e0 fs/namei.c:801 do_open fs/namei.c:3222 [inline] path_openat+0x12a7/0x2720 fs/namei.c:3370 do_filp_open+0x17e/0x3c0 fs/namei.c:3397 do_sys_openat2+0x16d/0x420 fs/open.c:1178 do_sys_open fs/open.c:1194 [inline] __do_sys_openat fs/open.c:1210 [inline] __se_sys_openat fs/open.c:1205 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1205 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4194e4 Code: 84 00 00 00 00 00 44 89 54 24 0c e8 96 f9 ff ff 44 8b 54 24 0c 44 89 e2 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 89 44 24 0c e8 c8 f9 ff ff 8b 44 RSP: 002b:00007ffc8101b110 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007ffc8101b220 RCX: 00000000004194e4 RDX: 0000000000000002 RSI: 00007ffc8101b260 RDI: 00000000ffffff9c RBP: 00007ffc8101b260 R08: 0000000000000000 R09: 00007ffc8101b020 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 R13: 0000000000100dab R14: 0000000000000000 R15: 00007ffc8101b260 ================================================================================