fio: fix build with musl
PATCH 1/16 fio: fix build with musl
From: Max Krummenacher <[email protected]>
Backport the upstream fix.
--- ...inux-prctl.h-include-to-fix-musl-con.patch | 33 +++++++++++++++++++ meta-oe/recipes-benchmark/fio/fio_3.42.bb | 1 + 2 files changed, 34 insertions(+) create mode 100644 meta-oe/recipes-benchmark/fio/fio/0001-backend-remove-linux-prctl.h-include-to-fix-musl-con.patch
meta-oe/recipes-benchmark/fio/fio/0001-backend-remove-linux-prctl.h-include-to-fix-musl-con.patch new file +33 -0
@@ -0,0 +1,33 @@ +From 82688fff1241549177ed4d55c27c93117d738947 Mon Sep 17 00:00:00 2001 +From: Lucas Hecht <[email protected]> +Date: Tue, 26 May 2026 18:49:48 +0200 +Subject: [PATCH] backend: remove linux/prctl.h include to fix musl conflict + +Building with musl fails due to a duplicate definition of prctl_mm_map. +This is because musl redefines linux/prctl.h in sys/prctl.h. + +This commit removes the linux/prctl.h include. + +Fixes: #2096 + +Upstream-Status: Backport [a84eece62edd46c1f4c8047f1052ac6181fc8b3e] +Signed-off-by: Lucas Hecht <[email protected]> +--- + backend.c | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/backend.c b/backend.c +index 230d7fd07965..cfc411531818 100644 +--- a/backend.c ++++ b/backend.c +@@ -32,7 +32,6 @@ + #include <pthread.h> + + #ifdef CONFIG_LINUX +-#include <linux/prctl.h> + #include <sys/prctl.h> + #endif + +-- +2.51.0 +
meta-oe/recipes-benchmark/fio/fio_3.42.bb +1 -0
@@ -24,6 +24,7 @@ PACKAGECONFIG[numa] = ",--disable-numa,numactl" SRC_URI = " \ git://git.kernel.dk/fio.git;branch=master;tag=${BP} \ + file://0001-backend-remove-linux-prctl.h-include-to-fix-musl-con.patch \ " SRCREV = "ab77643023f5d7e3c1b71a7576a564f368bf577a"
PATCH 2/16 jq: patch CVE-2026-47770
From: Anton Skorup <[email protected]>
This patch adds the upstream fix for CVE-2026-47770.
CVE details: https://ubuntu.com/security/CVE-2026-47770
--- .../jq/jq/CVE-2026-47770.patch | 484 ++++++++++++++++++ meta-oe/recipes-devtools/jq/jq_1.8.1.bb | 1 + 2 files changed, 485 insertions(+) create mode 100644 meta-oe/recipes-devtools/jq/jq/CVE-2026-47770.patch
meta-oe/recipes-devtools/jq/jq/CVE-2026-47770.patch new file +484 -0
@@ -0,0 +1,484 @@ +From 63ae676bc6e97635d8246c78f5947ec47eb85a26 Mon Sep 17 00:00:00 2001 +From: Yu-Fu Fu <[email protected]> +Date: Fri, 22 May 2026 04:07:16 -0700 +Subject: [PATCH] Guard deep structural equality and comparison recursion + (#3539) + +jv_equal and jv_cmp overflows the C stack on deeply nested +input. Cap recursion at 10000 with -1 / INT_MIN sentinels; +operators that compose user expressions surface this as +"Equality check too deep" / "Comparison too deep". + +Fixes CVE-2026-47770. + +Signed-off-by: Anton Skorup <[email protected]> +Upstream-Status: Backport [https://github.com/jqlang/jq/commit/7122866869960b55cea3646bc91334ef55787831] +--- + src/builtin.c | 36 +++++++++++++++-- + src/jv.c | 46 +++++++++++++++++----- + src/jv_aux.c | 105 ++++++++++++++++++++++++++++++++++++++++++-------- + tests/jq.test | 40 +++++++++++++++++++ + 4 files changed, 198 insertions(+), 29 deletions(-) + +diff --git a/src/builtin.c b/src/builtin.c +index ac56f9f..ac25f90 100644 +--- a/src/builtin.c ++++ b/src/builtin.c +@@ -295,7 +295,15 @@ jv binop_minus(jv a, jv b) { + jv_array_foreach(a, i, x) { + int include = 1; + jv_array_foreach(b, j, y) { +- if (jv_equal(jv_copy(x), y)) { ++ int equal = jv_equal(jv_copy(x), y); ++ if (equal < 0) { ++ jv_free(out); ++ jv_free(x); ++ jv_free(a); ++ jv_free(b); ++ return jv_invalid_with_msg(jv_string("Equality check too deep")); ++ } ++ if (equal) { + include = 0; + break; + } +@@ -379,11 +387,17 @@ jv binop_mod(jv a, jv b) { + #undef dtoi + + jv binop_equal(jv a, jv b) { +- return jv_bool(jv_equal(a, b)); ++ int r = jv_equal(a, b); ++ if (r < 0) ++ return jv_invalid_with_msg(jv_string("Equality check too deep")); ++ return jv_bool(r); + } + + jv binop_notequal(jv a, jv b) { +- return jv_bool(!jv_equal(a, b)); ++ int r = jv_equal(a, b); ++ if (r < 0) ++ return jv_invalid_with_msg(jv_string("Equality check too deep")); ++ return jv_bool(!r); + } + + enum cmp_op { +@@ -395,6 +409,8 @@ enum cmp_op { + + static jv order_cmp(jv a, jv b, enum cmp_op op) { + int r = jv_cmp(a, b); ++ if (r == INT_MIN) ++ return jv_invalid_with_msg(jv_string("Comparison too deep")); + return jv_bool((op == CMP_OP_LESS && r < 0) || + (op == CMP_OP_LESSEQ && r <= 0) || + (op == CMP_OP_GREATEREQ && r >= 0) || +@@ -845,6 +861,12 @@ static jv f_bsearch(jq_state *jq, jv input, jv target) { + while (start < end) { + int mid = start + (end - start) / 2; + int result = jv_cmp(jv_copy(target), jv_array_get(jv_copy(input), mid)); ++ if (result == INT_MIN) { ++ jv_free(answer); ++ jv_free(input); ++ jv_free(target); ++ return jv_invalid_with_msg(jv_string("Comparison too deep")); ++ } + if (result == 0) { + answer = jv_number(mid); + break; +@@ -1136,6 +1158,14 @@ static jv minmax_by(jv values, jv keys, int is_min) { + for (int i=1; i<jv_array_length(jv_copy(values)); i++) { + jv item = jv_array_get(jv_copy(keys), i); + int cmp = jv_cmp(jv_copy(item), jv_copy(retkey)); ++ if (cmp == INT_MIN) { ++ jv_free(item); ++ jv_free(values); ++ jv_free(keys); ++ jv_free(retkey); ++ jv_free(ret); ++ return jv_invalid_with_msg(jv_string("Comparison too deep")); ++ } + if ((cmp < 0) == (is_min == 1)) { + jv_free(retkey); + retkey = item; +diff --git a/src/jv.c b/src/jv.c +index f701b46..e079d08 100644 +--- a/src/jv.c ++++ b/src/jv.c +@@ -912,16 +912,20 @@ static jv* jvp_array_write(jv* a, int i) { + } + } + +-static int jvp_array_equal(jv a, jv b) { ++static int jvp_equal(jv a, jv b, int depth); ++ ++static int jvp_array_equal(jv a, jv b, int depth) { + if (jvp_array_length(a) != jvp_array_length(b)) + return 0; + if (jvp_array_ptr(a) == jvp_array_ptr(b) && + jvp_array_offset(a) == jvp_array_offset(b)) + return 1; + for (int i=0; i<jvp_array_length(a); i++) { +- if (!jv_equal(jv_copy(*jvp_array_read(a, i)), +- jv_copy(*jvp_array_read(b, i)))) +- return 0; ++ int r = jvp_equal(jv_copy(*jvp_array_read(a, i)), ++ jv_copy(*jvp_array_read(b, i)), ++ depth); ++ if (r <= 0) ++ return r; + } + return 1; + } +@@ -1071,7 +1075,14 @@ jv jv_array_indexes(jv a, jv b) { + int alen = jv_array_length(jv_copy(a)); + for (int ai = 0; ai < alen; ++ai) { + jv_array_foreach(b, bi, belem) { +- if (!jv_equal(jv_array_get(jv_copy(a), ai + bi), belem)) ++ int equal = jv_equal(jv_array_get(jv_copy(a), ai + bi), belem); ++ if (equal < 0) { ++ jv_free(res); ++ jv_free(a); ++ jv_free(b); ++ return jv_invalid_with_msg(jv_string("Equality check too deep")); ++ } ++ if (!equal) + idx = -1; + else if (bi == 0 && idx == -1) + idx = ai; +@@ -1828,7 +1839,7 @@ static int jvp_object_length(jv object) { + return n; + } + +-static int jvp_object_equal(jv o1, jv o2) { ++static int jvp_object_equal(jv o1, jv o2, int depth) { + int len2 = jvp_object_length(o2); + int len1 = 0; + for (int i=0; i<jvp_object_size(o1); i++) { +@@ -1837,7 +1848,8 @@ static int jvp_object_equal(jv o1, jv o2) { + jv* slot2 = jvp_object_read(o2, slot->string); + if (!slot2) return 0; + // FIXME: do less refcounting here +- if (!jv_equal(jv_copy(slot->value), jv_copy(*slot2))) return 0; ++ int r = jvp_equal(jv_copy(slot->value), jv_copy(*slot2), depth); ++ if (r <= 0) return r; + len1++; + } + return len1 == len2; +@@ -2032,7 +2044,16 @@ int jv_get_refcnt(jv j) { + * Higher-level operations + */ + +-int jv_equal(jv a, jv b) { ++#ifndef MAX_EQUAL_DEPTH ++#define MAX_EQUAL_DEPTH (10000) ++#endif ++ ++static int jvp_equal(jv a, jv b, int depth) { ++ if (depth > MAX_EQUAL_DEPTH) { ++ jv_free(a); ++ jv_free(b); ++ return -1; ++ } + int r; + if (jv_get_kind(a) != jv_get_kind(b)) { + r = 0; +@@ -2048,13 +2069,13 @@ int jv_equal(jv a, jv b) { + r = jvp_number_equal(a, b); + break; + case JV_KIND_ARRAY: +- r = jvp_array_equal(a, b); ++ r = jvp_array_equal(a, b, depth + 1); + break; + case JV_KIND_STRING: + r = jvp_string_equal(a, b); + break; + case JV_KIND_OBJECT: +- r = jvp_object_equal(a, b); ++ r = jvp_object_equal(a, b, depth + 1); + break; + default: + r = 1; +@@ -2066,6 +2087,11 @@ int jv_equal(jv a, jv b) { + return r; + } + ++// Returns 1 if equal, 0 if not equal, or -1 if the comparison is too deep ++int jv_equal(jv a, jv b) { ++ return jvp_equal(a, b, 0); ++} ++ + int jv_identical(jv a, jv b) { + int r; + if (a.kind_flags != b.kind_flags +diff --git a/src/jv_aux.c b/src/jv_aux.c +index 594a21f..a39f1f1 100644 +--- a/src/jv_aux.c ++++ b/src/jv_aux.c +@@ -16,6 +16,24 @@ static double jv_number_get_value_and_consume(jv number) { + return value; + } + ++#ifndef MAX_CMP_DEPTH ++#define MAX_CMP_DEPTH (10000) ++#endif ++ ++struct sort_cmp_state { ++ int too_deep; ++}; ++ ++#ifdef _MSC_VER ++static __declspec(thread) struct sort_cmp_state sort_cmp_state; ++#else ++#ifdef HAVE___THREAD ++static __thread struct sort_cmp_state sort_cmp_state; ++#else ++static struct sort_cmp_state sort_cmp_state; ++#endif ++#endif ++ + static jv parse_slice(jv j, jv slice, int* pstart, int* pend) { + // Array slices + jv start_jv = jv_object_get(jv_copy(slice), jv_string("start")); +@@ -471,8 +489,7 @@ static jv delpaths_sorted(jv object, jv paths, int start) { + int delkey = jv_array_length(jv_array_get(jv_copy(paths), i)) == start + 1; + jv key = jv_array_get(jv_array_get(jv_copy(paths), i), start); + while (j < jv_array_length(jv_copy(paths)) && +- jv_equal(jv_copy(key), jv_array_get(jv_array_get(jv_copy(paths), j), start))) +- j++; ++ jv_equal(jv_copy(key), jv_array_get(jv_array_get(jv_copy(paths), j), start)) == 1); + // if i <= entry < j, then entry starts with key + if (delkey) { + // deleting this entire key, we don't care about any more specific deletions +@@ -606,7 +623,13 @@ jv jv_keys(jv x) { + } + } + +-int jv_cmp(jv a, jv b) { ++static int jvp_cmp(jv a, jv b, int depth) { ++ if (depth > MAX_CMP_DEPTH) { ++ jv_free(a); ++ jv_free(b); ++ return INT_MIN; ++ } ++ + if (jv_get_kind(a) != jv_get_kind(b)) { + int r = (int)jv_get_kind(a) - (int)jv_get_kind(b); + jv_free(a); +@@ -621,14 +644,13 @@ int jv_cmp(jv a, jv b) { + case JV_KIND_FALSE: + case JV_KIND_TRUE: + // there's only one of each of these values +- r = 0; + break; + + case JV_KIND_NUMBER: { + if (jvp_number_is_nan(a)) { +- r = jv_cmp(jv_null(), jv_copy(b)); ++ r = jvp_cmp(jv_null(), jv_copy(b), depth); + } else if (jvp_number_is_nan(b)) { +- r = jv_cmp(jv_copy(a), jv_null()); ++ r = jvp_cmp(jv_copy(a), jv_null(), depth); + } else { + r = jvp_number_cmp(a, b); + } +@@ -652,7 +674,9 @@ int jv_cmp(jv a, jv b) { + } + jv xa = jv_array_get(jv_copy(a), i); + jv xb = jv_array_get(jv_copy(b), i); +- r = jv_cmp(xa, xb); ++ r = jvp_cmp(xa, xb, depth + 1); ++ if (r == INT_MIN) ++ break; + i++; + } + break; +@@ -661,13 +685,14 @@ int jv_cmp(jv a, jv b) { + case JV_KIND_OBJECT: { + jv keys_a = jv_keys(jv_copy(a)); + jv keys_b = jv_keys(jv_copy(b)); +- r = jv_cmp(jv_copy(keys_a), keys_b); ++ r = jvp_cmp(jv_copy(keys_a), keys_b, depth + 1); + if (r == 0) { + jv_array_foreach(keys_a, i, key) { + jv xa = jv_object_get(jv_copy(a), jv_copy(key)); + jv xb = jv_object_get(jv_copy(b), key); +- r = jv_cmp(xa, xb); +- if (r) break; ++ r = jvp_cmp(xa, xb, depth + 1); ++ if (r != 0) ++ break; + } + } + jv_free(keys_a); +@@ -680,6 +705,11 @@ int jv_cmp(jv a, jv b) { + return r; + } + ++// Returns <0, 0, >0 if a is less than, equal to, or greater than b, or ++// INT_MIN if the comparison is too deep ++int jv_cmp(jv a, jv b) { ++ return jvp_cmp(a, b, 0); ++} + + struct sort_entry { + jv object; +@@ -687,19 +717,32 @@ struct sort_entry { + int index; + }; + ++static void sort_entry_array_free(struct sort_entry* entries, int start, int n) { ++ for (int i = start; i < n; i++) { ++ jv_free(entries[i].key); ++ jv_free(entries[i].object); ++ } ++ jv_mem_free(entries); ++} ++ + static int sort_cmp(const void* pa, const void* pb) { + const struct sort_entry* a = pa; + const struct sort_entry* b = pb; + int r = jv_cmp(jv_copy(a->key), jv_copy(b->key)); ++ if (r == INT_MIN) { ++ sort_cmp_state.too_deep = 1; ++ return 0; ++ } + // comparing by index if r == 0 makes the sort stable + return r ? r : (a->index - b->index); + } + +-static struct sort_entry* sort_items(jv objects, jv keys) { ++static struct sort_entry* sort_items(jv objects, jv keys, int *too_deep) { + assert(jv_get_kind(objects) == JV_KIND_ARRAY); + assert(jv_get_kind(keys) == JV_KIND_ARRAY); + assert(jv_array_length(jv_copy(objects)) == jv_array_length(jv_copy(keys))); + int n = jv_array_length(jv_copy(objects)); ++ *too_deep = 0; + if (n == 0) { + jv_free(objects); + jv_free(keys); +@@ -713,7 +756,13 @@ static struct sort_entry* sort_items(jv objects, jv keys) { + } + jv_free(objects); + jv_free(keys); ++ sort_cmp_state.too_deep = 0; + qsort(entries, n, sizeof(struct sort_entry), sort_cmp); ++ if (sort_cmp_state.too_deep) { ++ sort_entry_array_free(entries, 0, n); ++ *too_deep = 1; ++ return NULL; ++ } + return entries; + } + +@@ -722,7 +771,10 @@ jv jv_sort(jv objects, jv keys) { + assert(jv_get_kind(keys) == JV_KIND_ARRAY); + assert(jv_array_length(jv_copy(objects)) == jv_array_length(jv_copy(keys))); + int n = jv_array_length(jv_copy(objects)); +- struct sort_entry* entries = sort_items(objects, keys); ++ int too_deep = 0; ++ struct sort_entry* entries = sort_items(objects, keys, &too_deep); ++ if (too_deep) ++ return jv_invalid_with_msg(jv_string("Comparison too deep")); + jv ret = jv_array(); + for (int i=0; i<n; i++) { + jv_free(entries[i].key); +@@ -737,13 +789,24 @@ jv jv_group(jv objects, jv keys) { + assert(jv_get_kind(keys) == JV_KIND_ARRAY); + assert(jv_array_length(jv_copy(objects)) == jv_array_length(jv_copy(keys))); + int n = jv_array_length(jv_copy(objects)); +- struct sort_entry* entries = sort_items(objects, keys); ++ int too_deep = 0; ++ struct sort_entry* entries = sort_items(objects, keys, &too_deep); ++ if (too_deep) ++ return jv_invalid_with_msg(jv_string("Comparison too deep")); + jv ret = jv_array(); + if (n > 0) { + jv curr_key = entries[0].key; + jv group = jv_array_append(jv_array(), entries[0].object); + for (int i = 1; i < n; i++) { +- if (jv_equal(jv_copy(curr_key), jv_copy(entries[i].key))) { ++ int equal = jv_equal(jv_copy(curr_key), jv_copy(entries[i].key)); ++ if (equal < 0) { ++ jv_free(curr_key); ++ jv_free(group); ++ sort_entry_array_free(entries, i, n); ++ jv_free(ret); ++ return jv_invalid_with_msg(jv_string("Equality check too deep")); ++ } ++ if (equal) { + jv_free(entries[i].key); + } else { + jv_free(curr_key); +@@ -765,11 +828,21 @@ jv jv_unique(jv objects, jv keys) { + assert(jv_get_kind(keys) == JV_KIND_ARRAY); + assert(jv_array_length(jv_copy(objects)) == jv_array_length(jv_copy(keys))); + int n = jv_array_length(jv_copy(objects)); +- struct sort_entry* entries = sort_items(objects, keys); ++ int too_deep = 0; ++ struct sort_entry* entries = sort_items(objects, keys, &too_deep); ++ if (too_deep) ++ return jv_invalid_with_msg(jv_string("Comparison too deep")); + jv ret = jv_array(); + jv curr_key = jv_invalid(); + for (int i = 0; i < n; i++) { +- if (jv_equal(jv_copy(curr_key), jv_copy(entries[i].key))) { ++ int equal = jv_equal(jv_copy(curr_key), jv_copy(entries[i].key)); ++ if (equal < 0) { ++ jv_free(curr_key); ++ sort_entry_array_free(entries, i, n); ++ jv_free(ret); ++ return jv_invalid_with_msg(jv_string("Equality check too deep")); ++ } ++ if (equal) { + jv_free(entries[i].key); + jv_free(entries[i].object); + } else { +diff --git a/tests/jq.test b/tests/jq.test +index 5013bce..f35ef94 100644 +--- a/tests/jq.test ++++ b/tests/jq.test +@@ -2560,3 +2560,43 @@ null + try delpaths([[range(10001) | 0]]) catch . + null + "Path too deep" ++ ++# regression test for CVE-2026-40612 ++reduce range(10000) as $_ ([]; [.]) | contains([[]]) ++null ++true ++ ++try (reduce range(10001) as $_ ([]; [.]) as $x | $x | contains($x)) catch . ++null ++"Containment check too deep" ++ ++# regression test for CVE-2026-43896 ++reduce range(10000) as $_ ({}; {a: .}) as $x | $x * $x | length ++null ++1 ++ ++try (reduce range(10001) as $_ ({}; {a: .}) as $x | $x * $x) catch . ++null ++"Object merge too deep" ++ ++# regression test for deep structural equality recursion ++try ((reduce range(10001) as $_ ([]; [.])) as $x | (reduce range(10001) as $_ ([]; [.])) as $y | $x == $y) catch . ++null ++"Equality check too deep" ++ ++# regression tests for deep ordering comparisons ++try ((reduce range(10001) as $_ ([]; [.])) as $x | [$x, $x] | sort) catch . ++null ++"Comparison too deep" ++ ++try ((reduce range(10001) as $_ ([]; [.])) as $x | [$x, $x] | unique) catch . ++null ++"Comparison too deep" ++ ++try ((reduce range(10001) as $_ ({}; {a: .})) as $x | [$x, $x] | sort) catch . ++null ++"Comparison too deep" ++ ++try ((reduce range(10001) as $_ ({}; {a: .})) as $x | [$x, $x] | unique) catch . ++null ++"Comparison too deep" +-- +2.43.0 +
meta-oe/recipes-devtools/jq/jq_1.8.1.bb +1 -0
@@ -17,6 +17,7 @@ SRC_URI = "git://github.com/jqlang/jq.git;protocol=https;branch=master;tag=jq-${ file://CVE-2026-33947.patch \ file://CVE-2026-33948.patch \ file://CVE-2026-39979.patch \ + file://CVE-2026-47770.patch \ " inherit autotools ptest
PATCH 3/16 php: upgrade 8.5.5 -> 8.5.6
In reply to [email protected]From: Jason Schonberg <[email protected]>
This is a security release.
Changelog: https://www.php.net/ChangeLog-8.php#8.5.6
---
meta-oe/recipes-devtools/php/{php_8.5.5.bb => php_8.5.6.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-oe/recipes-devtools/php/{php_8.5.5.bb => php_8.5.6.bb} (99%)meta-oe/recipes-devtools/php/php_8.5.6.bb renamed from meta-oe/recipes-devtools/php/php_8.5.5.bb +1 -1
@@ -32,7 +32,7 @@ UPSTREAM_CHECK_REGEX = "releases/tag/php-(?P<pver>\d+(\.\d+)+)" S = "${UNPACKDIR}/php-${PV}" -SRC_URI[sha256sum] = "ee262beff61c431965d1f97192854b36208adeac38983c3498bb3500ae87283c" +SRC_URI[sha256sum] = "4457240f65f0c59a620920d66cdab1b12100a431e03ad9febe38b13a1b25957f" CVE_STATUS_GROUPS += "CVE_STATUS_PHP" CVE_STATUS_PHP[status] = "fixed-version: The name of this product is exactly the same as github.com/emlog/emlog. CVE can be safely ignored."
PATCH 4/16 php: Correct the license to PHP-3.01
In reply to [email protected]From: Peter Kjellerstedt <[email protected]>
The license used by PHP is actually PHP-3.01, not PHP-3.0.
--- meta-oe/recipes-devtools/php/php_8.5.6.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-devtools/php/php_8.5.6.bb +1 -1
@@ -2,7 +2,7 @@ SUMMARY = "A server-side, HTML-embedded scripting language" HOMEPAGE = "https://www.php.net" SECTION = "console/network" -LICENSE = "PHP-3.0" +LICENSE = "PHP-3.01" LIC_FILES_CHKSUM = "file://LICENSE;md5=fd469cce1a919f0cc95bab7afb28d19d" BBCLASSEXTEND = "native"
PATCH 5/16 php: upgrade 8.5.6 -> 8.5.7
In reply to [email protected]From: Jason Schonberg <[email protected]>
This is a bug fix release.
Changelog: https://www.php.net/ChangeLog-8.php#8.5.7
---
meta-oe/recipes-devtools/php/{php_8.5.6.bb => php_8.5.7.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-oe/recipes-devtools/php/{php_8.5.6.bb => php_8.5.7.bb} (99%)meta-oe/recipes-devtools/php/php_8.5.7.bb renamed from meta-oe/recipes-devtools/php/php_8.5.6.bb +1 -1
@@ -32,7 +32,7 @@ UPSTREAM_CHECK_REGEX = "releases/tag/php-(?P<pver>\d+(\.\d+)+)" S = "${UNPACKDIR}/php-${PV}" -SRC_URI[sha256sum] = "4457240f65f0c59a620920d66cdab1b12100a431e03ad9febe38b13a1b25957f" +SRC_URI[sha256sum] = "4ef9355f784d4b320151eb3f31c5941c0da297025eedb97f2838b2ce73dd59bf" CVE_STATUS_GROUPS += "CVE_STATUS_PHP" CVE_STATUS_PHP[status] = "fixed-version: The name of this product is exactly the same as github.com/emlog/emlog. CVE can be safely ignored."
PATCH 6/16 imagemagick: upgrade 7.1.2-23 -> 7.1.2-24
In reply to [email protected]From: Wang Mingyu <[email protected]>
---
.../{imagemagick_7.1.2-23.bb => imagemagick_7.1.2-24.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-oe/recipes-support/imagemagick/{imagemagick_7.1.2-23.bb => imagemagick_7.1.2-24.bb} (99%)meta-oe/recipes-support/imagemagick/imagemagick_7.1.2-24.bb renamed from meta-oe/recipes-support/imagemagick/imagemagick_7.1.2-23.bb +1 -1
@@ -17,7 +17,7 @@ SRC_URI = "git://github.com/ImageMagick/ImageMagick.git;branch=main;protocol=htt file://imagemagick-ptest.sh \ " -SRCREV = "6a10c829fb645e0de1408030e6e0f67e820b0c98" +SRCREV = "271b6bc4cbbd3e52e6768c5daeac9e9ed7a139f8" inherit autotools pkgconfig update-alternatives ptest export ac_cv_sys_file_offset_bits = "64"
PATCH 7/16 ttf-dejavu: Use "Bitstream-Vera" instead of "BitstreamVera" as license
In reply to [email protected]From: Peter Kjellerstedt <[email protected]>
"Bitstream-Vera" is the official SPDX license identifier for the license.
--- meta-oe/recipes-graphics/ttf-fonts/ttf-dejavu_2.37.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-graphics/ttf-fonts/ttf-dejavu_2.37.bb +1 -1
@@ -2,7 +2,7 @@ require ttf.inc SUMMARY = "DejaVu font - TTF Edition" HOMEPAGE = "http://dejavu.sourceforge.net/wiki/" -LICENSE = "BitstreamVera" +LICENSE = "Bitstream-Vera" LIC_FILES_CHKSUM = "file://../LICENSE;md5=449b2c30bfe5fa897fe87b8b70b16cfa" # all subpackages except ${PN}-common itself rdepends on ${PN}-common
PATCH 8/16 libjs-jquery-cookie: patch CVE-2026-46625
In reply to [email protected]From: Ankur Tyagi <[email protected]>
Details: https://nvd.nist.gov/vuln/detail/CVE-2026-46625
--- .../libjs-jquery-cookie/CVE-2026-46625.patch | 63 +++++++++++++++++++ .../libjs/libjs-jquery-cookie_3.0.5.bb | 4 +- 2 files changed, 66 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-support/libjs/libjs-jquery-cookie/CVE-2026-46625.patch
meta-oe/recipes-support/libjs/libjs-jquery-cookie/CVE-2026-46625.patch new file +63 -0
@@ -0,0 +1,63 @@ +From 808905ea1bb4582bcfd681ba1bb8a1c1d1113b40 Mon Sep 17 00:00:00 2001 +From: Klaus Hartl <[email protected]> +Date: Fri, 15 May 2026 11:23:44 +0200 +Subject: [PATCH] Prevent cookie attribute injection + +Given that we are using a `for ... in` loop for assembling a cookie's +attributes required for writing/removing, we are vulnerable to prototype +pollution, where an attacker might attempt to add/overwrite certain +attributes and with that broadening access or wiping out a cookie +altogether. + +Such malicious attributes input could most likely come from an object +parsed from a JSON string; for example looking like +'{"__proto__":{"samesite":"None"}}'. + +Note that at the moment we're tied to using this kind of for-loop for +compatibility with IE 10 + 11. + +(cherry picked from commit eb3c40e89731e99b8970faaf35ddad249c6c0020) + +CVE: CVE-2026-46625 +Upstream-Status: Backport [https://github.com/js-cookie/js-cookie/commit/eb3c40e89731e99b8970faaf35ddad249c6c0020] +Signed-off-by: Ankur Tyagi <[email protected]> +--- + src/assign.mjs | 1 + + test/tests.js | 12 ++++++++++++ + 2 files changed, 13 insertions(+) + +diff --git a/src/assign.mjs b/src/assign.mjs +index 2934ff3..a0e55f1 100644 +--- a/src/assign.mjs ++++ b/src/assign.mjs +@@ -3,6 +3,7 @@ export default function (target) { + for (var i = 1; i < arguments.length; i++) { + var source = arguments[i] + for (var key in source) { ++ if (key === '__proto__') continue + target[key] = source[key] + } + } +diff --git a/test/tests.js b/test/tests.js +index da65d74..c3ab54e 100644 +--- a/test/tests.js ++++ b/test/tests.js +@@ -489,6 +489,18 @@ QUnit.test( + } + ) + ++QUnit.test( ++ 'sanitization of attributes to prevent prototype pollution from untrusted input', ++ function (assert) { ++ var untrusted = JSON.parse('{"__proto__":{"foo":"bar"}}') ++ assert.strictEqual( ++ Cookies.set('c', 'v', untrusted), ++ 'c=v; path=/', ++ 'should prevent attribute-injection via prototype pollution' ++ ) ++ } ++) ++ + QUnit.module('remove', lifecycle) + + QUnit.test('deletion', function (assert) {
meta-oe/recipes-support/libjs/libjs-jquery-cookie_3.0.5.bb +3 -1
@@ -3,7 +3,9 @@ HOMEPAGE = "https://github.com/js-cookie/js-cookie" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=e16cf0e247d84f8999bf55865a9c98cf" -SRC_URI = "git://github.com/js-cookie/js-cookie.git;protocol=https;branch=main" +SRC_URI = "git://github.com/js-cookie/js-cookie.git;protocol=https;branch=main \ + file://CVE-2026-46625.patch \ +" SRCREV = "ab3f67fc4fad88cdf07b258c08e4164e06bf7506"
PATCH 9/16 memcached: upgrade 1.6.41 -> 1.6.42
In reply to [email protected]From: Wang Mingyu <[email protected]>
Release Notes:
https://github.com/memcached/memcached/wiki/ReleaseNotes1642
---
.../memcached/{memcached_1.6.41.bb => memcached_1.6.42.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-networking/recipes-support/memcached/{memcached_1.6.41.bb => memcached_1.6.42.bb} (95%)meta-networking/recipes-support/memcached/memcached_1.6.42.bb renamed from meta-networking/recipes-support/memcached/memcached_1.6.41.bb +1 -1
@@ -20,7 +20,7 @@ RDEPENDS:${PN} += "perl perl-module-posix perl-module-autoloader \ " SRC_URI = "http://www.memcached.org/files/${BP}.tar.gz" -SRC_URI[sha256sum] = "e097073c156eeff9e12655b054f446d57374cfba5c132dcdbe7fac64e728286a" +SRC_URI[sha256sum] = "50f08b879d4f9d36dea9d905e9eaade15c708e38db7e9a73fc21dc8b45395de7" CVE_STATUS[CVE-2022-26635] = "disputed: this is a problem of applications using php-memcached inproperly"
PATCH 10/16 postfix: upgrade 3.10.9 -> 3.10.10
In reply to [email protected]From: Ankur Tyagi <[email protected]>
Dropped 0001-Fix-build-with-musl.patch which is part of upstream version.
Release Notes:
https://www.postfix.org/announcements/postfix-3.11.3.html
---
.../files/0001-Fix-build-with-musl.patch | 50 -------------------
.../{postfix_3.10.9.bb => postfix_3.10.10.bb} | 3 +-
2 files changed, 1 insertion(+), 52 deletions(-)
delete mode 100644 meta-networking/recipes-daemons/postfix/files/0001-Fix-build-with-musl.patch
rename meta-networking/recipes-daemons/postfix/{postfix_3.10.9.bb => postfix_3.10.10.bb} (98%)meta-networking/recipes-daemons/postfix/files/0001-Fix-build-with-musl.patch deleted +0 -50
@@ -1,50 +0,0 @@ -From cbe5ba0deeba6329eed63eade06bb8c062d0d445 Mon Sep 17 00:00:00 2001 -From: Yi Zhao <[email protected]> -Date: Fri, 8 May 2026 22:39:54 +0800 -Subject: [PATCH] Fix build with musl - -Guard glibc-specific version check with __GLIBC__ macro. When building -with musl, __GLIBC__ is not defined, so the preprocessor previously fell -through to the #else branch and defined NO_SNPRINTF, causing a build -error: - -vbuf_print.c: In function 'vbuf_print': -vbuf_print.c:208:46: error: macro 'VBUF_SNPRINTF' passed 5 arguments, but takes just 4 - 208 | VSTRING_ADDNUM(fmt, width); - | ^ -vbuf_print.c:126:9: note: macro 'VBUF_SNPRINTF' defined here - 126 | #define VBUF_SNPRINTF(bp, sz, fmt, arg) do { \ - | ^~~~~~~~~~~~~ - -Wrap the entire block in #ifdef __GLIBC__ so that neither branch -is entered on musl. - -Upstream-Status: Pending - -Signed-off-by: Yi Zhao <[email protected]> ---- - src/util/sys_defs.h | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/src/util/sys_defs.h b/src/util/sys_defs.h -index 74319f2..6d3c7d2 100644 ---- a/src/util/sys_defs.h -+++ b/src/util/sys_defs.h -@@ -794,12 +794,14 @@ extern int initgroups(const char *, int); - #define NATIVE_NEWALIAS_PATH "/usr/bin/newaliases" - #define NATIVE_COMMAND_DIR "/usr/sbin" - #define NATIVE_DAEMON_DIR "/usr/libexec/postfix" -+#ifdef __GLIBC__ - #if HAVE_GLIBC_API_VERSION_SUPPORT(2, 1) - #define SOCKADDR_SIZE socklen_t - #define SOCKOPT_SIZE socklen_t - #else - #define NO_SNPRINTF - #endif -+#endif - #ifndef NO_IPV6 - #define HAS_IPV6 - #if HAVE_GLIBC_API_VERSION_SUPPORT(2, 4) --- -2.34.1 -
meta-networking/recipes-daemons/postfix/postfix_3.10.10.bb renamed from meta-networking/recipes-daemons/postfix/postfix_3.10.9.bb +1 -2
@@ -27,10 +27,9 @@ SRC_URI = "http://ftp.porcupine.org/mirrors/postfix-release/official/postfix-${P file://0004-Fix-icu-config.patch \ file://0005-makedefs-add-lnsl-and-lresolv-to-SYSLIBS-by-default.patch \ file://0001-makedefs-Account-for-linux-7.x-version.patch \ - file://0001-Fix-build-with-musl.patch \ " -SRC_URI[sha256sum] = "d4b4daab0af2e0c16c0d2d5ac3c7680d5ebd2001ea054f7f2a601c759801bc13" +SRC_URI[sha256sum] = "3b7197e00a98f7fe4624cf51a00ad805674256eff624e678529ccfbf2c7707a4" UPSTREAM_CHECK_URI = "https://www.postfix.org/announcements.html" UPSTREAM_CHECK_REGEX = "postfix-(?P<pver>\d+(\.\d+)+)"
PATCH 11/16 gdm: upgrade 50.0 -> 50.1
In reply to [email protected]From: Wang Mingyu <[email protected]>
Changelog:
===========
* Fixed issue where GDM failed to properly terminate conflicting graphical sessions started outside of GDM (e.g. ThinLinc, TigerVNC). GDM now queries logind directly to find and terminate all conflicting sessions
* Fixed plymouth hanging indefinitely on headless systems or systems without monitors, which prevented the system from reaching graphical.target
* Fixed XDG_DATA_DIRS construction to prevent gnome-shell from failing to find its files when /usr/share had higher precedence than /usr/local/share
* Fixed bug where GDM would set XDG_SESSION_TYPE=wayland on X11 sessions
* Translation updates
---
meta-gnome/recipes-gnome/gdm/{gdm_50.0.bb => gdm_50.1.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-gnome/recipes-gnome/gdm/{gdm_50.0.bb => gdm_50.1.bb} (96%)meta-gnome/recipes-gnome/gdm/gdm_50.1.bb renamed from meta-gnome/recipes-gnome/gdm/gdm_50.0.bb +1 -1
@@ -21,7 +21,7 @@ GIR_MESON_OPTION = "" inherit gnomebase gsettings pkgconfig gobject-introspection gettext systemd useradd itstool gnome-help features_check -SRC_URI[archive.sha256sum] = "646f53d68f2d2d147146ffaeb85047ded8b813dcb1c104d8f0ec36ca609eb5bf" +SRC_URI[archive.sha256sum] = "770159373512192410f412b5d0c4678ec1573f1ae4b39c81fe75861fe8890174" PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" PACKAGECONFIG[plymouth] = "-Dplymouth=enabled,-Dplymouth=disabled,plymouth"
PATCH 12/16 pipewire: update 1.6.5 -> 1.6.6
In reply to [email protected]From: Markus Volk <[email protected]>
- ncurses is not a required dependency -> make it a PACKAGECONFIG
PipeWire 1.6.6 (2026-05-26)
This is a bugfix release that is API and ABI compatible with the previous 1.6.x releases.
Highlights
- Fix a bug in the server code that could leave snap clients without
sound. (#5270)
- Relax LADSPA path loading again, absolute paths are only blocked in unsafe cases.
- Fix a volume restore issue in filter-graph when using custom volume controls.
- Small fixes and improvements.
PipeWire
- Fix the meta permission check on metadata.
- Make sure we don't accept too many fds.
- Fix potential race with buffer allocation and Suspend. (#3547)
SPA
- Relax LADSPA path loading. Absolute paths are allowed when loading modules from a config file. They are now only blocked when loading the pulse ladspa modules and filter-chains in nodes because those can load ladspa plugins in other processes. (#5222)
- Fix a regression in the dither noise that was silent when no input
was available. (#5260)
- Fix volume initialization in filter-graph. (#5192)
Pulse-server
- Fix a bug in the server code that could leave snap clients without
sound. (#5270)
- Be more careful with the stream suspend messages and only send them when the stream is monitoring. (#5273)
- Fix monitor mode in pavucontrol.
Tools
- Fix midifile SysEx writing in pw-cat and ensure the header is written correctly on close.
- Make sure pw-cat does not try to convert Midi to UMP.
---
.../pipewire/{pipewire_1.6.5.bb => pipewire_1.6.6.bb} | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
rename meta-multimedia/recipes-multimedia/pipewire/{pipewire_1.6.5.bb => pipewire_1.6.6.bb} (99%)meta-multimedia/recipes-multimedia/pipewire/pipewire_1.6.6.bb renamed from meta-multimedia/recipes-multimedia/pipewire/pipewire_1.6.5.bb +5 -3
@@ -10,9 +10,9 @@ LIC_FILES_CHKSUM = " \ file://COPYING;md5=97be96ca4fab23e9657ffa590b931c1a \ " -DEPENDS = "dbus ncurses" +DEPENDS = "dbus" -SRCREV = "55848f4260a2d2302f9f6bd304d82616976ef9af" +SRCREV = "a1c1d9f9f128ec987f23a0140a1704b8f8781787" BRANCH = "${@oe.utils.trim_version('${PV}', 2)}" SRC_URI = "git://gitlab.freedesktop.org/pipewire/pipewire.git;branch=${BRANCH};protocol=https;tag=${PV}" SRC_URI += "file://0002-spa-plugins-alsa-acp-compat.h-p-is-already-const-do-.patch"
@@ -91,7 +91,8 @@ PACKAGECONFIG:class-target ??= " \ ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd systemd-system-service systemd-user-service', '', d)} \ ${@bb.utils.filter('DISTRO_FEATURES', 'alsa vulkan pulseaudio', d)} \ ${PIPEWIRE_SESSION_MANAGER} \ - ${FFMPEG_AVAILABLE} avahi flatpak gstreamer gsettings jack libusb pw-cat raop sndfile v4l2 udev volume webrtc-echo-cancelling libcamera readline \ + ${FFMPEG_AVAILABLE} avahi flatpak gstreamer gsettings jack libusb pw-cat raop sndfile v4l2 udev volume webrtc-echo-cancelling \ + libcamera readline ncurses \ " # "jack" and "pipewire-jack" packageconfigs cannot be both enabled,
@@ -121,6 +122,7 @@ PACKAGECONFIG[libcamera] = "-Dlibcamera=enabled,-Dlibcamera=disabled,libcamera l PACKAGECONFIG[libcanberra] = "-Dlibcanberra=enabled,-Dlibcanberra=disabled,libcanberra" PACKAGECONFIG[libusb] = "-Dlibusb=enabled,-Dlibusb=disabled,libusb" PACKAGECONFIG[media-session] = ",,,pipewire-media-session,,wireplumber" +PACKAGECONFIG[ncurses] = ",,ncurses" PACKAGECONFIG[pulseaudio] = "-Dlibpulse=enabled,-Dlibpulse=disabled,pulseaudio,,${MLPREFIX}pipewire-pulse" PACKAGECONFIG[pipewire-alsa] = "-Dpipewire-alsa=enabled,-Dpipewire-alsa=disabled,alsa-lib" PACKAGECONFIG[pipewire-jack] = "-Dpipewire-jack=enabled -Dlibjack-path=${libdir}/${PW_MODULE_SUBDIR}/jack,-Dpipewire-jack=disabled,jack,,${MLPREFIX}pipewire-jack,jack"
PATCH 13/16 python3-vector: upgrade 1.8.0 -> 1.8.1
In reply to [email protected]From: Wang Mingyu <[email protected]>
Changelog:
==========
- fix: get rid of cupy<14 quick fix
- fix: _wrap_results skips momentum equivalents
- ci: bump setup-uv to maintained tag scheme
- ci: enable numba testing in 3.14t
---
.../python/{python3-vector_1.8.0.bb => python3-vector_1.8.1.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-python/recipes-devtools/python/{python3-vector_1.8.0.bb => python3-vector_1.8.1.bb} (88%)meta-python/recipes-devtools/python/python3-vector_1.8.1.bb renamed from meta-python/recipes-devtools/python/python3-vector_1.8.0.bb +1 -1
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b9f683a957276148387db50971a7b3ef" DEPENDS += "python3-hatch-vcs-native" -SRC_URI[sha256sum] = "58f95e9e24463851ca34176a20df2fd2e80b41d78615e5b1f7ae4bf313424ca6" +SRC_URI[sha256sum] = "1b7658a4fbc7b593342506a1b84eff3459745b09c98c3be83ed58df31fd29b43" inherit pypi python_hatchling
PATCH 14/16 python3-soupsieve: upgrade 2.8.3 -> 2.8.4
In reply to [email protected]From: Wang Mingyu <[email protected]>
Changelog:
=============
- FIX: Fix another inefficient attribute pattern
- FIX: Limit total number of selectors processed in a pattern to prevent massive selector requests
---
.../{python3-soupsieve_2.8.3.bb => python3-soupsieve_2.8.4.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-python/recipes-devtools/python/{python3-soupsieve_2.8.3.bb => python3-soupsieve_2.8.4.bb} (85%)meta-python/recipes-devtools/python/python3-soupsieve_2.8.4.bb renamed from meta-python/recipes-devtools/python/python3-soupsieve_2.8.3.bb +1 -1
@@ -4,7 +4,7 @@ HOMEPAGE = "https://github.com/facelessuser/soupsieve" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.md;md5=74851a2f1e5c07496dcb452af6a6bf54" -SRC_URI[sha256sum] = "3267f1eeea4251fb42728b6dfb746edc9acaffc4a45b27e19450b676586e8349" +SRC_URI[sha256sum] = "e121fd02e975c695e4e9e8774a5ee35d74714b59307868dcc5319ad2d9e3328e" inherit pypi python_hatchling ptest-python-pytest
PATCH 15/16 python3-django: upgrade 5.2.14 -> 5.2.15
In reply to [email protected]From: Ankur Tyagi <[email protected]>
https://docs.djangoproject.com/en/dev/releases/5.2.15/
---
.../{python3-django_5.2.14.bb => python3-django_5.2.15.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-python/recipes-devtools/python/{python3-django_5.2.14.bb => python3-django_5.2.15.bb} (61%)meta-python/recipes-devtools/python/python3-django_5.2.15.bb renamed from meta-python/recipes-devtools/python/python3-django_5.2.14.bb +1 -1
@@ -2,4 +2,4 @@ require python3-django.inc inherit python_setuptools_build_meta SRC_URI += "file://0001-fix-test_msgfmt_error_including_non_ascii-test.patch" -SRC_URI[sha256sum] = "58a63ba841662e5c686b57ba1fec52ddd68c0b93bd96ac3029d55728f00bf8a2" +SRC_URI[sha256sum] = "5154a9bf84ac01dde011e367f355c07dbb329532e06810dcf3ef2af269e236e7"
PATCH 16/16 python3-django: upgrade 6.0.5 -> 6.0.6
In reply to [email protected]From: Ankur Tyagi <[email protected]>
https://docs.djangoproject.com/en/dev/releases/6.0.6/
---
.../python/{python3-django_6.0.5.bb => python3-django_6.0.6.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-python/recipes-devtools/python/{python3-django_6.0.5.bb => python3-django_6.0.6.bb} (75%)meta-python/recipes-devtools/python/python3-django_6.0.6.bb renamed from meta-python/recipes-devtools/python/python3-django_6.0.5.bb +1 -1
@@ -1,7 +1,7 @@ require python3-django.inc inherit python_setuptools_build_meta -SRC_URI[sha256sum] = "bc6d6872e98a2864c836e42edd644b362db311147dd5aa8d5b82ba7a032f5269" +SRC_URI[sha256sum] = "ad03916ba59523d781ae5c3f631960c23d69a9d9c43cecda52fc23b47e953713" # Set DEFAULT_PREFERENCE so that the LTS version of django is built by # default. To build the 6.x branch,