================================================================================ UBSAN: Undefined behaviour in ./include/net/red.h:272:18 shift exponent 102 is too large for 64-bit type 'long unsigned int' CPU: 0 PID: 11618 Comm: syz-executor.4 Not tainted 4.19.152-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 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_calc_qavg include/net/red.h:313 [inline] red_enqueue+0x2064/0x2200 net/sched/sch_red.c:68 __dev_xmit_skb net/core/dev.c:3494 [inline] __dev_queue_xmit+0x14e1/0x2ec0 net/core/dev.c:3807 neigh_resolve_output+0x55a/0x950 net/core/neighbour.c:1374 neigh_output include/net/neighbour.h:501 [inline] ip6_finish_output2+0x1184/0x2370 net/ipv6/ip6_output.c:120 ip6_finish_output+0x610/0xcc0 net/ipv6/ip6_output.c:154 NF_HOOK_COND include/linux/netfilter.h:278 [inline] ip6_output+0x205/0x7c0 net/ipv6/ip6_output.c:171 dst_output include/net/dst.h:455 [inline] ip6_local_out+0xaf/0x170 net/ipv6/output_core.c:178 ip6_send_skb+0xb3/0x300 net/ipv6/ip6_output.c:1699 ip6_push_pending_frames+0xdd/0x100 net/ipv6/ip6_output.c:1719 icmpv6_push_pending_frames+0x294/0x470 net/ipv6/icmp.c:288 icmp6_send+0x1c51/0x2310 net/ipv6/icmp.c:584 icmpv6_send+0x11e/0x26d net/ipv6/ip6_icmp.c:43 ip6_link_failure+0x26/0x560 net/ipv6/route.c:2297 dst_link_failure include/net/dst.h:438 [inline] ndisc_error_report+0xc7/0x190 net/ipv6/ndisc.c:695 neigh_invalidate+0x22c/0x540 net/core/neighbour.c:900 neigh_timer_handler+0x9b0/0xc70 net/core/neighbour.c:986 call_timer_fn+0x177/0x760 kernel/time/timer.c:1338 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: 0033:0x4177b1 Code: 75 14 b8 03 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 a4 1a 00 00 c3 48 83 ec 08 e8 0a fc ff ff 48 89 04 24 b8 03 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 53 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007fff4c061b20 EFLAGS: 00000293 ORIG_RAX: ffffffffffffff13 RAX: fffffffffffffff7 RBX: 0000000000000015 RCX: 00000000004177b1 RDX: fffffffffffffff7 RSI: 000000000000183f RDI: 0000000000000014 RBP: 0000000000000001 R08: 0000000078ccd83f R09: 0000000078ccd843 R10: 00007fff4c061c00 R11: 0000000000000293 R12: ffffffffffffffff R13: 0000000000033a7f R14: 00000000000003e8 R15: 000000000118bf2c ================================================================================ TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies. Check SNMP counters. TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies. Check SNMP counters. netlink: 'syz-executor.1': attribute type 29 has an invalid length. netlink: 'syz-executor.1': attribute type 29 has an invalid length. netlink: 'syz-executor.1': attribute type 29 has an invalid length. netlink: 'syz-executor.1': attribute type 29 has an invalid length. netlink: 'syz-executor.1': attribute type 29 has an invalid length. netlink: 'syz-executor.2': attribute type 29 has an invalid length. netlink: 'syz-executor.1': attribute type 29 has an invalid length. netlink: 'syz-executor.1': attribute type 29 has an invalid length. netlink: 'syz-executor.1': attribute type 29 has an invalid length. kauditd_printk_skb: 6 callbacks suppressed audit: type=1400 audit(1602961594.513:53): avc: denied { sys_admin } for pid=12017 comm="syz-executor.2" capability=21 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=cap_userns permissive=1 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pid=12065 comm=syz-executor.1 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pid=12065 comm=syz-executor.1 netlink: 16 bytes leftover after parsing attributes in process `syz-executor.2'. netlink: 668 bytes leftover after parsing attributes in process `syz-executor.2'. audit: type=1400 audit(1602961595.583:54): avc: denied { audit_read } for pid=12128 comm="syz-executor.3" capability=37 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=capability2 permissive=1 netlink: 668 bytes leftover after parsing attributes in process `syz-executor.5'. SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pid=12189 comm=syz-executor.3 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pid=12196 comm=syz-executor.3 IPVS: set_ctl: invalid protocol: 137 127.0.0.1:20000 IPVS: set_ctl: invalid protocol: 137 127.0.0.1:20000 netlink: 16 bytes leftover after parsing attributes in process `syz-executor.2'. netlink: 16 bytes leftover after parsing attributes in process `syz-executor.2'. netlink: 20 bytes leftover after parsing attributes in process `syz-executor.3'. IPVS: sync thread started: state = MASTER, mcast_ifn = veth1_virt_wifi, syncid = 0, id = 0