================================================================================
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: 10004 Comm: systemd-udevd Not tainted 5.12.0-rc1-next-20210305-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+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: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.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+0x136/0x200 kernel/softirq.c:422
irq_exit_rcu+0x5/0x20 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:check_kcov_mode+0x31/0x40 kernel/kcov.c:175
Code: 89 c2 81 e2 00 01 00 00 a9 00 01 ff 00 74 10 31 c0 85 d2 74 15 8b 96 dc 14 00 00 85 d2 74 0b 8b 86 b8 14 00 00 39 f8 0f 94 c0 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 31 c0 65 8b 15 47 16
RSP: 0018:ffffc90001ebf860 EFLAGS: 00000293
RAX: 0000000000000000 RBX: 0000000000000006 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffff88801f340000 RDI: 0000000000000003
RBP: ffff88801bbf3300 R08: 0000000000000000 R09: 0000000000000006
R10: ffffffff838e8437 R11: 0000000000000010 R12: 0000000000000002
R13: 0000000000000160 R14: dffffc0000000000 R15: 0000000000000000
write_comp_data kernel/kcov.c:218 [inline]
__sanitizer_cov_trace_const_cmp4+0x1c/0x70 kernel/kcov.c:284
tomoyo_domain_quota_is_ok+0x307/0x550 security/tomoyo/util.c:1093
tomoyo_supervisor+0x2f2/0xf00 security/tomoyo/common.c:2089
tomoyo_audit_path_log security/tomoyo/file.c:168 [inline]
tomoyo_path_permission security/tomoyo/file.c:587 [inline]
tomoyo_path_permission+0x270/0x3a0 security/tomoyo/file.c:573
tomoyo_path_perm+0x2f0/0x400 security/tomoyo/file.c:838
security_inode_getattr+0xcf/0x140 security/security.c:1288
vfs_getattr fs/stat.c:131 [inline]
vfs_statx+0x164/0x390 fs/stat.c:199
vfs_fstatat fs/stat.c:217 [inline]
vfs_stat include/linux/fs.h:3236 [inline]
__do_sys_newstat+0x91/0x110 fs/stat.c:359
do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7fd821059295
Code: 00 00 00 e8 5d 01 00 00 48 83 c4 18 c3 0f 1f 84 00 00 00 00 00 83 ff 01 48 89 f0 77 30 48 89 c7 48 89 d6 b8 04 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 03 f3 c3 90 48 8b 15 d1 db 2b 00 f7 d8 64 89
RSP: 002b:00007fffba037ad8 EFLAGS: 00000246 ORIG_RAX: 0000000000000004
RAX: ffffffffffffffda RBX: 000055786c992da0 RCX: 00007fd821059295
RDX: 00007fffba037ae0 RSI: 00007fffba037ae0 RDI: 00007fffba037b90
RBP: 00007fffba037c00 R08: 00000000000001c0 R09: 0000000000000012
R10: 00007fffba037c00 R11: 0000000000000246 R12: 00007fffba037c10
R13: 000055786c992da0 R14: 0000000000000003 R15: 000000000000000e
================================================================================