Skip to content

dnsmasq: bump to v2.92rel2 - #23316

Closed
dhewg wants to merge 1 commit into
openwrt:mainfrom
dhewg:dnsmasq
Closed

dhewg wants to merge 1 commit into
openwrt:mainfrom
dhewg:dnsmasq

Conversation

@dhewg

@dhewg dhewg commented May 12, 2026

Copy link
Copy Markdown
Contributor

version 2.92rel2
2.92 point release incorporating fixes for
CVE-2026-2291
CVE-2026-4890
CVE-2026-4891
CVE-2026-4892
CVE-2026-4893
CVE-2026-5172

CVE-2026-2291
dnsmasq's extract_name() function can be abused to cause a heap buffer
overflow, enabling an attacker to inject false DNS cache entries. This could
cause DNS queries to be redirected to attacker-controlled IP addresses or
result in a Denial of Service (DoS).

CVE-2026-4890
An infinite-loop flaw in the DNSSEC validation of dnsmasq allows remote
attackers to cause Denial of Service (DoS) conditions via a crafted DNS packet.

CVE-2026-4891
A heap-based out-of-bounds read vulnerability in the DNSSEC validation of
dnsmasq allows remote attackers to leak memory information via a crafted DNS
packet.

CVE-2026-4892
A heap-based out-of-bounds write vulnerability in the DHCPv6 implementation of
dnsmasq allows local attackers to execute arbitrary code with root privileges
via a crafted DHCPv6 packet.

CVE-2026-4893
An information disclosure vulnerability in dnsmasq allows remote attackers to
bypass source checks via a crafted DNS packet containing RFC 7871 client-subnet
information.

CVE-2026-5172
A buffer overflow vulnerability in dnsmasq’s extract_addresses() function
allows attackers to trigger a heap out-of-bounds read and crash dnsmasq by
exploiting a malformed DNS response.

https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2026q2/018471.html
https://seclists.org/oss-sec/2026/q2/480

cc @hauke

Replace 'rel' in the version with a dot, so the package version is
more standard and becomes dnsmasq-full-2.92.2-r1.apk.

version 2.92rel2
	2.92 point release incorporating fixes for
	CVE-2026-2291
	CVE-2026-4890
	CVE-2026-4891
	CVE-2026-4892
	CVE-2026-4893
	CVE-2026-5172

Signed-off-by: Andre Heider <[email protected]>
@github-actions github-actions Bot added the core packages pull request/issue for core (in-tree) packages label May 12, 2026

@openwrt-ai openwrt-ai left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 1 new commit; no new issues found.


Generated by Claude Code

@openwrt-ai openwrt-ai left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


To address review feedback, force-push fixes to this branch.
Don't close and open a new PR — that loses the review history
and the bot starts from scratch.


Generated by Claude Code

PKG_SOURCE:=$(PKG_NAME)-$(PKG_UPSTREAM_VERSION).tar.xz
PKG_SOURCE_URL:=https://thekelleys.org.uk/dnsmasq/
PKG_HASH:=4bf50c2c1018f9fbc26037df51b90ecea0cb73d46162846763b92df0d6c3a458
PKG_HASH:=43d72b8c129bdf33d17bafedc98823f63e46b5005128066bf0d2a472a32ce06a

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

patches/200-ubus_dns.patch applies against the 2.92rel2 tarball with non-zero hunk offsets:

checking file src/dnsmasq.c
Hunk #1 succeeded at 2127 (offset 4 lines).
checking file src/dnsmasq.h
Hunk #1 succeeded at 1725 (offset 3 lines).

The hunks still apply, but the context-line numbers in the patch headers no longer match the upstream source. Per the project's patch-regeneration rules, refresh it with make package/dnsmasq/refresh so the headers stay in sync — otherwise the next bump that does cause a real rejection becomes harder to diagnose.

patches/100-remove-old-runtime-kernel-support.patch applies cleanly and needs no change.


Generated by Claude Code

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make -j7 V=cs package/dnsmasq/{clean,refresh} yields no changes on my end?

@hnyman hnyman May 12, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Likely just a misdetection by Claude. The previous patch removes 4 and 3 lines from those files, and if Claude just tests patches individually without chaining them, it gets wrong line numbers. Claude apparently needs to learn 'quilt' use.

@dhewg

dhewg commented May 13, 2026

Copy link
Copy Markdown
Contributor Author

By the mailing list announcement v2.92rel2 should be v2.92 with the patches merged manually in #23330 (unclear as it's not tagged in git, and I didn't dig deeper).
So the same result as this PR, hence closing.

It sounds like v2.93 will include more security fixes though.

@dhewg dhewg closed this May 13, 2026
@dhewg
dhewg deleted the dnsmasq branch May 13, 2026 06:04
@Neustradamus

Copy link
Copy Markdown

@dhewg: Thanks for your PR, I have created the ticket:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core packages pull request/issue for core (in-tree) packages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants