From patchwork Tue Feb 24 14:24:20 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoann Congal X-Patchwork-Id: 81730 X-Patchwork-Delegate: yoann.congal@smile.fr Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5A886F357AC for ; Tue, 24 Feb 2026 14:25:31 +0000 (UTC) Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.21282.1771943121478788874 for ; Tue, 24 Feb 2026 06:25:21 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@smile.fr header.s=google header.b=gAfIVdhI; spf=pass (domain: smile.fr, ip: 209.85.128.47, mailfrom: yoann.congal@smile.fr) Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-4837584120eso39255235e9.1 for ; Tue, 24 Feb 2026 06:25:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile.fr; s=google; t=1771943120; x=1772547920; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=P0F4beV0MqDp4QtEa2/H04octKSM+igY9bIqN5EVh6Q=; b=gAfIVdhIJbsziF7h5YbfMZEq+urkw6NZhhSJobXhZnbadmo0zbNK1r89sRYVH/FaZK g2dEEAx0lgYo7+HdjnV2tIqYo9dA8oPd3weDaDxYILXdjNF2obFOb7dwvsN7Wj+JWXlX Tt2mmvKuD2f7MVdyxdYMskciWkH2lPWRaFTL0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771943120; x=1772547920; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=P0F4beV0MqDp4QtEa2/H04octKSM+igY9bIqN5EVh6Q=; b=TitTlibFs4i4HAQf7gLZSPANMLa0xJwihuFIk8LN5hFMoaHpmxicsgfE0ZIyrkgVb6 7V4ASdC9odFvRqncH7CJdUL16R1QOO22BecoJNgjEgWvdTHSpivyNFX9IT45ZtXX8TNN F4fxDuZAnXKIYjmNEC086XdmZNiGKZff0rW935G6ThnFIEPBq4b27Sbj/NZcpBg16y/T tX8kRj7i0yER5m6Bbt4DaaPwBjuHLXSs6fgmErwkc4bKgir8W6nL08mgQpB1hu1/CySq f34mSWxEuDMNqIpsF6fwt0knEt0xMlz+N9RQwAqgmWRFyQoDouT8HIRePJIXrvQoZUzH 7rPw== X-Gm-Message-State: AOJu0Yz7as5t1+W+cnDd7md0w8jJ9Bz7Pe7U38qQ6GA8/QNU/46kZ16E MgLxobrO+QtKDPs8e6U6tFKpE1cKVUs8XdAkQvccPhwXC7M1TjYLPtSvLQQzb8BjGX9ImaQuLJf KWiT0 X-Gm-Gg: AZuq6aKqUykJqFJGV5aGA7Z1GEcE+4Ie/xoUzZvABEz8wZorIQkKfg5EdCs4fMxNkk9 SMCid3VDJOJiss+lV9v7q87wXBxt+lP9o5vg8klc0AYjFhtGhmV9ry1U44ijOZ8ENHypKuHXDr5 cd9y4WFMTJ3sGk0NRFrxNgEbcG6odJkeWOWshrrUbHx2gZ0HT/WhbtvXZ9o0mnUx7tgAXfSZ2tt h13AwJlaqRXlM7HEgIWkvacUZ0TsYSzY+rrdkh16Ct0e60cchn68Yio/nT70c50XvCTIco/zHG6 4OWZH3sN4H6XHm2RdGnMWozEyru2C/V1jFCRwo6SA/An+Iak4hrVBO1S9cJ4BqW9WRMOz6TdBeY wo6XyMl+65N5UnATnEutvEuWRlKKVWJpwjfTQg81b49324efYXaVoGEDbkTy4wPzvLWmceRVjMv 9B8rubq6qkm7ZjMKF45qZAWhLSEon/X15SRzTe0fIHPmcBVKrH53EpiyDEQ/GTlCoNJUH5d8e9p j2g7bNHYRFLGZgV8sjiGo3Irv6tECxaYg== X-Received: by 2002:a05:600c:34c5:b0:47a:8cce:2940 with SMTP id 5b1f17b1804b1-483a95c729cmr228299515e9.14.1771943119537; Tue, 24 Feb 2026 06:25:19 -0800 (PST) Received: from FRSMI25-LASER.idf.intranet (static-css-ccs-204145.business.bouyguestelecom.com. [176.157.204.145]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-483bd7507adsm2047455e9.9.2026.02.24.06.25.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Feb 2026 06:25:19 -0800 (PST) From: Yoann Congal To: openembedded-core@lists.openembedded.org Subject: [OE-core][kirkstone 28/38] avahi: patch CVE-2025-68276 Date: Tue, 24 Feb 2026 15:24:20 +0100 Message-ID: <27cbfcafe5c5db9aeb7c06042174d5989b978417.1771942869.git.yoann.congal@smile.fr> X-Mailer: git-send-email 2.47.3 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 24 Feb 2026 14:25:31 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/231794 From: Ankur Tyagi Backport the patch[1] from the PR[2] mentioned in the nvd[3]. [1] https://github.com/avahi/avahi/commit/2d48e42d44a183f26a4d12d1f5d41abb9b7c6355 [2] https://github.com/avahi/avahi/pull/806 [3] https://nvd.nist.gov/vuln/detail/CVE-2025-68276 Dropped CI changes from the original PR during backport. Signed-off-by: Ankur Tyagi Signed-off-by: Yoann Congal Signed-off-by: Peter Marko Signed-off-by: Yoann Congal --- meta/recipes-connectivity/avahi/avahi_0.8.bb | 1 + .../avahi/files/CVE-2025-68276.patch | 65 +++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 meta/recipes-connectivity/avahi/files/CVE-2025-68276.patch diff --git a/meta/recipes-connectivity/avahi/avahi_0.8.bb b/meta/recipes-connectivity/avahi/avahi_0.8.bb index 20b2791ef32..b38fedb38bf 100644 --- a/meta/recipes-connectivity/avahi/avahi_0.8.bb +++ b/meta/recipes-connectivity/avahi/avahi_0.8.bb @@ -37,6 +37,7 @@ SRC_URI = "https://github.com/lathiat/avahi/releases/download/v${PV}/avahi-${PV} file://CVE-2023-38473.patch \ file://CVE-2024-52616.patch \ file://CVE-2024-52615.patch \ + file://CVE-2025-68276.patch \ " UPSTREAM_CHECK_URI = "https://github.com/lathiat/avahi/releases/" diff --git a/meta/recipes-connectivity/avahi/files/CVE-2025-68276.patch b/meta/recipes-connectivity/avahi/files/CVE-2025-68276.patch new file mode 100644 index 00000000000..75169419f10 --- /dev/null +++ b/meta/recipes-connectivity/avahi/files/CVE-2025-68276.patch @@ -0,0 +1,65 @@ +From 8ec85459d8e6e59cc14457e16fb7ba171901f90e Mon Sep 17 00:00:00 2001 +From: Evgeny Vereshchagin +Date: Wed, 17 Dec 2025 08:11:23 +0000 +Subject: [PATCH] core: refuse to create wide-area record browsers when + wide-area is off + +It fixes a bug where it was possible for unprivileged local users to +crash avahi-daemon (with wide-area disabled) by creating record browsers +with the AVAHI_LOOKUP_USE_WIDE_AREA flag set via D-Bus (either by calling +the RecordBrowserNew method directly or by creating hostname/address/service +resolvers/browsers that create those browsers internally themselves). + +``` +$ gdbus call --system --dest org.freedesktop.Avahi --object-path / --method org.freedesktop.Avahi.Server.ResolveHostName -- -1 -1 yo.local -1 1 +Error: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying +``` +``` +dbus-protocol.c: interface=org.freedesktop.Avahi.Server, path=/, member=ResolveHostName +avahi-daemon: wide-area.c:725: avahi_wide_area_scan_cache: Assertion `e' failed. +==307948== +==307948== Process terminating with default action of signal 6 (SIGABRT) +==307948== at 0x4B3630C: __pthread_kill_implementation (pthread_kill.c:44) +==307948== by 0x4ADF921: raise (raise.c:26) +==307948== by 0x4AC74AB: abort (abort.c:77) +==307948== by 0x4AC741F: __assert_fail_base.cold (assert.c:118) +==307948== by 0x48D8B85: avahi_wide_area_scan_cache (wide-area.c:725) +==307948== by 0x48C8953: lookup_scan_cache (browse.c:351) +==307948== by 0x48C8B1B: lookup_go (browse.c:386) +==307948== by 0x48C9148: defer_callback (browse.c:516) +==307948== by 0x48AEA0E: expiration_event (timeeventq.c:94) +==307948== by 0x489D3AE: timeout_callback (simple-watch.c:447) +==307948== by 0x489D787: avahi_simple_poll_dispatch (simple-watch.c:563) +==307948== by 0x489D91E: avahi_simple_poll_iterate (simple-watch.c:605) +==307948== +``` + +wide-area has been disabled by default since +9c4214146738146e454f098264690e8e884c39bd (v0.9-rc2). + +https://github.com/avahi/avahi/security/advisories/GHSA-mhf3-865v-g5rc + +CVE: CVE-2025-68276 +Upstream-Status: Backport [https://github.com/avahi/avahi/commit/2d48e42d44a183f26a4d12d1f5d41abb9b7c6355] +(cherry picked from commit 2d48e42d44a183f26a4d12d1f5d41abb9b7c6355) +Signed-off-by: Ankur Tyagi +--- + avahi-core/browse.c | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/avahi-core/browse.c b/avahi-core/browse.c +index e8a915e..59d53cb 100644 +--- a/avahi-core/browse.c ++++ b/avahi-core/browse.c +@@ -541,6 +541,11 @@ AvahiSRecordBrowser *avahi_s_record_browser_prepare( + AVAHI_CHECK_VALIDITY_RETURN_NULL(server, AVAHI_FLAGS_VALID(flags, AVAHI_LOOKUP_USE_WIDE_AREA|AVAHI_LOOKUP_USE_MULTICAST), AVAHI_ERR_INVALID_FLAGS); + AVAHI_CHECK_VALIDITY_RETURN_NULL(server, !(flags & AVAHI_LOOKUP_USE_WIDE_AREA) || !(flags & AVAHI_LOOKUP_USE_MULTICAST), AVAHI_ERR_INVALID_FLAGS); + ++ if ((flags & AVAHI_LOOKUP_USE_WIDE_AREA) && !server->wide_area_lookup_engine) { ++ avahi_server_set_errno(server, AVAHI_ERR_NOT_SUPPORTED); ++ return NULL; ++ } ++ + if (!(b = avahi_new(AvahiSRecordBrowser, 1))) { + avahi_server_set_errno(server, AVAHI_ERR_NO_MEMORY); + return NULL;