================================================================================ 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: 13258 Comm: syz-executor.0 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+0x9/0x40 kernel/kcov.c:163 Code: ff 48 89 df e8 68 11 44 00 e9 a1 fe ff ff 48 8b 3c 24 e8 5a 11 44 00 e9 18 fe ff ff cc cc cc cc cc 65 8b 05 89 16 8e 7e 89 c2 <81> e2 00 01 00 00 a9 00 01 ff 00 74 10 31 c0 85 d2 74 15 8b 96 dc RSP: 0018:ffffc9000a0cf998 EFLAGS: 00000282 RAX: 0000000080000000 RBX: 0000000000004e39 RCX: 0000000000004e39 RDX: 0000000080000000 RSI: ffff888025af5400 RDI: 0000000000000003 RBP: 0000000000007b08 R08: 0000000000007b08 R09: ffffffff8fe579e7 R10: ffffffff8200ad37 R11: 0000000000000100 R12: dffffc0000000000 R13: ffffc90015eae038 R14: ffffc9000b621000 R15: ffff88802baa0000 write_comp_data kernel/kcov.c:218 [inline] __sanitizer_cov_trace_cmp4+0x1c/0x70 kernel/kcov.c:258 allocate_cnodes fs/reiserfs/journal.c:358 [inline] journal_init+0x19d7/0x60f0 fs/reiserfs/journal.c:2849 reiserfs_fill_super+0xb21/0x2e00 fs/reiserfs/super.c:2032 mount_bdev+0x34d/0x410 fs/super.c:1367 legacy_get_tree+0x105/0x220 fs/fs_context.c:592 vfs_get_tree+0x89/0x2f0 fs/super.c:1497 do_new_mount fs/namespace.c:2903 [inline] path_mount+0x132a/0x1fa0 fs/namespace.c:3233 do_mount fs/namespace.c:3246 [inline] __do_sys_mount fs/namespace.c:3454 [inline] __se_sys_mount fs/namespace.c:3431 [inline] __x64_sys_mount+0x27f/0x300 fs/namespace.c:3431 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x46748a Code: 48 c7 c2 bc ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f197013afa8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000020000040 RCX: 000000000046748a RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f197013b000 RBP: 00007f197013b040 R08: 00007f197013b040 R09: 0000000020000000 R10: 0000000000208403 R11: 0000000000000206 R12: 0000000020000000 R13: 0000000020000100 R14: 00007f197013b000 R15: 0000000020011500 ================================================================================