================================================================================
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: 0 PID: 22742 Comm: systemd-udevd Not tainted 5.11.0-rc6-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:1096
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:629
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 3e 56 5c f8 48 89 ef e8 e6 0a 5d f8 e8 e1 2a 7c f8 fb bf 01 00 00 00 26 12 51 f8 65 8b 05 1f 8a 05 77 85 c0 74 02 5d c3 e8 8b df 03
RSP: 0018:ffffc9000c1c79f0 EFLAGS: 00000202
RAX: 0000000000005fab RBX: 0000000000000008 RCX: ffffffff81584017
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001
RBP: ffff88802b2be760 R08: 0000000000000001 R09: ffffffff8f866827
R10: fffffbfff1f0cd04 R11: 0000000000000000 R12: ffff88802b2be760
R13: 0000000000000004 R14: 0000000000000000 R15: ffff88802b2be880
spin_unlock_irq include/linux/spinlock.h:404 [inline]
shmem_getpage_gfp+0x9af/0x2450 mm/shmem.c:1938
shmem_getpage mm/shmem.c:155 [inline]
shmem_write_begin+0xf9/0x1d0 mm/shmem.c:2528
generic_perform_write+0x20a/0x4f0 mm/filemap.c:3408
__generic_file_write_iter+0x24e/0x610 mm/filemap.c:3537
generic_file_write_iter+0xd7/0x220 mm/filemap.c:3569
call_write_iter include/linux/fs.h:1901 [inline]
new_sync_write+0x426/0x650 fs/read_write.c:518
vfs_write+0x791/0xa30 fs/read_write.c:605
ksys_write+0x12d/0x250 fs/read_write.c:658
do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x7f1c9e403970
Code: 73 01 c3 48 8b 0d 28 d5 2b 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 83 3d 99 2d 2c 00 00 75 10 b8 01 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 7e 9b 01 00 48 89 04 24
RSP: 002b:00007ffcc4e2da18 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000037 RCX: 00007f1c9e403970
RDX: 0000000000000037 RSI: 000055b6bfb50660 RDI: 000000000000000f
RBP: 000055b6bfb50660 R08: 000055b6bfb5b980 R09: 00007f1c9f5918c0
R10: 0000000000000073 R11: 0000000000000246 R12: 0000000000000037
R13: 0000000000000001 R14: 000055b6bfb5b8a0 R15: 0000000000000037
================================================================================