Control: tags -1 + patch upstream
Control: found -1 2.93-3
This is the infinite loop in option_filter() reported upstream on
dnsmasq-discuss in September 2026 ("Infinite loop in PXE proxy replies
with a tagged proxy dhcp-range"):
https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2026q3/018553.html
It happens on the second proxy DHCP request when the proxy dhcp-range
carries a tag, as in LTSP's generated config:
`dhcp-range=set:proxy,192.168.67.0,proxy,255.255.255.0`
It was bisected to upstream commit 7199531. The patch in that message
(set tmp->netid.next to NULL before option_filter(), as do_options()
already does) fixes it. The LTSP developer confirmed this on the list.
It is not in upstream master yet. Ubuntu has shipped the patch in its
supported releases:
https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/2166430
I reproduced the hang with 2.91-1+deb13u2 (trixie) and 2.93-3 (forky).
2.90-4~deb12u2 is not affected.
Workaround: remove the set: tag from the proxy dhcp-range, and the
matching tag: from the pxe-service lines.
Could the patch go into a trixie stable update?