glibc: stable 2.39 branch updates
PATCH 1/1 glibc: stable 2.39 branch updates
git log --oneline ce65d944e38a20cb70af2a48a4b8aa5d8fabe1cc..be1e627cd72db31161a3b4ce1c8114674f0895eb be1e627cd7 Linux: Only define OPEN_TREE_* macros in <sys/mount.h> if undefined (bug 33921) 98bc06a361 include: isolate __O_CLOEXEC flag for sys/mount.h and fcntl.h3e13579841 Use pending character state in IBM1390, IBM1399 character sets (CVE-2026-4046) 0dc95ae109 elf: parse /proc/self/maps as the last resort to find the gap for tst-link-map-contiguous-ldso 9344c796f7 resolv: Check hostname for validity (CVE-2026-4438)5663ab0b83 resolv: Count records correctly (CVE-2026-4437)c53cd6e738 posix: Run tst-wordexp-reuse-mem test2760e4c5ed iconvdata: Fix invalid pointer arithmetic in ANSI_X3.110 moduleba29a36aa3 posix: Fix invalid flags test for p{write,read}v260b039bf6a socket: Add new test for shutdown
Testing Results:
Before After Diff PASS 4892 4896 +4 XPASS 4 4 0 FAIL 371 372 +1 XFAIL 16 16 0 UNSUPPORTED 224 224 0
Changes in testcases:
testcase-name before after
posix/tst-wordexp-reuse-mem(new) - PASS (native)
[Note: posix/tst-wordexp-reuse-mem is a new test added by this uplift (c53cd6e738). It fails under QEMU user-mode because the test-wrapper cannot support LD_PRELOAD and MALLOC_TRACE needed for mtrace. Running natively with LD_PRELOAD=libc_malloc_debug.so confirms the test passes with no memory leaks.
nptl/tst-getpid3 is a flaky test under QEMU user-mode (passes 7/10 re-runs). No nptl code was changed in this uplift.]
--- meta/recipes-core/glibc/glibc-version.inc | 2 +- meta/recipes-core/glibc/glibc_2.39.bb | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-)
meta/recipes-core/glibc/glibc-version.inc +1 -1
@@ -1,6 +1,6 @@ SRCBRANCH ?= "release/2.39/master" PV = "2.39+git" -SRCREV_glibc ?= "ce65d944e38a20cb70af2a48a4b8aa5d8fabe1cc" +SRCREV_glibc ?= "be1e627cd72db31161a3b4ce1c8114674f0895eb" SRCREV_localedef ?= "cba02c503d7c853a38ccfb83c57e343ca5ecd7e5" GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git;protocol=https"
meta/recipes-core/glibc/glibc_2.39.bb +2 -1
@@ -18,7 +18,8 @@ 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-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_STATUS_STABLE_BACKPORTS[status] = "cpe-stable-backport: fix available in used git hash" DEPENDS += "gperf-native bison-native"
Signature · 1 line
2.34.1
Hi Yoann,
May I know did you get a chance to review this patch and another patch for glibc from me ?
Regards,
Jaipaul
________________________________
From: Jaipaul Cheernam
Sent: Wednesday, July 8, 2026 2:01 PM
To: [email protected] <[email protected]>
Cc: Jaipaul Cheernam <[email protected]>
Subject: [scarthgap][PATCH] glibc: stable 2.39 branch updates
git log --oneline ce65d944e38a20cb70af2a48a4b8aa5d8fabe1cc..be1e627cd72db31161a3b4ce1c8114674f0895eb be1e627cd7 Linux: Only define OPEN_TREE_* macros in <sys/mount.h> if undefined (bug 33921) 98bc06a361 include: isolate __O_CLOEXEC flag for sys/mount.h and fcntl.h3e13579841 Use pending character state in IBM1390, IBM1399 character sets (CVE-2026-4046) 0dc95ae109 elf: parse /proc/self/maps as the last resort to find the gap for tst-link-map-contiguous-ldso 9344c796f7 resolv: Check hostname for validity (CVE-2026-4438)5663ab0b83 resolv: Count records correctly (CVE-2026-4437)c53cd6e738 posix: Run tst-wordexp-reuse-mem test2760e4c5ed iconvdata: Fix invalid pointer arithmetic in ANSI_X3.110 moduleba29a36aa3 posix: Fix invalid flags test for p{write,read}v260b039bf6a socket: Add new test for shutdown
Testing Results:
Before After Diff PASS 4892 4896 +4 XPASS 4 4 0 FAIL 371 372 +1 XFAIL 16 16 0 UNSUPPORTED 224 224 0
Changes in testcases:
testcase-name before after
posix/tst-wordexp-reuse-mem(new) - PASS (native)
[Note: posix/tst-wordexp-reuse-mem is a new test added by this uplift (c53cd6e738). It fails under QEMU user-mode because the test-wrapper cannot support LD_PRELOAD and MALLOC_TRACE needed for mtrace. Running natively with LD_PRELOAD=libc_malloc_debug.so confirms the test passes with no memory leaks.
nptl/tst-getpid3 is a flaky test under QEMU user-mode (passes 7/10 re-runs). No nptl code was changed in this uplift.]
--- meta/recipes-core/glibc/glibc-version.inc | 2 +- meta/recipes-core/glibc/glibc_2.39.bb | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-)
meta/recipes-core/glibc/glibc-version.inc +1 -1
@@ -1,6 +1,6 @@ SRCBRANCH ?= "release/2.39/master" PV = "2.39+git" -SRCREV_glibc ?= "ce65d944e38a20cb70af2a48a4b8aa5d8fabe1cc" +SRCREV_glibc ?= "be1e627cd72db31161a3b4ce1c8114674f0895eb" SRCREV_localedef ?= "cba02c503d7c853a38ccfb83c57e343ca5ecd7e5" GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git;protocol=https"
meta/recipes-core/glibc/glibc_2.39.bb +2 -1
@@ -18,7 +18,8 @@ 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-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_STATUS_STABLE_BACKPORTS[status] = "cpe-stable-backport: fix available in used git hash" DEPENDS += "gperf-native bison-native"
--
2.34.1
Quoted 4 lines · Jaipaul Cheernam
Hi Yoann,
May I know did you get a chance to review this patch and another patch for glibc from me ?
Not yet, but it is in the review list, I'll get to it (next week probably).
FYI, scarthgap merge is directly slowed down by this bug:
15289 – [scarthgap] AB-INT: sstatetests.SStatePrintdiff.test_gcc_runtime_vs_gcc_source failure
https://bugzilla.yoctoproject.org/show_bug.cgi?id=15289#c41
... as an example as to why the project is asking for help fixing the
AB-INT issues.
Regards,
Quoted 79 lines
Regards,
Jaipaul________________________________
From: Jaipaul Cheernam
Sent: Wednesday, July 8, 2026 2:01 PM
To: [email protected] <[email protected]>
Cc: Jaipaul Cheernam <[email protected]>
Subject: [scarthgap][PATCH] glibc: stable 2.39 branch updatesgit log --oneline
ce65d944e38a20cb70af2a48a4b8aa5d8fabe1cc..be1e627cd72db31161a3b4ce1c8114674f0895ebbe1e627cd7Linux: Only define OPEN_TREE_* macros in <sys/mount.h> if undefined (bug 33921)98bc06a361include: isolate__O_CLOEXECflag forsys/mount.handfcntl.h3e13579841Use pending character state in IBM1390, IBM1399 character sets (CVE-2026-4046)0dc95ae109elf: parse/proc/self/mapsas the last resort to find the gap for tst-link-map-contiguous-ldso9344c796f7resolv: Check hostname for validity (CVE-2026-4438)5663ab0b83resolv: Count records correctly (CVE-2026-4437)c53cd6e738posix: Run tst-wordexp-reuse-mem test2760e4c5ediconvdata: Fix invalid pointer arithmetic in ANSI_X3.110 moduleba29a36aa3posix: Fix invalid flags test for p{write,read}v260b039bf6asocket: Add new test for shutdownTesting Results:
Before After Diff PASS 4892 4896 +4 XPASS 4 4 0 FAIL 371 372 +1 XFAIL 16 16 0 UNSUPPORTED 224 224 0Changes in testcases:
testcase-name before after
posix/tst-wordexp-reuse-mem(new) - PASS (native)[Note: posix/tst-wordexp-reuse-mem is a new test added by this uplift (
c53cd6e738). It fails under QEMU user-mode because the test-wrapper cannot supportLD_PRELOADandMALLOC_TRACEneeded for mtrace. Running natively with LD_PRELOAD=libc_malloc_debug.so confirms the test passes with no memory leaks.nptl/tst-getpid3 is a flaky test under QEMU user-mode (passes 7/10 re-runs). No nptl code was changed in this uplift.]
Signed-off-by Jaipaul Cheernam <[email protected]>--- meta/recipes-core/glibc/glibc-version.inc | 2 +- meta/recipes-core/glibc/glibc_2.39.bb | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-)meta/recipes-core/glibc/glibc-version.inc +1
-1@@ -1,6 +1,6 @@ SRCBRANCH ?= "release/2.39/master" PV = "2.39+git" -SRCREV_glibc ?= "ce65d944e38a20cb70af2a48a4b8aa5d8fabe1cc" +SRCREV_glibc ?= "be1e627cd72db31161a3b4ce1c8114674f0895eb" SRCREV_localedef ?= "cba02c503d7c853a38ccfb83c57e343ca5ecd7e5" GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git;protocol=https"meta/recipes-core/glibc/glibc_2.39.bb +2
-2@@ -18,7 +18,8 @@ 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-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_STATUS_STABLE_BACKPORTS[status] = "cpe-stable-backport: fix available in used git hash" DEPENDS += "gperf-native bison-native" --2.34.1
Signature · 2 lines
Yoann Congal Smile ECS