================================================================================
UBSAN: shift-out-of-bounds in ./include/net/red.h:312:18
shift exponent 135 is too large for 64-bit type 'long unsigned int'
CPU: 0 PID: 8423 Comm: syz-executor.2 Not tainted 5.11.0-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:395
red_calc_qavg_from_idle_time include/net/red.h:312 [inline]
red_calc_qavg include/net/red.h:353 [inline]
choke_enqueue.cold+0x18/0x3dd net/sched/sch_choke.c:221
__dev_xmit_skb net/core/dev.c:3837 [inline]
__dev_queue_xmit+0x1943/0x2e00 net/core/dev.c:4150
br_dev_queue_push_xmit+0x252/0x740 net/bridge/br_forward.c:51
NF_HOOK include/linux/netfilter.h:301 [inline]
NF_HOOK include/linux/netfilter.h:295 [inline]
br_forward_finish net/bridge/br_forward.c:64 [inline]
NF_HOOK include/linux/netfilter.h:301 [inline]
NF_HOOK include/linux/netfilter.h:295 [inline]
__br_forward+0x46d/0x610 net/bridge/br_forward.c:108
br_flood+0x3b2/0x450 net/bridge/br_forward.c:233
br_dev_xmit+0xdf0/0x1690 net/bridge/br_device.c:95
__netdev_start_xmit include/linux/netdevice.h:4793 [inline]
netdev_start_xmit include/linux/netdevice.h:4807 [inline]
xmit_one net/core/dev.c:3593 [inline]
dev_hard_start_xmit+0x1eb/0x920 net/core/dev.c:3609
__dev_queue_xmit+0x2121/0x2e00 net/core/dev.c:4182
neigh_resolve_output net/core/neighbour.c:1491 [inline]
neigh_resolve_output+0x50e/0x820 net/core/neighbour.c:1471
neigh_output include/net/neighbour.h:510 [inline]
ip6_finish_output2+0x6ee/0x1700 net/ipv6/ip6_output.c:117
__ip6_finish_output net/ipv6/ip6_output.c:182 [inline]
__ip6_finish_output+0x4c1/0xe10 net/ipv6/ip6_output.c:161
ip6_finish_output+0x35/0x200 net/ipv6/ip6_output.c:192
NF_HOOK_COND include/linux/netfilter.h:290 [inline]
ip6_output+0x1e4/0x530 net/ipv6/ip6_output.c:215
dst_output include/net/dst.h:448 [inline]
NF_HOOK include/linux/netfilter.h:301 [inline]
ndisc_send_skb+0xa99/0x1750 net/ipv6/ndisc.c:508
ndisc_send_rs+0x12e/0x700 net/ipv6/ndisc.c:702
addrconf_rs_timer+0x3f2/0x820 net/ipv6/addrconf.c:3877
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:343
asm_call_irq_on_stack+0xf/0x20
__run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline]
run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline]
do_softirq_own_stack+0xaa/0xd0 arch/x86/kernel/irq_64.c:77
invoke_softirq kernel/softirq.c:226 [inline]
__irq_exit_rcu kernel/softirq.c:420 [inline]
irq_exit_rcu+0x134/0x200 kernel/softirq.c:432
sysvec_apic_timer_interrupt+0x4d/0x100 arch/x86/kernel/apic/apic.c:1100
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635
RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline]
RIP: 0010:_raw_spin_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:199
Code: 0f 1f 44 00 00 55 48 8b 74 24 08 48 89 fd 48 83 c7 18 e8 8e 12 58 f8 48 89 ef e8 b6 c8 58 f8 e8 e1 32 78 f8 fb bf 01 00 00 00 f6 c4 4c f8 65 8b 05 df 44 01 77 85 c0 74 02 5d c3 e8 6b 9a ff
RSP: 0018:ffffc90001a4fb10 EFLAGS: 00000206
RAX: 00000000002728b7 RBX: 0000000000000001 RCX: 1ffffffff1b87859
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000001
RBP: ffff8880b9c35180 R08: 0000000000000001 R09: 0000000000000001
R10: ffffffff8178dde8 R11: 000000000000003f R12: ffff8880b9c35180
R13: ffff8880180b1bc0 R14: 0000000000000000 R15: ffff888011a15340
finish_lock_switch kernel/sched/core.c:4076 [inline]
finish_task_switch.isra.0+0x158/0x7e0 kernel/sched/core.c:4193
context_switch kernel/sched/core.c:4327 [inline]
__schedule+0x914/0x21a0 kernel/sched/core.c:5075
schedule+0xcf/0x270 kernel/sched/core.c:5154
freezable_schedule include/linux/freezer.h:172 [inline]
do_nanosleep+0x268/0x6a0 kernel/time/hrtimer.c:1878
hrtimer_nanosleep+0x1f9/0x430 kernel/time/hrtimer.c:1931
common_nsleep+0xa2/0xc0 kernel/time/posix-timers.c:1227
__do_sys_clock_nanosleep kernel/time/posix-timers.c:1267 [inline]
__se_sys_clock_nanosleep kernel/time/posix-timers.c:1245 [inline]
__x64_sys_clock_nanosleep+0x2f4/0x430 kernel/time/posix-timers.c:1245
do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x48a631
Code: 24 0c 89 3c 24 48 89 4c 24 18 e8 aa e2 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 8b 74 24 0c 8b 3c 24 b8 e6 00 00 00 0f 05 <44> 89 c7 48 89 04 24 e8 e3 e2 ff ff 48 8b 04 24 eb 97 66 2e 0f 1f
RSP: 002b:00007ffded8f0b90 EFLAGS: 00000293 ORIG_RAX: 00000000000000e6
RAX: ffffffffffffffda RBX: 0000000000000281 RCX: 000000000048a631
RDX: 00007ffded8f0bd0 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007ffded8f0c6c R08: 0000000000000000 R09: 00007ffded90b090
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000032
R13: 000000000003a97c R14: 0000000000000000 R15: 00007ffded8f0cd0
================================================================================