diff mbox series

[scarthgap] glibc: stable 2.39 branch updates to 34688bd97e

Message ID 20261205221750.1725953-1-peter.marko@siemens.com
State New
Headers show
Series [scarthgap] glibc: stable 2.39 branch updates to 34688bd97e | expand

Commit Message

Peter Marko Dec. 5, 2026, 10:17 p.m. UTC
From: Peter Marko <peter.marko@siemens.com>

Update SRCREV to pull the latest fixes from the upstream
release/2.39/master branch, including fixes for the following CVEs:
* CVE-2026-115819 CVE marked in commit message in commit list below
* CVE-2026-121758 (https://sourceware.org/bugzilla/show_bug.cgi?id=34774)
* CVE-2026-124024 (https://sourceware.org/bugzilla/show_bug.cgi?id=34914)
* CVE-2026-126765 (https://sourceware.org/bugzilla/show_bug.cgi?id=34993)
  per https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=b42be3d484e0593a96215dd315b2c8a4eff1a356

Refresh patch with a minor conflict in test makefile.

Commits between the old SRCREV (b7a0de2c8f) and the new SRCREV (34688bd97e):

34688bd97e posix: Fix double free after allocation failure in glob (BZ 34993)
386a4a93af powerpc: Fix stack buffer overflow in loader error messages (bug 34541)
1614eaca96 elf: Consume hex arguments in _dl_exception_create_format length pass
d542541863 iconv: ISO-2022-CN-EXT: fix SO handling without a designation (bug 34774)
c0ebe959a3 stdio-common: Fix double null terminator in wide scanf %s and %[ (BZ 34989, CVE-2026-115819)
462704f624 aarch64: Fix SVE tanf mixed-lane results [BZ #34922]
2351f67353 linux: Add C++ and multiple inclusion guards to sys/pidfd.h (BZ 34752)

Testing Results:
+--------------+--------+--------+------+
| Result       | Before | After  | Diff |
+--------------+--------+--------+------+
| FAIL         | 222    | 222    |  0   |
| PASS         | 4939   | 4941   | +2   |
| XFAIL        | 16     | 16     |  0   |
| XPASS        | 4      | 4      |  0   |
| UNSUPPORTED  |        | 227    |  0   |
+--------------+--------+--------+------+

Changes in testcases:                Before  After
posix/tst-glob-nospace                  ---  PASS
stdio-common/tst-wscanf-nul             ---  PASS

Signed-off-by: Peter Marko <peter.marko@siemens.com>
---
 meta/recipes-core/glibc/glibc-version.inc              | 2 +-
 meta/recipes-core/glibc/glibc/0032-CVE-2026-5450.patch | 4 ++--
 meta/recipes-core/glibc/glibc_2.39.bb                  | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/meta/recipes-core/glibc/glibc-version.inc b/meta/recipes-core/glibc/glibc-version.inc
index 1f4f372c13b..3dd74e40a70 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 ?= "b7a0de2c8f68722cfdfc735b8358a3a6559ec0eb"
+SRCREV_glibc ?= "34688bd97ea6c6fb101ae553cebe03378cbe9fe0"
 SRCREV_localedef ?= "cba02c503d7c853a38ccfb83c57e343ca5ecd7e5"
 
 GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git;protocol=https"
diff --git a/meta/recipes-core/glibc/glibc/0032-CVE-2026-5450.patch b/meta/recipes-core/glibc/glibc/0032-CVE-2026-5450.patch
index 631b63f4654..bdddb1c18d7 100644
--- a/meta/recipes-core/glibc/glibc/0032-CVE-2026-5450.patch
+++ b/meta/recipes-core/glibc/glibc/0032-CVE-2026-5450.patch
@@ -33,9 +33,9 @@  index ac098dcd8a..72c18e5dc1 100644
    tst-vfprintf-width-prec-alloc \
 +  tst-vfscanf-bz34008 \
    tst-wc-printf \
+   tst-wscanf-nul \
    tstdiomisc \
-   tstgetln \
-@@ -401,6 +402,9 @@ tst-printf-bz18872-ENV = MALLOC_TRACE=$(objpfx)tst-printf-bz18872.mtrace \
+@@ -403,6 +404,9 @@ tst-printf-bz18872-ENV = MALLOC_TRACE=$(objpfx)tst-printf-bz18872.mtrace \
  tst-vfprintf-width-prec-ENV = \
    MALLOC_TRACE=$(objpfx)tst-vfprintf-width-prec.mtrace \
    LD_PRELOAD=$(common-objpfx)/malloc/libc_malloc_debug.so
diff --git a/meta/recipes-core/glibc/glibc_2.39.bb b/meta/recipes-core/glibc/glibc_2.39.bb
index 0aed7240c2c..28c517c0763 100644
--- a/meta/recipes-core/glibc/glibc_2.39.bb
+++ b/meta/recipes-core/glibc/glibc_2.39.bb
@@ -19,7 +19,7 @@  easier access for another. 'ASLR bypass itself is not a vulnerability.'"
 CVE_STATUS_GROUPS += "CVE_STATUS_STABLE_BACKPORTS"
 CVE_STATUS_STABLE_BACKPORTS = "CVE-2024-2961 CVE-2024-33599 CVE-2024-33600 CVE-2024-33601 CVE-2024-33602 CVE-2025-0395 \
     CVE-2025-4802 CVE-2025-5702 CVE-2025-8058 CVE-2025-15281 CVE-2026-0861 CVE-2026-0915 \
-    CVE-2026-4046 CVE-2026-4437 CVE-2026-4438"
+    CVE-2026-4046 CVE-2026-4437 CVE-2026-4438 CVE-2026-115819 CVE-2026-121758 CVE-2026-124024 CVE-2026-126765"
 CVE_STATUS_STABLE_BACKPORTS[status] = "cpe-stable-backport: fix available in used git hash"
 
 DEPENDS += "gperf-native bison-native"