Bug#1109945: bookworm-pu: package glibc/2.36-9+deb12u13

2025-08-25 Thread Aurelien Jarno
On 2025-08-23 21:50, Cyril Brulebois wrote:
> Hi,
> 
> Aurelien Jarno  (2025-08-23):
> > With the point release approaching, gentle ping to kibi.
> 
> With apologies for the delay, please go ahead.
> 

Thanks, i have just uploaded it.

-- 
Aurelien Jarno  GPG: 4096R/1DDD8C9B
[email protected] http://aurel32.net


signature.asc
Description: PGP signature


Bug#1109945: bookworm-pu: package glibc/2.36-9+deb12u13

2025-08-23 Thread Cyril Brulebois
Hi,

Aurelien Jarno  (2025-08-23):
> With the point release approaching, gentle ping to kibi.

With apologies for the delay, please go ahead.


Cheers,
-- 
Cyril Brulebois ([email protected])
D-I release manager -- Release team member -- Freelance Consultant


signature.asc
Description: PGP signature


Bug#1109945: bookworm-pu: package glibc/2.36-9+deb12u13

2025-08-22 Thread Aurelien Jarno
On 2025-07-28 22:21, Jonathan Wiltshire wrote:
> Control: tag -1 d-i moreinfo
> 
> I'm OK with this, but d-i ack needed for the udebs.
> 

With the point release approaching, gentle ping to kibi.

Thanks
Aurelien

-- 
Aurelien Jarno  GPG: 4096R/1DDD8C9B
[email protected] http://aurel32.net



Bug#1109945: bookworm-pu: package glibc/2.36-9+deb12u13

2025-07-28 Thread Jonathan Wiltshire
Control: tag -1 d-i moreinfo

I'm OK with this, but d-i ack needed for the udebs.

Thanks,

-- 
Jonathan Wiltshire  [email protected]
Debian Developer http://people.debian.org/~jmw

4096R: 0xD3524C51 / 0A55 B7C5 1223 3942 86EC  74C3 5394 479D D352 4C51
ed25519/0x196418AAEB74C8A1: CA619D65A72A7BADFC96D280196418AAEB74C8A1



Bug#1109945: bookworm-pu: package glibc/2.36-9+deb12u13

2025-07-26 Thread Aurelien Jarno
Package: release.debian.org
Severity: normal
Tags: bookworm
X-Debbugs-Cc: [email protected]
Control: affects -1 + src:glibc
User: [email protected]
Usertags: pu

[ Reason ]
The reason that triggered this upload is a security issue in regcomp
(CVE-2025-8058) that got fixed in the upstream stable branch. It also
includes some improvements to the testsuite with regards to SGID tests.

[ Impact ]
If the unblock isn't granted, systems will be vulnerable to
CVE-2025-8058.

[ Tests ]
A new test has been added for the regcomp change.

[ Risks ]
Risks are quite low, besides the new test and testsuite improvement, the
changes are only a few lines and thus easily reviewable.

[ Checklist ]
  [x] *all* changes are documented in the d/changelog
  [x] I reviewed all changes and I approve them
  [x] attach debdiff against the package in (old)stable
  [x] the issue is verified as fixed in unstable

[ Changes ]
There are two changes in the upstream stable branch, and no debian
specific change.

The double-free after allocation failure in regcomp could happen if some
previous allocation fails. This might allow buffer manipulation by using
an interposed malloc that injects random malloc failures and specially
constructing the regex.

The SGID tests improvements fixes false negative in SGID tests. This
is done by improving the test framework and replacing open coded parts
with calls to the framework. This only improves the testsuite and does
not changes the binaries shipped in the packages.
diff --git a/debian/changelog b/debian/changelog
index c5550316..d3e7c05b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+glibc (2.36-9+deb12u13) bookworm; urgency=medium
+
+  * debian/patches/git-updates.diff: update from upstream stable branch:
+- Fix error reporting (false negatives) in SGID tests
+- Fix double-free after allocation failure in regcomp (GLIBC-SA-2025-0005
+  / CVE-2025-8058).  Closes: #1109803.
+
+ -- Aurelien Jarno   Sat, 26 Jul 2025 23:37:52 +0200
+
 glibc (2.36-9+deb12u12) bookworm; urgency=medium
 
   * d/p/local-revert-aarch64-use-prefer_sve_ifuncs-for-sve-memset.diff: revert
