================================================================================ UBSAN: shift-out-of-bounds in ./include/net/red.h:312:18 shift exponent 193 is too large for 64-bit type 'unsigned long' CPU: 0 PID: 8376 Comm: syz-fuzzer Not tainted 5.12.0-rc3-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+0x176/0x24e lib/dump_stack.c:120 ubsan_epilogue lib/ubsan.c:148 [inline] __ubsan_handle_shift_out_of_bounds+0x42e/0x4d0 lib/ubsan.c:327 red_calc_qavg_from_idle_time include/net/red.h:312 [inline] red_adaptative_algo include/net/red.h:444 [inline] red_adaptative_timer+0x70f/0x730 net/sched/sch_red.c:324 call_timer_fn+0x91/0x160 kernel/time/timer.c:1431 expire_timers kernel/time/timer.c:1476 [inline] __run_timers+0x6c0/0x8a0 kernel/time/timer.c:1745 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1758 __do_softirq+0x318/0x714 kernel/softirq.c:345 invoke_softirq kernel/softirq.c:221 [inline] __irq_exit_rcu+0x1d8/0x200 kernel/softirq.c:422 irq_exit_rcu+0x5/0x20 kernel/softirq.c:434 sysvec_apic_timer_interrupt+0x43/0xb0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:632 RIP: 0033:0x496411 Code: 48 0f af c6 48 03 02 0f b6 53 17 48 89 5c 24 48 48 89 44 24 50 48 f7 c1 60 00 00 00 b8 00 00 00 00 b9 20 00 00 00 48 0f 45 c1 <83> e2 1f 48 09 c2 48 81 ca 80 01 00 00 48 89 54 24 58 48 8b 6c 24 RSP: 002b:000000c0004e15c8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 000000000070de60 RCX: 0000000000000020 RDX: 000000000000000a RSI: 0000000000000004 RDI: 000000c00951c4a8 RBP: 000000c0004e15e0 R08: 0000000000000fdf R09: 000000c0000cbd98 R10: 000000000000e58a R11: 0000000000000074 R12: 00000000000000f4 R13: 0000000000000000 R14: 000000000093f6a8 R15: 0000000000000000 ================================================================================