Fedora Account System
Red Hat Associate
Red Hat Customer
A flaw was found in dnsmasq's DHCPv6 relay processing. In relay_upstream6() in src/rfc3315.c, the link-address is written through a pointer into the output buffer after put_opt6() may have reallocated and freed that buffer. A remote attacker able to send UDP packets to port 547 on the relay's interface can crash a dnsmasq instance configured as a DHCPv6 relay (dhcp-relay=, a non-default configuration) by sending a sequence of increasing packet sizes, resulting in a denial of service. Versions 2.87 through 2.93 and git master are reported as affected; RHEL 10 ships an affected version (2.90), while RHEL 8 and RHEL 9 are not affected.