================================================================================ UBSAN: Undefined behaviour in ./include/net/red.h:272:18 shift exponent 234 is too large for 64-bit type 'long unsigned int' CPU: 1 PID: 107 Comm: kworker/u4:2 Not tainted 4.19.148-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x22c/0x33e lib/dump_stack.c:118 ubsan_epilogue+0xe/0x3a lib/ubsan.c:161 __ubsan_handle_shift_out_of_bounds.cold+0x1c4/0x250 lib/ubsan.c:422 red_calc_qavg_from_idle_time include/net/red.h:272 [inline] red_adaptative_algo include/net/red.h:404 [inline] red_adaptative_timer+0x7ed/0x870 net/sched/sch_red.c:266 call_timer_fn+0x177/0x760 kernel/time/timer.c:1338 Process accounting resumed expire_timers+0x243/0x500 kernel/time/timer.c:1375 __run_timers kernel/time/timer.c:1703 [inline] run_timer_softirq+0x259/0x730 kernel/time/timer.c:1716 __do_softirq+0x27d/0xad2 kernel/softirq.c:292 invoke_softirq kernel/softirq.c:372 [inline] irq_exit+0x22d/0x270 kernel/softirq.c:412 exiting_irq arch/x86/include/asm/apic.h:544 [inline] smp_apic_timer_interrupt+0x15f/0x5d0 arch/x86/kernel/apic/apic.c:1094 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894 RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:789 [inline] RIP: 0010:lock_release+0x429/0x8e0 kernel/locking/lockdep.c:3929 Code: 84 08 00 00 00 00 00 00 48 c1 e8 03 80 3c 10 00 0f 85 c5 03 00 00 48 83 3d 6b a4 0b 08 00 0f 84 f0 01 00 00 48 8b 3c 24 57 9d <0f> 1f 44 00 00 48 b8 00 00 00 00 00 fc ff df 49 c7 04 04 00 00 00 RSP: 0018:ffff8880a8c17a98 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 RAX: 1ffffffff12c7135 RBX: ffff8880a8c08580 RCX: 1ffff110151811d0 RDX: dffffc0000000000 RSI: 0000000000000004 RDI: 0000000000000286 RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000003 R10: 0000000000000000 R11: 0000000000000003 R12: 1ffff11015182f56 R13: 19620feedb45a28d R14: ffff8880a8c08580 R15: 0000000000000004 rcu_lock_release include/linux/rcupdate.h:247 [inline] rcu_read_unlock include/linux/rcupdate.h:681 [inline] inet_twsk_purge+0x5af/0x80b net/ipv4/inet_timewait_sock.c:298 ops_exit_list+0xf9/0x150 net/core/net_namespace.c:156 cleanup_net+0x3b4/0x8b0 net/core/net_namespace.c:553 process_one_work+0x796/0x14e0 kernel/workqueue.c:2155 worker_thread+0x64c/0x1130 kernel/workqueue.c:2298 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 ================================================================================ Process accounting resumed IPVS: ftp: loaded support on port[0] = 21 Process accounting resumed Process accounting resumed IPVS: ftp: loaded support on port[0] = 21 Process accounting resumed Process accounting resumed Process accounting resumed IPVS: ftp: loaded support on port[0] = 21 Process accounting resumed IPVS: ftp: loaded support on port[0] = 21 Process accounting resumed Process accounting resumed Process accounting resumed IPVS: ftp: loaded support on port[0] = 21 Process accounting resumed IPVS: ftp: loaded support on port[0] = 21 Process accounting resumed Process accounting resumed IPVS: ftp: loaded support on port[0] = 21 Process accounting resumed IPVS: ftp: loaded support on port[0] = 21 Process accounting resumed IPVS: ftp: loaded support on port[0] = 21 IPVS: ftp: loaded support on port[0] = 21 sctp: [Deprecated]: syz-executor.2 (pid 19567) Use of int in maxseg socket option. Use struct sctp_assoc_value instead IPVS: ftp: loaded support on port[0] = 21 sctp: [Deprecated]: syz-executor.2 (pid 19579) Use of int in maxseg socket option. Use struct sctp_assoc_value instead IPVS: ftp: loaded support on port[0] = 21