Skip to content

[25.12] dnsmasq: bump release to 2.92 - #23175

Closed
stavultras wants to merge 1 commit into
openwrt:openwrt-25.12from
stavultras:openwrt-25.12-dnmasq-2.92
Closed

stavultras wants to merge 1 commit into
openwrt:openwrt-25.12from
stavultras:openwrt-25.12-dnmasq-2.92

Conversation

@stavultras

@stavultras stavultras commented May 1, 2026 •

Copy link
Copy Markdown
Contributor

bump dnsmasq to latest 2.92

The most interesting part in 2.92 is:

Fix problems with ipset or nftset and TCP DNS transport. Previously this was racy, and insertion of addresses could fail on a busy server when DNS-over-TCP transport was involved.

Link: #21598

(cherry picked from commit 3af1263)

@github-actions github-actions Bot added core packages pull request/issue for core (in-tree) packages release/25.12 pull request/issue targeted (also) for OpenWrt 24.10 release labels May 1, 2026
@stavultras
stavultras force-pushed the openwrt-25.12-dnmasq-2.92 branch from 58269cd to b12b125 Compare May 1, 2026 09:24

@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

@Neustradamus

Copy link
Copy Markdown

@stavultras: Yes, it is important for OpenWrt versions (not only main branch).

bump dnsmasq to latest 2.92

updated 200-ubus_dns.patch
no changes to 100-remove-old-runtime-kernel-support.patch
all remaining patches not required

Changelog for version 2.92 https://thekelleys.org.uk/dnsmasq/CHANGELOG

Signed-off-by: gongzi miao <[email protected]>
Link: openwrt#21598
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit 3af1263)
Signed-off-by: Dmitry Mostovoy <[email protected]>
@stavultras
stavultras force-pushed the openwrt-25.12-dnmasq-2.92 branch from b12b125 to 54bfab9 Compare May 13, 2026 06:00
@Neustradamus

Copy link
Copy Markdown

@stavultras: I have created the ticket about the recent dnsmasq 2.92rel2 announcement with CVE fixes.

Same comment on the main PR:

@stavultras

stavultras commented May 13, 2026 •

Copy link
Copy Markdown
Contributor Author

@Neustradamus today I've tried to cherry-pick CVE patches from the "main" to this PR. Now it includes all of them + 2.92. But probably we have to wait 2.93 and bump it, instead of doing 2.92 with CVE patches, then 2.93. Not sure.

@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.

Commit checks

  • 54bfab9 "dnsmasq: bump release to 2.92" — commit body is the upstream-commit message copied verbatim and doesn't acknowledge the backport-specific changes (renaming 002-CVE-2026-4890.dnsmasq-2.91.patch to the 2.92 variant with a trimmed hunk set, and refreshing line offsets in 001, 005, 006). The (cherry picked from commit 3af12632...) trailer is correct, but the prose claims "no changes to 100-remove-old-runtime-kernel-support.patch / all remaining patches not required", which is true on main but misleading here. A [note ...] line after the trailer describing the backport delta would match the convention used in 99211b26. See the file-level comment on 002-CVE-2026-4890.dnsmasq-2.92.patch for detail.

Generated by Claude Code

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.

This file (and the renames/line-number bumps to 001-CVE-2026-2291.patch, 005-CVE-2026-4893.patch, 006-CVE-2026-5172.patch, plus the removal of 002-CVE-2026-4890.dnsmasq-2.91.patch) is a backport-only change — the upstream commit being cherry-picked (3af12632) only touches Makefile, 100-remove-old-runtime-kernel-support.patch, and 200-ubus_dns.patch. The CVE patches don't exist on main; they live on openwrt-25.12 because of 99211b26 (dnsmasq: apply six CVE-fix upstream patches to 2.91), and need adapting when the version bumps to 2.92.

The cherry-pick trailer is correct, but the commit body is the upstream message verbatim — it claims "no changes to 100-remove-old-runtime-kernel-support.patch / all remaining patches not required", which doesn't reflect this PR's actual backport scope (CVE-patch rename + line-number refresh against 2.92). Consider adding a [note ...] line after the (cherry picked from commit ...) trailer describing the backport-specific changes, similar to how 99211b26 carries [added this to main branch first, 002-CVE-2026-4890.dnsmasq-2.91.patch modified].

Sanity-checked the substance: dnsmasq 2.92 already has the p[1] >= 1 NSEC/NSEC3 bounds check that was the first half of the 2.91 variant of this patch (dnssec.c:1314 in v2.92), so dropping that hunk and keeping only the p += p[1] + 2 iteration fix in the 2.92 variant looks correct. The new hunk anchors at lines 1347/1511 in dnssec.c v2.92 — matches.

As @stavultras already noted in the PR comment thread, an alternative is to skip 2.92+CVE-patches entirely and wait for 2.93. Flagging here so the maintainer can decide and request the commit-message note if the current shape is kept.


Generated by Claude Code

@stavultras

stavultras commented Jun 12, 2026 •

Copy link
Copy Markdown
Contributor Author

I suppose we can close this PR in favor of #23669 (has been merged to main already). The backport to 25.12: #23766

@stavultras stavultras closed this Jun 12, 2026
@stavultras
stavultras deleted the openwrt-25.12-dnmasq-2.92 branch June 12, 2026 09:36
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 release/25.12 pull request/issue targeted (also) for OpenWrt 24.10 release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants