Skip to contentSkip to conversation

glibc: Update to latest on stable 2.35 branch

PATCH In review Peter Marko 2 participants 4 messages Oct 6, 2023 – Oct 10, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 glibc: Update to latest on stable 2.35 branch

From: Peter Marko <[email protected]>

Adresses CVE-2023-4911.

Single commit bump:
* c84018a05ae tunables: Terminate if end of input is reached (CVE-2023-4911)

---
 meta/recipes-core/glibc/glibc-version.inc | 2 +-
 meta/recipes-core/glibc/glibc_2.35.bb     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-core/glibc/glibc-version.inc +1 -1
index c23a43576c..e0d47f283b 100644
@@ -1,6 +1,6 @@
 SRCBRANCH ?= "release/2.35/master"
 PV = "2.35"
-SRCREV_glibc ?= "73d4ce728a59deb2fd18969e559769b3f590fac9"
+SRCREV_glibc ?= "c84018a05aec80f5ee6f682db0da1130b0196aef"
 SRCREV_localedef ?= "794da69788cbf9bf57b59a852f9f11307663fa87"
 
 GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git"
meta/recipes-core/glibc/glibc_2.35.bb +1 -1
index b4bad5b7ac..271520f76b 100644
@@ -17,7 +17,7 @@ CVE_CHECK_IGNORE += "CVE-2019-1010022 CVE-2019-1010023 CVE-2019-1010024"
 CVE_CHECK_IGNORE += "CVE-2019-1010025"
 
 # To avoid these in cve-check reports since the recipe version did not change
-CVE_CHECK_IGNORE += "CVE-2023-4813 CVE-2023-4806 CVE-2023-5156"
+CVE_CHECK_IGNORE += "CVE-2023-4813 CVE-2023-4806 CVE-2023-4911 CVE-2023-5156"
 
 DEPENDS += "gperf-native bison-native"
 
Signature · 1 line
2.30.2
#1 lore raw

Hello,

I have a small question concerning glibc source handling.

I have a machine connected to the Internet that runs
bitbake -k -f --runall=fetch universe
and another offline machine that uses the previous fetch as a source mirror. When I bitbake my image, it fails to use this with

