From patchwork Fri Dec 4 09:51:24 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yogita Urade X-Patchwork-Id: 107287 Received: from aer-iport-8.cisco.com (aer-iport-8.cisco.com [173.38.203.70]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.4724.1796377890842772679 for ; Fri, 04 Dec 2026 01:51:31 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: message contains an insecure body length tag" header.i=@cisco.com header.s=iport01 header.b=QVLiV3KZ; spf=pass (domain: cisco.com, ip: 173.38.203.70, mailfrom: yurade@cisco.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.com; i=@cisco.com; l=1209; q=dns/txt; s=iport01; t=1796377891; x=1797587491; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=M78Cfgvf5eVQqdBwANdIYGo947gy6H3I/obNkviiCrM=; b=QVLiV3KZmWatn62zJd/hxO2yI2/695h3ffe3xXc9OgfOOLswm6A8iKeN Y+TAwQExoLZqUWCnJCj1khOqXsisGH2tv8mb86rSZ3l3VolQC4FPyf37P K5lSCBwpQU4C3x2rAZJKRuWchfqm3yOaZFx+rkvt1K9g03mRF5IT6FeDs A+jGWfzJpfrMRv5raxUtATFVBE6fD5uad0et6w4imdZKGBCv5316Hvmsn L81cqL5mU+4wEjfayy0yYoGRL2RsbSHSduJm84Ecj7/MIAPzoaz/MteTm Xx4qP1TKp+TrCw0oeej9dzgD1EWhLnAw2Nzj3eOojflLht/3E1qYgRmlI g==; X-CSE-ConnectionGUID: OxJJscfmQt607+h7lQiW7g== X-CSE-MsgGUID: aVPee+UAS92yOScLdi1vVA== X-IPAS-Result: A0A/AgCVjBJr/89K/pBaglmCV3VhQkkDlCmgToF+DwEBAQ89FAQBAZMrAiY0CQ4BAgQDAgMBAQEBAQEBAQEBAQEKAQEFAQEBAgEHBYEOE4ZPDZBLAYFSRIMCAYJ0AgERuGGCLIEBh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kU6gy4o= IronPort-HdrOrdr: A9a23:suoYFqhvXyGphDmVWKd6o9PNYHBQXuoji2hC6mlwRA09TyX+rb HNoB1173HJYVoqNU3I+urwW5VoP0m8yXcd2+B4Vt2ftWLd11dAQrsP0WKb+V3dMhy70PJB3q F9dKU7ItjxAV9myfve2mCDYrMdKB3tytHOuQ8YpE0dKT1XVw== X-Talos-CUID: 9a23:rCdyLGg89RR0vSDYn6qV5vAaLTJuVW3/7mzbLUqBFTgxF/6VFlup+Zw7nJ87 X-Talos-MUID: 9a23:yaRfpASPZvZZl/hvRXTluglvOYRVyp//UlEqqp4it8jdKxJZbmI= X-IronPort-Anti-Spam-Filtered: true X-IronPort-AV: E=Sophos;i="6.29,78,1794873600"; d="scan'208";a="62017113" Received: from aer-l-core-06.cisco.com ([144.254.74.207]) by aer-iport-8.cisco.com with ESMTP/TLS/TLS_AES_256_GCM_SHA384; 04 Dec 2026 09:51:27 +0000 Received: from sjc-ads-1246.cisco.com (sjc-ads-1246.cisco.com [171.70.58.188]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "ciscoit-managed-infra-smtp-auth.cisco.com", Issuer "Internal Private TLS SubCA" (verified OK)) by aer-l-core-06.cisco.com (Postfix) with ESMTPS id 32C531800049D for ; Fri, 4 Dec 2026 09:51:27 +0000 (GMT) Received: by sjc-ads-1246.cisco.com (Postfix, from userid 1889728) id D5B14CC12A6; Fri, 4 Dec 2026 01:51:25 -0800 (PST) From: Yogita Urade To: openembedded-core@lists.openembedded.org Subject: [OE-core][wrynose][PATCH 1/2] avahi: set status for CVE-2026-58406 Date: Fri, 4 Dec 2026 01:51:24 -0800 Message-Id: <20261204095125.3240890-1-yurade@cisco.com> X-Mailer: git-send-email 2.35.6 MIME-Version: 1.0 X-Outbound-Client-TLS: VERIFIED;sjc-ads-1246.cisco.com [171.70.58.188];TLSv1.3;TLS_AES_256_GCM_SHA384;256;ciscoit-managed-infra-smtp-auth.cisco.com X-Outbound-SMTP-Client: 171.70.58.188, sjc-ads-1246.cisco.com X-Outbound-Node: aer-l-core-06.cisco.com List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 04 Dec 2026 09:51:40 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251946 According to the upstream advisory [1], the crash requires NetBSD-specific ctype guard-page behavior and does not affect the Linux glibc or musl targets supported by OpenEmbedded. Therefore, mark CVE-2026-58406 as not applicable. [1] https://github.com/avahi/avahi/security/advisories/GHSA-8pmv-23p5-92mw Signed-off-by: Yogita Urade --- meta/recipes-connectivity/avahi/avahi_0.8.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-connectivity/avahi/avahi_0.8.bb b/meta/recipes-connectivity/avahi/avahi_0.8.bb index 0042c3c2e3..7c4ec2b935 100644 --- a/meta/recipes-connectivity/avahi/avahi_0.8.bb +++ b/meta/recipes-connectivity/avahi/avahi_0.8.bb @@ -49,6 +49,7 @@ GITHUB_BASE_URI = "https://github.com/avahi/avahi/releases/" SRC_URI[sha256sum] = "060309d7a333d38d951bc27598c677af1796934dbd98e1024e7ad8de798fedda" CVE_STATUS[CVE-2021-26720] = "not-applicable-platform: Issue only affects Debian/SUSE" +CVE_STATUS[CVE-2026-58406] = "not-applicable-platform: Requires NetBSD-specific ctype guard-page behavior; not applicable to OpenEmbedded Linux glibc/musl targets" DEPENDS = "expat libcap libdaemon glib-2.0 glib-2.0-native" From patchwork Fri Dec 4 09:51:25 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yogita Urade X-Patchwork-Id: 107288 Received: from aer-iport-6.cisco.com (aer-iport-6.cisco.com [173.38.203.68]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.4726.1796377891409025222 for ; Fri, 04 Dec 2026 01:51:31 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: message contains an insecure body length tag" header.i=@cisco.com header.s=iport01 header.b=SXrUCq/P; spf=pass (domain: cisco.com, ip: 173.38.203.68, mailfrom: yurade@cisco.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.com; i=@cisco.com; l=6419; q=dns/txt; s=iport01; t=1796377891; x=1797587491; h=from:to:subject:date:message-id:in-reply-to:references: mime-version:content-transfer-encoding; bh=KsHY6hygMJJC9bkoJC20uCb3kkb+mfjzjj+4XSMimZU=; b=SXrUCq/PRQuFwFk8XeUS8qsaWW5w6RzHS3R7k4SFRPX/Qlxa4pXmh0ci WFHgU4J3uLburgIWzhozrAq55f3H/T8TjPj0TVWTjAFjqMUneIY6orhZv aW41SXpEiPOqSEG2RytEtGum8/xK3zrZ9E02f/KaPUZRI8QtSHbB+UQT3 aTZuR9AgpXT2nhzybC4aNj/1ubl/yADfOeFwgb1x/Hmerd5j8EqRhfzpv +vV76RglReaY4MncYipPxkSyNEl1yRXuuqBb/edBOpInIlwV46N+UnGwY 0vW7dGhRA7WfuDduwo9jMQyTutmYCB/0Q96llcs2yYvqyPMZVmeUGZaCn g==; X-CSE-ConnectionGUID: agG1OMqMRNC+wAmqvayDew== X-CSE-MsgGUID: g+X/JugqSgSoqfq760zr0w== X-IPAS-Result: A0BHAgCVjBJr/8xK/pBaglmCV3VhQkkDlCmCIQOBE50XgX4PAQEBD0QNBAEBhQUCjiQCJjQJDgECBAMCAwEBAQEBAQEBAQEBAQoBAQUBAQECAQcFgQ4Thk8NkBIBAgEDMgFWHAMBAi8rIwgZgwIBgjoDNwIBEbgPGzeCLIEBhH7YTCRbgWgBCxQBgTiFQognXRgBhH4nG4FJRIEVgnR2gQWBXAKBSIZeBIMugVQejHMCgUiJVUiBHgNZLAFVEw0KCwcFgWgDNRIqFW4yHYEjOxeBBxsGBYEcgR6BEoEDW4ErJl4hgQaB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kmPFrP+VUssRIb6LW90de7IE80nKQdieJ6AV7hZniFhILCFu5fBOXZrwEIYxefysdtkY F9bqN5FNr8SXJ+jcr8/U2ENuxI+qjhzEht7t2utkuEimpRGsdd0zs= X-Talos-CUID: 9a23:HGi/MGP07yuCce5DUSZIrWkxA+UfVFae017VOlGxGEpkV+jA X-Talos-MUID: 9a23:LDgZGwvdQRluJifn482ni3JSc+V17L2VB3sKiJsf5JfcJzYoJGLI X-IronPort-Anti-Spam-Filtered: true X-IronPort-AV: E=Sophos;i="6.29,78,1794873600"; d="scan'208";a="61836488" Received: from aer-l-core-03.cisco.com ([144.254.74.204]) by aer-iport-6.cisco.com with ESMTP/TLS/TLS_AES_256_GCM_SHA384; 04 Dec 2026 09:51:27 +0000 Received: from sjc-ads-1246.cisco.com (sjc-ads-1246.cisco.com [171.70.58.188]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "ciscoit-managed-infra-smtp-auth.cisco.com", Issuer "Internal Private TLS SubCA" (verified OK)) by aer-l-core-03.cisco.com (Postfix) with ESMTPS id 365A618000840 for ; Fri, 4 Dec 2026 09:51:27 +0000 (GMT) Received: by sjc-ads-1246.cisco.com (Postfix, from userid 1889728) id D8CDCCC12A7; Fri, 4 Dec 2026 01:51:25 -0800 (PST) From: Yogita Urade To: openembedded-core@lists.openembedded.org Subject: [OE-core][wrynose][PATCH 2/2] avahi: Fix CVE-2026-59987 Date: Fri, 4 Dec 2026 01:51:25 -0800 Message-Id: <20261204095125.3240890-2-yurade@cisco.com> X-Mailer: git-send-email 2.35.6 In-Reply-To: <20261204095125.3240890-1-yurade@cisco.com> References: <20261204095125.3240890-1-yurade@cisco.com> MIME-Version: 1.0 X-Outbound-Client-TLS: VERIFIED;sjc-ads-1246.cisco.com [171.70.58.188];TLSv1.3;TLS_AES_256_GCM_SHA384;256;ciscoit-managed-infra-smtp-auth.cisco.com X-Outbound-SMTP-Client: 171.70.58.188, sjc-ads-1246.cisco.com X-Outbound-Node: aer-l-core-03.cisco.com List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 04 Dec 2026 09:51:40 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251947 This patch applies the upstream fix as referenced in [3], using the commits shown in [1] and [2]. [1] https://github.com/avahi/avahi/commit/41c005670c596e1f7c5fc00c5a47cffa8185ef25 [2] https://github.com/avahi/avahi/commit/5456796db28204c8dfc61b14814f52f4b3645530 [3] https://github.com/avahi/avahi/security/advisories/GHSA-4v6h-9g73-wm5j [4] https://github.com/avahi/avahi/pull/939 Signed-off-by: Yogita Urade --- meta/recipes-connectivity/avahi/avahi_0.8.bb | 2 + .../avahi/files/CVE-2026-59987_p1.patch | 64 +++++++++++++++++++ .../avahi/files/CVE-2026-59987_p2.patch | 43 +++++++++++++ 3 files changed, 109 insertions(+) create mode 100644 meta/recipes-connectivity/avahi/files/CVE-2026-59987_p1.patch create mode 100644 meta/recipes-connectivity/avahi/files/CVE-2026-59987_p2.patch diff --git a/meta/recipes-connectivity/avahi/avahi_0.8.bb b/meta/recipes-connectivity/avahi/avahi_0.8.bb index 7c4ec2b935..1ffb029200 100644 --- a/meta/recipes-connectivity/avahi/avahi_0.8.bb +++ b/meta/recipes-connectivity/avahi/avahi_0.8.bb @@ -43,6 +43,8 @@ SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/avahi-${PV}.tar.gz \ file://CVE-2025-68471.patch \ file://CVE-2026-34933-1.patch \ file://CVE-2026-34933-2.patch \ + file://CVE-2026-59987_p1.patch \ + file://CVE-2026-59987_p2.patch \ " GITHUB_BASE_URI = "https://github.com/avahi/avahi/releases/" diff --git a/meta/recipes-connectivity/avahi/files/CVE-2026-59987_p1.patch b/meta/recipes-connectivity/avahi/files/CVE-2026-59987_p1.patch new file mode 100644 index 0000000000..9c1f3c95e7 --- /dev/null +++ b/meta/recipes-connectivity/avahi/files/CVE-2026-59987_p1.patch @@ -0,0 +1,64 @@ +From 41c005670c596e1f7c5fc00c5a47cffa8185ef25 Mon Sep 17 00:00:00 2001 +From: Evgeny Vereshchagin +Date: Mon, 22 Jun 2026 03:30:28 +0000 +Subject: [PATCH] common: make sure valid domain names can be normalized + +It fixes a bug where it was possible for unprivileged local users to +crash avahi-daemon via D-Bus by calling the RecordBrowserNew method with +bogus domain names. For example when the following commands were run +``` +l=$(perl -e 'print(join(".", ("["x63)x15))') +busctl call org.freedesktop.Avahi / org.freedesktop.Avahi.Server RecordBrowserNew "iisqqu" -- -1 -1 "$l" 0 0 0 +``` +avahi-daemon crashed with +``` +avahi-daemon: dbus-protocol.c:984: dbus_prepare_record_browser_object: Assertion `key' failed. +==2424== +==2424== Process terminating with default action of signal 6 (SIGABRT) +==2424== at 0x4B31DCC: __pthread_kill_implementation (in /usr/lib64/libc.so.6) +==2424== by 0x4AD6F8D: raise (in /usr/lib64/libc.so.6) +==2424== by 0x4ABE7B2: abort (in /usr/lib64/libc.so.6) +==2424== by 0x4ABF803: __libc_message_impl.cold (in /usr/lib64/libc.so.6) +==2424== by 0x4ACEE44: __assert_fail (in /usr/lib64/libc.so.6) +==2424== by 0x4002FB8: dbus_prepare_record_browser_object.cold (dbus-protocol.c:984) +==2424== by 0x400E4E9: dbus_select_browser.isra.0 (dbus-protocol.c:1119) +==2424== by 0x400FCA0: msg_server_impl (dbus-protocol.c:1185) +==2424== by 0x4A75DA3: dbus_connection_dispatch (in /usr/lib64/libdbus-1.so.3.38.3) +==2424== by 0x4014122: dispatch_timeout_callback.lto_priv.0 (dbus-watch-glue.c:105) +==2424== by 0x489CB4F: avahi_simple_poll_dispatch (in /usr/lib64/libavahi-common.so.3.5.4) +==2424== by 0x4004EF7: run_server (main.c:1279) +==2424== by 0x4004EF7: main (main.c:1708) +``` + +https://github.com/avahi/avahi/security/advisories/GHSA-4v6h-9g73-wm5j + +CVE: CVE-2026-59987 +Upstream-Status: Backport [https://github.com/avahi/avahi/commit/41c005670c596e1f7c5fc00c5a47cffa8185ef25] + +Signed-off-by: Yogita Urade +--- + avahi-common/domain.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/avahi-common/domain.c b/avahi-common/domain.c +index 88c6f01..5923a29 100644 +--- a/avahi-common/domain.c ++++ b/avahi-common/domain.c +@@ -369,11 +369,15 @@ int avahi_is_valid_service_subtype(const char *t) { + + int avahi_is_valid_domain_name(const char *t) { + int is_first = 1; ++ char normalized[AVAHI_DOMAIN_NAME_MAX]; + assert(t); + + if (strlen(t) >= AVAHI_DOMAIN_NAME_MAX) + return 0; + ++ if (!(avahi_normalize_name(t, normalized, sizeof(normalized)))) ++ return 0; ++ + do { + char label[AVAHI_LABEL_MAX]; + +-- +2.43.0 diff --git a/meta/recipes-connectivity/avahi/files/CVE-2026-59987_p2.patch b/meta/recipes-connectivity/avahi/files/CVE-2026-59987_p2.patch new file mode 100644 index 0000000000..527c37eab2 --- /dev/null +++ b/meta/recipes-connectivity/avahi/files/CVE-2026-59987_p2.patch @@ -0,0 +1,43 @@ +From 5456796db28204c8dfc61b14814f52f4b3645530 Mon Sep 17 00:00:00 2001 +From: Evgeny Vereshchagin +Date: Mon, 22 Jun 2026 02:07:24 +0000 +Subject: [PATCH] ci: add tests to make sure valid domain names can be normalized + +The unit test makes sure the specific domain name is rejected, the fuzz +target makes sure that the invariant holds in general and the +integration test makes sure that it all actually works via D-Bus without +crashing anywhere. + +CVE: CVE-2026-59987 +Upstream-Status: Backport [https://github.com/avahi/avahi/commit/5456796db28204c8dfc61b14814f52f4b3645530] + +Backport Changes: +- Adapted the focused domain-name unit test to Avahi 0.8; the upstream fuzz + target and D-Bus smoke-test file are absent from this source version. + +Signed-off-by: Yogita Urade +--- + avahi-common/domain-test.c | 8 ++++++++ + 1 file changed, 8 insertions(+) + +diff --git a/avahi-common/domain-test.c b/avahi-common/domain-test.c +index 3acc1c1..ca70a40 100644 +--- a/avahi-common/domain-test.c ++++ b/avahi-common/domain-test.c +@@ -120,6 +120,14 @@ int main(AVAHI_GCC_UNUSED int argc, AVAHI_GCC_UNUSED char *argv[]) { + assert(avahi_is_valid_domain_name(".")); + assert(avahi_is_valid_domain_name("")); + ++ assert(!avahi_is_valid_domain_name( ++ "[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[." ++ "[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[." ++ "[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[." ++ "[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[." ++ "[" ++ )); ++ + assert(avahi_normalize_name(".", t, sizeof(t))); + assert(avahi_normalize_name("", t, sizeof(t))); + +-- +2.35.6