🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #4729

Bug#1151644: dnsmasq: when used with ltsp package, it grows cpu usage at 100% and stop working after an ipxe client attempt to b...

#4729
From: Sander den Hollander
Date: Mon, 16 Nov 2026 14:10
20 lines
4223 bytes
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?
Technical Details
Message-ID: <O05zc-cgt7-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <NR3ZD-7dzz-1@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Sander den Hollander <sander@nickmous.com>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1151644: dnsmasq: when used with ltsp package, it grows cpu usage at 100% and stop working after an ipxe client attempt to boot
Date: Mon, 16 Nov 2026 15:10:02 +0100
Message-ID: <O05zc-cgt7-3@gated-at.bofh.it>
References: <NR3ZD-7dzz-1@gated-at.bofh.it>
X-Original-To: 1151644@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Mon Nov 16 14:05:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.451
Reply-To: Sander den Hollander <sander@nickmous.com>, 1151644@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: simon@thekelleys.org.uk
X-Debian-Pr-Message: followup 1151644
X-Debian-Pr-Package: dnsmasq
X-Debian-Pr-Source: dnsmasq
Arc-Seal: i=1; a=rsa-sha256; t=1794837075; cv=none;
    d=strato.com; s=strato-dkim-0002;
    b=auuaifgP6s7QS0sRBJcKqDW2By1rTRNdMWa4PsLlaCQIPEveCkGCQD2CWjB1DX30ih
    fp0f4970T/fyNsVmh6k1N5wswtQ+OkSgtRMUNoO3kHGs9VUKNjcBeKj7S1841lDeMmkr
    V2LWZ4vtC4kJjLUu47B5xVUYTuLEPt4cWLOnIxt3sj9LEBzeq2z2YG5u5xqBJZcgMuSF
    y+ddBxZwH5rnKUyPpY4R2hLN5eSeVKAIHdHaTnZLirUyZEKe4PI/rF8UZPZphEPF5gAq
    w5p3TcwTOX5+jreg27pqcQZO8Sty/cXiw/X8nGuEhCeAEX5h82QbjBKDiv6BhmmMXhc5
    kxQA==
Arc-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1794837075;
    s=strato-dkim-0002; d=strato.com;
    h=Subject:From:To:Date:Message-ID:Cc:Date:From:Subject:Sender;
    bh=kfqiEV5QRC2SHZoVXGsmLisiYzhN0v7cl0ASjizygyE=;
    b=YC737b6WOra6UmfPaUpz+yroT/m/TVojTWIJMIaRQZnH6rrBxCcdG1PlPgDTSDYHIm
    CHyZap31UaP/bpq30nAMijjZcv3HOYjRF6MscYU2Z+k9vdjtOTBrdQVOGcThaMRywQsd
    PtdT6bnyYmVUFmyb87WMz1HH1EHatrWPGLkuDUYOhsstohvcrLwzRb9QMfa8jhNinFOJ
    4tGZRGpW/FOjBBY2BlJwVBE8QlJZgXgFjHOKTnsPKydVxJ7a6OVzOvbyFp8PCiTKeq3A
    kiUWgymEC3v4sorB67EVG2VxHNvt9JYpb6xHhsW159zWsCIej2YlytmsyFkIUPJ8Yia3
    buTQ==
Arc-Authentication-Results: i=1; strato.com;
    arc=none;
    dkim=none
X-Rzg-Class-ID: mo00
X-Rzg-Auth: ":P20KcUW6W/Ec+fXm0Ai+EcnCP72Vz/Jp8kPQCS6REKkH62E3t0w4G9E+QW7TZQVF7tXhfw=="
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Greylist: delayed 540 seconds by postgrey-1.37 at buxtehude; Mon, 16 Nov 2026 14:03:18 UTC
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2002978
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 20
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Mon, 16 Nov 2026 14:51:14 +0100
X-Original-Message-ID: <c39a5f38-56bd-4703-a9bd-1713e789144e@nickmous.com>
X-Original-References: <179268657094.11137.2586363970274574600.reportbug@prodesk>