================================================================================
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: 11007 Comm: systemd-udevd Not tainted 5.12.0-rc1-syzkaller #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014
Call Trace:
__dump_stack lib/dump_stack.c:79 [inline]
dump_stack+0xfa/0x151 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 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:arch_local_irq_enable arch/x86/include/asm/irqflags.h:81 [inline]
RIP: 0010:arch_local_irq_restore arch/x86/include/asm/irqflags.h:145 [inline]
RIP: 0010:seqcount_lockdep_reader_access include/linux/seqlock.h:105 [inline]
RIP: 0010:read_seqbegin include/linux/seqlock.h:843 [inline]
RIP: 0010:read_seqbegin_or_lock include/linux/seqlock.h:1147 [inline]
RIP: 0010:prepend_path+0xa0f/0xd90 fs/d_path.c:89
Code: 47 c1 8b ff b4 24 30 01 00 00 e8 1c 78 88 ff 48 8b b4 24 38 01 00 00 48 c7 c7 08 47 c1 8b e8 f8 70 88 ff e8 d3 87 a8 ff fb 5f 9c f7 ff ff e8 07 9e a2 ff e8 22 f2 8e ff 31 ff 89 c3 89 c6 e8
RSP: 0018:ffffc90000e77860 EFLAGS: 00000206
RAX: 00000000000022c3 RBX: 0000000000000200 RCX: 1ffffffff1b8be61
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff81d0d51a
RBP: 1ffff920001cef33 R08: 0000000000000001 R09: 0000000000000001
R10: ffffffff81794168 R11: 0000000000000000 R12: ffffffffffffffea
R13: ffffc90000e77d88 R14: 0000000000000fff R15: dffffc0000000000
d_absolute_path+0xfa/0x180 fs/d_path.c:205
tomoyo_get_absolute_path security/tomoyo/realpath.c:101 [inline]
tomoyo_realpath_from_path+0x288/0x620 security/tomoyo/realpath.c:276
tomoyo_get_realpath security/tomoyo/file.c:151 [inline]
tomoyo_path_perm+0x21b/0x400 security/tomoyo/file.c:822
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_lstat include/linux/fs.h:3240 [inline]
__do_sys_newlstat+0x91/0x110 fs/stat.c:372
do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7fb117639335
Code: 69 db 2b 00 64 c7 00 16 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 83 ff 01 48 89 f0 77 30 48 89 c7 48 89 d6 b8 06 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 03 f3 c3 90 48 8b 15 31 db 2b 00 f7 d8 64 89
RSP: 002b:00007ffe7d4fd7f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000006
RAX: ffffffffffffffda RBX: 0000557b418aada0 RCX: 00007fb117639335
RDX: 00007ffe7d4fd830 RSI: 00007ffe7d4fd830 RDI: 0000557b418a9da0
RBP: 00007ffe7d4fd8f0 R08: 00007fb1178f81c8 R09: 0000000000001010
R10: 0000000000000120 R11: 0000000000000246 R12: 0000557b418a9da0
R13: 0000557b418a9da4 R14: 0000557b418a9571 R15: 0000557b418a9574
================================================================================