diff --git a/debian/patches/git-updates.diff b/debian/patches/git-updates.diff
index 57d9065b..361d0520 100644
--- a/debian/patches/git-updates.diff
+++ b/debian/patches/git-updates.diff
@@ -85,10 +85,10 @@ index d1e139d03c..09c0cf8357 100644
  else  # -s
  verbose   :=
 diff --git a/NEWS b/NEWS
-index f61e521fc8..5efe374819 100644
+index f61e521fc8..60ac79f4e6 100644
 --- a/NEWS
 +++ b/NEWS
-@@ -5,6 +5,116 @@ See the end for copying conditions.
+@@ -5,6 +5,117 @@ See the end for copying conditions.
  Please send GNU C library bug reports via 
  using `glibc' in the "product" field.
  
@@ -201,6 +201,7 @@ index f61e521fc8..5efe374819 100644
 +  [32470] x86: Avoid integer truncation with large cache sizes
 +  [32582] Fix underallocation of abort_msg_s struct (CVE-2025-0395)
 +  [32987] elf: Fix subprocess status handling for tst-dlopen-sgid
++  [33185] Fix double-free after allocation failure in regcomp
 +
  Version 2.36
  
@@ -2089,10 +2090,10 @@ index 00..5eb79eef48
 +/* Opening this object should not succeed.  */
 diff --git a/elf/tst-dlopen-sgid.c b/elf/tst-dlopen-sgid.c
 new file mode 100644
-index 00..5688b79f2e
+index 00..8aec52e19f
 --- /dev/null
 +++ b/elf/tst-dlopen-sgid.c
-@@ -0,0 +1,112 @@
+@@ -0,0 +1,106 @@
 +/* Test case for ignored LD_LIBRARY_PATH in static startug (bug 32976).
 +   Copyright (C) 2025 Free Software Foundation, Inc.
 +   This file is part of the GNU C Library.
@@ -2165,13 +2166,7 @@ index 00..5688b79f2e
 +
 +  free (libdir);
 +
-+  int status = support_capture_subprogram_self_sgid (magic_argument);
-+
-+  if (WEXITSTATUS (status) == EXIT_UNSUPPORTED)
-+return EXIT_UNSUPPORTED;
-+
-+  if (!WIFEXITED (status))
-+FAIL_EXIT1 ("Unexpected exit status %d from child process\n", status);
++  support_capture_subprogram_self_sgid (magic_argument);
 +
 +  return 0;
 +}
@@ -2206,7 +2201,7 @@ index 00..5688b79f2e
 +#define PREPARE alternative_main
 +#include 
 diff --git a/elf/tst-env-setuid-tunables.c b/elf/tst-env-setuid-tunables.c
-index 88182b7b25..5e9e4c5756 100644
+index 88182b7b25..bca299bb34 100644
 --- a/elf/tst-env-setuid-tunables.c
 +++ b/elf/tst-env-setuid-tunables.c
 @@ -52,6 +52,8 @@ const char *teststrings[] =
@@ -2247,14 +2242,13 @@ index 88182b7b25..5e9e4c5756 100644
  
return 1;
  #else
-@@ -117,21 +128,26 @@ do_test (int argc, char **argv)
+@@ -116,32 +127,28 @@ do_test (int argc, char **argv)
+ 
if (ret != 0)
exit (1);
- 
+-
 -  exit (EXIT_SUCCESS);
-+  /* Special return code to make sure that the child executed all the way
-+   through.  */
-+  exit (42);
++  return 0;
  }
else
  {
@@ -2271,31 +2265,53 @@ index 88182b7b25..5e9e4c5756 100644
 +fflush (stdout);