ERROR: cross-localedef-native-2.35-r0 do_fetch: Bitbake Fetcher Error:
NetworkAccess('git://sourceware.org/git/glibc.git;branch=release/2.35/master;name=glibc', 'LANG=C git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false -c core.pager=cat fetch -f --progress git://sourceware.org/git/glibc.git
refs/heads/*:refs/heads/* refs/tags/*:refs/tags/*')
It seems git archives seem corrupted?

Do you know what could be causing this?
Best regards,
Vincent

Quoted 51 lines · Peter Marko via lists.openembedded.org

From: Peter Marko <[email protected]>

Adresses CVE-2023-4911.

Single commit bump:
* c84018a05ae tunables: Terminate if end of input is reached (CVE-2023-4911)

---
 meta/recipes-core/glibc/glibc-version.inc | 2 +-
 meta/recipes-core/glibc/glibc_2.35.bb     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-core/glibc/glibc-version.inc +1 -1
index c23a43576c..e0d47f283b 100644
@@ -1,6 +1,6 @@
 SRCBRANCH ?= "release/2.35/master"
 PV = "2.35"
-SRCREV_glibc ?= "73d4ce728a59deb2fd18969e559769b3f590fac9"
+SRCREV_glibc ?= "c84018a05aec80f5ee6f682db0da1130b0196aef"
 SRCREV_localedef ?= "794da69788cbf9bf57b59a852f9f11307663fa87"
 
 GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git"
meta/recipes-core/glibc/glibc_2.35.bb +1 -2
index b4bad5b7ac..271520f76b 100644
@@ -17,7 +17,7 @@ CVE_CHECK_IGNORE += "CVE-2019-1010022 CVE-2019-1010023 CVE-2019-1010024"
 CVE_CHECK_IGNORE += "CVE-2019-1010025"
 
 # To avoid these in cve-check reports since the recipe version did not change
-CVE_CHECK_IGNORE += "CVE-2023-4813 CVE-2023-4806 CVE-2023-5156"
+CVE_CHECK_IGNORE += "CVE-2023-4813 CVE-2023-4806 CVE-2023-4911 CVE-2023-5156"
 
 DEPENDS += "gperf-native bison-native"
 
--

2.30.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188784): https://lists.openembedded.org/g/openembedded-core/message/188784
Mute This Topic: https://lists.openembedded.org/mt/101805676/3616779
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw

-----Original Message-----
From: Vincent Prince <[email protected]>
Sent: Monday, October 9, 2023 21:09
To: Marko, Peter (ADV D EU SK BFS1) <[email protected]>
Cc: [email protected]
Subject: Re: [OE-core][kirkstone][PATCH] glibc: Update to latest on stable 2.35 branch

Quoted 16 lines

Hello,

I have a small question concerning glibc source handling.

I have a machine connected to the Internet that runs
bitbake -k -f --runall=fetch universe
and another offline machine that uses the previous fetch as a source mirror. When I bitbake my image, it fails to use this with

ERROR: cross-localedef-native-2.35-r0 do_fetch: Bitbake Fetcher Error:
NetworkAccess('git://sourceware.org/git/glibc.git;branch=release/2.35/master;name=glibc', 'LANG=C git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false -c core.pager=cat fetch -f --progress git://sourceware.org/git/glibc.git
refs/heads/*:refs/heads/* refs/tags/*:refs/tags/*')
It seems git archives seem corrupted?

Quoted 3 lines

Do you know what could be causing this?
Best regards,
Vincent

Fetch works for me and since it was merged also on autobuilder.
What I can imagine is that your fetch on networked machine failed (e.g. due to temporary network problem). Did you check log on the networked machine?

Peter

Quoted 54 lines
Quoted 51 lines · Peter Marko via lists.openembedded.org

From: Peter Marko <[email protected]>

Adresses CVE-2023-4911.

Single commit bump:
* c84018a05ae tunables: Terminate if end of input is reached (CVE-2023-4911)

---
 meta/recipes-core/glibc/glibc-version.inc | 2 +-
 meta/recipes-core/glibc/glibc_2.35.bb     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-core/glibc/glibc-version.inc +1 -1
index c23a43576c..e0d47f283b 100644
@@ -1,6 +1,6 @@
 SRCBRANCH ?= "release/2.35/master"
 PV = "2.35"
-SRCREV_glibc ?= "73d4ce728a59deb2fd18969e559769b3f590fac9"
+SRCREV_glibc ?= "c84018a05aec80f5ee6f682db0da1130b0196aef"
 SRCREV_localedef ?= "794da69788cbf9bf57b59a852f9f11307663fa87"
 
 GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git"
meta/recipes-core/glibc/glibc_2.35.bb +1 -2
index b4bad5b7ac..271520f76b 100644
@@ -17,7 +17,7 @@ CVE_CHECK_IGNORE += "CVE-2019-1010022 CVE-2019-1010023 CVE-2019-1010024"
 CVE_CHECK_IGNORE += "CVE-2019-1010025"
 
 # To avoid these in cve-check reports since the recipe version did not change
-CVE_CHECK_IGNORE += "CVE-2023-4813 CVE-2023-4806 CVE-2023-5156"
+CVE_CHECK_IGNORE += "CVE-2023-4813 CVE-2023-4806 CVE-2023-4911 CVE-2023-5156"
 
 DEPENDS += "gperf-native bison-native"
 
--

2.30.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188784): https://lists.openembedded.org/g/openembedded-core/message/188784
Mute This Topic: https://lists.openembedded.org/mt/101805676/3616779
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#3 lore raw

Fetching on the networked machine was ok.
I managed to get rid of the problem by cleaning glibc and cross-localedef-native downloads and sstate-cache from both machines gitshallow_sourceware.org.git.glibc.git_561e9da-1_release.2.35.master.tar.gz gitshallow_sourceware.org.git.glibc.git_561e9da-1_release.2.35.master.tar.gz.done gitshallow_sourceware.org.git.glibc.git_c84018a-1_release.2.35.master.tar.gz gitshallow_sourceware.org.git.glibc.git_c84018a-1_release.2.35.master.tar.gz.done git2/sourceware.org.git.glibc.git git2/sourceware.org.git.glibc.git.done
....
and relaunching the build, not sure what happened here, maybe
something related to
SRCREV_FORMAT // SRCREV_glibc // SRCREV_localedef variables that does not trigger cache/download recomputing?

Quoted 88 lines · Peter

-----Original Message-----
From: Vincent Prince <[email protected]>
Sent: Monday, October 9, 2023 21:09
To: Marko, Peter (ADV D EU SK BFS1) <[email protected]>
Cc: [email protected]
Subject: Re: [OE-core][kirkstone][PATCH] glibc: Update to latest on stable 2.35 branch

Quoted 16 lines

Hello,

I have a small question concerning glibc source handling.

I have a machine connected to the Internet that runs
bitbake -k -f --runall=fetch universe
and another offline machine that uses the previous fetch as a source mirror. When I bitbake my image, it fails to use this with

ERROR: cross-localedef-native-2.35-r0 do_fetch: Bitbake Fetcher Error:
NetworkAccess('git://sourceware.org/git/glibc.git;branch=release/2.35/master;name=glibc', 'LANG=C git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false -c core.pager=cat fetch -f --progress git://sourceware.org/git/glibc.git
refs/heads/*:refs/heads/* refs/tags/*:refs/tags/*')
It seems git archives seem corrupted?

Quoted 3 lines

Do you know what could be causing this?
Best regards,
Vincent

Fetch works for me and since it was merged also on autobuilder.
What I can imagine is that your fetch on networked machine failed (e.g. due to temporary network problem). Did you check log on the networked machine?

Peter

Quoted 54 lines
Quoted 51 lines · Peter Marko via lists.openembedded.org

From: Peter Marko <[email protected]>

Adresses CVE-2023-4911.

Single commit bump:
* c84018a05ae tunables: Terminate if end of input is reached (CVE-2023-4911)

---
 meta/recipes-core/glibc/glibc-version.inc | 2 +-
 meta/recipes-core/glibc/glibc_2.35.bb     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-core/glibc/glibc-version.inc +1 -1
index c23a43576c..e0d47f283b 100644
@@ -1,6 +1,6 @@
 SRCBRANCH ?= "release/2.35/master"
 PV = "2.35"
-SRCREV_glibc ?= "73d4ce728a59deb2fd18969e559769b3f590fac9"
+SRCREV_glibc ?= "c84018a05aec80f5ee6f682db0da1130b0196aef"
 SRCREV_localedef ?= "794da69788cbf9bf57b59a852f9f11307663fa87"
 
 GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git"
meta/recipes-core/glibc/glibc_2.35.bb +1 -2
index b4bad5b7ac..271520f76b 100644
@@ -17,7 +17,7 @@ CVE_CHECK_IGNORE += "CVE-2019-1010022 CVE-2019-1010023 CVE-2019-1010024"
 CVE_CHECK_IGNORE += "CVE-2019-1010025"
 
 # To avoid these in cve-check reports since the recipe version did not change
-CVE_CHECK_IGNORE += "CVE-2023-4813 CVE-2023-4806 CVE-2023-5156"
+CVE_CHECK_IGNORE += "CVE-2023-4813 CVE-2023-4806 CVE-2023-4911 CVE-2023-5156"
 
 DEPENDS += "gperf-native bison-native"
 
--

2.30.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188784): https://lists.openembedded.org/g/openembedded-core/message/188784
Mute This Topic: https://lists.openembedded.org/mt/101805676/3616779
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-