* [OE-core][kirkstone 0/7] Patch review
@ 2025-09-30 19:50 Steve Sakoman
2025-09-30 19:50 ` [OE-core][kirkstone 1/7] go: fix CVE-2025-47907 Steve Sakoman
` (6 more replies)
0 siblings, 7 replies; 22+ messages in thread
From: Steve Sakoman @ 2025-09-30 19:50 UTC (permalink / raw)
To: openembedded-core
Please review this set of changes for kirkstone ande have comments back by
end of day Thursday, October 2
Passed a-full on autobuilder:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/2467
The following changes since commit d381eeb5e70bd0ce9e78032c909e4a23564f4dd7:
build-appliance-image: Update to kirkstone head revision (2025-09-19 07:04:23 -0700)
are available in the Git repository at:
https://git.openembedded.org/openembedded-core-contrib stable/kirkstone-nut
https://git.openembedded.org/openembedded-core-contrib/log/?h=stable/kirkstone-nut
Divya Chellam (1):
vim: upgrade 9.1.1652 -> 9.1.1683
Gyorgy Sarvari (1):
libhandy: update git branch name
Praveen Kumar (1):
go: fix CVE-2025-47907
Soumya Sambu (1):
python3-jinja2: upgrade 3.1.4 -> 3.1.6
Yogita Urade (3):
grub2: fix CVE-2024-56738
curl: fix CVE-2025-9086
tiff: fix CVE-2025-9900
.../grub/files/CVE-2024-56738.patch | 75 ++++
meta/recipes-bsp/grub/grub2.inc | 1 +
meta/recipes-devtools/go/go-1.17.13.inc | 125 ++++---
.../go/go-1.21/CVE-2025-47907-pre-0001.patch | 354 ++++++++++++++++++
.../go/go-1.21/CVE-2025-47907-pre-0002.patch | 232 ++++++++++++
.../go/go-1.21/CVE-2025-47907.patch | 327 ++++++++++++++++
...inja2_3.1.4.bb => python3-jinja2_3.1.6.bb} | 5 +-
meta/recipes-gnome/libhandy/libhandy_1.5.0.bb | 2 +-
.../libtiff/tiff/CVE-2025-9900.patch | 57 +++
meta/recipes-multimedia/libtiff/tiff_4.3.0.bb | 1 +
.../curl/curl/CVE-2025-9086.patch | 55 +++
meta/recipes-support/curl/curl_7.82.0.bb | 1 +
meta/recipes-support/vim/vim.inc | 4 +-
13 files changed, 1174 insertions(+), 65 deletions(-)
create mode 100644 meta/recipes-bsp/grub/files/CVE-2024-56738.patch
create mode 100644 meta/recipes-devtools/go/go-1.21/CVE-2025-47907-pre-0001.patch
create mode 100644 meta/recipes-devtools/go/go-1.21/CVE-2025-47907-pre-0002.patch
create mode 100644 meta/recipes-devtools/go/go-1.21/CVE-2025-47907.patch
rename meta/recipes-devtools/python/{python3-jinja2_3.1.4.bb => python3-jinja2_3.1.6.bb} (82%)
create mode 100644 meta/recipes-multimedia/libtiff/tiff/CVE-2025-9900.patch
create mode 100644 meta/recipes-support/curl/curl/CVE-2025-9086.patch
--
2.43.0
^ permalink raw reply [flat|nested] 22+ messages in thread* [OE-core][kirkstone 1/7] go: fix CVE-2025-47907 2025-09-30 19:50 [OE-core][kirkstone 0/7] Patch review Steve Sakoman @ 2025-09-30 19:50 ` Steve Sakoman 2025-09-30 19:50 ` [OE-core][kirkstone 2/7] grub2: fix CVE-2024-56738 Steve Sakoman ` (5 subsequent siblings) 6 siblings, 0 replies; 22+ messages in thread From: Steve Sakoman @ 2025-09-30 19:50 UTC (permalink / raw) To: openembedded-core From: Praveen Kumar <praveen.kumar@windriver.com> Cancelling a query (e.g. by cancelling the context passed to one of the query methods) during a call to the Scan method of the returned Rows can result in unexpected results if other queries are being made in parallel. This can result in a race condition that may overwrite the expected results with those of another query, causing the call to Scan to return either unexpected results from the other query or an error. Made below changes for Go 1.17 backport: - Replaced `atomic.Pointer[error]` with `atomic.Value`, since atomic pointers are not supported in Go 1.17. - Used errp.(*error) to retrieve and dereference the stored *error, Without this, build fails with: invalid indirect of errp (type interface{}). - Replaced Go 1.18 `any` keyword with `interface{}` for backward compatibility with Go 1.17. Reference: https://nvd.nist.gov/vuln/detail/CVE-2025-47907 Upstream-patch: https://github.com/golang/go/commit/8a924caaf348fdc366bab906424616b2974ad4e9 https://github.com/golang/go/commit/298fe517a9333c05143a8a8e1f9d5499f0c6e59b https://github.com/golang/go/commit/c23579f031ecd09bf37c644723b33736dffa8b92 Signed-off-by: Praveen Kumar <praveen.kumar@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> --- meta/recipes-devtools/go/go-1.17.13.inc | 125 ++++--- .../go/go-1.21/CVE-2025-47907-pre-0001.patch | 354 ++++++++++++++++++ .../go/go-1.21/CVE-2025-47907-pre-0002.patch | 232 ++++++++++++ .../go/go-1.21/CVE-2025-47907.patch | 327 ++++++++++++++++ 4 files changed, 977 insertions(+), 61 deletions(-) create mode 100644 meta/recipes-devtools/go/go-1.21/CVE-2025-47907-pre-0001.patch create mode 100644 meta/recipes-devtools/go/go-1.21/CVE-2025-47907-pre-0002.patch create mode 100644 meta/recipes-devtools/go/go-1.21/CVE-2025-47907.patch diff --git a/meta/recipes-devtools/go/go-1.17.13.inc b/meta/recipes-devtools/go/go-1.17.13.inc index b17853035b..2052f4adbc 100644 --- a/meta/recipes-devtools/go/go-1.17.13.inc +++ b/meta/recipes-devtools/go/go-1.17.13.inc @@ -4,67 +4,70 @@ FILESEXTRAPATHS:prepend := "${FILE_DIRNAME}/go-1.21:${FILE_DIRNAME}/go-1.20:${FI LIC_FILES_CHKSUM = "file://LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707" -SRC_URI += "\ - file://0001-allow-CC-and-CXX-to-have-multiple-words.patch \ - file://0002-cmd-go-make-content-based-hash-generation-less-pedan.patch \ - file://0003-allow-GOTOOLDIR-to-be-overridden-in-the-environment.patch \ - file://0004-ld-add-soname-to-shareable-objects.patch \ - file://0005-make.bash-override-CC-when-building-dist-and-go_boot.patch \ - file://0006-cmd-dist-separate-host-and-target-builds.patch \ - file://0007-cmd-go-make-GOROOT-precious-by-default.patch \ - file://0008-use-GOBUILDMODE-to-set-buildmode.patch \ - file://0009-Revert-cmd-go-make-sure-CC-and-CXX-are-absolute.patch \ - file://0001-exec.go-do-not-write-linker-flags-into-buildids.patch \ - file://0001-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch \ - file://0010-net-Fix-issue-with-DNS-not-being-updated.patch \ - file://CVE-2022-27664.patch \ - file://0001-net-http-httputil-avoid-query-parameter-smuggling.patch \ - file://CVE-2022-41715.patch \ - file://CVE-2022-41717.patch \ - file://CVE-2022-2879.patch \ - file://CVE-2022-41720.patch \ - file://CVE-2022-41723.patch \ - file://cve-2022-41724.patch \ - file://add_godebug.patch \ - file://cve-2022-41725.patch \ - file://CVE-2022-41722.patch \ - file://CVE-2023-24537.patch \ - file://CVE-2023-24534.patch \ - file://CVE-2023-24538_1.patch \ - file://CVE-2023-24538_2.patch \ - file://CVE-2023-24540.patch \ - file://CVE-2023-24539.patch \ - file://CVE-2023-29404.patch \ - file://CVE-2023-29405.patch \ - file://CVE-2023-29402.patch \ - file://CVE-2023-29400.patch \ - file://CVE-2023-29406-1.patch \ - file://CVE-2023-29406-2.patch \ - file://CVE-2023-24536_1.patch \ - file://CVE-2023-24536_2.patch \ - file://CVE-2023-24536_3.patch \ - file://CVE-2023-24531_1.patch \ - file://CVE-2023-24531_2.patch \ - file://CVE-2023-29409.patch \ - file://CVE-2023-39319.patch \ - file://CVE-2023-39318.patch \ - file://CVE-2023-39326.patch \ - file://CVE-2023-45285.patch \ - file://CVE-2023-45287.patch \ - file://CVE-2023-45289.patch \ - file://CVE-2023-45290.patch \ - file://CVE-2024-24784.patch \ - file://CVE-2024-24785.patch \ - file://CVE-2023-45288.patch \ - file://CVE-2024-24789.patch \ - file://CVE-2024-24791.patch \ - file://CVE-2024-34155.patch \ - file://CVE-2024-34156.patch \ - file://CVE-2024-34158.patch \ - file://CVE-2024-45336.patch \ - file://CVE-2025-22871.patch \ - file://CVE-2025-4673.patch \ -" +SRC_URI = "https://golang.org/dl/go${PV}.src.tar.gz;name=main \ + file://0001-allow-CC-and-CXX-to-have-multiple-words.patch \ + file://0002-cmd-go-make-content-based-hash-generation-less-pedan.patch \ + file://0003-allow-GOTOOLDIR-to-be-overridden-in-the-environment.patch \ + file://0004-ld-add-soname-to-shareable-objects.patch \ + file://0005-make.bash-override-CC-when-building-dist-and-go_boot.patch \ + file://0006-cmd-dist-separate-host-and-target-builds.patch \ + file://0007-cmd-go-make-GOROOT-precious-by-default.patch \ + file://0008-use-GOBUILDMODE-to-set-buildmode.patch \ + file://0009-Revert-cmd-go-make-sure-CC-and-CXX-are-absolute.patch \ + file://0001-exec.go-do-not-write-linker-flags-into-buildids.patch \ + file://0001-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch \ + file://0010-net-Fix-issue-with-DNS-not-being-updated.patch \ + file://CVE-2022-27664.patch \ + file://0001-net-http-httputil-avoid-query-parameter-smuggling.patch \ + file://CVE-2022-41715.patch \ + file://CVE-2022-41717.patch \ + file://CVE-2022-2879.patch \ + file://CVE-2022-41720.patch \ + file://CVE-2022-41723.patch \ + file://cve-2022-41724.patch \ + file://add_godebug.patch \ + file://cve-2022-41725.patch \ + file://CVE-2022-41722.patch \ + file://CVE-2023-24537.patch \ + file://CVE-2023-24534.patch \ + file://CVE-2023-24538_1.patch \ + file://CVE-2023-24538_2.patch \ + file://CVE-2023-24540.patch \ + file://CVE-2023-24539.patch \ + file://CVE-2023-29404.patch \ + file://CVE-2023-29405.patch \ + file://CVE-2023-29402.patch \ + file://CVE-2023-29400.patch \ + file://CVE-2023-29406-1.patch \ + file://CVE-2023-29406-2.patch \ + file://CVE-2023-24536_1.patch \ + file://CVE-2023-24536_2.patch \ + file://CVE-2023-24536_3.patch \ + file://CVE-2023-24531_1.patch \ + file://CVE-2023-24531_2.patch \ + file://CVE-2023-29409.patch \ + file://CVE-2023-39319.patch \ + file://CVE-2023-39318.patch \ + file://CVE-2023-39326.patch \ + file://CVE-2023-45285.patch \ + file://CVE-2023-45287.patch \ + file://CVE-2023-45289.patch \ + file://CVE-2023-45290.patch \ + file://CVE-2024-24784.patch \ + file://CVE-2024-24785.patch \ + file://CVE-2023-45288.patch \ + file://CVE-2024-24789.patch \ + file://CVE-2024-24791.patch \ + file://CVE-2024-34155.patch \ + file://CVE-2024-34156.patch \ + file://CVE-2024-34158.patch \ + file://CVE-2024-45336.patch \ + file://CVE-2025-22871.patch \ + file://CVE-2025-4673.patch \ + file://CVE-2025-47907-pre-0001.patch \ + file://CVE-2025-47907-pre-0002.patch \ + file://CVE-2025-47907.patch \ + " SRC_URI[main.sha256sum] = "a1a48b23afb206f95e7bbaa9b898d965f90826f6f1d1fc0c1d784ada0cd300fd" # Upstream don't believe it is a signifiant real world issue and will only diff --git a/meta/recipes-devtools/go/go-1.21/CVE-2025-47907-pre-0001.patch b/meta/recipes-devtools/go/go-1.21/CVE-2025-47907-pre-0001.patch new file mode 100644 index 0000000000..97e7539dc3 --- /dev/null +++ b/meta/recipes-devtools/go/go-1.21/CVE-2025-47907-pre-0001.patch @@ -0,0 +1,354 @@ +From 298fe517a9333c05143a8a8e1f9d5499f0c6e59b Mon Sep 17 00:00:00 2001 +From: Brad Fitzpatrick <bradfitz@golang.org> +Date: Tue, 23 May 2023 15:12:47 -0700 +Subject: [PATCH] database/sql: make RawBytes safely usable with contexts + +sql.RawBytes was added the very first Go release, Go 1. Its docs +say: + +> RawBytes is a byte slice that holds a reference to memory owned by +> the database itself. After a Scan into a RawBytes, the slice is only +> valid until the next call to Next, Scan, or Close. + +That "only valid until the next call" bit was true at the time, +until contexts were added to database/sql in Go 1.8. + +In the past ~dozen releases it's been unsafe to use QueryContext with +a context that might become Done to get an *sql.Rows that's scanning +into a RawBytes. The Scan can succeed, but then while the caller's +reading the memory, a database/sql-managed goroutine can see the +context becoming done and call Close on the database/sql/driver and +make the caller's view of the RawBytes memory no longer valid, +introducing races, crashes, or database corruption. See #60304 +and #53970 for details. + +This change does the minimal surgery on database/sql to make it safe +again: Rows.Scan was already acquiring a mutex to check whether the +rows had been closed, so this change make Rows.Scan notice whether +*RawBytes was used and, if so, doesn't release the mutex on exit +before returning. That mean it's still locked while the user code +operates on the RawBytes memory and the concurrent context-watching +goroutine to close the database still runs, but if it fires, it then +gets blocked on the mutex until the next call to a Rows method (Next, +NextResultSet, Err, Close). + +Updates #60304 +Updates #53970 (earlier one I'd missed) + +Change-Id: Ie41c0c6f32c24887b2f53ec3686c2aab73a1bfff +Reviewed-on: https://go-review.googlesource.com/c/go/+/497675 +TryBot-Result: Gopher Robot <gobot@golang.org> +Reviewed-by: Ian Lance Taylor <iant@google.com> +Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> +Auto-Submit: Ian Lance Taylor <iant@google.com> +Reviewed-by: Russ Cox <rsc@golang.org> + +CVE: CVE-2025-47907 + +Upstream-Status: Backport [https://github.com/golang/go/commit/298fe517a9333c05143a8a8e1f9d5499f0c6e59b] + +Signed-off-by: Praveen Kumar <praveen.kumar@windriver.com> +--- + src/database/sql/fakedb_test.go | 13 +++++- + src/database/sql/sql.go | 72 ++++++++++++++++++++++++++++++++- + src/database/sql/sql_test.go | 58 ++++++++++++++++++++++++++ + 3 files changed, 141 insertions(+), 2 deletions(-) + +diff --git a/src/database/sql/fakedb_test.go b/src/database/sql/fakedb_test.go +index 4b68f1c..33c57b9 100644 +--- a/src/database/sql/fakedb_test.go ++++ b/src/database/sql/fakedb_test.go +@@ -15,6 +15,7 @@ import ( + "strconv" + "strings" + "sync" ++ "sync/atomic" + "testing" + "time" + ) +@@ -90,6 +91,8 @@ func (cc *fakeDriverCtx) OpenConnector(name string) (driver.Connector, error) { + type fakeDB struct { + name string + ++ useRawBytes atomic.Bool ++ + mu sync.Mutex + tables map[string]*table + badConn bool +@@ -680,6 +683,8 @@ func (c *fakeConn) PrepareContext(ctx context.Context, query string) (driver.Stm + switch cmd { + case "WIPE": + // Nothing ++ case "USE_RAWBYTES": ++ c.db.useRawBytes.Store(true) + case "SELECT": + stmt, err = c.prepareSelect(stmt, parts) + case "CREATE": +@@ -783,6 +788,9 @@ func (s *fakeStmt) ExecContext(ctx context.Context, args []driver.NamedValue) (d + case "WIPE": + db.wipe() + return driver.ResultNoRows, nil ++ case "USE_RAWBYTES": ++ s.c.db.useRawBytes.Store(true) ++ return driver.ResultNoRows, nil + case "CREATE": + if err := db.createTable(s.table, s.colName, s.colType); err != nil { + return nil, err +@@ -912,6 +920,7 @@ func (s *fakeStmt) QueryContext(ctx context.Context, args []driver.NamedValue) ( + txStatus = "transaction" + } + cursor := &rowsCursor{ ++ db: s.c.db, + parentMem: s.c, + posRow: -1, + rows: [][]*row{ +@@ -1008,6 +1017,7 @@ func (s *fakeStmt) QueryContext(ctx context.Context, args []driver.NamedValue) ( + } + + cursor := &rowsCursor{ ++ db: s.c.db, + parentMem: s.c, + posRow: -1, + rows: setMRows, +@@ -1050,6 +1060,7 @@ func (tx *fakeTx) Rollback() error { + } + + type rowsCursor struct { ++ db *fakeDB + parentMem memToucher + cols [][]string + colType [][]string +@@ -1121,7 +1132,7 @@ func (rc *rowsCursor) Next(dest []driver.Value) error { + // messing up conversions or doing them differently. + dest[i] = v + +- if bs, ok := v.([]byte); ok { ++ if bs, ok := v.([]byte); ok && !rc.db.useRawBytes.Load() { + if rc.bytesClone == nil { + rc.bytesClone = make(map[*byte][]byte) + } +diff --git a/src/database/sql/sql.go b/src/database/sql/sql.go +index 68fb392..ef49e70 100644 +--- a/src/database/sql/sql.go ++++ b/src/database/sql/sql.go +@@ -2879,6 +2879,8 @@ type Rows struct { + cancel func() // called when Rows is closed, may be nil. + closeStmt *driverStmt // if non-nil, statement to Close on close + ++ contextDone atomic.Value // error that awaitDone saw; set before close attempt ++ + // closemu prevents Rows from closing while there + // is an active streaming result. It is held for read during non-close operations + // and exclusively during close. +@@ -2891,6 +2893,15 @@ type Rows struct { + // lastcols is only used in Scan, Next, and NextResultSet which are expected + // not to be called concurrently. + lastcols []driver.Value ++ ++ // closemuScanHold is whether the previous call to Scan kept closemu RLock'ed ++ // without unlocking it. It does that when the user passes a *RawBytes scan ++ // target. In that case, we need to prevent awaitDone from closing the Rows ++ // while the user's still using the memory. See go.dev/issue/60304. ++ // ++ // It is only used by Scan, Next, and NextResultSet which are expected ++ // not to be called concurrently. ++ closemuScanHold bool + } + + // lasterrOrErrLocked returns either lasterr or the provided err. +@@ -2928,7 +2939,11 @@ func (rs *Rows) awaitDone(ctx, txctx context.Context) { + } + select { + case <-ctx.Done(): ++ err := ctx.Err() ++ rs.contextDone.Store(&err) + case <-txctxDone: ++ err := txctx.Err() ++ rs.contextDone.Store(&err) + } + rs.close(ctx.Err()) + } +@@ -2940,6 +2955,15 @@ func (rs *Rows) awaitDone(ctx, txctx context.Context) { + // + // Every call to Scan, even the first one, must be preceded by a call to Next. + func (rs *Rows) Next() bool { ++ // If the user's calling Next, they're done with their previous row's Scan ++ // results (any RawBytes memory), so we can release the read lock that would ++ // be preventing awaitDone from calling close. ++ rs.closemuRUnlockIfHeldByScan() ++ ++ if rs.contextDone.Load() != nil { ++ return false ++ } ++ + var doClose, ok bool + withLock(rs.closemu.RLocker(), func() { + doClose, ok = rs.nextLocked() +@@ -2994,6 +3018,11 @@ func (rs *Rows) nextLocked() (doClose, ok bool) { + // scanning. If there are further result sets they may not have rows in the result + // set. + func (rs *Rows) NextResultSet() bool { ++ // If the user's calling NextResultSet, they're done with their previous ++ // row's Scan results (any RawBytes memory), so we can release the read lock ++ // that would be preventing awaitDone from calling close. ++ rs.closemuRUnlockIfHeldByScan() ++ + var doClose bool + defer func() { + if doClose { +@@ -3030,6 +3059,10 @@ func (rs *Rows) NextResultSet() bool { + // Err returns the error, if any, that was encountered during iteration. + // Err may be called after an explicit or implicit Close. + func (rs *Rows) Err() error { ++ if errp := rs.contextDone.Load(); errp != nil { ++ return *(errp.(*error)) ++ } ++ + rs.closemu.RLock() + defer rs.closemu.RUnlock() + return rs.lasterrOrErrLocked(nil) +@@ -3223,6 +3256,11 @@ func rowsColumnInfoSetupConnLocked(rowsi driver.Rows) []*ColumnType { + // If any of the first arguments implementing Scanner returns an error, + // that error will be wrapped in the returned error + func (rs *Rows) Scan(dest ...interface{}) error { ++ if rs.closemuScanHold { ++ // This should only be possible if the user calls Scan twice in a row ++ // without calling Next. ++ return fmt.Errorf("sql: Scan called without calling Next (closemuScanHold)") ++ } + rs.closemu.RLock() + + if rs.lasterr != nil && rs.lasterr != io.EOF { +@@ -3234,23 +3272,50 @@ func (rs *Rows) Scan(dest ...interface{}) error { + rs.closemu.RUnlock() + return err + } +- rs.closemu.RUnlock() ++ ++ if scanArgsContainRawBytes(dest) { ++ rs.closemuScanHold = true ++ } else { ++ rs.closemu.RUnlock() ++ } + + if rs.lastcols == nil { ++ rs.closemuRUnlockIfHeldByScan() + return errors.New("sql: Scan called without calling Next") + } + if len(dest) != len(rs.lastcols) { ++ rs.closemuRUnlockIfHeldByScan() + return fmt.Errorf("sql: expected %d destination arguments in Scan, not %d", len(rs.lastcols), len(dest)) + } ++ + for i, sv := range rs.lastcols { + err := convertAssignRows(dest[i], sv, rs) + if err != nil { ++ rs.closemuRUnlockIfHeldByScan() + return fmt.Errorf(`sql: Scan error on column index %d, name %q: %w`, i, rs.rowsi.Columns()[i], err) + } + } + return nil + } + ++// closemuRUnlockIfHeldByScan releases any closemu.RLock held open by a previous ++// call to Scan with *RawBytes. ++func (rs *Rows) closemuRUnlockIfHeldByScan() { ++ if rs.closemuScanHold { ++ rs.closemuScanHold = false ++ rs.closemu.RUnlock() ++ } ++} ++ ++func scanArgsContainRawBytes(args []interface{}) bool { ++ for _, a := range args { ++ if _, ok := a.(*RawBytes); ok { ++ return true ++ } ++ } ++ return false ++} ++ + // rowsCloseHook returns a function so tests may install the + // hook through a test only mutex. + var rowsCloseHook = func() func(*Rows, *error) { return nil } +@@ -3260,6 +3325,11 @@ var rowsCloseHook = func() func(*Rows, *error) { return nil } + // the Rows are closed automatically and it will suffice to check the + // result of Err. Close is idempotent and does not affect the result of Err. + func (rs *Rows) Close() error { ++ // If the user's calling Close, they're done with their previous row's Scan ++ // results (any RawBytes memory), so we can release the read lock that would ++ // be preventing awaitDone from calling the unexported close before we do so. ++ rs.closemuRUnlockIfHeldByScan() ++ + return rs.close(nil) + } + +diff --git a/src/database/sql/sql_test.go b/src/database/sql/sql_test.go +index f771dee..53b38d1 100644 +--- a/src/database/sql/sql_test.go ++++ b/src/database/sql/sql_test.go +@@ -4255,6 +4255,64 @@ func TestRowsScanProperlyWrapsErrors(t *testing.T) { + } + } + ++// From go.dev/issue/60304 ++func TestContextCancelDuringRawBytesScan(t *testing.T) { ++ db := newTestDB(t, "people") ++ defer closeDB(t, db) ++ ++ if _, err := db.Exec("USE_RAWBYTES"); err != nil { ++ t.Fatal(err) ++ } ++ ++ ctx, cancel := context.WithCancel(context.Background()) ++ defer cancel() ++ ++ r, err := db.QueryContext(ctx, "SELECT|people|name|") ++ if err != nil { ++ t.Fatal(err) ++ } ++ numRows := 0 ++ var sink byte ++ for r.Next() { ++ numRows++ ++ var s RawBytes ++ err = r.Scan(&s) ++ if !r.closemuScanHold { ++ t.Errorf("expected closemu to be held") ++ } ++ if err != nil { ++ t.Fatal(err) ++ } ++ t.Logf("read %q", s) ++ if numRows == 2 { ++ cancel() // invalidate the context, which used to call close asynchronously ++ } ++ for _, b := range s { // some operation reading from the raw memory ++ sink += b ++ } ++ } ++ if r.closemuScanHold { ++ t.Errorf("closemu held; should not be") ++ } ++ ++ // There are 3 rows. We canceled after reading 2 so we expect either ++ // 2 or 3 depending on how the awaitDone goroutine schedules. ++ switch numRows { ++ case 0, 1: ++ t.Errorf("got %d rows; want 2+", numRows) ++ case 2: ++ if err := r.Err(); err != context.Canceled { ++ t.Errorf("unexpected error: %v (%T)", err, err) ++ } ++ default: ++ // Made it to the end. This is rare, but fine. Permit it. ++ } ++ ++ if err := r.Close(); err != nil { ++ t.Fatal(err) ++ } ++} ++ + // badConn implements a bad driver.Conn, for TestBadDriver. + // The Exec method panics. + type badConn struct{} diff --git a/meta/recipes-devtools/go/go-1.21/CVE-2025-47907-pre-0002.patch b/meta/recipes-devtools/go/go-1.21/CVE-2025-47907-pre-0002.patch new file mode 100644 index 0000000000..fe0b6a4d9c --- /dev/null +++ b/meta/recipes-devtools/go/go-1.21/CVE-2025-47907-pre-0002.patch @@ -0,0 +1,232 @@ +From c23579f031ecd09bf37c644723b33736dffa8b92 Mon Sep 17 00:00:00 2001 +From: Damien Neil <dneil@google.com> +Date: Tue, 23 Jan 2024 15:59:47 -0800 +Subject: [PATCH] database/sql: avoid clobbering driver-owned memory in + RawBytes + +Depending on the query, a RawBytes can contain memory owned by the +driver or by database/sql: + +If the driver provides the column as a []byte, +RawBytes aliases that []byte. + +If the driver provides the column as any other type, +RawBytes contains memory allocated by database/sql. +Prior to this CL, Rows.Scan will reuse existing capacity in a +RawBytes to permit a single allocation to be reused across rows. + +When a RawBytes is reused across queries, this can result +in database/sql writing to driver-owned memory. + +Add a buffer to Rows to store RawBytes data, and reuse this +buffer across calls to Rows.Scan. + +Fixes #65201 + +Change-Id: Iac640174c7afa97eeb39496f47dec202501b2483 +Reviewed-on: https://go-review.googlesource.com/c/go/+/557917 +Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> +Reviewed-by: Roland Shoemaker <roland@golang.org> +LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> + +CVE: CVE-2025-47907 + +Upstream-Status: Backport [https://github.com/golang/go/commit/c23579f031ecd09bf37c644723b33736dffa8b92] + +Signed-off-by: Praveen Kumar <praveen.kumar@windriver.com> +--- + src/database/sql/convert.go | 8 +++--- + src/database/sql/convert_test.go | 14 +++++++--- + src/database/sql/sql.go | 34 +++++++++++++++++++++++ + src/database/sql/sql_test.go | 47 ++++++++++++++++++++++++++++++++ + 4 files changed, 95 insertions(+), 8 deletions(-) + +diff --git a/src/database/sql/convert.go b/src/database/sql/convert.go +index b966ef9..3a581f6 100644 +--- a/src/database/sql/convert.go ++++ b/src/database/sql/convert.go +@@ -237,7 +237,7 @@ func convertAssignRows(dest, src interface{}, rows *Rows) error { + if d == nil { + return errNilPtr + } +- *d = append((*d)[:0], s...) ++ *d = rows.setrawbuf(append(rows.rawbuf(), s...)) + return nil + } + case []byte: +@@ -285,7 +285,7 @@ func convertAssignRows(dest, src interface{}, rows *Rows) error { + if d == nil { + return errNilPtr + } +- *d = s.AppendFormat((*d)[:0], time.RFC3339Nano) ++ *d = rows.setrawbuf(s.AppendFormat(rows.rawbuf(), time.RFC3339Nano)) + return nil + } + case decimalDecompose: +@@ -366,8 +366,8 @@ func convertAssignRows(dest, src interface{}, rows *Rows) error { + } + case *RawBytes: + sv = reflect.ValueOf(src) +- if b, ok := asBytes([]byte(*d)[:0], sv); ok { +- *d = RawBytes(b) ++ if b, ok := asBytes(rows.rawbuf(), sv); ok { ++ *d = rows.setrawbuf(b) + return nil + } + case *bool: +diff --git a/src/database/sql/convert_test.go b/src/database/sql/convert_test.go +index 2668a5e..23a70bf 100644 +--- a/src/database/sql/convert_test.go ++++ b/src/database/sql/convert_test.go +@@ -357,9 +357,10 @@ func TestRawBytesAllocs(t *testing.T) { + {"time", time.Unix(2, 5).UTC(), "1970-01-01T00:00:02.000000005Z"}, + } + +- buf := make(RawBytes, 10) +- test := func(name string, in interface{}, want string) { +- if err := convertAssign(&buf, in); err != nil { ++ var buf RawBytes ++ rows := &Rows{} ++ test := func(name string, in interface{}, want string) { ++ if err := convertAssignRows(&buf, in, rows); err != nil { + t.Fatalf("%s: convertAssign = %v", name, err) + } + match := len(buf) == len(want) +@@ -378,6 +379,7 @@ func TestRawBytesAllocs(t *testing.T) { + + n := testing.AllocsPerRun(100, func() { + for _, tt := range tests { ++ rows.raw = rows.raw[:0] + test(tt.name, tt.in, tt.want) + } + }) +@@ -386,7 +388,11 @@ func TestRawBytesAllocs(t *testing.T) { + // and gc. With 32-bit words there are more convT2E allocs, and + // with gccgo, only pointers currently go in interface data. + // So only care on amd64 gc for now. +- measureAllocs := runtime.GOARCH == "amd64" && runtime.Compiler == "gc" ++ measureAllocs := false ++ switch runtime.GOARCH { ++ case "amd64", "arm64": ++ measureAllocs = runtime.Compiler == "gc" ++ } + + if n > 0.5 && measureAllocs { + t.Fatalf("allocs = %v; want 0", n) +diff --git a/src/database/sql/sql.go b/src/database/sql/sql.go +index ef49e70..e25447c 100644 +--- a/src/database/sql/sql.go ++++ b/src/database/sql/sql.go +@@ -2894,6 +2894,13 @@ type Rows struct { + // not to be called concurrently. + lastcols []driver.Value + ++ // raw is a buffer for RawBytes that persists between Scan calls. ++ // This is used when the driver returns a mismatched type that requires ++ // a cloning allocation. For example, if the driver returns a *string and ++ // the user is scanning into a *RawBytes, we need to copy the string. ++ // The raw buffer here lets us reuse the memory for that copy across Scan calls. ++ raw []byte ++ + // closemuScanHold is whether the previous call to Scan kept closemu RLock'ed + // without unlocking it. It does that when the user passes a *RawBytes scan + // target. In that case, we need to prevent awaitDone from closing the Rows +@@ -3068,6 +3075,32 @@ func (rs *Rows) Err() error { + return rs.lasterrOrErrLocked(nil) + } + ++// rawbuf returns the buffer to append RawBytes values to. ++// This buffer is reused across calls to Rows.Scan. ++// ++// Usage: ++// ++// rawBytes = rows.setrawbuf(append(rows.rawbuf(), value...)) ++func (rs *Rows) rawbuf() []byte { ++ if rs == nil { ++ // convertAssignRows can take a nil *Rows; for simplicity handle it here ++ return nil ++ } ++ return rs.raw ++} ++ ++// setrawbuf updates the RawBytes buffer with the result of appending a new value to it. ++// It returns the new value. ++func (rs *Rows) setrawbuf(b []byte) RawBytes { ++ if rs == nil { ++ // convertAssignRows can take a nil *Rows; for simplicity handle it here ++ return RawBytes(b) ++ } ++ off := len(rs.raw) ++ rs.raw = b ++ return RawBytes(rs.raw[off:]) ++} ++ + var errRowsClosed = errors.New("sql: Rows are closed") + var errNoRows = errors.New("sql: no Rows available") + +@@ -3275,6 +3308,7 @@ func (rs *Rows) Scan(dest ...interface{}) error { + + if scanArgsContainRawBytes(dest) { + rs.closemuScanHold = true ++ rs.raw = rs.raw[:0] + } else { + rs.closemu.RUnlock() + } +diff --git a/src/database/sql/sql_test.go b/src/database/sql/sql_test.go +index 53b38d1..6aa9bf0 100644 +--- a/src/database/sql/sql_test.go ++++ b/src/database/sql/sql_test.go +@@ -4313,6 +4313,53 @@ func TestContextCancelDuringRawBytesScan(t *testing.T) { + } + } + ++// Issue #65201. ++// ++// If a RawBytes is reused across multiple queries, ++// subsequent queries shouldn't overwrite driver-owned memory from previous queries. ++func TestRawBytesReuse(t *testing.T) { ++ db := newTestDB(t, "people") ++ defer closeDB(t, db) ++ ++ if _, err := db.Exec("USE_RAWBYTES"); err != nil { ++ t.Fatal(err) ++ } ++ ++ var raw RawBytes ++ ++ // The RawBytes in this query aliases driver-owned memory. ++ rows, err := db.Query("SELECT|people|name|") ++ if err != nil { ++ t.Fatal(err) ++ } ++ rows.Next() ++ rows.Scan(&raw) // now raw is pointing to driver-owned memory ++ name1 := string(raw) ++ rows.Close() ++ ++ // The RawBytes in this query does not alias driver-owned memory. ++ rows, err = db.Query("SELECT|people|age|") ++ if err != nil { ++ t.Fatal(err) ++ } ++ rows.Next() ++ rows.Scan(&raw) // this must not write to the driver-owned memory in raw ++ rows.Close() ++ ++ // Repeat the first query. Nothing should have changed. ++ rows, err = db.Query("SELECT|people|name|") ++ if err != nil { ++ t.Fatal(err) ++ } ++ rows.Next() ++ rows.Scan(&raw) // raw points to driver-owned memory again ++ name2 := string(raw) ++ rows.Close() ++ if name1 != name2 { ++ t.Fatalf("Scan read name %q, want %q", name2, name1) ++ } ++} ++ + // badConn implements a bad driver.Conn, for TestBadDriver. + // The Exec method panics. + type badConn struct{} diff --git a/meta/recipes-devtools/go/go-1.21/CVE-2025-47907.patch b/meta/recipes-devtools/go/go-1.21/CVE-2025-47907.patch new file mode 100644 index 0000000000..b2af7df81b --- /dev/null +++ b/meta/recipes-devtools/go/go-1.21/CVE-2025-47907.patch @@ -0,0 +1,327 @@ +From 8a924caaf348fdc366bab906424616b2974ad4e9 Mon Sep 17 00:00:00 2001 +From: Damien Neil <dneil@google.com> +Date: Wed, 23 Jul 2025 14:26:54 -0700 +Subject: [PATCH] database/sql: avoid closing Rows while scan is in progress + +A database/sql/driver.Rows can return database-owned data +from Rows.Next. The driver.Rows documentation doesn't explicitly +document the lifetime guarantees for this data, but a reasonable +expectation is that the caller of Next should only access it +until the next call to Rows.Close or Rows.Next. + +Avoid violating that constraint when a query is cancelled while +a call to database/sql.Rows.Scan (note the difference between +the two different Rows types!) is in progress. We previously +took care to avoid closing a driver.Rows while the user has +access to driver-owned memory via a RawData, but we could still +close a driver.Rows while a Scan call was in the process of +reading previously-returned driver-owned data. + +Update the fake DB used in database/sql tests to invalidate +returned data to help catch other places we might be +incorrectly retaining it. + +Updates #74831 +Fixes #74832 + +Change-Id: Ice45b5fad51b679c38e3e1d21ef39156b56d6037 +Reviewed-on: https://go-internal-review.googlesource.com/c/go/+/2540 +Reviewed-by: Roland Shoemaker <bracewell@google.com> +Reviewed-by: Neal Patel <nealpatel@google.com> +Reviewed-on: https://go-internal-review.googlesource.com/c/go/+/2601 +Reviewed-on: https://go-review.googlesource.com/c/go/+/693558 +TryBot-Bypass: Dmitri Shuralyov <dmitshur@golang.org> +Reviewed-by: Mark Freeman <markfreeman@google.com> +Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> +Auto-Submit: Dmitri Shuralyov <dmitshur@google.com> + +CVE: CVE-2025-47907 + +Upstream-Status: Backport [https://github.com/golang/go/commit/8a924caaf348fdc366bab906424616b2974ad4e9] + +Signed-off-by: Praveen Kumar <praveen.kumar@windriver.com> +--- + src/database/sql/convert.go | 2 -- + src/database/sql/fakedb_test.go | 47 ++++++++++++-------------- + src/database/sql/sql.go | 26 +++++++------- + src/database/sql/sql_test.go | 60 ++++++++++++++++++++++++++++++--- + 4 files changed, 90 insertions(+), 45 deletions(-) + +diff --git a/src/database/sql/convert.go b/src/database/sql/convert.go +index 3a581f6..5b0c6f0 100644 +--- a/src/database/sql/convert.go ++++ b/src/database/sql/convert.go +@@ -324,7 +324,6 @@ func convertAssignRows(dest, src interface{}, rows *Rows) error { + if rows == nil { + return errors.New("invalid context to convert cursor rows, missing parent *Rows") + } +- rows.closemu.Lock() + *d = Rows{ + dc: rows.dc, + releaseConn: func(error) {}, +@@ -340,7 +339,6 @@ func convertAssignRows(dest, src interface{}, rows *Rows) error { + parentCancel() + } + } +- rows.closemu.Unlock() + return nil + } + } +diff --git a/src/database/sql/fakedb_test.go b/src/database/sql/fakedb_test.go +index 33c57b9..9f3d517 100644 +--- a/src/database/sql/fakedb_test.go ++++ b/src/database/sql/fakedb_test.go +@@ -5,6 +5,7 @@ + package sql + + import ( ++ "bytes" + "context" + "database/sql/driver" + "errors" +@@ -15,7 +16,6 @@ import ( + "strconv" + "strings" + "sync" +- "sync/atomic" + "testing" + "time" + ) +@@ -91,8 +91,6 @@ func (cc *fakeDriverCtx) OpenConnector(name string) (driver.Connector, error) { + type fakeDB struct { + name string + +- useRawBytes atomic.Bool +- + mu sync.Mutex + tables map[string]*table + badConn bool +@@ -683,8 +681,6 @@ func (c *fakeConn) PrepareContext(ctx context.Context, query string) (driver.Stm + switch cmd { + case "WIPE": + // Nothing +- case "USE_RAWBYTES": +- c.db.useRawBytes.Store(true) + case "SELECT": + stmt, err = c.prepareSelect(stmt, parts) + case "CREATE": +@@ -788,9 +784,6 @@ func (s *fakeStmt) ExecContext(ctx context.Context, args []driver.NamedValue) (d + case "WIPE": + db.wipe() + return driver.ResultNoRows, nil +- case "USE_RAWBYTES": +- s.c.db.useRawBytes.Store(true) +- return driver.ResultNoRows, nil + case "CREATE": + if err := db.createTable(s.table, s.colName, s.colType); err != nil { + return nil, err +@@ -1073,10 +1066,9 @@ type rowsCursor struct { + errPos int + err error + +- // a clone of slices to give out to clients, indexed by the +- // original slice's first byte address. we clone them +- // just so we're able to corrupt them on close. +- bytesClone map[*byte][]byte ++ // Data returned to clients. ++ // We clone and stash it here so it can be invalidated by Close and Next. ++ driverOwnedMemory [][]byte + + // Every operation writes to line to enable the race detector + // check for data races. +@@ -1090,9 +1082,19 @@ func (rc *rowsCursor) touchMem() { + rc.line++ + } + ++func (rc *rowsCursor) invalidateDriverOwnedMemory() { ++ for _, buf := range rc.driverOwnedMemory { ++ for i := range buf { ++ buf[i] = 'x' ++ } ++ } ++ rc.driverOwnedMemory = nil ++} ++ + func (rc *rowsCursor) Close() error { + rc.touchMem() + rc.parentMem.touchMem() ++ rc.invalidateDriverOwnedMemory() + rc.closed = true + return nil + } +@@ -1123,6 +1125,8 @@ func (rc *rowsCursor) Next(dest []driver.Value) error { + if rc.posRow >= len(rc.rows[rc.posSet]) { + return io.EOF // per interface spec + } ++ // Corrupt any previously returned bytes. ++ rc.invalidateDriverOwnedMemory() + for i, v := range rc.rows[rc.posSet][rc.posRow].cols { + // TODO(bradfitz): convert to subset types? naah, I + // think the subset types should only be input to +@@ -1130,20 +1134,13 @@ func (rc *rowsCursor) Next(dest []driver.Value) error { + // a wider range of types coming out of drivers. all + // for ease of drivers, and to prevent drivers from + // messing up conversions or doing them differently. +- dest[i] = v +- +- if bs, ok := v.([]byte); ok && !rc.db.useRawBytes.Load() { +- if rc.bytesClone == nil { +- rc.bytesClone = make(map[*byte][]byte) +- } +- clone, ok := rc.bytesClone[&bs[0]] +- if !ok { +- clone = make([]byte, len(bs)) +- copy(clone, bs) +- rc.bytesClone[&bs[0]] = clone +- } +- dest[i] = clone ++ if bs, ok := v.([]byte); ok { ++ // Clone []bytes and stash for later invalidation. ++ bs = bytes.Clone(bs) ++ rc.driverOwnedMemory = append(rc.driverOwnedMemory, bs) ++ v = bs + } ++ dest[i] = v + } + return nil + } +diff --git a/src/database/sql/sql.go b/src/database/sql/sql.go +index e25447c..a428e29 100644 +--- a/src/database/sql/sql.go ++++ b/src/database/sql/sql.go +@@ -3294,38 +3294,36 @@ func (rs *Rows) Scan(dest ...interface{}) error { + // without calling Next. + return fmt.Errorf("sql: Scan called without calling Next (closemuScanHold)") + } ++ + rs.closemu.RLock() ++ rs.raw = rs.raw[:0] ++ err := rs.scanLocked(dest...) ++ if err == nil && scanArgsContainRawBytes(dest) { ++ rs.closemuScanHold = true ++ } else { ++ rs.closemu.RUnlock() ++ } ++ return err ++} + ++func (rs *Rows) scanLocked(dest ...interface{}) error { + if rs.lasterr != nil && rs.lasterr != io.EOF { +- rs.closemu.RUnlock() + return rs.lasterr + } + if rs.closed { +- err := rs.lasterrOrErrLocked(errRowsClosed) +- rs.closemu.RUnlock() +- return err +- } +- +- if scanArgsContainRawBytes(dest) { +- rs.closemuScanHold = true +- rs.raw = rs.raw[:0] +- } else { +- rs.closemu.RUnlock() ++ return rs.lasterrOrErrLocked(errRowsClosed) + } + + if rs.lastcols == nil { +- rs.closemuRUnlockIfHeldByScan() + return errors.New("sql: Scan called without calling Next") + } + if len(dest) != len(rs.lastcols) { +- rs.closemuRUnlockIfHeldByScan() + return fmt.Errorf("sql: expected %d destination arguments in Scan, not %d", len(rs.lastcols), len(dest)) + } + + for i, sv := range rs.lastcols { + err := convertAssignRows(dest[i], sv, rs) + if err != nil { +- rs.closemuRUnlockIfHeldByScan() + return fmt.Errorf(`sql: Scan error on column index %d, name %q: %w`, i, rs.rowsi.Columns()[i], err) + } + } +diff --git a/src/database/sql/sql_test.go b/src/database/sql/sql_test.go +index 6aa9bf0..6aec7ec 100644 +--- a/src/database/sql/sql_test.go ++++ b/src/database/sql/sql_test.go +@@ -5,6 +5,7 @@ + package sql + + import ( ++ "bytes" + "context" + "database/sql/driver" + "errors" +@@ -4321,10 +4322,6 @@ func TestRawBytesReuse(t *testing.T) { + db := newTestDB(t, "people") + defer closeDB(t, db) + +- if _, err := db.Exec("USE_RAWBYTES"); err != nil { +- t.Fatal(err) +- } +- + var raw RawBytes + + // The RawBytes in this query aliases driver-owned memory. +@@ -4469,6 +4466,61 @@ func TestTypedString(t *testing.T) { + } + } + ++type testScanner struct { ++ scanf func(src any) error ++} ++ ++func (ts testScanner) Scan(src any) error { return ts.scanf(src) } ++ ++func TestContextCancelDuringScan(t *testing.T) { ++ db := newTestDB(t, "people") ++ defer closeDB(t, db) ++ ++ ctx, cancel := context.WithCancel(context.Background()) ++ defer cancel() ++ ++ scanStart := make(chan any) ++ scanEnd := make(chan error) ++ scanner := &testScanner{ ++ scanf: func(src any) error { ++ scanStart <- src ++ return <-scanEnd ++ }, ++ } ++ ++ // Start a query, and pause it mid-scan. ++ want := []byte("Alice") ++ r, err := db.QueryContext(ctx, "SELECT|people|name|name=?", string(want)) ++ if err != nil { ++ t.Fatal(err) ++ } ++ if !r.Next() { ++ t.Fatalf("r.Next() = false, want true") ++ } ++ go func() { ++ r.Scan(scanner) ++ }() ++ got := <-scanStart ++ defer close(scanEnd) ++ gotBytes, ok := got.([]byte) ++ if !ok { ++ t.Fatalf("r.Scan returned %T, want []byte", got) ++ } ++ if !bytes.Equal(gotBytes, want) { ++ t.Fatalf("before cancel: r.Scan returned %q, want %q", gotBytes, want) ++ } ++ ++ // Cancel the query. ++ // Sleep to give it a chance to finish canceling. ++ cancel() ++ time.Sleep(10 * time.Millisecond) ++ ++ // Cancelling the query should not have changed the result. ++ if !bytes.Equal(gotBytes, want) { ++ t.Fatalf("after cancel: r.Scan result is now %q, want %q", gotBytes, want) ++ } ++} ++ + func BenchmarkConcurrentDBExec(b *testing.B) { + b.ReportAllocs() + ct := new(concurrentDBExecTest) -- 2.43.0 ^ permalink raw reply related [flat|nested] 22+ messages in thread
* [OE-core][kirkstone 2/7] grub2: fix CVE-2024-56738 2025-09-30 19:50 [OE-core][kirkstone 0/7] Patch review Steve Sakoman 2025-09-30 19:50 ` [OE-core][kirkstone 1/7] go: fix CVE-2025-47907 Steve Sakoman @ 2025-09-30 19:50 ` Steve Sakoman 2025-09-30 19:50 ` [OE-core][kirkstone 3/7] curl: fix CVE-2025-9086 Steve Sakoman ` (4 subsequent siblings) 6 siblings, 0 replies; 22+ messages in thread From: Steve Sakoman @ 2025-09-30 19:50 UTC (permalink / raw) To: openembedded-core From: Yogita Urade <yogita.urade@windriver.com> Backport an algorithmic change to grub_crypto_memcmp() so that it completes in constant time and thus isn't susceptible to side-channel attacks. reference: https://git.openembedded.org/openembedded-core/commit/?id=30a1cc225a2bd5d044bf608d863a67df3f9c03be Upstream patch: https://cgit.git.savannah.gnu.org/cgit/grub.git/commit/?id=0739d24cd1648531d0708d1079ff6bbfa6140268 Signed-off-by: Yogita Urade <yogita.urade@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> --- .../grub/files/CVE-2024-56738.patch | 75 +++++++++++++++++++ meta/recipes-bsp/grub/grub2.inc | 1 + 2 files changed, 76 insertions(+) create mode 100644 meta/recipes-bsp/grub/files/CVE-2024-56738.patch diff --git a/meta/recipes-bsp/grub/files/CVE-2024-56738.patch b/meta/recipes-bsp/grub/files/CVE-2024-56738.patch new file mode 100644 index 0000000000..1212b2d3e5 --- /dev/null +++ b/meta/recipes-bsp/grub/files/CVE-2024-56738.patch @@ -0,0 +1,75 @@ +From 4cef2fc7308b2132317ad166939994f098b41561 Mon Sep 17 00:00:00 2001 +From: Ross Burton <ross.burton@arm.com> +Date: Tue, 9 Sep 2025 14:23:14 +0100 +Subject: [PATCH] CVE-2024-56738 + +Backport an algorithmic change to grub_crypto_memcmp() so that it completes in +constant time and thus isn't susceptible to side-channel attacks. + +This is a partial backport of grub 0739d24cd +("libgcrypt: Adjust import script, definitions and API users for libgcrypt 1.11") + +CVE: CVE-2024-56738 +Upstream-Status: Backport [0739d24cd] +Signed-off-by: Ross Burton <ross.burton@arm.com> +Signed-off-by: Yogita Urade <yogita.urade@windriver.com> +--- + grub-core/lib/crypto.c | 23 ++++++++++++++++------- + include/grub/crypto.h | 2 +- + 2 files changed, 17 insertions(+), 8 deletions(-) + +diff --git a/grub-core/lib/crypto.c b/grub-core/lib/crypto.c +index ca334d5..1bfa922 100644 +--- a/grub-core/lib/crypto.c ++++ b/grub-core/lib/crypto.c +@@ -433,19 +433,28 @@ grub_crypto_gcry_error (gcry_err_code_t in) + return GRUB_ACCESS_DENIED; + } + ++/* ++ * Compare byte arrays of length LEN, return 1 if it's not same, ++ * 0, otherwise. ++ */ + int +-grub_crypto_memcmp (const void *a, const void *b, grub_size_t n) ++grub_crypto_memcmp (const void *b1, const void *b2, grub_size_t len) + { +- register grub_size_t counter = 0; +- const grub_uint8_t *pa, *pb; ++ const grub_uint8_t *a = b1; ++ const grub_uint8_t *b = b2; ++ int ab, ba; ++ grub_size_t i; + +- for (pa = a, pb = b; n; pa++, pb++, n--) ++ /* Constant-time compare. */ ++ for (i = 0, ab = 0, ba = 0; i < len; i++) + { +- if (*pa != *pb) +- counter++; ++ /* If a[i] != b[i], either ab or ba will be negative. */ ++ ab |= a[i] - b[i]; ++ ba |= b[i] - a[i]; + } + +- return !!counter; ++ /* 'ab | ba' is negative when buffers are not equal, extract sign bit. */ ++ return ((unsigned int)(ab | ba) >> (sizeof(unsigned int) * 8 - 1)) & 1; + } + + #ifndef GRUB_UTIL +diff --git a/include/grub/crypto.h b/include/grub/crypto.h +index 21cd1f7..432912b 100644 +--- a/include/grub/crypto.h ++++ b/include/grub/crypto.h +@@ -393,7 +393,7 @@ grub_crypto_pbkdf2 (const struct gcry_md_spec *md, + grub_uint8_t *DK, grub_size_t dkLen); + + int +-grub_crypto_memcmp (const void *a, const void *b, grub_size_t n); ++grub_crypto_memcmp (const void *b1, const void *b2, grub_size_t len); + + int + grub_password_get (char buf[], unsigned buf_size); +-- +2.40.0 diff --git a/meta/recipes-bsp/grub/grub2.inc b/meta/recipes-bsp/grub/grub2.inc index cb61080aeb..1b019752b7 100644 --- a/meta/recipes-bsp/grub/grub2.inc +++ b/meta/recipes-bsp/grub/grub2.inc @@ -59,6 +59,7 @@ SRC_URI = "${GNU_MIRROR}/grub/grub-${PV}.tar.gz \ file://CVE-2025-0678_CVE-2025-1125.patch \ file://CVE-2025-0690.patch \ file://CVE-2025-1118.patch \ + file://CVE-2024-56738.patch \ " SRC_URI[sha256sum] = "23b64b4c741569f9426ed2e3d0e6780796fca081bee4c99f62aa3f53ae803f5f" -- 2.43.0 ^ permalink raw reply related [flat|nested] 22+ messages in thread
* [OE-core][kirkstone 3/7] curl: fix CVE-2025-9086 2025-09-30 19:50 [OE-core][kirkstone 0/7] Patch review Steve Sakoman 2025-09-30 19:50 ` [OE-core][kirkstone 1/7] go: fix CVE-2025-47907 Steve Sakoman 2025-09-30 19:50 ` [OE-core][kirkstone 2/7] grub2: fix CVE-2024-56738 Steve Sakoman @ 2025-09-30 19:50 ` Steve Sakoman 2025-09-30 19:50 ` [OE-core][kirkstone 4/7] tiff: fix CVE-2025-9900 Steve Sakoman ` (3 subsequent siblings) 6 siblings, 0 replies; 22+ messages in thread From: Steve Sakoman @ 2025-09-30 19:50 UTC (permalink / raw) To: openembedded-core From: Yogita Urade <yogita.urade@windriver.com> 1, A cookie is set using the secure keyword for https://target 2, curl is redirected to or otherwise made to speak with http://target (same hostname, but using clear text HTTP) using the same cookie set 3, The same cookie name is set - but with just a slash as path (path="/"). Since this site is not secure, the cookie should just be ignored. 4, A bug in the path comparison logic makes curl read outside a heap buffer boundary The bug either causes a crash or it potentially makes the comparison come to the wrong conclusion and lets the clear-text site override the contents of the secure cookie, contrary to expectations and depending on the memory contents immediately following the single-byte allocation that holds the path. The presumed and correct behavior would be to plainly ignore the second set of the cookie since it was already set as secure on a secure host so overriding it on an insecure host should not be okay. Reference: https://nvd.nist.gov/vuln/detail/CVE-2025-9086 Upstream patch: https://github.com/curl/curl/commit/c6ae07c6a541e0e96d0040afb6 Signed-off-by: Yogita Urade <yogita.urade@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> --- .../curl/curl/CVE-2025-9086.patch | 55 +++++++++++++++++++ meta/recipes-support/curl/curl_7.82.0.bb | 1 + 2 files changed, 56 insertions(+) create mode 100644 meta/recipes-support/curl/curl/CVE-2025-9086.patch diff --git a/meta/recipes-support/curl/curl/CVE-2025-9086.patch b/meta/recipes-support/curl/curl/CVE-2025-9086.patch new file mode 100644 index 0000000000..8ee7cd5192 --- /dev/null +++ b/meta/recipes-support/curl/curl/CVE-2025-9086.patch @@ -0,0 +1,55 @@ +From c6ae07c6a541e0e96d0040afb62b45dd37711300 Mon Sep 17 00:00:00 2001 +From: Daniel Stenberg <daniel@haxx.se> +Date: Mon, 11 Aug 2025 20:23:05 +0200 +Subject: [PATCH] cookie: don't treat the leading slash as trailing + +If there is only a leading slash in the path, keep that. Also add an +assert to make sure the path is never blank. + +Reported-by: Google Big Sleep +Closes #18266 + +CVE: CVE-2025-9086 +Upstream-Status: Backport [https://github.com/curl/curl/commit/c6ae07c6a541e0e96d0040afb6] + +Signed-off-by: Yogita Urade <yogita.urade@windriver.com> +--- + lib/cookie.c | 9 +++++---- + 1 file changed, 5 insertions(+), 4 deletions(-) + +diff --git a/lib/cookie.c b/lib/cookie.c +index e287458..ac7d3de 100644 +--- a/lib/cookie.c ++++ b/lib/cookie.c +@@ -312,7 +312,7 @@ static char *sanitize_cookie_path(const char *cookie_path) + } + + /* convert /hoge/ to /hoge */ +- if(len && new_path[len - 1] == '/') { ++ if(len > 1 && new_path[len - 1] == '/') { + new_path[len - 1] = 0x0; + } + +@@ -1078,7 +1078,7 @@ Curl_cookie_add(struct Curl_easy *data, + if(clist->spath && co->spath) { + if(clist->secure && !co->secure && !secure) { + size_t cllen; +- const char *sep; ++ const char *sep = NULL; + + /* + * A non-secure cookie may not overlay an existing secure cookie. +@@ -1087,8 +1087,9 @@ Curl_cookie_add(struct Curl_easy *data, + * "/loginhelper" is ok. + */ + +- sep = strchr(clist->spath + 1, '/'); +- ++ DEBUGASSERT(clist->spath[0]); ++ if(clist->spath[0]) ++ sep = strchr(clist->spath + 1, '/'); + if(sep) + cllen = sep - clist->spath; + else +-- +2.40.0 diff --git a/meta/recipes-support/curl/curl_7.82.0.bb b/meta/recipes-support/curl/curl_7.82.0.bb index 623d8a4bc3..54362e6978 100644 --- a/meta/recipes-support/curl/curl_7.82.0.bb +++ b/meta/recipes-support/curl/curl_7.82.0.bb @@ -66,6 +66,7 @@ SRC_URI = "https://curl.se/download/${BP}.tar.xz \ file://CVE-2024-11053-0001.patch \ file://CVE-2024-11053-0002.patch \ file://CVE-2025-0167.patch \ + file://CVE-2025-9086.patch \ " SRC_URI[sha256sum] = "0aaa12d7bd04b0966254f2703ce80dd5c38dbbd76af0297d3d690cdce58a583c" -- 2.43.0 ^ permalink raw reply related [flat|nested] 22+ messages in thread
* [OE-core][kirkstone 4/7] tiff: fix CVE-2025-9900 2025-09-30 19:50 [OE-core][kirkstone 0/7] Patch review Steve Sakoman ` (2 preceding siblings ...) 2025-09-30 19:50 ` [OE-core][kirkstone 3/7] curl: fix CVE-2025-9086 Steve Sakoman @ 2025-09-30 19:50 ` Steve Sakoman 2025-09-30 19:50 ` [OE-core][kirkstone 5/7] vim: upgrade 9.1.1652 -> 9.1.1683 Steve Sakoman ` (2 subsequent siblings) 6 siblings, 0 replies; 22+ messages in thread From: Steve Sakoman @ 2025-09-30 19:50 UTC (permalink / raw) To: openembedded-core From: Yogita Urade <yogita.urade@windriver.com> A flaw was found in Libtiff. This vulnerability is a "write-what-where" condition, triggered when the library processes a specially crafted TIFF image file.[EOL][EOL]By providing an abnormally large image height value in the file's metadata, an attacker can trick the library into writing attacker-controlled color data to an arbitrary memory location. This memory corruption can be exploited to cause a denial of service (application crash) or to achieve arbitrary code execution with the permissions of the user. Reference: https://nvd.nist.gov/vuln/detail/CVE-2025-9900 Upstream patch: https://gitlab.com/libtiff/libtiff/-/commit/3e0dcf0ec651638b2bd849b2e6f3124b36890d99 Signed-off-by: Yogita Urade <yogita.urade@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> --- .../libtiff/tiff/CVE-2025-9900.patch | 57 +++++++++++++++++++ meta/recipes-multimedia/libtiff/tiff_4.3.0.bb | 1 + 2 files changed, 58 insertions(+) create mode 100644 meta/recipes-multimedia/libtiff/tiff/CVE-2025-9900.patch diff --git a/meta/recipes-multimedia/libtiff/tiff/CVE-2025-9900.patch b/meta/recipes-multimedia/libtiff/tiff/CVE-2025-9900.patch new file mode 100644 index 0000000000..9199cc6090 --- /dev/null +++ b/meta/recipes-multimedia/libtiff/tiff/CVE-2025-9900.patch @@ -0,0 +1,57 @@ +From 3e0dcf0ec651638b2bd849b2e6f3124b36890d99 Mon Sep 17 00:00:00 2001 +From: Su Laus <sulau@freenet.de> +Date: Wed, 11 Jun 2025 19:45:19 +0000 +Subject: [PATCH] tif_getimage.c: Fix buffer underflow crash for less raster + rows at TIFFReadRGBAImageOriented() + +CVE: CVE-2025-9900 +Upstream-Status: Backport [https://gitlab.com/libtiff/libtiff/-/commit/3e0dcf0ec651638b2bd849b2e6f3124b36890d99] + +Changes- +- Use old API TIFFWarningExt instead of TIFFWarningExtR. + +Signed-off-by: Yogita Urade <yogita.urade@windriver.com> +--- + libtiff/tif_getimage.c | 20 +++++++++++++++++--- + 1 file changed, 17 insertions(+), 3 deletions(-) + +diff --git a/libtiff/tif_getimage.c b/libtiff/tif_getimage.c +index a9cd48f..4c807ad 100644 +--- a/libtiff/tif_getimage.c ++++ b/libtiff/tif_getimage.c +@@ -509,6 +509,22 @@ TIFFRGBAImageGet(TIFFRGBAImage* img, uint32_t* raster, uint32_t w, uint32_t h) + "No \"put\" routine setupl; probably can not handle image format"); + return (0); + } ++ /* Verify raster width and height against image width and height. */ ++ if (h > img->height) ++ { ++ /* Adapt parameters to read only available lines and put image at ++ * the bottom of the raster. */ ++ raster += (size_t)(h - img->height) * w; ++ h = img->height; ++ } ++ if (w > img->width) ++ { ++ TIFFWarningExt(img->tif, TIFFFileName(img->tif), ++ "Raster width of %d shall not be larger than image " ++ "width of %d -> raster width adapted for reading", ++ w, img->width); ++ w = img->width; ++ } + return (*img->get)(img, raster, w, h); + } + +@@ -527,9 +543,7 @@ TIFFReadRGBAImageOriented(TIFF* tif, + + if (TIFFRGBAImageOK(tif, emsg) && TIFFRGBAImageBegin(&img, tif, stop, emsg)) { + img.req_orientation = (uint16_t)orientation; +- /* XXX verify rwidth and rheight against width and height */ +- ok = TIFFRGBAImageGet(&img, raster+(rheight-img.height)*rwidth, +- rwidth, img.height); ++ ok = TIFFRGBAImageGet(&img, raster, rwidth, rheight); + TIFFRGBAImageEnd(&img); + } else { + TIFFErrorExt(tif->tif_clientdata, TIFFFileName(tif), "%s", emsg); +-- +2.40.0 diff --git a/meta/recipes-multimedia/libtiff/tiff_4.3.0.bb b/meta/recipes-multimedia/libtiff/tiff_4.3.0.bb index 6db4d80cdf..0b4bef4c41 100644 --- a/meta/recipes-multimedia/libtiff/tiff_4.3.0.bb +++ b/meta/recipes-multimedia/libtiff/tiff_4.3.0.bb @@ -62,6 +62,7 @@ SRC_URI = "http://download.osgeo.org/libtiff/tiff-${PV}.tar.gz \ file://CVE-2024-13978.patch \ file://CVE-2025-8534.patch \ file://CVE-2025-8851.patch \ + file://CVE-2025-9900.patch \ " SRC_URI[sha256sum] = "0e46e5acb087ce7d1ac53cf4f56a09b221537fc86dfc5daaad1c2e89e1b37ac8" -- 2.43.0 ^ permalink raw reply related [flat|nested] 22+ messages in thread
* [OE-core][kirkstone 5/7] vim: upgrade 9.1.1652 -> 9.1.1683 2025-09-30 19:50 [OE-core][kirkstone 0/7] Patch review Steve Sakoman ` (3 preceding siblings ...) 2025-09-30 19:50 ` [OE-core][kirkstone 4/7] tiff: fix CVE-2025-9900 Steve Sakoman @ 2025-09-30 19:50 ` Steve Sakoman 2025-09-30 19:50 ` [OE-core][kirkstone 6/7] python3-jinja2: upgrade 3.1.4 -> 3.1.6 Steve Sakoman 2025-09-30 19:50 ` [OE-core][kirkstone 7/7] libhandy: update git branch name Steve Sakoman 6 siblings, 0 replies; 22+ messages in thread From: Steve Sakoman @ 2025-09-30 19:50 UTC (permalink / raw) To: openembedded-core From: Divya Chellam <divya.chellam@windriver.com> Handles CVE-2025-9389 Changes between 9.1.1652 -> 9.1.1683 ==================================== https://github.com/vim/vim/compare/v9.1.1652...v9.1.1683 Signed-off-by: Divya Chellam <divya.chellam@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> --- meta/recipes-support/vim/vim.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-support/vim/vim.inc b/meta/recipes-support/vim/vim.inc index 2a9fda5376..289f31be70 100644 --- a/meta/recipes-support/vim/vim.inc +++ b/meta/recipes-support/vim/vim.inc @@ -18,8 +18,8 @@ SRC_URI = "git://github.com/vim/vim.git;branch=master;protocol=https \ file://no-path-adjust.patch \ " -PV .= ".1652" -SRCREV = "3e152c76adb9542af86760786d42a0beffe5354b" +PV .= ".1683" +SRCREV = "b922b30cfe4c044c83bac3cc908084ed20a83598" # Do not consider .z in x.y.z, as that is updated with every commit UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.\d+)\.0" -- 2.43.0 ^ permalink raw reply related [flat|nested] 22+ messages in thread
* [OE-core][kirkstone 6/7] python3-jinja2: upgrade 3.1.4 -> 3.1.6 2025-09-30 19:50 [OE-core][kirkstone 0/7] Patch review Steve Sakoman ` (4 preceding siblings ...) 2025-09-30 19:50 ` [OE-core][kirkstone 5/7] vim: upgrade 9.1.1652 -> 9.1.1683 Steve Sakoman @ 2025-09-30 19:50 ` Steve Sakoman 2025-09-30 19:50 ` [OE-core][kirkstone 7/7] libhandy: update git branch name Steve Sakoman 6 siblings, 0 replies; 22+ messages in thread From: Steve Sakoman @ 2025-09-30 19:50 UTC (permalink / raw) To: openembedded-core From: Soumya Sambu <soumya.sambu@windriver.com> Includes fix for - CVE-2024-56326, CVE-2025-27516, CVE-2024-56201 Changelog: https://github.com/pallets/jinja/blob/3.1.6/CHANGES.rst https://github.com/pallets/jinja/blob/3.1.5/CHANGES.rst (From OE-Core rev: a935ef8f205c9510ebc5539c133960bc72504902) Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> --- .../{python3-jinja2_3.1.4.bb => python3-jinja2_3.1.6.bb} | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) rename meta/recipes-devtools/python/{python3-jinja2_3.1.4.bb => python3-jinja2_3.1.6.bb} (82%) diff --git a/meta/recipes-devtools/python/python3-jinja2_3.1.4.bb b/meta/recipes-devtools/python/python3-jinja2_3.1.6.bb similarity index 82% rename from meta/recipes-devtools/python/python3-jinja2_3.1.4.bb rename to meta/recipes-devtools/python/python3-jinja2_3.1.6.bb index 3fe82d5e4e..d4f61cad26 100644 --- a/meta/recipes-devtools/python/python3-jinja2_3.1.4.bb +++ b/meta/recipes-devtools/python/python3-jinja2_3.1.6.bb @@ -4,7 +4,7 @@ HOMEPAGE = "https://pypi.org/project/Jinja2/" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5dc88300786f1c214c1e9827a5229462" -SRC_URI[sha256sum] = "4a3aee7acbbe7303aede8e9648d13b8bf88a429282aa6122a993f0ac800cb369" +SRC_URI[sha256sum] = "0137fb05990d35f1275a587e9aee6d56da821fc83491a0fb838183be43f66d6d" PYPI_PACKAGE = "jinja2" @@ -22,6 +22,9 @@ SRC_URI += " \ do_install_ptest() { install -d ${D}${PTEST_PATH}/tests cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ + + # test_async items require trio module + rm -f ${D}${PTEST_PATH}/tests/test_async.py ${D}${PTEST_PATH}/tests/test_async_filters.py } RDEPENDS:${PN}-ptest += " \ -- 2.43.0 ^ permalink raw reply related [flat|nested] 22+ messages in thread
* [OE-core][kirkstone 7/7] libhandy: update git branch name 2025-09-30 19:50 [OE-core][kirkstone 0/7] Patch review Steve Sakoman ` (5 preceding siblings ...) 2025-09-30 19:50 ` [OE-core][kirkstone 6/7] python3-jinja2: upgrade 3.1.4 -> 3.1.6 Steve Sakoman @ 2025-09-30 19:50 ` Steve Sakoman 6 siblings, 0 replies; 22+ messages in thread From: Steve Sakoman @ 2025-09-30 19:50 UTC (permalink / raw) To: openembedded-core From: Gyorgy Sarvari <skandigraun@gmail.com> Master branch was renamed to main. Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> --- meta/recipes-gnome/libhandy/libhandy_1.5.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-gnome/libhandy/libhandy_1.5.0.bb b/meta/recipes-gnome/libhandy/libhandy_1.5.0.bb index 722593dfb1..4b3f43df1c 100644 --- a/meta/recipes-gnome/libhandy/libhandy_1.5.0.bb +++ b/meta/recipes-gnome/libhandy/libhandy_1.5.0.bb @@ -9,7 +9,7 @@ BUGTRACKER = "https://gitlab.gnome.org/GNOME/libhandy/-/issues" LICENSE = "LGPL-2.1-only" LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" -SRC_URI = "git://gitlab.gnome.org/GNOME/libhandy.git;protocol=https;branch=master \ +SRC_URI = "git://gitlab.gnome.org/GNOME/libhandy.git;protocol=https;branch=main \ file://0001-Add-private-headers.patch \ " SRCREV = "8fa8306a79215fc6ebf2483145da98bf9b2495ab" -- 2.43.0 ^ permalink raw reply related [flat|nested] 22+ messages in thread
* [OE-core][kirkstone 0/7] Patch review @ 2025-11-19 20:42 Steve Sakoman 0 siblings, 0 replies; 22+ messages in thread From: Steve Sakoman @ 2025-11-19 20:42 UTC (permalink / raw) To: openembedded-core Please review this set of changes for kirkstone and have comments back by end of day Friday, November 21 Passed a-full on autobuilder: https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/2748 The following changes since commit 8aad87c12a809d790175b9848f5802d0a28eecac: goarch.bbclass: do not leak TUNE_FEATURES into crosssdk task signatures (2025-11-13 08:39:38 -0800) are available in the Git repository at: https://git.openembedded.org/openembedded-core-contrib stable/kirkstone-nut https://git.openembedded.org/openembedded-core-contrib/log/?h=stable/kirkstone-nut Gyorgy Sarvari (1): musl: patch CVE-2025-26519 Richard Purdie (1): oe-build-perf-report: relax metadata matching rules Soumya Sambu (2): elfutils: Fix CVE-2025-1376 elfutils: Fix CVE-2025-1377 Vijay Anusuri (3): xwayland: Fix for CVE-2025-62229 xwayland: Fix for CVE-2025-62230 xwayland: Fix for CVE-2025-62231 .../musl/musl/CVE-2025-26519-1.patch | 39 ++++++++ .../musl/musl/CVE-2025-26519-2.patch | 38 ++++++++ meta/recipes-core/musl/musl_git.bb | 4 +- .../elfutils/elfutils_0.186.bb | 2 + .../elfutils/files/CVE-2025-1376.patch | 58 ++++++++++++ .../elfutils/files/CVE-2025-1377.patch | 68 ++++++++++++++ .../xwayland/xwayland/CVE-2025-62229.patch | 89 ++++++++++++++++++ .../xwayland/xwayland/CVE-2025-62230-1.patch | 63 +++++++++++++ .../xwayland/xwayland/CVE-2025-62230-2.patch | 92 +++++++++++++++++++ .../xwayland/xwayland/CVE-2025-62231.patch | 53 +++++++++++ .../xwayland/xwayland_22.1.8.bb | 4 + scripts/lib/build_perf/report.py | 9 +- 12 files changed, 515 insertions(+), 4 deletions(-) create mode 100644 meta/recipes-core/musl/musl/CVE-2025-26519-1.patch create mode 100644 meta/recipes-core/musl/musl/CVE-2025-26519-2.patch create mode 100644 meta/recipes-devtools/elfutils/files/CVE-2025-1376.patch create mode 100644 meta/recipes-devtools/elfutils/files/CVE-2025-1377.patch create mode 100644 meta/recipes-graphics/xwayland/xwayland/CVE-2025-62229.patch create mode 100644 meta/recipes-graphics/xwayland/xwayland/CVE-2025-62230-1.patch create mode 100644 meta/recipes-graphics/xwayland/xwayland/CVE-2025-62230-2.patch create mode 100644 meta/recipes-graphics/xwayland/xwayland/CVE-2025-62231.patch -- 2.43.0 ^ permalink raw reply [flat|nested] 22+ messages in thread
* [OE-core][kirkstone 0/7] Patch review @ 2025-03-14 14:10 Steve Sakoman 0 siblings, 0 replies; 22+ messages in thread From: Steve Sakoman @ 2025-03-14 14:10 UTC (permalink / raw) To: openembedded-core Please review this set of changes for kirkstone and have comments back by end of day Tuesday, March 18 Passed a-full on autobuilder: https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/1187 The following changes since commit 0216c229d5c60d0023b0a7d6e8ee41bdfa16f8ef: tzcode-native: Fix compiler setting from 2023d version (2025-03-07 07:00:55 -0800) are available in the Git repository at: https://git.openembedded.org/openembedded-core-contrib stable/kirkstone-nut https://git.openembedded.org/openembedded-core-contrib/log/?h=stable/kirkstone-nut Ashish Sharma (1): ruby: Fix CVE-2025-27219 Divya Chellam (1): vim: Upgrade 9.1.1043 -> 9.1.1115 Hitendra Prajapati (2): grub: Fix multiple CVEs grub: Fix multiple CVEs Peter Marko (2): puzzles: ignore three new CVEs for a different puzzles libarchive: patch CVE-2025-25724 Zhang Peng (1): mpg123: fix CVE-2024-10573 .../0001-misc-Implement-grub_strlcpy.patch | 68 ++ .../grub/files/CVE-2024-45774.patch | 40 + .../grub/files/CVE-2024-45775.patch | 41 + .../grub/files/CVE-2024-45776.patch | 42 + .../grub/files/CVE-2024-45777.patch | 60 ++ .../files/CVE-2024-45778_CVE-2024-45779.patch | 58 ++ .../grub/files/CVE-2024-45780.patch | 96 ++ .../grub/files/CVE-2024-45781.patch | 38 + .../files/CVE-2024-45782_CVE-2024-56737.patch | 39 + .../grub/files/CVE-2024-45783.patch | 42 + .../grub/files/CVE-2025-0622-01.patch | 39 + .../grub/files/CVE-2025-0622-02.patch | 44 + .../grub/files/CVE-2025-0622-03.patch | 41 + .../grub/files/CVE-2025-0624.patch | 87 ++ ...025-0685_CVE-2025-0686_CVE-2025-0689.patch | 380 +++++++ .../files/CVE-2025-0678_CVE-2025-1125.patch | 90 ++ .../grub/files/CVE-2025-0690.patch | 75 ++ .../grub/files/CVE-2025-1118.patch | 40 + meta/recipes-bsp/grub/grub2.inc | 18 + .../ruby/ruby/CVE-2025-27219.patch | 31 + meta/recipes-devtools/ruby/ruby_3.1.3.bb | 1 + .../libarchive/CVE-2025-25724.patch | 40 + .../libarchive/libarchive_3.6.2.bb | 1 + .../mpg123/mpg123/CVE-2024-10573.patch | 978 ++++++++++++++++++ .../mpg123/mpg123_1.29.3.bb | 4 +- meta/recipes-sato/puzzles/puzzles_git.bb | 2 + meta/recipes-support/vim/vim.inc | 4 +- 27 files changed, 2396 insertions(+), 3 deletions(-) create mode 100644 meta/recipes-bsp/grub/files/0001-misc-Implement-grub_strlcpy.patch create mode 100644 meta/recipes-bsp/grub/files/CVE-2024-45774.patch create mode 100644 meta/recipes-bsp/grub/files/CVE-2024-45775.patch create mode 100644 meta/recipes-bsp/grub/files/CVE-2024-45776.patch create mode 100644 meta/recipes-bsp/grub/files/CVE-2024-45777.patch create mode 100644 meta/recipes-bsp/grub/files/CVE-2024-45778_CVE-2024-45779.patch create mode 100644 meta/recipes-bsp/grub/files/CVE-2024-45780.patch create mode 100644 meta/recipes-bsp/grub/files/CVE-2024-45781.patch create mode 100644 meta/recipes-bsp/grub/files/CVE-2024-45782_CVE-2024-56737.patch create mode 100644 meta/recipes-bsp/grub/files/CVE-2024-45783.patch create mode 100644 meta/recipes-bsp/grub/files/CVE-2025-0622-01.patch create mode 100644 meta/recipes-bsp/grub/files/CVE-2025-0622-02.patch create mode 100644 meta/recipes-bsp/grub/files/CVE-2025-0622-03.patch create mode 100644 meta/recipes-bsp/grub/files/CVE-2025-0624.patch create mode 100644 meta/recipes-bsp/grub/files/CVE-2025-0677_CVE-2025-0684_CVE-2025-0685_CVE-2025-0686_CVE-2025-0689.patch create mode 100644 meta/recipes-bsp/grub/files/CVE-2025-0678_CVE-2025-1125.patch create mode 100644 meta/recipes-bsp/grub/files/CVE-2025-0690.patch create mode 100644 meta/recipes-bsp/grub/files/CVE-2025-1118.patch create mode 100644 meta/recipes-devtools/ruby/ruby/CVE-2025-27219.patch create mode 100644 meta/recipes-extended/libarchive/libarchive/CVE-2025-25724.patch create mode 100644 meta/recipes-multimedia/mpg123/mpg123/CVE-2024-10573.patch -- 2.43.0 ^ permalink raw reply [flat|nested] 22+ messages in thread
* [OE-core][kirkstone 0/7] Patch review @ 2025-02-12 14:21 Steve Sakoman 0 siblings, 0 replies; 22+ messages in thread From: Steve Sakoman @ 2025-02-12 14:21 UTC (permalink / raw) To: openembedded-core Please review this set of changes for kirkstone and have comments back by end of day Friday, February 14 Passed a-full on autobuilder: https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/1001 The following changes since commit a397c152abf4f3da1323594e79ebac844a2c9f45: glibc: stable 2.35 branch updates (2025-01-30 08:17:32 -0800) are available in the Git repository at: https://git.openembedded.org/openembedded-core-contrib stable/kirkstone-nut https://git.openembedded.org/openembedded-core-contrib/log/?h=stable/kirkstone-nut Bruce Ashfield (2): linux-yocto/5.15: update to v5.15.176 linux-yocto/5.15: update to v5.15.178 Khem Raj (1): python3: Treat UID/GID overflow as failure Nikhil R (1): glibc: Suppress GCC -Os warning on user2netname for sunrpc Pedro Ferreira (1): rust-common.bbclass: soft assignment for RUSTLIB path Peter Marko (1): cmake: apply parallel build settings to ptest tasks Praveen Kumar (1): go: Fix CVE-2024-45336 meta/classes/cmake.bbclass | 2 + meta/classes/rust-common.bbclass | 2 +- ...press-gcc-os-warning-on-user2netname.patch | 61 +++ meta/recipes-core/glibc/glibc_2.35.bb | 1 + meta/recipes-devtools/go/go-1.17.13.inc | 1 + .../go/go-1.21/CVE-2024-45336.patch | 394 ++++++++++++++++++ ...e-treat-overflow-in-UID-GID-as-failu.patch | 40 ++ .../python/python3_3.10.16.bb | 1 + .../linux/linux-yocto-rt_5.15.bb | 6 +- .../linux/linux-yocto-tiny_5.15.bb | 6 +- meta/recipes-kernel/linux/linux-yocto_5.15.bb | 26 +- 11 files changed, 520 insertions(+), 20 deletions(-) create mode 100644 meta/recipes-core/glibc/glibc/0003-sunrpc-suppress-gcc-os-warning-on-user2netname.patch create mode 100644 meta/recipes-devtools/go/go-1.21/CVE-2024-45336.patch create mode 100644 meta/recipes-devtools/python/python3/0001-gh-107811-tarfile-treat-overflow-in-UID-GID-as-failu.patch -- 2.43.0 ^ permalink raw reply [flat|nested] 22+ messages in thread
* [OE-core][kirkstone 0/7] Patch review @ 2024-12-11 14:47 Steve Sakoman 0 siblings, 0 replies; 22+ messages in thread From: Steve Sakoman @ 2024-12-11 14:47 UTC (permalink / raw) To: openembedded-core Please review this set of changes for kirkstone and have comments back by end of day Friday, December 13 Passed a-full on autobuilder: https://valkyrie.yoctoproject.org/#/builders/29/builds/615 The following changes since commit e42b6a40a3a01e328966bb5ee1bb3e0993975b15: resulttool: Improve repo layout for oeselftest results (2024-12-04 05:50:49 -0800) are available in the Git repository at: https://git.openembedded.org/openembedded-core-contrib stable/kirkstone-nut https://git.openembedded.org/openembedded-core-contrib/log/?h=stable/kirkstone-nut Alexander Kanavin (1): dbus: disable assertions and enable only modular tests Divya Chellam (1): libpam: fix CVE-2024-10041 Jiaying Song (1): python3-requests: fix CVE-2024-35195 Khem Raj (1): unzip: Fix configure tests to use modern C Peter Marko (2): libsdl2: ignore CVE-2020-14409 and CVE-2020-14410 rootfs-postcommands.bbclass: make opkg status reproducible Ross Burton (1): sanity: check for working user namespaces meta/classes/rootfs-postcommands.bbclass | 4 + meta/classes/sanity.bbclass | 24 ++++ meta/recipes-core/dbus/dbus_1.14.8.bb | 3 +- .../python3-requests/CVE-2024-35195.patch | 121 ++++++++++++++++++ .../python/python3-requests_2.27.1.bb | 4 +- .../pam/libpam/CVE-2024-10041.patch | 98 ++++++++++++++ meta/recipes-extended/pam/libpam_1.5.2.bb | 1 + ...rrect-system-headers-and-prototypes-.patch | 112 ++++++++++++++++ meta/recipes-extended/unzip/unzip_6.0.bb | 1 + .../libsdl2/libsdl2_2.0.20.bb | 3 + 10 files changed, 368 insertions(+), 3 deletions(-) create mode 100644 meta/recipes-devtools/python/python3-requests/CVE-2024-35195.patch create mode 100644 meta/recipes-extended/pam/libpam/CVE-2024-10041.patch create mode 100644 meta/recipes-extended/unzip/unzip/0001-configure-Add-correct-system-headers-and-prototypes-.patch -- 2.34.1 ^ permalink raw reply [flat|nested] 22+ messages in thread
* [OE-core][kirkstone 0/7] Patch review
@ 2024-08-30 12:52 Steve Sakoman
0 siblings, 0 replies; 22+ messages in thread
From: Steve Sakoman @ 2024-08-30 12:52 UTC (permalink / raw)
To: openembedded-core
Please review this set of changes for kirkstone and have comments back by
end of day Tuesday, September 3
Passed a-full on autobuilder:
https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/7295
The following changes since commit 963085afced737863cf4ff8515a1cf08365d5d87:
libsoup: fix compile error on centos7 (2024-08-23 14:34:03 -0700)
are available in the Git repository at:
https://git.openembedded.org/openembedded-core-contrib stable/kirkstone-nut
https://git.openembedded.org/openembedded-core-contrib/log/?h=stable/kirkstone-nut
Divya Chellam (1):
bind: Upgrade 9.18.24 -> 9.18.28
Hitendra Prajapati (1):
vim: upgrade from 9.0.2190 -> 9.1.0114
Hugo SIMELIERE (1):
cryptodev-module: Fix build for linux 5.10.220
Ming Liu (1):
grub: fs/fat: Don't error when mtime is 0
Peter Marko (2):
libyaml: Ignore CVE-2024-35325
curl: Ignore CVE-2024-32928
Siddharth Doshi (1):
vim: Upgrade 9.1.0114 -> 9.1.0682
...1-fs-fat-Don-t-error-when-mtime-is-0.patch | 70 +++++++++++++++++++
meta/recipes-bsp/grub/grub2.inc | 1 +
.../bind/{bind_9.18.24.bb => bind_9.18.28.bb} | 2 +-
.../cryptodev/cryptodev-module_1.12.bb | 1 +
.../0001-Fix-build-for-linux-5.10.220.patch | 32 +++++++++
meta/recipes-support/curl/curl_7.82.0.bb | 2 +
meta/recipes-support/libyaml/libyaml_0.2.5.bb | 2 +
...m-add-knob-whether-elf.h-are-checked.patch | 39 -----------
.../vim/{vim-tiny_9.0.bb => vim-tiny_9.1.bb} | 0
meta/recipes-support/vim/vim.inc | 5 +-
.../vim/{vim_9.0.bb => vim_9.1.bb} | 0
11 files changed, 111 insertions(+), 43 deletions(-)
create mode 100644 meta/recipes-bsp/grub/files/0001-fs-fat-Don-t-error-when-mtime-is-0.patch
rename meta/recipes-connectivity/bind/{bind_9.18.24.bb => bind_9.18.28.bb} (97%)
create mode 100644 meta/recipes-kernel/cryptodev/files/0001-Fix-build-for-linux-5.10.220.patch
delete mode 100644 meta/recipes-support/vim/files/vim-add-knob-whether-elf.h-are-checked.patch
rename meta/recipes-support/vim/{vim-tiny_9.0.bb => vim-tiny_9.1.bb} (100%)
rename meta/recipes-support/vim/{vim_9.0.bb => vim_9.1.bb} (100%)
--
2.34.1
^ permalink raw reply [flat|nested] 22+ messages in thread* [OE-core][kirkstone 0/7] Patch review
@ 2024-07-04 12:32 Steve Sakoman
0 siblings, 0 replies; 22+ messages in thread
From: Steve Sakoman @ 2024-07-04 12:32 UTC (permalink / raw)
To: openembedded-core
Please review this set of changes for kirkstone and have comments back by
end of day Monday, July 8
Passed a-full on autobuilder:
https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/7103
The following changes since commit fbc8f5381e8e1da0d06f7f8e5b8c63a49b1858c2:
man-pages: remove conflict pages (2024-06-21 12:37:32 -0700)
are available in the Git repository at:
https://git.openembedded.org/openembedded-core-contrib stable/kirkstone-nut
https://git.openembedded.org/openembedded-core-contrib/log/?h=stable/kirkstone-nut
Archana Polampalli (1):
gstreamer1.0-plugins-base: fix CVE-2024-4453
Jonas Gorski (1):
linuxloader: add -armhf on arm only for TARGET_FPU 'hard'
Jose Quaresma (1):
openssh: fix CVE-2024-6387
Poonam Jadhav (2):
glibc-tests: correctly pull in the actual tests when installing -ptest
package
glibc-tests: Add missing bash ptest dependency
Siddharth Doshi (1):
OpenSSL: Security fix for CVE-2024-5535
Vijay Anusuri (1):
wget: Fix for CVE-2024-38428
meta/classes/linuxloader.bbclass | 2 +-
.../openssh/openssh/CVE-2024-6387.patch | 27 +
.../openssh/openssh_8.9p1.bb | 1 +
.../openssl/openssl/CVE-2024-5535_1.patch | 115 ++
.../openssl/openssl/CVE-2024-5535_2.patch | 44 +
.../openssl/openssl/CVE-2024-5535_3.patch | 84 ++
.../openssl/openssl/CVE-2024-5535_4.patch | 178 +++
.../openssl/openssl/CVE-2024-5535_5.patch | 1175 +++++++++++++++++
.../openssl/openssl/CVE-2024-5535_6.patch | 45 +
.../openssl/openssl/CVE-2024-5535_7.patch | 68 +
.../openssl/openssl/CVE-2024-5535_8.patch | 273 ++++
.../openssl/openssl/CVE-2024-5535_9.patch | 205 +++
.../openssl/openssl_3.0.14.bb | 9 +
meta/recipes-core/glibc/glibc-tests_2.35.bb | 4 +-
meta/recipes-core/glibc/glibc/run-ptest | 2 +-
.../wget/wget/CVE-2024-38428.patch | 79 ++
meta/recipes-extended/wget/wget_1.21.4.bb | 1 +
.../CVE-2024-4453.patch | 65 +
.../gstreamer1.0-plugins-base_1.20.7.bb | 1 +
19 files changed, 2374 insertions(+), 4 deletions(-)
create mode 100644 meta/recipes-connectivity/openssh/openssh/CVE-2024-6387.patch
create mode 100644 meta/recipes-connectivity/openssl/openssl/CVE-2024-5535_1.patch
create mode 100644 meta/recipes-connectivity/openssl/openssl/CVE-2024-5535_2.patch
create mode 100644 meta/recipes-connectivity/openssl/openssl/CVE-2024-5535_3.patch
create mode 100644 meta/recipes-connectivity/openssl/openssl/CVE-2024-5535_4.patch
create mode 100644 meta/recipes-connectivity/openssl/openssl/CVE-2024-5535_5.patch
create mode 100644 meta/recipes-connectivity/openssl/openssl/CVE-2024-5535_6.patch
create mode 100644 meta/recipes-connectivity/openssl/openssl/CVE-2024-5535_7.patch
create mode 100644 meta/recipes-connectivity/openssl/openssl/CVE-2024-5535_8.patch
create mode 100644 meta/recipes-connectivity/openssl/openssl/CVE-2024-5535_9.patch
create mode 100644 meta/recipes-extended/wget/wget/CVE-2024-38428.patch
create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/CVE-2024-4453.patch
--
2.34.1
^ permalink raw reply [flat|nested] 22+ messages in thread* [OE-core][kirkstone 0/7] Patch review @ 2024-05-30 18:37 Steve Sakoman 0 siblings, 0 replies; 22+ messages in thread From: Steve Sakoman @ 2024-05-30 18:37 UTC (permalink / raw) To: openembedded-core Please review this set of changes for kirktsone and have comments back by end of day Saturday, June 1 Passed a-full on autobuilder: https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/6984 The following changes since commit e0a1ed7aa1f2b12d985414db9a75d6e151ae8d21: initscripts: Add custom mount args for /var/lib (2024-05-22 05:07:30 -0700) are available in the Git repository at: https://git.openembedded.org/openembedded-core-contrib stable/kirkstone-nut https://git.openembedded.org/openembedded-core-contrib/log/?h=stable/kirkstone-nut Archana Polampalli (5): ghostscript: fix CVE-2024-33870 ghostscript: fix CVE-2024-33869 ghostscript: fix CVE-2024-33871 ghostscript: fix CVE-2024-29510 ghostscript: fix CVE-2023-52722 Soumya Sambu (2): util-linux: Fix CVE-2024-28085 git: Fix multiple CVEs meta/recipes-core/util-linux/util-linux.inc | 5 + .../util-linux/CVE-2024-28085-0001.patch | 202 + .../util-linux/CVE-2024-28085-0002.patch | 172 + .../util-linux/CVE-2024-28085-0003.patch | 223 + .../util-linux/CVE-2024-28085-0004.patch | 36 + .../util-linux/CVE-2024-28085-0005.patch | 34 + .../git/git/CVE-2024-32002-0001.patch | 69 + .../git/git/CVE-2024-32002-0002.patch | 213 + .../git/git/CVE-2024-32002-0003.patch | 141 + .../git/git/CVE-2024-32002-0004.patch | 150 + .../git/git/CVE-2024-32004-0001.patch | 95 + .../git/git/CVE-2024-32004-0002.patch | 187 + .../git/git/CVE-2024-32004-0003.patch | 158 + .../git/git/CVE-2024-32020.patch | 114 + .../git/git/CVE-2024-32021-0001.patch | 89 + .../git/git/CVE-2024-32021-0002.patch | 65 + .../git/git/CVE-2024-32465.patch | 206 + meta/recipes-devtools/git/git_2.35.7.bb | 11 + .../ghostscript/CVE-2023-52722.patch | 43 + .../ghostscript/CVE-2024-29510.patch | 84 + .../ghostscript/CVE-2024-33869-0001.patch | 39 + .../ghostscript/CVE-2024-33869-0002.patch | 52 + .../ghostscript/CVE-2024-33870.patch | 92 + .../ghostscript/CVE-2024-33871-0001.patch | 4863 +++++++++++++++++ .../ghostscript/CVE-2024-33871-0002.patch | 43 + .../ghostscript/ghostscript_9.55.0.bb | 7 + 26 files changed, 7393 insertions(+) create mode 100644 meta/recipes-core/util-linux/util-linux/CVE-2024-28085-0001.patch create mode 100644 meta/recipes-core/util-linux/util-linux/CVE-2024-28085-0002.patch create mode 100644 meta/recipes-core/util-linux/util-linux/CVE-2024-28085-0003.patch create mode 100644 meta/recipes-core/util-linux/util-linux/CVE-2024-28085-0004.patch create mode 100644 meta/recipes-core/util-linux/util-linux/CVE-2024-28085-0005.patch create mode 100644 meta/recipes-devtools/git/git/CVE-2024-32002-0001.patch create mode 100644 meta/recipes-devtools/git/git/CVE-2024-32002-0002.patch create mode 100644 meta/recipes-devtools/git/git/CVE-2024-32002-0003.patch create mode 100644 meta/recipes-devtools/git/git/CVE-2024-32002-0004.patch create mode 100644 meta/recipes-devtools/git/git/CVE-2024-32004-0001.patch create mode 100644 meta/recipes-devtools/git/git/CVE-2024-32004-0002.patch create mode 100644 meta/recipes-devtools/git/git/CVE-2024-32004-0003.patch create mode 100644 meta/recipes-devtools/git/git/CVE-2024-32020.patch create mode 100644 meta/recipes-devtools/git/git/CVE-2024-32021-0001.patch create mode 100644 meta/recipes-devtools/git/git/CVE-2024-32021-0002.patch create mode 100644 meta/recipes-devtools/git/git/CVE-2024-32465.patch create mode 100644 meta/recipes-extended/ghostscript/ghostscript/CVE-2023-52722.patch create mode 100644 meta/recipes-extended/ghostscript/ghostscript/CVE-2024-29510.patch create mode 100644 meta/recipes-extended/ghostscript/ghostscript/CVE-2024-33869-0001.patch create mode 100644 meta/recipes-extended/ghostscript/ghostscript/CVE-2024-33869-0002.patch create mode 100644 meta/recipes-extended/ghostscript/ghostscript/CVE-2024-33870.patch create mode 100644 meta/recipes-extended/ghostscript/ghostscript/CVE-2024-33871-0001.patch create mode 100644 meta/recipes-extended/ghostscript/ghostscript/CVE-2024-33871-0002.patch -- 2.34.1 ^ permalink raw reply [flat|nested] 22+ messages in thread
* [OE-core][kirkstone 0/7] Patch review @ 2024-04-17 20:35 Steve Sakoman 0 siblings, 0 replies; 22+ messages in thread From: Steve Sakoman @ 2024-04-17 20:35 UTC (permalink / raw) To: openembedded-core Please review this set of changes for kirkstone and have comments back by end of day Friday, April 19 Passed a-full on autobuilder: https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/6817 The following changes since commit f94c74cee8b2650dd3211a49dc7e88bf60d2e6a7: tcl: skip async and event tests in run-ptest (2024-04-16 05:00:24 -0700) are available in the Git repository at: https://git.openembedded.org/openembedded-core-contrib stable/kirkstone-nut https://git.openembedded.org/openembedded-core-contrib/log/?h=stable/kirkstone-nut Harish Sadineni (1): rust: add CVE_CHECK_IGNORE for CVE-2024-24576 Meenali Gupta (1): libssh2: fix CVE-2023-48795 Poonam Jadhav (1): ppp: Add RSA-MD in LICENSE Sana Kazi (1): systemd: Fix vlan qos mapping Soumya Sambu (1): nghttp2: Fix CVE-2024-28182 Steve Sakoman (1): valgrind: skip intermittently failing ptest Yogita Urade (1): ruby: fix CVE-2024-27281 meta/recipes-connectivity/ppp/ppp_2.4.9.bb | 2 +- .../systemd/fix-vlan-qos-mapping.patch | 140 ++++++ meta/recipes-core/systemd/systemd_250.5.bb | 1 + .../ruby/ruby/CVE-2024-27281.patch | 97 ++++ meta/recipes-devtools/ruby/ruby_3.1.3.bb | 1 + meta/recipes-devtools/rust/rust-source.inc | 3 + .../valgrind/valgrind/remove-for-all | 2 + .../libssh2/libssh2/CVE-2023-48795.patch | 459 ++++++++++++++++++ .../recipes-support/libssh2/libssh2_1.10.0.bb | 1 + .../nghttp2/nghttp2/CVE-2024-28182-0001.patch | 110 +++++ .../nghttp2/nghttp2/CVE-2024-28182-0002.patch | 105 ++++ .../recipes-support/nghttp2/nghttp2_1.47.0.bb | 2 + 12 files changed, 922 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-core/systemd/systemd/fix-vlan-qos-mapping.patch create mode 100644 meta/recipes-devtools/ruby/ruby/CVE-2024-27281.patch create mode 100644 meta/recipes-support/libssh2/libssh2/CVE-2023-48795.patch create mode 100644 meta/recipes-support/nghttp2/nghttp2/CVE-2024-28182-0001.patch create mode 100644 meta/recipes-support/nghttp2/nghttp2/CVE-2024-28182-0002.patch -- 2.34.1 ^ permalink raw reply [flat|nested] 22+ messages in thread
* [OE-core][kirkstone 0/7] Patch review
@ 2024-02-06 15:45 Steve Sakoman
0 siblings, 0 replies; 22+ messages in thread
From: Steve Sakoman @ 2024-02-06 15:45 UTC (permalink / raw)
To: openembedded-core
Please review this set of changes for kirkstone and have comments back by
end of day Thursday, February 8
Passed a-full on autobuilder:
https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/6539
The following changes since commit 60d88989698968c13f8e641f0ba1a82fcf700fb7:
image-live.bbclass: LIVE_ROOTFS_TYPE support compression (2024-01-30 07:10:42 -1000)
are available in the Git repository at:
https://git.openembedded.org/openembedded-core-contrib stable/kirkstone-nut
https://git.openembedded.org/openembedded-core-contrib/log/?h=stable/kirkstone-nut
Deepthi Hemraj (4):
binutils: internal gdb: Fix CVE-2023-39129
binutils: internal gdb: Fix CVE-2023-39130
gdb: Fix CVE-2023-39129
gdb: Fix CVE-2023-39130
Peter Marko (3):
curl: ignore CVE-2023-42915
gcc-shared-source: ignore CVE-2023-4039
openssl: Upgrade 3.0.12 -> 3.0.13
.../openssl/openssl/CVE-2023-5678.patch | 180 ----------
.../openssl/openssl/CVE-2023-6129.patch | 113 ------
.../openssl/openssl/CVE-2023-6237.patch | 127 -------
.../{openssl_3.0.12.bb => openssl_3.0.13.bb} | 6 +-
.../binutils/binutils-2.38.inc | 2 +
.../binutils/0035-CVE-2023-39129.patch | 50 +++
.../binutils/0036-CVE-2023-39130.patch | 326 ++++++++++++++++++
.../gcc/gcc-shared-source.inc | 3 +
meta/recipes-devtools/gdb/gdb.inc | 2 +
.../gdb/gdb/0012-CVE-2023-39129.patch | 50 +++
.../gdb/gdb/0013-CVE-2023-39130.patch | 326 ++++++++++++++++++
meta/recipes-support/curl/curl_7.82.0.bb | 3 +
12 files changed, 764 insertions(+), 424 deletions(-)
delete mode 100644 meta/recipes-connectivity/openssl/openssl/CVE-2023-5678.patch
delete mode 100644 meta/recipes-connectivity/openssl/openssl/CVE-2023-6129.patch
delete mode 100644 meta/recipes-connectivity/openssl/openssl/CVE-2023-6237.patch
rename meta/recipes-connectivity/openssl/{openssl_3.0.12.bb => openssl_3.0.13.bb} (97%)
create mode 100644 meta/recipes-devtools/binutils/binutils/0035-CVE-2023-39129.patch
create mode 100644 meta/recipes-devtools/binutils/binutils/0036-CVE-2023-39130.patch
create mode 100644 meta/recipes-devtools/gdb/gdb/0012-CVE-2023-39129.patch
create mode 100644 meta/recipes-devtools/gdb/gdb/0013-CVE-2023-39130.patch
--
2.34.1
^ permalink raw reply [flat|nested] 22+ messages in thread* [OE-core][kirkstone 0/7] Patch review
@ 2024-01-17 15:58 Steve Sakoman
0 siblings, 0 replies; 22+ messages in thread
From: Steve Sakoman @ 2024-01-17 15:58 UTC (permalink / raw)
To: openembedded-core
Please reviwe this set of changes for kirkstone and have comments back by
end of day Friday, January 19
Passed a-full on autobuilder:
https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/6458
The following changes since commit 8e27f96c0befbbb5cf8a2f7076b7a1ffd79addb6:
linux-firmware: upgrade 20230804 -> 20231030 (2024-01-09 05:50:24 -1000)
are available in the Git repository at:
https://git.openembedded.org/openembedded-core-contrib stable/kirkstone-nut
https://git.openembedded.org/openembedded-core-contrib/log/?h=stable/kirkstone-nut
Hitendra Prajapati (1):
systemd: fix CVE-2023-7008
Martin Jansa (1):
pybootchartgui: fix 2 SyntaxWarnings
Peter Marko (2):
sqlite3: backport patch for CVE-2023-7104
zlib: ignore CVE-2023-6992
Poonam Jadhav (1):
Revert "curl: Backport fix CVE-2023-32001"
Soumya Sambu (1):
cpio: upgrade to 2.14
Vivek Kumbhar (1):
openssl: Backport fix for CVE-2023-6129
.../openssl/openssl/CVE-2023-6129.patch | 113 ++++
.../openssl/openssl_3.0.12.bb | 1 +
.../systemd/systemd/CVE-2023-7008.patch | 40 ++
meta/recipes-core/systemd/systemd_250.5.bb | 1 +
meta/recipes-core/zlib/zlib_1.2.11.bb | 3 +
...charset_alias-when-building-for-musl.patch | 30 -
...ove-superfluous-declaration-of-progr.patch | 28 -
...-calculation-of-CRC-in-copy-out-mode.patch | 58 --
...appending-to-archives-bigger-than-2G.patch | 312 ----------
.../cpio/cpio-2.13/CVE-2021-38185.patch | 581 ------------------
.../cpio/{cpio_2.13.bb => cpio_2.14.bb} | 9 +-
...e-needed-header-for-major-minor-macr.patch | 47 ++
.../curl/curl/CVE-2023-32001.patch | 39 --
meta/recipes-support/curl/curl_7.82.0.bb | 1 -
.../sqlite/files/CVE-2023-7104.patch | 44 ++
meta/recipes-support/sqlite/sqlite3_3.38.5.bb | 1 +
scripts/pybootchartgui/pybootchartgui/draw.py | 4 +-
17 files changed, 254 insertions(+), 1058 deletions(-)
create mode 100644 meta/recipes-connectivity/openssl/openssl/CVE-2023-6129.patch
create mode 100644 meta/recipes-core/systemd/systemd/CVE-2023-7008.patch
delete mode 100644 meta/recipes-extended/cpio/cpio-2.13/0001-Unset-need_charset_alias-when-building-for-musl.patch
delete mode 100644 meta/recipes-extended/cpio/cpio-2.13/0002-src-global.c-Remove-superfluous-declaration-of-progr.patch
delete mode 100644 meta/recipes-extended/cpio/cpio-2.13/0003-Fix-calculation-of-CRC-in-copy-out-mode.patch
delete mode 100644 meta/recipes-extended/cpio/cpio-2.13/0004-Fix-appending-to-archives-bigger-than-2G.patch
delete mode 100644 meta/recipes-extended/cpio/cpio-2.13/CVE-2021-38185.patch
rename meta/recipes-extended/cpio/{cpio_2.13.bb => cpio_2.14.bb} (74%)
create mode 100644 meta/recipes-extended/cpio/files/0001-configure-Include-needed-header-for-major-minor-macr.patch
delete mode 100644 meta/recipes-support/curl/curl/CVE-2023-32001.patch
create mode 100644 meta/recipes-support/sqlite/files/CVE-2023-7104.patch
--
2.34.1
^ permalink raw reply [flat|nested] 22+ messages in thread* [OE-core][kirkstone 0/7] Patch review
@ 2023-11-08 22:52 Steve Sakoman
0 siblings, 0 replies; 22+ messages in thread
From: Steve Sakoman @ 2023-11-08 22:52 UTC (permalink / raw)
To: openembedded-core
Please review this set of changes for kirkstone and have comments back by
end of day Friday, November 10
Passed a-full on autobuilder:
https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/6158
The following changes since commit 0eb8e67aa6833df0cde29833568a70e65c21d7e5:
build-appliance-image: Update to kirkstone head revision (2023-11-03 04:27:49 -1000)
are available in the Git repository at:
https://git.openembedded.org/openembedded-core-contrib stable/kirkstone-nut
https://git.openembedded.org/openembedded-core-contrib/log/?h=stable/kirkstone-nut
Narpat Mali (1):
python3-jinja2: Fixed ptest result output as per the standard
Ross Burton (3):
cve-check: sort the package list in the JSON report
cve-check: slightly more verbose warning when adding the same package
twice
cve-check: don't warn if a patch is remote
Sanjana (1):
binutils: Fix CVE-2022-47010
Soumya Sambu (1):
libwebp: Fix CVE-2023-4863
Vijay Anusuri (1):
xserver-xorg: Fix for CVE-2023-5367 and CVE-2023-5380
meta/classes/cve-check.bbclass | 2 +
meta/lib/oe/cve_check.py | 13 +--
.../binutils/binutils-2.38.inc | 1 +
.../binutils/0032-CVE-2022-47010.patch | 38 +++++++
.../python/python3-jinja2/run-ptest | 2 +-
.../xserver-xorg/CVE-2023-5367.patch | 84 +++++++++++++++
.../xserver-xorg/CVE-2023-5380.patch | 102 ++++++++++++++++++
.../xorg-xserver/xserver-xorg_21.1.8.bb | 2 +
...23-5129.patch => CVE-2023-4863-0001.patch} | 20 ++--
.../webp/files/CVE-2023-4863-0002.patch | 53 +++++++++
meta/recipes-multimedia/webp/libwebp_1.2.4.bb | 3 +-
11 files changed, 303 insertions(+), 17 deletions(-)
create mode 100644 meta/recipes-devtools/binutils/binutils/0032-CVE-2022-47010.patch
create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xorg/CVE-2023-5367.patch
create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xorg/CVE-2023-5380.patch
rename meta/recipes-multimedia/webp/files/{CVE-2023-5129.patch => CVE-2023-4863-0001.patch} (97%)
create mode 100644 meta/recipes-multimedia/webp/files/CVE-2023-4863-0002.patch
--
2.34.1
^ permalink raw reply [flat|nested] 22+ messages in thread* [OE-core][kirkstone 0/7] Patch review
@ 2023-10-30 2:20 Steve Sakoman
0 siblings, 0 replies; 22+ messages in thread
From: Steve Sakoman @ 2023-10-30 2:20 UTC (permalink / raw)
To: openembedded-core
Please review this set of changes for kirkstone and have comments back by
end of day Tuesday, October 31
Passed a-full on autobuilder:
https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/6115
The following changes since commit 7681436190354b5c5b6c3a82b3094badd81113de:
vim: Upgrade 9.0.2009 -> 9.0.2048 (2023-10-20 06:38:00 -1000)
are available in the Git repository at:
https://git.openembedded.org/openembedded-core-contrib stable/kirkstone-nut
https://git.openembedded.org/openembedded-core-contrib/log/?h=stable/kirkstone-nut
Archana Polampalli (2):
curl: fix CVE-2023-38545
curl: fix CVE-2023-38546
Fahad Arslan (2):
linux-firmware: create separate package for cirrus and cnm firmwares
linux-firmware: create separate packages
Niko Mauno (1):
package_rpm: Allow compression mode override
Peter Marko (1):
openssl: Upgrade 3.0.11 -> 3.0.12
Steve Sakoman (1):
cve-exclusion_5.10.inc: update for 5.10.197
meta/classes/package_rpm.bbclass | 6 +-
.../{openssl_3.0.11.bb => openssl_3.0.12.bb} | 2 +-
.../linux-firmware/linux-firmware_20230804.bb | 260 +++++++++++++++++-
.../linux/cve-exclusion_5.10.inc | 123 +++++++--
.../curl/curl/CVE-2023-38545.patch | 133 +++++++++
.../curl/curl/CVE-2023-38546.patch | 137 +++++++++
meta/recipes-support/curl/curl_7.82.0.bb | 2 +
7 files changed, 633 insertions(+), 30 deletions(-)
rename meta/recipes-connectivity/openssl/{openssl_3.0.11.bb => openssl_3.0.12.bb} (99%)
create mode 100644 meta/recipes-support/curl/curl/CVE-2023-38545.patch
create mode 100644 meta/recipes-support/curl/curl/CVE-2023-38546.patch
--
2.34.1
^ permalink raw reply [flat|nested] 22+ messages in thread* [OE-core][kirkstone 0/7] Patch review @ 2023-04-15 15:26 Steve Sakoman 0 siblings, 0 replies; 22+ messages in thread From: Steve Sakoman @ 2023-04-15 15:26 UTC (permalink / raw) To: openembedded-core Please review this set of patches for kirkstone and have comments back by end of day Tuesday. Passed a-full on autobuilder: https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/5185 The following changes since commit ff4b57ffff903a93b710284c7c7f916ddd74712f: uninative: Upgrade to 3.9 to include glibc 2.37 (2023-04-04 05:32:01 -1000) are available in the Git repository at: https://git.openembedded.org/openembedded-core-contrib stable/kirkstone-nut http://cgit.openembedded.org/openembedded-core-contrib/log/?h=stable/kirkstone-nut Hitendra Prajapati (2): curl: CVE-2023-27533 TELNET option IAC injection curl: CVE-2023-27534 SFTP path resolving discrepancy Joe Slater (1): go: fix CVE-2022-41724, 41725 Mark Hatle (1): openssl: Move microblaze to linux-latomic config Pawan Badganchi (1): tiff: Add fix for CVE-2022-4645 Peter Marko (1): package.bbclass: correct check for /build in copydebugsources() Yash Shinde (1): binutils : Fix CVE-2023-1579 meta/classes/package.bbclass | 2 +- .../openssl/openssl_3.0.8.bb | 4 +- .../binutils/binutils-2.38.inc | 4 + .../binutils/0021-CVE-2023-1579-1.patch | 459 ++++ .../binutils/0021-CVE-2023-1579-2.patch | 2127 +++++++++++++++ .../binutils/0021-CVE-2023-1579-3.patch | 156 ++ .../binutils/0021-CVE-2023-1579-4.patch | 37 + meta/recipes-devtools/go/go-1.17.13.inc | 5 +- .../go/go-1.19/add_godebug.patch | 84 + .../go/go-1.19/cve-2022-41724.patch | 2391 +++++++++++++++++ .../go/go-1.19/cve-2022-41725.patch | 652 +++++ ...-of-TIFFTAG_INKNAMES-and-related-TIF.patch | 5 +- .../curl/curl/CVE-2023-27533.patch | 208 ++ .../curl/curl/CVE-2023-27534.patch | 122 + meta/recipes-support/curl/curl_7.82.0.bb | 2 + 15 files changed, 6252 insertions(+), 6 deletions(-) create mode 100644 meta/recipes-devtools/binutils/binutils/0021-CVE-2023-1579-1.patch create mode 100644 meta/recipes-devtools/binutils/binutils/0021-CVE-2023-1579-2.patch create mode 100644 meta/recipes-devtools/binutils/binutils/0021-CVE-2023-1579-3.patch create mode 100644 meta/recipes-devtools/binutils/binutils/0021-CVE-2023-1579-4.patch create mode 100644 meta/recipes-devtools/go/go-1.19/add_godebug.patch create mode 100644 meta/recipes-devtools/go/go-1.19/cve-2022-41724.patch create mode 100644 meta/recipes-devtools/go/go-1.19/cve-2022-41725.patch create mode 100644 meta/recipes-support/curl/curl/CVE-2023-27533.patch create mode 100644 meta/recipes-support/curl/curl/CVE-2023-27534.patch -- 2.34.1 ^ permalink raw reply [flat|nested] 22+ messages in thread
* [OE-core][kirkstone 0/7] Patch review @ 2022-08-04 14:06 Steve Sakoman 0 siblings, 0 replies; 22+ messages in thread From: Steve Sakoman @ 2022-08-04 14:06 UTC (permalink / raw) To: openembedded-core Please review this set of patches for kirkstone and have comments back by end of day Sunday. This should be the almost final set of patches for the 4.0.3 release - there remains an intermittent linux-yocto reproducibility issue that needs to get fixed. Passed a-full on autobuilder: https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/4015 The following changes since commit 3564ce3d9b2030dd420362c66147bd327090915c: initscripts: run umountnfs as a KILL script (2022-07-28 05:32:25 -1000) are available in the Git repository at: git://git.openembedded.org/openembedded-core-contrib stable/kirkstone-nut http://cgit.openembedded.org/openembedded-core-contrib/log/?h=stable/kirkstone-nut Alex Kiernan (1): openssh: Add openssh-sftp-server to openssh RDEPENDS Dmitry Baryshkov (1): linux-firwmare: restore WHENCE_CHKSUM variable Khem Raj (1): libgcc: Fix standalone target builds with usrmerge distro feature Martin Jansa (1): kernel.bbclass: pass LD also in savedefconfig Mingli Yu (1): strace: set COMPATIBLE_HOST for riscv32 Shruthi Ravichandran (1): package_manager/ipk: do not pipe stderr to stdout Sundeep KOKKONDA (1): binutils: stable 2.38 branch updates meta/classes/kernel.bbclass | 2 +- meta/lib/oe/package_manager/ipk/__init__.py | 23 +++++++++++-------- .../openssh/openssh_8.9p1.bb | 2 +- .../binutils/binutils-2.38.inc | 2 +- meta/recipes-devtools/gcc/libgcc-common.inc | 8 +++++-- meta/recipes-devtools/strace/strace_5.16.bb | 3 +++ .../linux-firmware/linux-firmware_20220708.bb | 5 +++- 7 files changed, 29 insertions(+), 16 deletions(-) -- 2.25.1 ^ permalink raw reply [flat|nested] 22+ messages in thread
end of thread, other threads:[~2025-11-19 20:42 UTC | newest] Thread overview: 22+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2025-09-30 19:50 [OE-core][kirkstone 0/7] Patch review Steve Sakoman 2025-09-30 19:50 ` [OE-core][kirkstone 1/7] go: fix CVE-2025-47907 Steve Sakoman 2025-09-30 19:50 ` [OE-core][kirkstone 2/7] grub2: fix CVE-2024-56738 Steve Sakoman 2025-09-30 19:50 ` [OE-core][kirkstone 3/7] curl: fix CVE-2025-9086 Steve Sakoman 2025-09-30 19:50 ` [OE-core][kirkstone 4/7] tiff: fix CVE-2025-9900 Steve Sakoman 2025-09-30 19:50 ` [OE-core][kirkstone 5/7] vim: upgrade 9.1.1652 -> 9.1.1683 Steve Sakoman 2025-09-30 19:50 ` [OE-core][kirkstone 6/7] python3-jinja2: upgrade 3.1.4 -> 3.1.6 Steve Sakoman 2025-09-30 19:50 ` [OE-core][kirkstone 7/7] libhandy: update git branch name Steve Sakoman -- strict thread matches above, loose matches on Subject: below -- 2025-11-19 20:42 [OE-core][kirkstone 0/7] Patch review Steve Sakoman 2025-03-14 14:10 Steve Sakoman 2025-02-12 14:21 Steve Sakoman 2024-12-11 14:47 Steve Sakoman 2024-08-30 12:52 Steve Sakoman 2024-07-04 12:32 Steve Sakoman 2024-05-30 18:37 Steve Sakoman 2024-04-17 20:35 Steve Sakoman 2024-02-06 15:45 Steve Sakoman 2024-01-17 15:58 Steve Sakoman 2023-11-08 22:52 Steve Sakoman 2023-10-30 2:20 Steve Sakoman 2023-04-15 15:26 Steve Sakoman 2022-08-04 14:06 Steve Sakoman
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox