================================================================================
UBSAN: shift-out-of-bounds in ./include/net/red.h:312:18
shift exponent 109 is too large for 64-bit type 'long unsigned int'
CPU: 1 PID: 238 Comm: kworker/u4:5 Not tainted 5.11.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events_unbound call_usermodehelper_exec_work
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: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: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:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline]
RIP: 0010:_raw_spin_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:199
Code: 0f 1f 44 00 00 55 48 8b 74 24 08 48 89 fd 48 83 c7 18 e8 fe 78 56 f8 48 89 ef e8 26 2f 57 f8 e8 21 9c 76 f8 fb bf 01 00 00 00 36 29 4b f8 65 8b 05 bf 2a ff 76 85 c0 74 02 5d c3 e8 1b 80 fd
RSP: 0018:ffffc900019ef868 EFLAGS: 00000202
RAX: 000000000063f6b5 RBX: ffffffff8bfb08c8 RCX: 1ffffffff1f53c0a
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001
RBP: ffffffff8bfb4300 R08: 0000000000000001 R09: ffffffff8fa96877
R10: 0000000000000001 R11: 0000000000000000 R12: 00000000000000ed
R13: ffffffff8bfb0860 R14: ffff888061e45340 R15: 0000000000003846
spin_unlock_irq include/linux/spinlock.h:404 [inline]
cgroup_css_set_fork kernel/cgroup/cgroup.c:5913 [inline]
cgroup_can_fork+0x264/0xee0 kernel/cgroup/cgroup.c:6022
copy_process+0x333d/0x6fd0 kernel/fork.c:2197
kernel_clone+0xe7/0xab0 kernel/fork.c:2462
kernel_thread+0xb5/0xf0 kernel/fork.c:2514
call_usermodehelper_exec_work kernel/umh.c:172 [inline]
call_usermodehelper_exec_work+0xcc/0x180 kernel/umh.c:158
process_one_work+0x98d/0x1600 kernel/workqueue.c:2275
worker_thread+0x64c/0x1120 kernel/workqueue.c:2421
kthread+0x3b1/0x4a0 kernel/kthread.c:292
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294
================================================================================