From patchwork Tue May 6 15:13:53 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 62533 X-Patchwork-Delegate: steve@sakoman.com 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 BD3DAC3ABC3 for ; Tue, 6 May 2025 15:14:15 +0000 (UTC) Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) by mx.groups.io with SMTP id smtpd.web11.78803.1746544453265482269 for ; Tue, 06 May 2025 08:14:13 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=tb0BBpTM; spf=softfail (domain: sakoman.com, ip: 209.85.214.173, mailfrom: steve@sakoman.com) Received: by mail-pl1-f173.google.com with SMTP id d9443c01a7336-22e4db05fe8so6952135ad.0 for ; Tue, 06 May 2025 08:14:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1746544452; x=1747149252; 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=3hnzKR+tgV9Xp2DKYqrBgZUcXkVnFW0zmvemiFlqR84=; b=tb0BBpTM635Z90v+YJlM7G2SU8eAqUZuT5I68VKNIMVuocu03L03M018qI3vbu4s/w FlIENCVWh/Y83x+kshrTUPGKObKfycISDriDUPVAeD8MUz5d6UJ4v1/DYNQe9X2cx3eu Rrtuw0S2oSLaX8RR543418MKyBKCrt/1v5QtmiXbd48hks9WIiO8Nw9OWdxha1LcznZj H5bTR5djRJcZHn8TgKR+BG0Go6IXrG1xPHtTfWnZc+W0RFe0zgaH0L0BL0tNXHcUbyqX hnkBimYH6dQNKiW3UyzyX2fZP7lWd4y1nAw4zUv/rt19WltfXoiUhCbDSE+4oK6vXk5I lp3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1746544452; x=1747149252; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3hnzKR+tgV9Xp2DKYqrBgZUcXkVnFW0zmvemiFlqR84=; b=l260kt4ndkXCuZPFOlMjsS/SIjNKo+mypFGJF5Z+fSOA/229r+P8tCL3kp5VKTm8Ha DWbHkYSEZdytoe2VyBEq+M+uTFcTSfgSKb9pPbG92YrWpFJf9X/T1IPXOiYhJ+CyC2/p IzVjPDvOUe5yxa8gt5k/i7TGaA+/ZqCUDIkpt7sXnKD5xwNhh/saMiE44Nseb9/4aDFf nD0eXTczwt2MJfvyXxCTxKvBRjJGTJwjtwAol8fSvF3fe2/qCLiv49S6IqbEQLl4Ifti pHDYDfQo+ErvEL4NweMZkZJgQ4/oC/RckeL3RFeV2DSE/s4e3COmF7WHwUjAoPTeejsg 97rQ== X-Gm-Message-State: AOJu0YwKT0M95R6rYNWTj9mag/CuHBkV7M1BPKKMaHQXq2JTCyQGSnwX 6m95OGNfgcJb9bIWBiqHWTdiWqUZWU/y9dT5wQf3qYKp5F52sAJ2YhSyNd/SiKIJcixyRNKND6C 7 X-Gm-Gg: ASbGncuLF0+RKfLmPBbYpzf7hq2p2X7HtrtuqX7Fm3wM0fTZbhNhb0vi4JPZ93IEaw6 RpNCtgRLHMmhqX1DJMth64jsl2AJAzt8z7lIdB3T/vJf/U3d+lzZfFEMk1wXC1vakFggI1O1iTo k4XNia92maBb02W7Ai/QDKTSiKGr0jpIT/GQ8e/3jUnHh0CuXIvFp3eptWA0FOYOmVYdNwwjw0m FC69LCcPp9OA6Xia0Itz0xzXuOCvrGAZUR9dzf/oha0PfLQAz7v5vHRlYt8GbHfQxDZ+2ye4vlI 2+RXhp6xLJLM0jWlnHBYfZqF2H+o3AFu X-Google-Smtp-Source: AGHT+IFYUyESeuGTPeIX6+n2H3taY2xbJWUnYEzsaMXPHgPNRFIxBJTUJhvFRQFrP5DzIpptLQaiEg== X-Received: by 2002:a17:903:120e:b0:223:5241:f5ca with SMTP id d9443c01a7336-22e1ea7c4cbmr142390195ad.20.1746544452471; Tue, 06 May 2025 08:14:12 -0700 (PDT) Received: from hexa.. ([2602:feb4:3b:2100:8d37:c5d1:328a:ee43]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-22e1521fa58sm75222545ad.150.2025.05.06.08.14.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 May 2025 08:14:12 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 1/7] libsoup: patch CVE-2025-46420 Date: Tue, 6 May 2025 08:13:53 -0700 Message-ID: <0e4a77c928e2eb0e8b012f2bba13b2ef3929cb34.1746544207.git.steve@sakoman.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 06 May 2025 15:14:15 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/216058 From: Ashish Sharma Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libsoup/-/commit/c9083869ec2a3037e6df4bd86b45c419ba295f8e] Signed-off-by: Ashish Sharma Signed-off-by: Steve Sakoman --- .../libsoup-3.4.4/CVE-2025-46420.patch | 60 +++++++++++++++++++ meta/recipes-support/libsoup/libsoup_3.4.4.bb | 1 + 2 files changed, 61 insertions(+) create mode 100644 meta/recipes-support/libsoup/libsoup-3.4.4/CVE-2025-46420.patch diff --git a/meta/recipes-support/libsoup/libsoup-3.4.4/CVE-2025-46420.patch b/meta/recipes-support/libsoup/libsoup-3.4.4/CVE-2025-46420.patch new file mode 100644 index 0000000000..37ab16dc05 --- /dev/null +++ b/meta/recipes-support/libsoup/libsoup-3.4.4/CVE-2025-46420.patch @@ -0,0 +1,60 @@ +From c9083869ec2a3037e6df4bd86b45c419ba295f8e Mon Sep 17 00:00:00 2001 +From: Patrick Griffis +Date: Thu, 26 Dec 2024 18:31:42 -0600 +Subject: [PATCH] soup_header_parse_quality_list: Fix leak + +When iterating over the parsed list we now steal the allocated strings that we want and then free_full the list which may contain remaining strings. + +Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libsoup/-/commit/c9083869ec2a3037e6df4bd86b45c419ba295f8e] +CVE: CVE-2025-46420 +Signed-off-by: Ashish Sharma + + libsoup/soup-headers.c | 11 +++++------ + 1 file changed, 5 insertions(+), 6 deletions(-) + +diff --git a/libsoup/soup-headers.c b/libsoup/soup-headers.c +index a5f7a7f6..85385cea 100644 +--- a/libsoup/soup-headers.c ++++ b/libsoup/soup-headers.c +@@ -530,7 +530,7 @@ soup_header_parse_quality_list (const char *header, GSList **unacceptable) + GSList *unsorted; + QualityItem *array; + GSList *sorted, *iter; +- char *item, *semi; ++ char *semi; + const char *param, *equal, *value; + double qval; + int n; +@@ -543,9 +543,8 @@ soup_header_parse_quality_list (const char *header, GSList **unacceptable) + unsorted = soup_header_parse_list (header); + array = g_new0 (QualityItem, g_slist_length (unsorted)); + for (iter = unsorted, n = 0; iter; iter = iter->next) { +- item = iter->data; + qval = 1.0; +- for (semi = strchr (item, ';'); semi; semi = strchr (semi + 1, ';')) { ++ for (semi = strchr (iter->data, ';'); semi; semi = strchr (semi + 1, ';')) { + param = skip_lws (semi + 1); + if (*param != 'q') + continue; +@@ -577,15 +576,15 @@ soup_header_parse_quality_list (const char *header, GSList **unacceptable) + if (qval == 0.0) { + if (unacceptable) { + *unacceptable = g_slist_prepend (*unacceptable, +- item); ++ g_steal_pointer (&iter->data)); + } + } else { +- array[n].item = item; ++ array[n].item = g_steal_pointer (&iter->data); + array[n].qval = qval; + n++; + } + } +- g_slist_free (unsorted); ++ g_slist_free_full (unsorted, g_free); + + qsort (array, n, sizeof (QualityItem), sort_by_qval); + sorted = NULL; +-- +GitLab + diff --git a/meta/recipes-support/libsoup/libsoup_3.4.4.bb b/meta/recipes-support/libsoup/libsoup_3.4.4.bb index cbb098908d..63e9afa6fc 100644 --- a/meta/recipes-support/libsoup/libsoup_3.4.4.bb +++ b/meta/recipes-support/libsoup/libsoup_3.4.4.bb @@ -28,6 +28,7 @@ SRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz \ file://CVE-2025-32912-2.patch \ file://CVE-2025-32906-1.patch \ file://CVE-2025-32906-2.patch \ + file://CVE-2025-46420.patch \ " SRC_URI[sha256sum] = "291c67725f36ed90ea43efff25064b69c5a2d1981488477c05c481a3b4b0c5aa" From patchwork Tue May 6 15:13:54 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 62534 X-Patchwork-Delegate: steve@sakoman.com 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 B7D5CC3ABAC for ; Tue, 6 May 2025 15:14:15 +0000 (UTC) Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) by mx.groups.io with SMTP id smtpd.web11.78804.1746544454617168988 for ; Tue, 06 May 2025 08:14:14 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=LQtr9lsg; spf=softfail (domain: sakoman.com, ip: 209.85.214.178, mailfrom: steve@sakoman.com) Received: by mail-pl1-f178.google.com with SMTP id d9443c01a7336-223fd89d036so64959205ad.1 for ; Tue, 06 May 2025 08:14:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1746544454; x=1747149254; 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=pUlSGxOxMLTBL3kZF1WAAVFRRwAiElvEiQI9tJ/oaMI=; b=LQtr9lsgvoDSMLj6/5pDoFI+wNW8+i8f8oG1VFl8xTrE+7olT/RehY/hQ+ssBkPPYC fionGMDg2t2I+OTyUOXEzM9sNkWQfK+5NP8Y3vImf1qCEPtReScHsW3/gQtIpIMgWGRJ u9ol1nSJgO77rP2CV3G6OVwLmkMtTNuYGSRgjk9YjXx8ziQP3qpGs2J1VhKxrOqXh31N WRWeW/muUtMdOhjzkREJc+r6isLLYsNNNMlN/S6m/qNiDV36yNf7iqhcIeMNLQs64JXQ 8c5Zn9JUdccxlv8D6eYO672hq4zP5OQQ/L4olv1EqE2Qcq60xh0h4JmBT0a6FqPU9Ya2 VhFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1746544454; x=1747149254; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pUlSGxOxMLTBL3kZF1WAAVFRRwAiElvEiQI9tJ/oaMI=; b=KtJQZfURVOoBz0Jhl1PtLZeBM6X3cYEyMNXxmfwfgqCsOH0hpEUVxQhh2OK/wXqJGu oeh2qdQy5Lh63Yj+vFA+MRZiqVySCOVVSGsaaRi0lkjOkArcLT96vk4gjq3tnKf5bwUe S7Ad3VbdH3WL4+e/A9prnwcvgjQekhd3D6xqC1mojfkIp8R6lxIi9Nf9ApAc2q+gCK1N fww/wBSOcbKw5suU70ehxqbm58oVGboIVmolbRw9GIqWKxwf7gqCVABFBBtleSUdMn6P KZfzMmzGWMxTLuhgTlo6n+JiSBukjEkHImiwwceb91dMx7M829fhHtswIuvP8E8QIQNC 9ZgA== X-Gm-Message-State: AOJu0Yy+w8xbQGijPyJlV4pcpclKCbHnCzyP/O+L0LZ3cM3STpYa4HLi O9C+srJI4KKokhe0zCgwHlradqL9VzzpSFyLHTzFFvE4htGOqoAyUVqmN3whcWePUkN4r/pnxJf B X-Gm-Gg: ASbGncu8tJO69nioGNY3VhjjaWYQWzia7TVklBS3N4ZCybTngpb0q6DkcfJDFtZKfxS ouBtjoGp/9MBSMOttDp37G6rc+Us5b8jlvx5BGiA5O83p6cUv4aKb8kba7gRDM5y4EjdsGQPZ0D ulU/JUkcTSPHxXk40yHAmoVVL2SKCrhERpfrjczp0hoc1+MgaXkGa1MClOPP/YLfyQe4kzrUSdp 90VtLpI39DYp8InrNfXFa7hsA8FPIE0X1wxxaqwjuzTY3qbsw6sYZLWd2i6hOoME1eFdwXfD84/ sf72hgSUsLM7LCx2pgb8uJf+QnB8Y/oK X-Google-Smtp-Source: AGHT+IE2Rua/gBZi9muM/c6JCar4gDju77pSsxGCnkK5bEZ1vlrZwnesOahUmKqd+rYxcc5sjs5Chg== X-Received: by 2002:a17:902:d4ca:b0:224:1221:1ab4 with SMTP id d9443c01a7336-22e32aa1bb0mr54538945ad.22.1746544453895; Tue, 06 May 2025 08:14:13 -0700 (PDT) Received: from hexa.. ([2602:feb4:3b:2100:8d37:c5d1:328a:ee43]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-22e1521fa58sm75222545ad.150.2025.05.06.08.14.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 May 2025 08:14:13 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 2/7] elfutils: Fix CVE-2025-1371 Date: Tue, 6 May 2025 08:13:54 -0700 Message-ID: <11c44bde4f3d9e63506ece2f9b27114914aacc4b.1746544207.git.steve@sakoman.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 06 May 2025 15:14:15 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/216059 From: Soumya Sambu A vulnerability has been found in GNU elfutils 0.192 and classified as problematic. This vulnerability affects the function handle_dynamic_symtab of the file readelf.c of the component eu-read. The manipulation leads to null pointer dereference. Attacking locally is a requirement. The exploit has been disclosed to the public and may be used. The patch is identified as b38e562a4c907e08171c76b8b2def8464d5a104a. It is recommended to apply a patch to fix this issue. References: https://nvd.nist.gov/vuln/detail/CVE-2025-1371 https://ubuntu.com/security/CVE-2025-1371 Upstream patch: https://sourceware.org/cgit/elfutils/commit/?id=b38e562a4c907e08171c76b8b2def8464d5a104a Signed-off-by: Soumya Sambu Signed-off-by: Steve Sakoman --- .../elfutils/elfutils_0.191.bb | 1 + .../elfutils/files/CVE-2025-1371.patch | 41 +++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 meta/recipes-devtools/elfutils/files/CVE-2025-1371.patch diff --git a/meta/recipes-devtools/elfutils/elfutils_0.191.bb b/meta/recipes-devtools/elfutils/elfutils_0.191.bb index 85e024179b..bab3d94d12 100644 --- a/meta/recipes-devtools/elfutils/elfutils_0.191.bb +++ b/meta/recipes-devtools/elfutils/elfutils_0.191.bb @@ -26,6 +26,7 @@ SRC_URI = "https://sourceware.org/elfutils/ftp/${PV}/${BP}.tar.bz2 \ file://CVE-2025-1352.patch \ file://CVE-2025-1365.patch \ file://CVE-2025-1372.patch \ + file://CVE-2025-1371.patch \ " SRC_URI:append:libc-musl = " \ file://0003-musl-utils.patch \ diff --git a/meta/recipes-devtools/elfutils/files/CVE-2025-1371.patch b/meta/recipes-devtools/elfutils/files/CVE-2025-1371.patch new file mode 100644 index 0000000000..ebb57bd4e5 --- /dev/null +++ b/meta/recipes-devtools/elfutils/files/CVE-2025-1371.patch @@ -0,0 +1,41 @@ +From b38e562a4c907e08171c76b8b2def8464d5a104a Mon Sep 17 00:00:00 2001 +From: Mark Wielaard +Date: Sun, 9 Feb 2025 00:07:13 +0100 +Subject: [PATCH] readelf: Handle NULL phdr in handle_dynamic_symtab + +A corrupt ELF file can have broken program headers, in which case +gelf_getphdr returns NULL. This could crash handle_dynamic_symtab +while searching for the PT_DYNAMIC phdr. Fix this by checking whether +gelf_phdr returns NULL. + + * src/readelf.c (handle_dynamic_symtab): Check whether + gelf_getphdr returns NULL. + +https://sourceware.org/bugzilla/show_bug.cgi?id=32655 + +Signed-off-by: Mark Wielaard + +CVE: CVE-2025-1371 + +Upstream-Status: Backport [https://sourceware.org/cgit/elfutils/commit/?id=b38e562a4c907e08171c76b8b2def8464d5a104a] + +Signed-off-by: Soumya Sambu +--- + src/readelf.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/readelf.c b/src/readelf.c +index fc04556..13344bf 100644 +--- a/src/readelf.c ++++ b/src/readelf.c +@@ -2912,7 +2912,7 @@ handle_dynamic_symtab (Ebl *ebl) + for (size_t i = 0; i < phnum; ++i) + { + phdr = gelf_getphdr (ebl->elf, i, &phdr_mem); +- if (phdr->p_type == PT_DYNAMIC) ++ if (phdr == NULL || phdr->p_type == PT_DYNAMIC) + break; + } + if (phdr == NULL) +-- +2.40.0 From patchwork Tue May 6 15:13:55 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 62535 X-Patchwork-Delegate: steve@sakoman.com 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 B5F3EC3ABBE for ; Tue, 6 May 2025 15:14:25 +0000 (UTC) Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) by mx.groups.io with SMTP id smtpd.web10.78317.1746544456029402846 for ; Tue, 06 May 2025 08:14:16 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=k9Y7j9Y5; spf=softfail (domain: sakoman.com, ip: 209.85.214.173, mailfrom: steve@sakoman.com) Received: by mail-pl1-f173.google.com with SMTP id d9443c01a7336-224191d92e4so67769935ad.3 for ; Tue, 06 May 2025 08:14:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1746544455; x=1747149255; 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=OVSE30vVhFoJgm5vLa4s4bhtV5AvixDZqDMDQ7c1Chw=; b=k9Y7j9Y5lPfHtPijxDY11qTqMU/FLWm8Tcc2tIYJvUdTFG4qrint0bFywaut/8y5OH /vvjV9O8x9Q66ZMSBokQ7XtJg+9vvBLI/MYPa8O5L+LOF484u9p1Z6dDFLzjHv3TLVh9 +C1B4L5ilrkgZKZ2rd5rMwBAIkVP1zo+9mNIrL262nFzxz1TcJA7a/8vnbkjKCgReNvD PsxHhOAj8UyhlQKmP35F7h+LznjyFLp86gcW7UmWAAcGw/LMn3XRtSg91977WS46uq0z iICVHjBARTUVIHPhL1GpiR45tNI1DAWbfw6zFqyfahcSWfFQW+3kok4UtKZOKW9MluTM zajA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1746544455; x=1747149255; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=OVSE30vVhFoJgm5vLa4s4bhtV5AvixDZqDMDQ7c1Chw=; b=Xp07egTyBuw7f/8YugvwL3vZ4RoXc7bQuTy2ejy9e73foQXy4KfRE/1R5VvikHk4pa aE2lR8SyKQKXmz1xpAID1FJJ3zxwFjNFBCvlMeOzWNR9n3DTZNSgpeIGcxlmQKA6f7CF I7SGXGeO1cjplTYxYCTvZwLjIDP4nDCg0QMsnd3XG58GUn5D8V+NnLE5vLVEzCx8tK1Q oPQtQLZ7cJlzb1F8xzDTOsRniQsMA6T5fuROrEIRe7MR1ySqEiJagOVb4MyL0d1oB9dN H2a6ZPf9fowqEmHcOloH/jaYNAF+Z42p9rXRBPB1vIea4EPEG9TxuTVtjycm+gjOFBW3 W8KA== X-Gm-Message-State: AOJu0Yx9Kc1xSh5ujhL4x18UqUFAdRQs6qme/v06c1WzE0Z3hiNYJMNp 0w/jZrEcqexJz9Nb7QGAgJQFDwfPhk83K1J6J45qx7p6CXGBlXizGmnJuK+Tn/yJENlTctNZnNG 8 X-Gm-Gg: ASbGncs8PN981CC03k75eu/29009M666ERhAo/TFeTVe0sGCRMayLWlzTpzMf1r6Z4J tLNBOu9giIpieHdxp/8/y1erV+Sr+vyAjW7e6BKFKGd9n9jzFJkpswmnyL+0UXPt2/DhB8196gb tt03114D7FMGo5Odnp3SL5gZ4ebufBffRveLgsuGsU4A1VznMAVK8JzvTDS9NFytUnP5uPIB4s4 esGIgRBhMTdV16x0B/N5U3DNCMlU5ZZgcjlFgRA9bzMecarJSuXjS6Ua69VcoLOxxFdx0zvLQ0l YxSJArdHEQu6OEaFofJM3pI8gV2bTUQU X-Google-Smtp-Source: AGHT+IEIRd8MfHFWSoHIxTbJvAQcFKT7c6GWIMmE4hRbHFE6r5is+HJRK0rZYJJO6Qp9bXm/hDed2Q== X-Received: by 2002:a17:902:ce8f:b0:22e:50e1:746 with SMTP id d9443c01a7336-22e50e108d4mr18025905ad.36.1746544455336; Tue, 06 May 2025 08:14:15 -0700 (PDT) Received: from hexa.. ([2602:feb4:3b:2100:8d37:c5d1:328a:ee43]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-22e1521fa58sm75222545ad.150.2025.05.06.08.14.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 May 2025 08:14:15 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 3/7] sqlite3: mark CVE-2025-29087 as patched Date: Tue, 6 May 2025 08:13:55 -0700 Message-ID: <3f951941c758b6982a3cd30d085460756b7fefd9.1746544207.git.steve@sakoman.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 06 May 2025 15:14:25 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/216060 From: Peter Marko Description of CVE-2025-29087 and CVE-2025-3277 are very similar. There is no lonk from NVD, but [1] and [2] from Debian mark these two CVEs as duplicates with the same link for patch. [1] https://security-tracker.debian.org/tracker/CVE-2025-29087 [2] https://security-tracker.debian.org/tracker/CVE-2025-3277 Signed-off-by: Peter Marko Signed-off-by: Steve Sakoman --- meta/recipes-support/sqlite/sqlite3/CVE-2025-3277.patch | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-support/sqlite/sqlite3/CVE-2025-3277.patch b/meta/recipes-support/sqlite/sqlite3/CVE-2025-3277.patch index 4e2ed5f1e0..b8225b5069 100644 --- a/meta/recipes-support/sqlite/sqlite3/CVE-2025-3277.patch +++ b/meta/recipes-support/sqlite/sqlite3/CVE-2025-3277.patch @@ -7,6 +7,7 @@ Subject: [PATCH] Add a typecast to avoid 32-bit integer overflow in the FossilOrigin-Name: 498e3f1cf57f164fbd8380e92bf91b9f26d6aa05d092fcd135d754abf1e5b1b5 CVE: CVE-2025-3277 +CVE: CVE-2025-29087 Upstream-Status: Backport [https://sqlite.org/src/info/498e3f1cf57f164f] Signed-off-by: Peter Marko --- From patchwork Tue May 6 15:13:56 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 62539 X-Patchwork-Delegate: steve@sakoman.com 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 C3831C3ABAC for ; Tue, 6 May 2025 15:14:25 +0000 (UTC) Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) by mx.groups.io with SMTP id smtpd.web10.78318.1746544457433892421 for ; Tue, 06 May 2025 08:14:17 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=1priaPzb; spf=softfail (domain: sakoman.com, ip: 209.85.214.172, mailfrom: steve@sakoman.com) Received: by mail-pl1-f172.google.com with SMTP id d9443c01a7336-22435603572so74927005ad.1 for ; Tue, 06 May 2025 08:14:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1746544457; x=1747149257; 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=ThKiEsV+y3d26PgqLmNGwGk1RFpUiLiA0IOyEKdgs58=; b=1priaPzbfaFYZDifZtXl4tMWsrLzU7hOsc54x/g1dNyFMuvbFBhoEXQaYs2KWzlpNF N+rN6gjp/W+GJ/lKzDBrqG0HTQTkWL7QgX6x4b2RuXrMu+wFzm60KiM+lNEjTihRKK2v Wem8Yjy5qTjt4NU4n+vB0XwqnjIDQSFpjR3DyrqkRolFKhfC8ERDowEKKJpvqz9DbwVM 5B+kF4XpTxqZGh8wRelKKMVdmGSfzd/9BaOKlIKhjVWymcllClTmoJelzIlS0cvckte9 nQZQ1cTXuKrVuzF1NKJgl+abn/N834ED8PzEP8tjkaiqhjZ7ANbe3LThszrP1+P3p4fE rkug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1746544457; x=1747149257; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ThKiEsV+y3d26PgqLmNGwGk1RFpUiLiA0IOyEKdgs58=; b=ikr+GN8REh4ZvGPtUUQ13BR3NhH1ZHumrczIM4s/0t1Ye4Tyl6PI6GnftA6ElL1WPY /ACxn+1BhpcQR3ZgfH6lZSlZhAHr2Mp//TkFxhxIE2LKFAcmw7ns8Hc/fM3rPnfGbZ3h YndkTAXougq0+KxM9mLDiwlmYVpJWfRLZxCNIEYxdq2sOky3FAFknbdjrw9etT88BOD/ ZsxHkrfjUY5pesHo8xAMXDoI4fnSiAWW1tTmSdl7Yf3qqnC6O0KsVRLBtRLwvkTPKc73 Yft759NN7P5uhrPPDma9FMR/dhABAYyonhPX/U7THD9uIXDb6XUGX8IuiMKbxTM1LwLb CH9A== X-Gm-Message-State: AOJu0YxcRF/9IeC0na38IPYK24ddnl3h9sokzl3hNCf0cOAPBeHc6m51 Rxijxy2WoyEhUIgtRdlaJBl8LRqy1UmGk+tjiQdItRhkoUWxxvdmIHiXgqquLKCVJIN8iuPbm2q w X-Gm-Gg: ASbGncsCht0srAKv8MdigOHu1TjgNIlpcGaebT3btGUk9lvXDWSlJrrPKCY12DEjh+T A8tvfUlAqGwNtMW4EghtBaElspvq4oBwu15Oz+BjpW5r6nEy/hg1JV+49OpY5OlgEPK2kOOzabQ bBAq+MRSKKwA0a20M+JsvrY6B4+K568yZPA+rIFq9OUfE4D5ZVTU06joh1berMicv44y3Rrh3vV dXp8lCJBDvgGxKeDJX7qr5aNWaa8VBlyR9CDpUCHVQV66dv+s2qiyQl+mI3k/bte4UuGKp78UPZ HqCEfepmAcPfoYKtBegLVSgNO0+iWpD8 X-Google-Smtp-Source: AGHT+IEA3iVOkGe9t3FkQyPYwuMoiXyvz8MGTAD2FFLj4TMyasiqMEy0zd+As977Fwi2fY41PF/URw== X-Received: by 2002:a17:902:d505:b0:220:d601:a704 with SMTP id d9443c01a7336-22e1e8eaf8dmr131629645ad.18.1746544456608; Tue, 06 May 2025 08:14:16 -0700 (PDT) Received: from hexa.. ([2602:feb4:3b:2100:8d37:c5d1:328a:ee43]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-22e1521fa58sm75222545ad.150.2025.05.06.08.14.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 May 2025 08:14:16 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 4/7] glibc: stable 2.39 branch updates Date: Tue, 6 May 2025 08:13:56 -0700 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 06 May 2025 15:14:25 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/216061 From: Deepesh Varatharajan 3463100f2d x86: Detect Intel Diamond Rapids e09436c2cb x86: Handle unknown Intel processor with default tuning 7620d98186 x86: Add ARL/PTL/CWF model detection support 765ff3d0d4 x86: Optimize xstate size calculation 65ae73be01 x86: Use `Avoid_Non_Temporal_Memset` to control non-temporal path 2be36448c4 x86: Tunables may incorrectly set Prefer_PMINUB_for_stringop (bug 32047) bde201e92c x86: Disable non-temporal memset on Skylake Server 38a7632f2d x86: Fix value for `x86_memset_non_temporal_threshold` when it is undesirable cc59fa5dbc x86: Enable non-temporal memset tunable for AMD 0da58e8be0 x86: Add seperate non-temporal tunable for memset 837a36c371 x86: Link tst-gnu2-tls2-x86-noxsave{,c,xsavec} with libpthread 87ab0c7f7f x86: Use separate variable for TLSDESC XSAVE/XSAVEC state size (bug 32810) 60cd7123a6 x86: Skip XSAVE state size reset if ISA level requires XSAVE 4cf3f9df54 x86_64: Add atanh with FMA 01ed435e2e x86_64: Add sinh with FMA 0edcc77fe7 x86_64: Add tanh with FMA 7ecf0d3bde x86-64: Exclude FMA4 IFUNC functions for -mapxf e1fe22368e nptl: clear the whole rseq area before registration dd8c0c3bbd math: Improve layout of exp/exp10 data a1b09e59e2 AArch64: Use prefer_sve_ifuncs for SVE memset d0e2133470 AArch64: Add SVE memset 0cc12d9c47 math: Improve layout of expf data 0cd10047bf AArch64: Remove zva_128 from memset dd1e63ab58 AArch64: Optimize memset 65a96a6f2b AArch64: Improve generic strlen 4073e4ee2c AArch64: Improve codegen for SVE logs 78abd3ef6e AArch64: Improve codegen in SVE tans a10183b633 AArch64: Improve codegen of AdvSIMD atan(2)(f) dcd1229e5b AArch64: Improve codegen of AdvSIMD logf function family 72156cb90b AArch64: Improve codegen in AdvSIMD logs 5e354bf4e2 AArch64: Simplify rounding-multiply pattern in several AdvSIMD routines 80df456112 aarch64: Avoid redundant MOVs in AdvSIMD F32 logs d591876303 aarch64: Fix AdvSIMD libmvec routines for big-endian f6d48470ae assert: Add test for CVE-2025-0395 Testresults: Before update |After update |Difference PASS: 5068 |PASS: 5072 |PASS: +4 FAIL: 120 |FAIL: 120 |FAIL: 0 XPASS: 4 |XPASS: 4 |XPASS: 0 XFAIL: 16 |XFAIL: 16 |XFAIL: 0 UNSUPPORTED: 157|UNSUPPORTED: 157|UNSUPPORTED: 0 Signed-off-by: Deepesh Varatharajan Signed-off-by: Steve Sakoman --- meta/recipes-core/glibc/glibc-version.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/glibc/glibc-version.inc b/meta/recipes-core/glibc/glibc-version.inc index da9227ccca..040fc793b1 100644 --- a/meta/recipes-core/glibc/glibc-version.inc +++ b/meta/recipes-core/glibc/glibc-version.inc @@ -1,6 +1,6 @@ SRCBRANCH ?= "release/2.39/master" PV = "2.39+git" -SRCREV_glibc ?= "662516aca8b6bf6aa6555f471055d5eb512b1ddc" +SRCREV_glibc ?= "3463100f2d47f2897a24ba8023a5c7aaf2d26550" SRCREV_localedef ?= "fab74f31b3811df543e24b6de47efdf45b538abc" GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git;protocol=https" From patchwork Tue May 6 15:13:57 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 62537 X-Patchwork-Delegate: steve@sakoman.com 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 D0C15C3ABC3 for ; Tue, 6 May 2025 15:14:25 +0000 (UTC) Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) by mx.groups.io with SMTP id smtpd.web10.78319.1746544458601513634 for ; Tue, 06 May 2025 08:14:18 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=d+v9+Jke; spf=softfail (domain: sakoman.com, ip: 209.85.214.180, mailfrom: steve@sakoman.com) Received: by mail-pl1-f180.google.com with SMTP id d9443c01a7336-22c33677183so69808255ad.2 for ; Tue, 06 May 2025 08:14:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1746544458; x=1747149258; 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=w5NLnq6VhbqA7SpbCL8LDFmZ3BdwnNzNpSrUxsoIEz0=; b=d+v9+Jke+3+ku8Yr1D0LRRkS++5jBHGXwaHQeDhkv1TVGubgB94weCd+vCWsgZKU2d 0kBqRxruB4cGV99qIBbdSe9gMI6nsTBWAOxlikd72FtKEhtFUnvzQhTG+2u1CszreAG7 Pjz51n2z+TuFqohrNcXZvwt2zmDvwrAIYuc2JxK5Kz/XslwyvuBVow3VgRyi5o3E7QwB zIPfavat8SA3eFfqs9pHAy1TvUgnDlXUGBQiMbvtqwQwZmFRQd+0wo3aX5HFmFAcU+di nxRdYP+qHKSXmHfCW/mx9z3r/VWuTx3F+9a//ktTK58ZxcsvdDTMBoKas3TeQIn6U+La E7HA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1746544458; x=1747149258; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=w5NLnq6VhbqA7SpbCL8LDFmZ3BdwnNzNpSrUxsoIEz0=; b=pnGKwKufanZ1aszABaa1W06CW5m3pbuZtJCm7P8yxIuVlDJtklr/1doGbztdjoZ4i7 Qg/hfocjoonOg1IHI4cIBJ6YdLQvW3haAYNXkI14UDKQ8fp7XHLVCnhhuKdAoaLaFTh3 VXPOmNERG7gXKkvdc0TGKIuIDJ1Pxv8HSjQ0xPF3FaiKIceHqQy6Ys0TPjf738xxSesg KEPepsvHyBiwz67fQflZmMPg637MORdgypTEPJYVMWskOvL8FDwU3EHPn+WR8RGR5dOP B7vF/aETTm9KtYYH/i61I7dK6XGNhiyvaFWF8fs0KysNBDaiJNis45lMJlyfLQ2zjkmD KcPw== X-Gm-Message-State: AOJu0Ywwm9Yzr7veqLxm8MDCf9dubvUfwgWNbFCX3wkJePUh5dW9CucF KZwRis2BI+MlwckqSQqkJkbDFuaWja2ffhy5GSJIKL+rNDvn/XVbyf8kSMfckjy6/hCCECVZp+q S X-Gm-Gg: ASbGnctvTMhvPpDY1vpMEaetIpRgNYWCMCP0t/zHZlAx9LBTJNk3kPVnbSI8seYy5Fu +XqRT3TWzosgJGqCThs/Gw53ZW+S6HX0Bz8oIEw5XAaEbzwyGBbaDhPgh6iFHmF72A1XvQNqkQt UM/1YnpC9w0vmO/eZf4roTR+1TWo5fPKxz6itawXyQkXss2lABqCyNqz/34DYVAJD/8y66usgNv prdQB48tPmxJ7PbgxuU6rR9gu4MuyO5av2jd7eKe4t1S27HkYqshHHVa/UeS+1Hws6+IklKJj6f Bf7pvJsDr926NUSW1YUdXM2mCZDK/Ets X-Google-Smtp-Source: AGHT+IG1+OqWVcuZBVYldOC7YrDh11yZaJiae+7ImG0PFUTQlf70YjmVS3tlHmFXzFn6pwNUWj0m5g== X-Received: by 2002:a17:903:1b30:b0:223:53fb:e1dd with SMTP id d9443c01a7336-22e1ea1e788mr160153865ad.9.1746544457951; Tue, 06 May 2025 08:14:17 -0700 (PDT) Received: from hexa.. ([2602:feb4:3b:2100:8d37:c5d1:328a:ee43]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-22e1521fa58sm75222545ad.150.2025.05.06.08.14.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 May 2025 08:14:17 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 5/7] binutils: stable 2.42 branch updates Date: Tue, 6 May 2025 08:13:57 -0700 Message-ID: <08d6ca500e6dd571f5882f82f6ad804bd2eec8c8.1746544207.git.steve@sakoman.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 06 May 2025 15:14:25 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/216062 From: Deepesh Varatharajan Below commit on binutils-2.42 stable branch is updated. 6558f9f5f0c s390: Add support for z17 as CPU name Testing was done and there were no regressions found Signed-off-by: Deepesh Varatharajan Signed-off-by: Steve Sakoman --- meta/recipes-devtools/binutils/binutils-2.42.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/binutils/binutils-2.42.inc b/meta/recipes-devtools/binutils/binutils-2.42.inc index 9fc29301f0..e103e712a4 100644 --- a/meta/recipes-devtools/binutils/binutils-2.42.inc +++ b/meta/recipes-devtools/binutils/binutils-2.42.inc @@ -20,7 +20,7 @@ UPSTREAM_CHECK_GITTAGREGEX = "binutils-(?P\d+_(\d_?)*)" CVE_STATUS[CVE-2023-25584] = "cpe-incorrect: Applies only for version 2.40 and earlier" -SRCREV ?= "758a2290dbdf0d6d6c148c6cf25b2bcfd7a5b84f" +SRCREV ?= "6558f9f5f0ccc107a083ae7fbf106ebcb5efa817" BINUTILS_GIT_URI ?= "git://sourceware.org/git/binutils-gdb.git;branch=${SRCBRANCH};protocol=https" SRC_URI = "\ ${BINUTILS_GIT_URI} \ From patchwork Tue May 6 15:13:58 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 62538 X-Patchwork-Delegate: steve@sakoman.com 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 D9DC0C3ABC4 for ; Tue, 6 May 2025 15:14:25 +0000 (UTC) Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) by mx.groups.io with SMTP id smtpd.web11.78806.1746544460141371285 for ; Tue, 06 May 2025 08:14:20 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=iSGdKkWM; spf=softfail (domain: sakoman.com, ip: 209.85.214.173, mailfrom: steve@sakoman.com) Received: by mail-pl1-f173.google.com with SMTP id d9443c01a7336-2264aefc45dso91386695ad.0 for ; Tue, 06 May 2025 08:14:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1746544459; x=1747149259; 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=UHSzXOWSI13mk/wsTskFHyqQbELw1Nc2Gk+AMYcOPF4=; b=iSGdKkWME900LRFNCIU2lAuS7w2VHTvfj+ywqXFBZLRAoQqHiOSYpjVORLkGnuYKR7 bOdu4IGiW1nxVkQzPmPNaoHZUsmo/tm2WtAssBJqrj38a/N5rk3o3cjQGOwv79V9AlEb t25sheTQAz2dKLf1fHwE8Q6Eag3dE12oNE0YdU7fsQCjprb1Rmv3E6Gjt0CK4EA4F+CK NunBdN7oP4LhwkiegZFsCQXqMK4lK6546kmkNAIj0UHuPVUazlfv0Ma430tH95AQiCqp t41Gh1JNx/HWibqVwHKhGYOTHMwdNFeqMt7ZUt1w0p/rzyDFZ6T27U+beYzDMaYCtcvd NgeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1746544459; x=1747149259; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=UHSzXOWSI13mk/wsTskFHyqQbELw1Nc2Gk+AMYcOPF4=; b=HuCeSDzh97b91EgtPsdR4wPWBGtLyGVbR6WWFX1EpIrLNOcwjsxywHLuuuDYW3YVx4 twxXEcFlks/C5Yy8muOnloDBGOFl8++JrxyLLzck9PxUX5SYyX6X268Wm6ncoVTofnLK vtK39uExXMrECTqfAdQuAQ0GQ29xA+DVhGr1jXHPvYnhYMe/2XLvA4xH+ZRcx0AznJl6 jmWhX7pjpay+11bnoKLEApkvCAGYASVCmomIf4UQJh+gPBTtHvWNQ2YPm8m3drwp1M8c V7PJeSAyEjiweGN7izYyTz4kZSAh+/1qhyu8xAdyQKfyRHv/Gm9W1VNuivMttXPL2qwL 3o2A== X-Gm-Message-State: AOJu0YybxVoclGj9K2fVEaS2MGEBnjm2BXv+g4EKrDJyTSX3awjHAHN7 sz2EGD0GsqQp/t9LggxHU8fXWjBXijqP7RJVSbPs5pSGEqrDzKDnyfdOhJ3NePu/i0uSqKcM3E+ r X-Gm-Gg: ASbGncue6XhNdnGXtu8LKZYKuBo4OiRkcB8g0UQEW83LSLeQ57JSF+h7CvF2ZloID5j NSeI99Wg+wZrIeimsY52dpWBWMj2iHyMtd4E55Ivy/HxksPzSNq2EMPR4DZ918p5kiSK9mJ865O DUqC4C2u6aUsGbYSS4b8SURhzU58RJ+T1mdP9WWgPxLAcv/ubkmzSDumg/C79e5amTpjsq3qsK9 tQdJCylSTOzFRV1qFlk5YTpyLE3F3BimwnOwPBn4fQJ6Qd7LvSVhPofwfhTUXQYkAO/4YukhVNl bhHwvMPOPAT6K+WhOghZgSAufuTP9MUl X-Google-Smtp-Source: AGHT+IH701J6Xzo0Tel+NTWO3/YXBj1csWA84RtoogQ3HrePSvvzwmL8U/iBzpcgyWnbMM/RR1jL9g== X-Received: by 2002:a17:903:248:b0:229:1cef:4c83 with SMTP id d9443c01a7336-22e1e8ebb98mr157093215ad.4.1746544459464; Tue, 06 May 2025 08:14:19 -0700 (PDT) Received: from hexa.. ([2602:feb4:3b:2100:8d37:c5d1:328a:ee43]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-22e1521fa58sm75222545ad.150.2025.05.06.08.14.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 May 2025 08:14:19 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 6/7] bluez5: make media control a PACKAGECONFIG option Date: Tue, 6 May 2025 08:13:58 -0700 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 06 May 2025 15:14:25 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/216063 From: Jeroen Hofstee When not building with the default PACKAGECONFIG options, the build can fail with: undefined reference to `media_player_controller_create' undefined reference to `media_player_set_status' Otherwise. So disable it when not set and enable it by default. The packageconfig option is the same as in Styhead. https://github.com/openembedded/openembedded-core/commit/ebbdb7cf5c0a3f0e6773704d4c4cc570358ec611#diff-9d9284f6f27a81c75dffffd6d601b40c8266ae12e678d0a49c46bdb8356a0e91R52 Signed-off-by: Steve Sakoman --- meta/recipes-connectivity/bluez5/bluez5.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc b/meta/recipes-connectivity/bluez5/bluez5.inc index 39e1bf389c..731bfa0e40 100644 --- a/meta/recipes-connectivity/bluez5/bluez5.inc +++ b/meta/recipes-connectivity/bluez5/bluez5.inc @@ -18,6 +18,7 @@ PACKAGECONFIG ??= "obex-profiles \ ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ a2dp-profiles \ avrcp-profiles \ + mcp-profiles \ network-profiles \ hid-profiles \ hog-profiles \ @@ -35,6 +36,7 @@ PACKAGECONFIG[nfc] = "--enable-nfc,--disable-nfc" PACKAGECONFIG[sap-profiles] = "--enable-sap,--disable-sap" PACKAGECONFIG[a2dp-profiles] = "--enable-a2dp,--disable-a2dp" PACKAGECONFIG[avrcp-profiles] = "--enable-avrcp,--disable-avrcp" +PACKAGECONFIG[mcp-profiles] = "--enable-mcp,--disable-mcp" PACKAGECONFIG[network-profiles] = "--enable-network,--disable-network" PACKAGECONFIG[hid-profiles] = "--enable-hid,--disable-hid" PACKAGECONFIG[hog-profiles] = "--enable-hog,--disable-hog" From patchwork Tue May 6 15:13:59 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 62536 X-Patchwork-Delegate: steve@sakoman.com 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 B5F07C3ABBC for ; Tue, 6 May 2025 15:14:25 +0000 (UTC) Received: from mail-pl1-f179.google.com (mail-pl1-f179.google.com [209.85.214.179]) by mx.groups.io with SMTP id smtpd.web11.78807.1746544461416315267 for ; Tue, 06 May 2025 08:14:21 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=PHRFFI7S; spf=softfail (domain: sakoman.com, ip: 209.85.214.179, mailfrom: steve@sakoman.com) Received: by mail-pl1-f179.google.com with SMTP id d9443c01a7336-2255003f4c6so61031685ad.0 for ; Tue, 06 May 2025 08:14:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1746544461; x=1747149261; 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=v97+OY7rR0O083VD/Cg9JeHcjDQgniLgcwWVCsfp5Sk=; b=PHRFFI7SEbLfl3cGsnu6M4oQ5RzvY9ewRL99uIjh4/DMvy+0zKirJVIWm1xjApmZrA DvPwKX1gwv1CFTqW2u04qWdIQ7m1OcoQPmnQ46Q/Hh7mroiwgvR0Vh+6AZ5BeoP4485T nX38IdItQjCI4wgEn5xV00FoyIMbB8MgRUFTS8hF1bAwfjJzU30NSmdncHsRuD/Ve3N1 QWUNzCNoFQbCYbUJqqZcI3iHmhECUxjxovvi58rfOHPYqE6lkSUaDZQ4/ZVoIILwa7l2 YVKoFw2FOFKzVohARkgET3DYQAlha/v9xdHxqrv/AqR0jbWkbDXAEeDRchHu15LuZGy2 qEKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1746544461; x=1747149261; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=v97+OY7rR0O083VD/Cg9JeHcjDQgniLgcwWVCsfp5Sk=; b=h4P2R2DWbAz5vLDj23NzY72lIMNAYgfbRJk0VEi/JBeTLYlXpvolc8UUxXCRRuA3hj SqIMOZLwJl/92LU68LThj0dtw50+x+S0LMat9d5lGv56sFiwgoiV9Lenr2uDgtlsmbin dKTEsHA8L7KR6nVcloRzWWk5YBIAU3dg9A9RTxYNpYHdt1fFXU/qIFaGHfecb1wlIOYM CH6KXZkvRRqoRkXLUjb0qnt4CmLHSOLUod841w6yhJRxNIulvIPkPeMEyqMz6fmpBrg3 s7rb+UTIr6tXGMGjTYxcXMfkRJV47duwa4trGUsIYeTh1MXFF63PrE1B6c4FzUihuWMf mzWw== X-Gm-Message-State: AOJu0YysCSSyfmrPB9XHUvKKs/Z469SUeaFU9ZqvGLU6/cEb+rgAAsOt pPhhn5Ps3rDnM5chdK+rYzm1c/KN25W4HCkbC0ON0jGYRJwwQvm4gDP4I8f8BBufNxBX1oPeJy0 6 X-Gm-Gg: ASbGncsg4UXM6TmjuxEZMS7YcPBWgET5DwZad3wqaAu9rCKwTBDapJqyhKkDdR1c9Gx 2VxM+21vlL6+OyCDSNGt8RntTgnleTzoJbh7KjkPFk6oEHrLbPDPQrbkbVtQyuiLZT1aQ3O4BCF Mksd53RZ3XGq1qh11axMdd7Gw4Wmkk7ynUjeuLRJnjlrvLzM0Sg+Lau/YLveZLGqLbUQStLLhbo AVUJJGJncyPnpraJeBlo0d7G4YDeg6nlit2S3NGBQMtco/6QlsvItGdMYRbHTwpmzY+LeJ7sqzg zjd3VLwET72jiH2Gr7luAGDT6Wt587Ea X-Google-Smtp-Source: AGHT+IGTKBw/iHhaMWrr6E6GGIIKrhzEH3UONE1Mh0JQVK0GJkX+Sb585ZOW8wKgS8EM7BZnnaLiSQ== X-Received: by 2002:a17:903:234e:b0:224:26fd:82e5 with SMTP id d9443c01a7336-22e1038ea74mr269246665ad.48.1746544460685; Tue, 06 May 2025 08:14:20 -0700 (PDT) Received: from hexa.. ([2602:feb4:3b:2100:8d37:c5d1:328a:ee43]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-22e1521fa58sm75222545ad.150.2025.05.06.08.14.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 May 2025 08:14:20 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 7/7] bluez5: backport a patch to fix btmgmt -i Date: Tue, 6 May 2025 08:13:59 -0700 Message-ID: <5961d8e42e89fad5a5465d686e3d7a3c5b271c58.1746544207.git.steve@sakoman.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 06 May 2025 15:14:25 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/216064 From: Jeroen Hofstee Without this patch btmgmt will always use hci0 in non interactive mode. Signed-off-by: Jeroen Hofstee Signed-off-by: Steve Sakoman --- meta/recipes-connectivity/bluez5/bluez5.inc | 1 + ...ndex-option-for-non-interactive-mode.patch | 29 +++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 meta/recipes-connectivity/bluez5/bluez5/toolsbtmgmt-fix-index-option-for-non-interactive-mode.patch diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc b/meta/recipes-connectivity/bluez5/bluez5.inc index 731bfa0e40..53d8644159 100644 --- a/meta/recipes-connectivity/bluez5/bluez5.inc +++ b/meta/recipes-connectivity/bluez5/bluez5.inc @@ -57,6 +57,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/bluetooth/bluez-${PV}.tar.xz \ file://0001-tests-add-a-target-for-building-tests-without-runnin.patch \ file://0001-test-gatt-Fix-hung-issue.patch \ file://0001-adapter-Fix-up-address-type-when-loading-keys.patch \ + file://toolsbtmgmt-fix-index-option-for-non-interactive-mode.patch \ " S = "${WORKDIR}/bluez-${PV}" diff --git a/meta/recipes-connectivity/bluez5/bluez5/toolsbtmgmt-fix-index-option-for-non-interactive-mode.patch b/meta/recipes-connectivity/bluez5/bluez5/toolsbtmgmt-fix-index-option-for-non-interactive-mode.patch new file mode 100644 index 0000000000..f4e14be146 --- /dev/null +++ b/meta/recipes-connectivity/bluez5/bluez5/toolsbtmgmt-fix-index-option-for-non-interactive-mode.patch @@ -0,0 +1,29 @@ +From f00d5546c9e989dd68ce0de0190cd0e043b0f1f5 Mon Sep 17 00:00:00 2001 +From: Arjan Opmeer +Date: Tue, 9 Jul 2024 13:55:41 +0200 +Subject: [PATCH] tools/btmgmt: Fix --index option for non-interactive mode + +In non-interactive mode the --index option does not work because the +call to mgmt_set_index() is made after bt_shell_attach(). + +Fixes: https://github.com/bluez/bluez/issues/893 + +Upstream-Status: Backport [https://github.com/bluez/bluez/commit/f00d5546c9e989dd68ce0de0190cd0e043b0f1f5] +--- + tools/btmgmt.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tools/btmgmt.c b/tools/btmgmt.c +index 9b7f851bd8..436c2bb21f 100644 +--- a/tools/btmgmt.c ++++ b/tools/btmgmt.c +@@ -51,8 +51,8 @@ int main(int argc, char *argv[]) + return EXIT_FAILURE; + } + +- bt_shell_attach(fileno(stdin)); + mgmt_set_index(index_option); ++ bt_shell_attach(fileno(stdin)); + status = bt_shell_run(); + + mgmt_remove_submenu();