================================================================================ UBSAN: shift-out-of-bounds in ./include/net/red.h:312:18 shift exponent 109 is too large for 64-bit type 'unsigned long' CPU: 0 PID: 12776 Comm: syz-executor.2 Not tainted 5.12.0-rc1-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+0x125/0x19e lib/dump_stack.c:120 ubsan_epilogue lib/ubsan.c:148 [inline] __ubsan_handle_shift_out_of_bounds+0x432/0x4d0 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+0x70f/0x730 net/sched/sch_red.c:324 call_timer_fn+0x91/0x160 kernel/time/timer.c:1431 expire_timers kernel/time/timer.c:1476 [inline] __run_timers+0x6c0/0x8a0 kernel/time/timer.c:1745 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1758 __do_softirq+0x318/0x714 kernel/softirq.c:345 invoke_softirq kernel/softirq.c:221 [inline] __irq_exit_rcu+0x1d8/0x200 kernel/softirq.c:422 irq_exit_rcu+0x5/0x20 kernel/softirq.c:434 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:632 RIP: 0010:synchronize_rcu+0x0/0x100 kernel/rcu/tree.c:3759 Code: e1 07 38 c1 0f 8c 66 fe ff ff 48 89 ef e8 38 b8 57 00 e9 59 fe ff ff e8 de db ea 07 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 <55> 48 89 e5 48 83 e4 f0 48 81 ec 80 00 00 00 65 48 8b 04 25 28 00 RSP: 0018:ffffc90001a77c08 EFLAGS: 00000206 RAX: fecb4c876adc0600 RBX: 0000000000000000 RCX: ffffffff8ff9eb03 RDX: 0000000000000001 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffffff8ff98eb8 R08: dffffc0000000000 R09: fffffbfff1ff3462 R10: fffffbfff1ff3462 R11: 0000000000000000 R12: ffff88802691f128 R13: dffffc0000000000 R14: 0000000000000246 R15: ffffffff8f7680b0 lockdep_unregister_key+0x39e/0x420 kernel/locking/lockdep.c:6194 wq_unregister_lockdep kernel/workqueue.c:3467 [inline] destroy_workqueue+0x837/0xf80 kernel/workqueue.c:4428 xfs_fs_fill_super+0x66d/0x16b0 fs/xfs/xfs_super.c:1621 get_tree_bdev+0x406/0x630 fs/super.c:1292 vfs_get_tree+0x86/0x270 fs/super.c:1497 do_new_mount fs/namespace.c:2903 [inline] path_mount+0x188a/0x29a0 fs/namespace.c:3233 do_mount fs/namespace.c:3246 [inline] __do_sys_mount fs/namespace.c:3454 [inline] __se_sys_mount+0x28c/0x320 fs/namespace.c:3431 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x46741a 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:00007f3da10eafa8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000020000840 RCX: 000000000046741a RDX: 00000000200000c0 RSI: 0000000020000100 RDI: 00007f3da10eb000 RBP: 00007f3da10eb040 R08: 00007f3da10eb040 R09: 00000000200000c0 R10: 0000000000000000 R11: 0000000000000206 R12: 00000000200000c0 R13: 0000000020000100 R14: 00007f3da10eb000 R15: 00000000200008c0 ================================================================================