================================================================================
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: 10746 Comm: syz-executor.4 Not tainted 5.11.0-rc7-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+0x107/0x163 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:1417
expire_timers kernel/time/timer.c:1462 [inline]
__run_timers.part.0+0x67c/0xa50 kernel/time/timer.c:1731
__run_timers kernel/time/timer.c:1712 [inline]
run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1744
__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:629
RIP: 0010:rcu_read_unlock include/linux/rcupdate.h:698 [inline]
RIP: 0010:count_memcg_event_mm.part.0+0x11f/0x280 include/linux/memcontrol.h:1032
Code: 00 4c 89 ee e8 f2 0c ce ff 4d 85 ed 75 76 e8 f8 04 ce ff ba 01 00 00 00 44 89 e6 48 89 ef e8 78 f8 16 00 e8 e3 04 ce ff 53 9d dc 04 ce ff e8 77 d6 55 07 31 ff 89 c3 89 c6 e8 4c 0c ce ff 85
RSP: 0000:ffffc90002d1fd40 EFLAGS: 00000293
RAX: 0000000000000000 RBX: 0000000000000293 RCX: 0000000000000000
RDX: ffff888019531bc0 RSI: ffffffff81a4cfbd RDI: 0000000000000000
RBP: ffff88814074a000 R08: 0000000000000001 R09: ffffffff8f8667bf
R10: fffffbfff1f0ccf7 R11: 0000000000000000 R12: 0000000000000014
R13: 0000000000000200 R14: ffff88802d431630 R15: ffff88806b85a300
count_memcg_event_mm include/linux/memcontrol.h:523 [inline]
handle_mm_fault+0x11d/0x5690 mm/memory.c:4600
do_user_addr_fault+0x458/0xc60 arch/x86/mm/fault.c:1393
handle_page_fault arch/x86/mm/fault.c:1450 [inline]
exc_page_fault+0x9e/0x180 arch/x86/mm/fault.c:1506
asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:580
RIP: 0033:0x4141d8
Code: 15 05 12 09 01 4c 8b 1d f6 11 09 01 4c 8d 82 00 00 00 01 49 39 d3 0f 82 36 02 00 00 4d 39 d8 0f 86 2d 02 00 00 48 8b 44 24 08 <41> 89 1b 49 83 c3 04 41 83 c5 01 83 44 24 14 01 4c 89 1d c1 11 09
RSP: 002b:00007ffc3a2d63e0 EFLAGS: 00010206
RAX: 000000000056bfe8 RBX: 000000006eeaeec7 RCX: 0000000000000000
RDX: 0000001b2c820000 RSI: 0000001b2c828b08 RDI: 0000000000000ec8
RBP: 00007f1f60f82008 R08: 0000001b2d820000 R09: 0000001b2c828b10
R10: 00007ffc3a2d65a0 R11: 0000001b2c829000 R12: ffffffff818e1ac5
R13: 0000000000000343 R14: 0000000000560000 R15: 0000000000000001
================================================================================