* [OE-core][scarthgap 01/37] bison: fix CVE-2026-56390
2026-11-27 17:48 [OE-core][scarthgap 00/37] Patch review Yoann Congal
@ 2026-11-27 17:48 ` Yoann Congal
2026-11-27 17:48 ` [OE-core][scarthgap 02/37] boost: patch CVE-2023-34399 Yoann Congal
` (35 subsequent siblings)
36 siblings, 0 replies; 40+ messages in thread
From: Yoann Congal @ 2026-11-27 17:48 UTC (permalink / raw)
To: openembedded-core
From: Yogita Urade <yurade@cisco.com>
This patch applies the upstream fix as referenced in [2],
using the commit shown in [1].
[1] https://cgit.git.savannah.gnu.org/cgit/bison.git/commit/?id=8d101c19d4d9aaedf83a448c925513742d4efcf0
[2] https://nvd.nist.gov/vuln/detail/CVE-2026-56390
Signed-off-by: Yogita Urade <yurade@cisco.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit eefec9cde464081f5943f4ad5c3cb688a87eff1f)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
.../bison/bison/CVE-2026-56390.patch | 230 ++++++++++++++++++
meta/recipes-devtools/bison/bison_3.8.2.bb | 1 +
2 files changed, 231 insertions(+)
create mode 100644 meta/recipes-devtools/bison/bison/CVE-2026-56390.patch
diff --git a/meta/recipes-devtools/bison/bison/CVE-2026-56390.patch b/meta/recipes-devtools/bison/bison/CVE-2026-56390.patch
new file mode 100644
index 00000000000..f0c895c5d48
--- /dev/null
+++ b/meta/recipes-devtools/bison/bison/CVE-2026-56390.patch
@@ -0,0 +1,230 @@
+From 7172ade933921ccaac7403750c90756b0db8ada4 Mon Sep 17 00:00:00 2001
+From: Paul Eggert <eggert@cs.ucla.edu>
+Date: Thu, 23 Apr 2026 12:41:25 -0700
+Subject: [PATCH] bison: tighten up output file names
+
+Problem reported by Michał Majchrowicz.
+* src/parse-gram.y: Do not allow '/' in %header and %output directives.
+
+CVE: CVE-2026-56390
+Upstream-Status: Backport [https://cgit.git.savannah.gnu.org/cgit/bison.git/commit/?id=8d101c19d4d9aaedf83a448c925513742d4efcf0]
+
+Backport Changes:
+- Adapted generated src/parse-gram.c to the Bison 3.8.2 source tree.
+- omitted upstream generator-version/copyright metadata and
+ src/parse-gram.h-only metadata while retaining the
+ security-relevant parser changes.
+
+(cherry picked from commit 8d101c19d4d9aaedf83a448c925513742d4efcf0)
+Signed-off-by: Yogita Urade <yurade@cisco.com>
+---
+ THANKS | 1 +
+ doc/bison.texi | 2 ++
+ src/parse-gram.c | 56 ++++++++++++++++++++++++++++++++----------------
+ src/parse-gram.y | 31 ++++++++++++++++++++++-----
+ 4 files changed, 67 insertions(+), 23 deletions(-)
+
+diff --git a/THANKS b/THANKS
+index be743a23..0e481561 100644
+--- a/THANKS
++++ b/THANKS
+@@ -128,6 +128,7 @@ Michael Catanzaro mcatanzaro@gnome.org
+ Michael Felt mamfelt@gmail.com
+ Michael Hayes m.hayes@elec.canterbury.ac.nz
+ Michael Raskin 7c6f434c@mail.ru
++Michał Majchrowicz mmajchrowicz@afine.com
+ Michel d'Hooge michel.dhooge@gmail.com
+ Michiel De Wilde mdewilde.agilent@gmail.com
+ Mickael Labau labau_m@epita.fr
+diff --git a/doc/bison.texi b/doc/bison.texi
+index a559649c..44a4e159 100644
+--- a/doc/bison.texi
++++ b/doc/bison.texi
+@@ -5973,6 +5973,7 @@ Introduced in Bison 3.8.
+
+ @deffn {Directive} %header @var{header-file}
+ Same as above, but save in the file @file{@var{header-file}}.
++The @var{header-file} name should not contain slashes.
+ @end deffn
+
+ @deffn {Directive} %language "@var{language}"
+@@ -6026,6 +6027,7 @@ file, treating it as an independent source file in its own right.
+
+ @deffn {Directive} %output "@var{file}"
+ Generate the parser implementation in @file{@var{file}}.
++The @var{file} name should not contain slashes.
+ @end deffn
+
+ @deffn {Directive} %pure-parser
+diff --git a/src/parse-gram.y b/src/parse-gram.y
+index 15180cb5..114c5c44 100644
+--- a/src/parse-gram.y
++++ b/src/parse-gram.y
+@@ -95,8 +95,11 @@
+ string from the scanner (should be CODE). */
+ static char const *translate_code_braceless (char *code, location loc);
+
++ /* Is FILE a valid output file name? */
++ static bool valid_output_file_name (char const *file);
++
+ /* Handle a %header directive. */
+- static void handle_header (char const *value);
++ static void handle_header (location const *loc, char const *value);
+
+ /* Handle a %error-verbose directive. */
+ static void handle_error_verbose (location const *loc, char const *directive);
+@@ -337,7 +340,7 @@ prologue_declaration:
+ muscle_percent_define_insert ($2, @$, $3.kind, $3.chars,
+ MUSCLE_PERCENT_DEFINE_GRAMMAR_FILE);
+ }
+-| "%header" string.opt { handle_header ($2); }
++| "%header" string.opt { handle_header (&@2, $2); }
+ | "%error-verbose" { handle_error_verbose (&@$, $1); }
+ | "%expect" INT_LITERAL { expected_sr_conflicts = $2; }
+ | "%expect-rr" INT_LITERAL { expected_rr_conflicts = $2; }
+@@ -356,7 +359,15 @@ prologue_declaration:
+ | "%name-prefix" STRING { handle_name_prefix (&@$, $1, $2); }
+ | "%no-lines" { no_lines_flag = true; }
+ | "%nondeterministic-parser" { nondeterministic_parser = true; }
+-| "%output" STRING { spec_outfile = unquote ($2); gram_scanner_last_string_free (); }
++| "%output" STRING
++ {
++ char *file = unquote ($2);
++ if (valid_output_file_name (file))
++ spec_outfile = file;
++ else
++ complain (&@2, complaint, _("invalid %%output file name ignored"));
++ gram_scanner_last_string_free ();
++ }
+ | "%param" { current_param = $1; } params { current_param = param_none; }
+ | "%pure-parser" { handle_pure_parser (&@$, $1); }
+ | "%require" STRING { handle_require (&@2, $2); }
+@@ -952,14 +963,24 @@ add_param (param_type type, char *decl, location loc)
+ }
+
+
++static bool
++valid_output_file_name (char const *file)
++{
++ return !strchr (file, '/');
++}
++
++
+ static void
+-handle_header (char const *value)
++handle_header (location const *loc, char const *value)
+ {
+ header_flag = true;
+ if (value)
+ {
+ char *file = unquote (value);
+- spec_header_file = xstrdup (file);
++ if (valid_output_file_name (file))
++ spec_header_file = xstrdup (file);
++ else
++ complain (loc, complaint, _("invalid %%header file name ignored"));
+ gram_scanner_last_string_free ();
+ unquote_free (file);
+ }
+diff --git a/src/parse-gram.c b/src/parse-gram.c
+index 3c1d8229..a62f2d6c 100644
+--- a/src/parse-gram.c
++++ b/src/parse-gram.c
+@@ -276,8 +276,11 @@ typedef enum yysymbol_kind_t yysymbol_kind_t;
+ string from the scanner (should be CODE). */
+ static char const *translate_code_braceless (char *code, location loc);
+
++ /* Is FILE a valid output file name? */
++ static bool valid_output_file_name (char const *file);
++
+ /* Handle a %header directive. */
+- static void handle_header (char const *value);
++ static void handle_header (location const *loc, char const *value);
+
+ /* Handle a %error-verbose directive. */
+ static void handle_error_verbose (location const *loc, char const *directive);
+@@ -663,19 +666,19 @@ union yyalloc
+ /* YYRLINE[YYN] -- Source line where rule number YYN was defined. */
+ static const yytype_int16 yyrline[] =
+ {
+- 0, 310, 310, 319, 320, 324, 325, 331, 335, 340,
+- 341, 342, 343, 344, 345, 350, 355, 356, 357, 358,
+- 359, 360, 360, 361, 362, 363, 364, 365, 366, 367,
+- 368, 372, 373, 382, 383, 387, 398, 402, 406, 414,
+- 424, 425, 435, 436, 442, 455, 455, 460, 460, 465,
+- 465, 470, 480, 481, 482, 483, 488, 489, 493, 494,
+- 499, 500, 504, 505, 509, 510, 511, 524, 533, 537,
+- 541, 549, 550, 554, 567, 568, 573, 574, 575, 593,
+- 597, 601, 609, 611, 616, 623, 633, 637, 641, 649,
+- 655, 668, 669, 675, 676, 677, 684, 684, 692, 693,
+- 694, 699, 702, 704, 706, 708, 710, 712, 714, 716,
+- 718, 723, 724, 733, 757, 758, 759, 760, 772, 774,
+- 798, 803, 804, 809, 817, 818
++ 0, 314, 314, 323, 324, 328, 329, 335, 339, 344,
++ 345, 346, 347, 348, 349, 354, 359, 360, 361, 362,
++ 363, 372, 372, 373, 374, 375, 376, 377, 378, 379,
++ 380, 384, 385, 394, 395, 399, 410, 414, 418, 426,
++ 436, 437, 447, 448, 454, 467, 467, 472, 472, 477,
++ 477, 482, 492, 493, 494, 495, 500, 501, 505, 506,
++ 511, 512, 516, 517, 521, 522, 523, 536, 545, 549,
++ 553, 561, 562, 566, 579, 580, 585, 586, 587, 605,
++ 609, 613, 621, 623, 628, 635, 645, 649, 653, 661,
++ 667, 680, 681, 687, 688, 689, 696, 696, 704, 705,
++ 706, 711, 714, 716, 718, 720, 722, 724, 726, 728,
++ 730, 735, 736, 745, 769, 770, 771, 772, 784, 786,
++ 810, 815, 816, 821, 829, 830
+ };
+ #endif
+
+@@ -2217,7 +2220,7 @@ yyreduce:
+
+ case 9: /* prologue_declaration: "%header" string.opt */
+ #line 340 "src/parse-gram.y"
+- { handle_header ((yyvsp[0].yykind_75)); }
++ { handle_header (&(yylsp[0]), (yyvsp[0].yykind_75)); }
+ #line 2222 "src/parse-gram.c"
+ break;
+
+@@ -2289,7 +2292,14 @@ yyreduce:
+
+ case 20: /* prologue_declaration: "%output" "string" */
+ #line 359 "src/parse-gram.y"
+- { spec_outfile = unquote ((yyvsp[0].STRING)); gram_scanner_last_string_free (); }
++ {
++ char *file = unquote ((yyvsp[0].STRING));
++ if (valid_output_file_name (file))
++ spec_outfile = file;
++ else
++ complain (&(yylsp[0]), complaint, _("invalid %%output file name ignored"));
++ gram_scanner_last_string_free ();
++ }
+ #line 2294 "src/parse-gram.c"
+ break;
+
+@@ -3290,14 +3300,24 @@ add_param (param_type type, char *decl, location loc)
+ }
+
+
++static bool
++valid_output_file_name (char const *file)
++{
++ return !strchr (file, '/');
++}
++
++
+ static void
+-handle_header (char const *value)
++handle_header (location const *loc, char const *value)
+ {
+ header_flag = true;
+ if (value)
+ {
+ char *file = unquote (value);
+- spec_header_file = xstrdup (file);
++ if (valid_output_file_name (file))
++ spec_header_file = xstrdup (file);
++ else
++ complain (loc, complaint, _("invalid %%header file name ignored"));
+ gram_scanner_last_string_free ();
+ unquote_free (file);
+ }
diff --git a/meta/recipes-devtools/bison/bison_3.8.2.bb b/meta/recipes-devtools/bison/bison_3.8.2.bb
index 9808a96e993..08962ae1336 100644
--- a/meta/recipes-devtools/bison/bison_3.8.2.bb
+++ b/meta/recipes-devtools/bison/bison_3.8.2.bb
@@ -13,6 +13,7 @@ SRC_URI = "${GNU_MIRROR}/bison/bison-${PV}.tar.xz \
file://autoconf-2.73.patch \
file://add-with-bisonlocaledir.patch \
file://CVE-2026-56389.patch \
+ file://CVE-2026-56390.patch \
"
SRC_URI[sha256sum] = "9bba0214ccf7f1079c5d59210045227bcf619519840ebfa80cd3849cff5a5bf2"
^ permalink raw reply related [flat|nested] 40+ messages in thread* [OE-core][scarthgap 02/37] boost: patch CVE-2023-34399
2026-11-27 17:48 [OE-core][scarthgap 00/37] Patch review Yoann Congal
2026-11-27 17:48 ` [OE-core][scarthgap 01/37] bison: fix CVE-2026-56390 Yoann Congal
@ 2026-11-27 17:48 ` Yoann Congal
2026-11-27 17:48 ` [OE-core][scarthgap 03/37] glibc: fix CVE-2026-84243 Yoann Congal
` (34 subsequent siblings)
36 siblings, 0 replies; 40+ messages in thread
From: Yoann Congal @ 2026-11-27 17:48 UTC (permalink / raw)
To: openembedded-core
From: Peter Marko <peter.marko@siemens.com>
Pick patch referencing this CVE.
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ba56fd3e9258e2351c31a402d63ac470d43c8d54)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
.../boost/boost/CVE-2023-34399.patch | 35 +++++++++++++++++++
meta/recipes-support/boost/boost_1.84.0.bb | 1 +
2 files changed, 36 insertions(+)
create mode 100644 meta/recipes-support/boost/boost/CVE-2023-34399.patch
diff --git a/meta/recipes-support/boost/boost/CVE-2023-34399.patch b/meta/recipes-support/boost/boost/CVE-2023-34399.patch
new file mode 100644
index 00000000000..f2dbccd67e9
--- /dev/null
+++ b/meta/recipes-support/boost/boost/CVE-2023-34399.patch
@@ -0,0 +1,35 @@
+From d772add4873bb2501d67554190c4272294d659f9 Mon Sep 17 00:00:00 2001
+From: Johnathan <39648915+TrebledJ@users.noreply.github.com>
+Date: Wed, 19 Aug 2026 16:50:08 +0200
+Subject: [PATCH] Reject a negative class id when loading a pointer (#332)
+
+A pointer carries the class id of what it points at, and a null pointer
+carries -1. On the way back in, only -1 was recognised as the null tag,
+and the id then indexed the class table with an upper bound check but no
+lower bound one, so an archive carrying any other negative id read that
+table at an offset of its own choosing. This is CVE-2023-34399.
+
+Treat every negative id as the null tag. No archive a released version
+ever wrote carries one other than -1, so nothing that used to load stops
+loading.
+
+CVE: CVE-2023-34399
+Upstream-Status: Backport [https://github.com/boostorg/serialization/commit/d772add4873bb2501d67554190c4272294d659f9]
+Signed-off-by: Peter Marko <peter.marko@siemens.com>
+---
+ libs/serialization/src/basic_iarchive.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/libs/serialization/src/basic_iarchive.cpp b/libs/serialization/src/basic_iarchive.cpp
+index 1c6eb2047..b5c63c9ad 100644
+--- a/libs/serialization/src/basic_iarchive.cpp
++++ b/libs/serialization/src/basic_iarchive.cpp
+@@ -427,7 +427,7 @@ basic_iarchive_impl::load_pointer(
+ class_id_type cid;
+ load(ar, cid);
+
+- if(BOOST_SERIALIZATION_NULL_POINTER_TAG == cid){
++ if(/* BOOST_SERIALIZATION_NULL_POINTER_TAG */ cid < 0){
+ t = NULL;
+ return bpis_ptr;
+ }
diff --git a/meta/recipes-support/boost/boost_1.84.0.bb b/meta/recipes-support/boost/boost_1.84.0.bb
index 4b580d078be..c66f182384d 100644
--- a/meta/recipes-support/boost/boost_1.84.0.bb
+++ b/meta/recipes-support/boost/boost_1.84.0.bb
@@ -4,4 +4,5 @@ require boost.inc
SRC_URI += "file://boost-math-disable-pch-for-gcc.patch \
file://0001-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch \
file://0001-dont-setup-compiler-flags-m32-m64.patch \
+ file://CVE-2023-34399.patch \
"
^ permalink raw reply related [flat|nested] 40+ messages in thread* [OE-core][scarthgap 03/37] glibc: fix CVE-2026-84243
2026-11-27 17:48 [OE-core][scarthgap 00/37] Patch review Yoann Congal
2026-11-27 17:48 ` [OE-core][scarthgap 01/37] bison: fix CVE-2026-56390 Yoann Congal
2026-11-27 17:48 ` [OE-core][scarthgap 02/37] boost: patch CVE-2023-34399 Yoann Congal
@ 2026-11-27 17:48 ` Yoann Congal
2026-11-27 17:48 ` [OE-core][scarthgap 04/37] sqlite3: fix CVE-2026-119373 Yoann Congal
` (33 subsequent siblings)
36 siblings, 0 replies; 40+ messages in thread
From: Yoann Congal @ 2026-11-27 17:48 UTC (permalink / raw)
To: openembedded-core
From: João Marcos Costa (Schneider Electric) <joaomarcos.costa@bootlin.com>
This vulnerability, marked as High [1], was fixed upstream [2] since
2.45.
Backport the fix to glibc v2.39.
The only changes not included in the backport are the ones in NEWS file.
[1] https://nvd.nist.gov/vuln/detail/cve-2026-84243
[2] https://sourceware.org/bugzilla/show_bug.cgi?id=17142
Signed-off-by: João Marcos Costa (Schneider Electric) <joaomarcos.costa@bootlin.com>
Signed-off-by: Bastien Jauny <bastien.jauny@smile.fr>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
.../glibc/glibc/CVE-2026-84243.patch | 193 ++++++++++++++++++
meta/recipes-core/glibc/glibc_2.39.bb | 1 +
2 files changed, 194 insertions(+)
create mode 100644 meta/recipes-core/glibc/glibc/CVE-2026-84243.patch
diff --git a/meta/recipes-core/glibc/glibc/CVE-2026-84243.patch b/meta/recipes-core/glibc/glibc/CVE-2026-84243.patch
new file mode 100644
index 00000000000..640a166c08d
--- /dev/null
+++ b/meta/recipes-core/glibc/glibc/CVE-2026-84243.patch
@@ -0,0 +1,193 @@
+From 02449c3a9751f801d49a41952291a6c09a24de15 Mon Sep 17 00:00:00 2001
+From: Avinal Kumar <avinal.xlvii@gmail.com>
+Date: Mon, 2 Nov 2026 17:18:03 -0300
+Subject: [PATCH] intl: Restrict path traversal when using LANGUAGE env var [BZ
+ #17142, CVE-2026-84243]
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+The fix for CVE-2014-0475 (Bug 17137) added valid_locale_name() in
+locale/findlocale.c to reject locale names containing ".." path
+components. However, the LANGUAGE environment variable processing in
+intl/dcigettext.c was not covered by that fix. An attacker who can
+set LANGUAGE (e.g. via SSH AcceptEnv) can force any gettext-using
+program to load a crafted .mo file from an arbitrary filesystem
+location via directory traversal. A crafted .mo file can crash the
+program through out-of-range offsets or through format-string
+translations that consume more arguments than the caller passes,
+causing undefined behaviour in *printf. glibc cannot fully protect
+against the latter at the gettext level. The safety of .mo files
+normally relies on them being produced by msgmerge and msgfmt -c and
+installed in read-only locations; path traversal bypasses this trust
+model.
+
+Remove the ENABLE_SECURE gate from the IS_PATH_WITH_DIR check so it
+applies to all binaries, not just SUID/SGID ones, and extend it to
+also reject the bare ".." entry which contains no directory separator
+but still names the parent directory.
+
+Add tst-gettext-path-traversal to verify that locale names containing
+path separators or equal to ".." are rejected by the LANGUAGE processing loop.
+
+This fixes bug 17142 and CVE-2026-84243.
+
+Suggested-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
+Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com>
+Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
+
+CVE: CVE-2026-84243
+Upstream-Status: Backport [https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=03067f3c5e39aec5ec250a44bc1b395a1afd45e8]
+
+Signed-off-by: João Marcos Costa (Schneider Electric) <joaomarcos.costa@bootlin.com>
+---
+ intl/Makefile | 4 ++
+ intl/dcigettext.c | 8 +--
+ intl/tst-gettext-path-traversal.c | 83 +++++++++++++++++++++++++++++++
+ 3 files changed, 91 insertions(+), 4 deletions(-)
+ create mode 100644 intl/tst-gettext-path-traversal.c
+
+diff --git a/intl/Makefile b/intl/Makefile
+index 9b79198e68..02b217d471 100644
+--- a/intl/Makefile
++++ b/intl/Makefile
+@@ -53,6 +53,7 @@ $(objpfx)plural.o: $(objpfx)plural.c
+ ifeq ($(run-built-tests),yes)
+ ifeq (yes,$(build-shared))
+ ifneq ($(strip $(MSGFMT)),:)
++tests += tst-gettext-path-traversal
+ tests-special += $(objpfx)tst-translit.out $(objpfx)tst-gettext.out \
+ $(objpfx)tst-gettext2.out $(objpfx)tst-codeset.out \
+ $(objpfx)tst-gettext3.out
+@@ -107,6 +108,7 @@ $(objpfx)tst-gettext6.out: tst-gettext6.sh $(objpfx)tst-gettext6
+ $(objpfx)tst-codeset.out: $(codeset_mo)
+ $(objpfx)tst-gettext3.out: $(codeset_mo)
+ $(objpfx)tst-gettext5.out: $(codeset_mo)
++$(objpfx)tst-gettext-path-traversal.out: $(codeset_mo)
+ endif
+
+ LOCALES := de_DE.ISO-8859-1 de_DE.UTF-8 en_US.ANSI_X3.4-1968 fr_FR.ISO-8859-1 \
+@@ -121,6 +123,7 @@ $(objpfx)tst-gettext4.out: $(gen-locales)
+ $(objpfx)tst-gettext5.out: $(gen-locales)
+ $(objpfx)tst-gettext6.out: $(gen-locales)
+ $(objpfx)tst-gettext-c-utf8.out: $(gen-locales)
++$(objpfx)tst-gettext-path-traversal.out: $(gen-locales)
+ $(objpfx)tst-translit.out: $(gen-locales)
+ endif
+
+@@ -140,6 +143,7 @@ CFLAGS-tst-gettext3.c += -DOBJPFX=\"$(objpfx)\"
+ CFLAGS-tst-gettext4.c += -DOBJPFX=\"$(objpfx)\"
+ CFLAGS-tst-gettext5.c += -DOBJPFX=\"$(objpfx)\"
+ CFLAGS-tst-gettext6.c += -DOBJPFX=\"$(objpfx)\"
++CFLAGS-tst-gettext-path-traversal.c += -DOBJPFX=\"$(objpfx)\"
+
+ ifeq ($(have-thread-library),yes)
+ ifeq (yes,$(build-shared))
+diff --git a/intl/dcigettext.c b/intl/dcigettext.c
+index a028518c2a..57f422f437 100644
+--- a/intl/dcigettext.c
++++ b/intl/dcigettext.c
+@@ -684,10 +684,10 @@ DCIGETTEXT (const char *domainname, const char *msgid1, const char *msgid2,
+ *cp++ = *categoryvalue++;
+ *cp = '\0';
+
+- /* When this is a SUID binary we must not allow accessing files
+- outside the dedicated directories. */
+- if (ENABLE_SECURE && IS_PATH_WITH_DIR (single_locale))
+- /* Ingore this entry. */
++ /* Do not allow accessing files outside the dedicated
++ directories. */
++ if (IS_PATH_WITH_DIR (single_locale)
++ || strcmp (single_locale, "..") == 0)
+ continue;
+ }
+
+diff --git a/intl/tst-gettext-path-traversal.c b/intl/tst-gettext-path-traversal.c
+new file mode 100644
+index 0000000000..95ad326f64
+--- /dev/null
++++ b/intl/tst-gettext-path-traversal.c
+@@ -0,0 +1,83 @@
++/* Test that LANGUAGE values with path traversal are rejected [BZ #17142].
++ Copyright (C) 2026 Free Software Foundation, Inc.
++ This file is part of the GNU C Library.
++
++ The GNU C Library is free software; you can redistribute it and/or
++ modify it under the terms of the GNU Lesser General Public
++ License as published by the Free Software Foundation; either
++ version 2.1 of the License, or (at your option) any later version.
++
++ The GNU C Library is distributed in the hope that it will be useful,
++ but WITHOUT ANY WARRANTY; without even the implied warranty of
++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
++ Lesser General Public License for more details.
++
++ You should have received a copy of the GNU Lesser General Public
++ License along with the GNU C Library; if not, see
++ <https://www.gnu.org/licenses/>. */
++
++#include <libintl.h>
++#include <locale.h>
++#include <stdlib.h>
++#include <support/check.h>
++#include <support/support.h>
++
++static const char *const domaindir = OBJPFX "domaindir";
++static const char *const localedir = OBJPFX "domaindir/de_DE";
++static const char *const msgdir = OBJPFX "domaindir/de_DE/LC_MESSAGES";
++
++static int
++do_test (void)
++{
++ unsetenv ("OUTPUT_CHARSET");
++ /* LANGUAGE is only consulted if the locale is not "C" or "C.<codeset>".
++ The catalog is in ISO-8859-1, as is the locale, so no conversion of
++ the translation takes place. */
++ xsetlocale (LC_ALL, "de_DE.ISO-8859-1");
++ textdomain ("codeset");
++
++ /* Verify that a legitimate LANGUAGE value produces the expected
++ translation. This exercises the normal lookup path and confirms
++ that the test .mo catalog is in place. */
++ bindtextdomain ("codeset", domaindir);
++ setenv ("LANGUAGE", "de_DE", 1);
++ TEST_COMPARE_STRING (gettext ("cheese"), "K\344se");
++
++ /* A bare ".." must be rejected. Without the fix this would resolve
++ to msgdir/../LC_MESSAGES/codeset.mo, which is the real catalog,
++ so the translation would succeed. */
++ bindtextdomain ("codeset", msgdir);
++ setenv ("LANGUAGE", "..", 1);
++ TEST_COMPARE_STRING (gettext ("cheese"), "cheese");
++
++ /* A relative path that leaves and re-enters the catalog directory
++ must be rejected. Without the fix this would resolve to
++ localedir/../de_DE/LC_MESSAGES/codeset.mo. */
++ bindtextdomain ("codeset", localedir);
++ setenv ("LANGUAGE", "../de_DE", 1);
++ TEST_COMPARE_STRING (gettext ("cheese"), "cheese");
++
++ /* Multiple levels of directory traversal must be rejected. Without
++ the fix this would resolve to
++ msgdir/../../de_DE/LC_MESSAGES/codeset.mo. */
++ bindtextdomain ("codeset", msgdir);
++ setenv ("LANGUAGE", "../../de_DE", 1);
++ TEST_COMPARE_STRING (gettext ("cheese"), "cheese");
++
++ /* Invalid entries in a colon-separated LANGUAGE list must be
++ skipped individually; valid entries that follow are still
++ used. */
++ bindtextdomain ("codeset", domaindir);
++ setenv ("LANGUAGE", "..:../de_DE:de_DE", 1);
++ TEST_COMPARE_STRING (gettext ("cheese"), "K\344se");
++
++ /* A path containing "/.." must be rejected. Use localedir so the
++ binding changes, which invalidates the DCIGETTEXT result cache. */
++ bindtextdomain ("codeset", localedir);
++ setenv ("LANGUAGE", "LC_MESSAGES/..", 1);
++ TEST_COMPARE_STRING (gettext ("cheese"), "cheese");
++
++ return 0;
++}
++
++#include <support/test-driver.c>
diff --git a/meta/recipes-core/glibc/glibc_2.39.bb b/meta/recipes-core/glibc/glibc_2.39.bb
index 1598249b7b3..d306e7b0a7c 100644
--- a/meta/recipes-core/glibc/glibc_2.39.bb
+++ b/meta/recipes-core/glibc/glibc_2.39.bb
@@ -78,6 +78,7 @@ SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \
file://0047-CVE-2026-89092.patch \
file://0048-CVE-2026-97399.patch \
file://0049-CVE-2026-86805-CVE-2026-95818.patch \
+ file://CVE-2026-84243.patch \
"
S = "${WORKDIR}/git"
B = "${WORKDIR}/build-${TARGET_SYS}"
^ permalink raw reply related [flat|nested] 40+ messages in thread* [OE-core][scarthgap 04/37] sqlite3: fix CVE-2026-119373
2026-11-27 17:48 [OE-core][scarthgap 00/37] Patch review Yoann Congal
` (2 preceding siblings ...)
2026-11-27 17:48 ` [OE-core][scarthgap 03/37] glibc: fix CVE-2026-84243 Yoann Congal
@ 2026-11-27 17:48 ` Yoann Congal
2026-11-27 17:48 ` [OE-core][scarthgap 05/37] sqlite3: fix CVE-2026-119374 Yoann Congal
` (32 subsequent siblings)
36 siblings, 0 replies; 40+ messages in thread
From: Yoann Congal @ 2026-11-27 17:48 UTC (permalink / raw)
To: openembedded-core
From: João Marcos Costa (Schneider Electric) <joaomarcos.costa@bootlin.com>
This vulnerability, marked as High [1], was fixed upstream [2] since
3.54.0.
Backport the fix to sqlite v3.45.3.
[1] https://nvd.nist.gov/vuln/detail/cve-2026-119373
[2] https://github.com/sqlite/sqlite/commit/e1c9934f9f11a499029abb020ea715a08970da80
Signed-off-by: João Marcos Costa (Schneider Electric) <joaomarcos.costa@bootlin.com>
Signed-off-by: Bastien Jauny <bastien.jauny@smile.fr>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
.../sqlite/sqlite3/CVE-2026-119373.patch | 48 +++++++++++++++++++
meta/recipes-support/sqlite/sqlite3_3.45.3.bb | 3 +-
2 files changed, 50 insertions(+), 1 deletion(-)
create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119373.patch
diff --git a/meta/recipes-support/sqlite/sqlite3/CVE-2026-119373.patch b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119373.patch
new file mode 100644
index 00000000000..ff89746e6c2
--- /dev/null
+++ b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119373.patch
@@ -0,0 +1,48 @@
+From ab37658e91b4a19923eb930a9e2ee62b561a4ec6 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Jo=C3=A3o=20Marcos=20Costa?= <joaomarcos.costa@bootlin.com>
+Date: Wed, 4 Nov 2026 16:38:46 +0100
+Subject: [PATCH] In fts5, account for the possibility of negative docids when
+ allocating a buffer to store the results of merging detail=none prefix lists.
+ Fix for report [bugs:/info/2026-08-04T08:49:27Z | 2026-08-04T08:49:27Z].
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+FossilOrigin-Name: a7f8c92f623e9cbe8a61266d949916acc9e5110c94dff4aa6fd1ad2ea8a60d4e
+
+CVE: CVE-2026-119373
+Upstream-Status: Backport [https://github.com/sqlite/sqlite/commit/e1c9934f9f11a499029abb020ea715a08970da80]
+
+Signed-off-by: João Marcos Costa <joaomarcos.costa@bootlin.com>
+---
+ sqlite3.c | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/sqlite3.c b/sqlite3.c
+index 6acf46a..2b1e6b9 100644
+--- a/sqlite3.c
++++ b/sqlite3.c
+@@ -244805,7 +244805,7 @@ static void fts5MergeRowidLists(
+ (void)nBuf;
+ memset(&out, 0, sizeof(out));
+ assert( nBuf==1 );
+- sqlite3Fts5BufferSize(&p->rc, &out, p1->n + p2->n);
++ sqlite3Fts5BufferSize(&p->rc, &out, p1->n + p2->n + 9);
+ if( p->rc ) return;
+
+ fts5NextRowid(p1, &i1, &iRowid1);
+@@ -244813,12 +244813,12 @@ static void fts5MergeRowidLists(
+ while( i1>=0 || i2>=0 ){
+ if( i1>=0 && (i2<0 || iRowid1<iRowid2) ){
+ assert( iOut==0 || iRowid1>iOut );
+- fts5BufferSafeAppendVarint(&out, iRowid1 - iOut);
++ fts5BufferSafeAppendVarint(&out, (u64)iRowid1 - (u64)iOut);
+ iOut = iRowid1;
+ fts5NextRowid(p1, &i1, &iRowid1);
+ }else{
+ assert( iOut==0 || iRowid2>iOut );
+- fts5BufferSafeAppendVarint(&out, iRowid2 - iOut);
++ fts5BufferSafeAppendVarint(&out, (u64)iRowid2 - (u64)iOut);
+ iOut = iRowid2;
+ if( i1>=0 && iRowid1==iRowid2 ){
+ fts5NextRowid(p1, &i1, &iRowid1);
diff --git a/meta/recipes-support/sqlite/sqlite3_3.45.3.bb b/meta/recipes-support/sqlite/sqlite3_3.45.3.bb
index 975f3bdab84..e7c5bcdac4e 100644
--- a/meta/recipes-support/sqlite/sqlite3_3.45.3.bb
+++ b/meta/recipes-support/sqlite/sqlite3_3.45.3.bb
@@ -10,6 +10,7 @@ SRC_URI = "http://www.sqlite.org/2024/sqlite-autoconf-${SQLITE_PV}.tar.gz \
file://CVE-2025-7709.patch \
file://CVE-2025-70873.patch \
file://CVE-2026-11822_CVE-2026-11824.patch \
- "
+ file://CVE-2026-119373.patch \
+"
SRC_URI[sha256sum] = "b2809ca53124c19c60f42bf627736eae011afdcc205bb48270a5ee9a38191531"
^ permalink raw reply related [flat|nested] 40+ messages in thread* [OE-core][scarthgap 05/37] sqlite3: fix CVE-2026-119374
2026-11-27 17:48 [OE-core][scarthgap 00/37] Patch review Yoann Congal
` (3 preceding siblings ...)
2026-11-27 17:48 ` [OE-core][scarthgap 04/37] sqlite3: fix CVE-2026-119373 Yoann Congal
@ 2026-11-27 17:48 ` Yoann Congal
2026-11-27 17:48 ` [OE-core][scarthgap 06/37] sqlite3: fix CVE-2026-119379 Yoann Congal
` (31 subsequent siblings)
36 siblings, 0 replies; 40+ messages in thread
From: Yoann Congal @ 2026-11-27 17:48 UTC (permalink / raw)
To: openembedded-core
From: Arpit Patel <arpitpa@cisco.com>
This patch applies the upstream fix [1], which addresses an FTS5
secure-delete buffer overrun when handling a corrupted database.
The GitHub mirror commit [1] corresponds to the SQLite Fossil
check-in shown in [2].
[1] https://github.com/sqlite/sqlite/commit/d9de6eedbe918c074c7556400fa21df5960704d9
[2] https://sqlite.org/src/info/9cd4f9e920
Reference:
https://nvd.nist.gov/vuln/detail/CVE-2026-119374
Signed-off-by: Arpit Patel <arpitpa@cisco.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
.../sqlite/sqlite3/CVE-2026-119374.patch | 78 +++++++++++++++++++
meta/recipes-support/sqlite/sqlite3_3.45.3.bb | 1 +
2 files changed, 79 insertions(+)
create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119374.patch
diff --git a/meta/recipes-support/sqlite/sqlite3/CVE-2026-119374.patch b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119374.patch
new file mode 100644
index 00000000000..cf4dd9cb322
--- /dev/null
+++ b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119374.patch
@@ -0,0 +1,78 @@
+From 6875e24f0c0612feccb97ab4c3f92c8444833373 Mon Sep 17 00:00:00 2001
+From: dan <Dan Kennedy>
+Date: Tue, 11 Aug 2026 14:16:12 +0000
+Subject: [PATCH] Fix a problem in fts5 secure-delete code that could lead to a
+ buffer overrun when dealing with a strategically corrupted database. Problem
+ reported by YEONBA.
+
+FossilOrigin-Name: 9cd4f9e9205c5a5096388397a39349db9ff5377d19095c6b20388ff799969c31
+
+CVE: CVE-2026-119374
+Upstream-Status: Backport [https://github.com/sqlite/sqlite/commit/d9de6eedbe918c074c7556400fa21df5960704d9]
+
+Backport Changes:
+- Applied the fix from ext/fts5/fts5_index.c to sqlite3.c because the
+ recipe uses SQLite's amalgamated source.
+- Used p->rc = FTS5_CORRUPT; because current version of SQLite does
+ not define the newer FTS5_CORRUPT_IDX(p) helper.
+- Omitted ext/fts5/test/fts5corruptB.test because the extracted source
+ does not include the upstream Tcl test tree.
+- Omitted manifest and manifest.uuid because they are Fossil metadata
+ and are not needed for this source patch.
+
+Signed-off-by: Arpit Patel <arpitpa@cisco.com>
+---
+ sqlite3.c | 18 +++++++++++-------
+ 1 file changed, 11 insertions(+), 7 deletions(-)
+
+diff --git a/sqlite3.c b/sqlite3.c
+index 9d5790a0d9..a397e4d36b 100644
+--- a/sqlite3.c
++++ b/sqlite3.c
+@@ -244270,32 +244270,36 @@ static void fts5DoSecureDelete(
+ if( p->rc==SQLITE_OK ){
+ const int nMove = nPg - iNextOff; /* Number of bytes to move */
+ int nShift = iNextOff - iOff; /* Distance to move them */
+-
++ int nNewPg = 0;
+ int iPrevKeyOut = 0;
+- int iKeyIn = 0;
++ i64 iKeyIn = 0;
+
+ memmove(&aPg[iOff], &aPg[iNextOff], nMove);
+ iPgIdx -= nShift;
+- nPg = iPgIdx;
++ nNewPg = iPgIdx;
+ fts5PutU16(&aPg[2], iPgIdx);
+
+ for(iIdx=0; iIdx<nIdx; /* no-op */){
+ u32 iVal = 0;
+ iIdx += fts5GetVarint32(&aIdx[iIdx], iVal);
+ iKeyIn += iVal;
++ if( iKeyIn>nPg ){
++ p->rc = FTS5_CORRUPT;
++ break;
++ }
+ if( iKeyIn!=iDelKeyOff ){
+ int iKeyOut = (iKeyIn - (iKeyIn>iOff ? nShift : 0));
+- nPg += sqlite3Fts5PutVarint(&aPg[nPg], iKeyOut - iPrevKeyOut);
++ nNewPg += sqlite3Fts5PutVarint(&aPg[nNewPg], iKeyOut - iPrevKeyOut);
+ iPrevKeyOut = iKeyOut;
+ }
+ }
+
+- if( iPgIdx==nPg && nIdx>0 && pSeg->iLeafPgno!=1 ){
++ if( p->rc==SQLITE_OK && iPgIdx==nNewPg && nIdx>0 && pSeg->iLeafPgno!=1 ){
+ fts5SecureDeleteIdxEntry(p, iSegid, pSeg->iLeafPgno);
+ }
+
+- assert_nc( nPg>4 || fts5GetU16(aPg)==0 );
+- fts5DataWrite(p, FTS5_SEGMENT_ROWID(iSegid,pSeg->iLeafPgno), aPg, nPg);
++ assert_nc( nNewPg>4 || fts5GetU16(aPg)==0 );
++ fts5DataWrite(p, FTS5_SEGMENT_ROWID(iSegid,pSeg->iLeafPgno), aPg, nNewPg);
+ }
+ sqlite3_free(aIdx);
+ }
+--
+2.35.6
+
diff --git a/meta/recipes-support/sqlite/sqlite3_3.45.3.bb b/meta/recipes-support/sqlite/sqlite3_3.45.3.bb
index e7c5bcdac4e..c1e2006a6fe 100644
--- a/meta/recipes-support/sqlite/sqlite3_3.45.3.bb
+++ b/meta/recipes-support/sqlite/sqlite3_3.45.3.bb
@@ -11,6 +11,7 @@ SRC_URI = "http://www.sqlite.org/2024/sqlite-autoconf-${SQLITE_PV}.tar.gz \
file://CVE-2025-70873.patch \
file://CVE-2026-11822_CVE-2026-11824.patch \
file://CVE-2026-119373.patch \
+ file://CVE-2026-119374.patch \
"
SRC_URI[sha256sum] = "b2809ca53124c19c60f42bf627736eae011afdcc205bb48270a5ee9a38191531"
^ permalink raw reply related [flat|nested] 40+ messages in thread* [OE-core][scarthgap 06/37] sqlite3: fix CVE-2026-119379
2026-11-27 17:48 [OE-core][scarthgap 00/37] Patch review Yoann Congal
` (4 preceding siblings ...)
2026-11-27 17:48 ` [OE-core][scarthgap 05/37] sqlite3: fix CVE-2026-119374 Yoann Congal
@ 2026-11-27 17:48 ` Yoann Congal
2026-11-27 17:48 ` [OE-core][scarthgap 07/37] sqlite3: Fix CVE-2026-119377 Yoann Congal
` (30 subsequent siblings)
36 siblings, 0 replies; 40+ messages in thread
From: Yoann Congal @ 2026-11-27 17:48 UTC (permalink / raw)
To: openembedded-core
From: João Marcos Costa (Schneider Electric) <joaomarcos.costa@bootlin.com>
This vulnerability, marked as High [1], was fixed upstream [2] since
3.54.0.
Backport the fix to sqlite v3.45.3.
[1] https://nvd.nist.gov/vuln/detail/cve-2026-119379
[2] https://github.com/sqlite/sqlite/commit/64459c87cc702d600704fb77ee40ca1782398a52
Signed-off-by: João Marcos Costa (Schneider Electric) <joaomarcos.costa@bootlin.com>
Signed-off-by: Bastien Jauny <bastien.jauny@smile.fr>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
.../sqlite/sqlite3/CVE-2026-119379.patch | 70 +++++++++++++++++++
meta/recipes-support/sqlite/sqlite3_3.45.3.bb | 1 +
2 files changed, 71 insertions(+)
create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119379.patch
diff --git a/meta/recipes-support/sqlite/sqlite3/CVE-2026-119379.patch b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119379.patch
new file mode 100644
index 00000000000..4ecf5386902
--- /dev/null
+++ b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119379.patch
@@ -0,0 +1,70 @@
+From 7ced15a861a05e25f5a8ad29d0dca95806af3a9e Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Jo=C3=A3o=20Marcos=20Costa?= <joaomarcos.costa@bootlin.com>
+Date: Thu, 5 Nov 2026 12:06:23 +0100
+Subject: [PATCH] Avoid a buffer overrun when processing a strategically
+ corrupted changeset. Report [bugs:/info/2026-08-16T10:15:25Z |
+ 2026-08-16T10:15:25Z].
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+FossilOrigin-Name: 3f57024aecea0f3b565ed823cf94b085031c481fd6323c1f2e4319a53500864f
+
+CVE: CVE-2026-119379
+Upstream-Status: Backport [https://github.com/sqlite/sqlite/commit/64459c87cc702d600704fb77ee40ca1782398a52]
+
+Signed-off-by: João Marcos Costa <joaomarcos.costa@bootlin.com>
+---
+ sqlite3.c | 9 ++++-----
+ 1 file changed, 4 insertions(+), 5 deletions(-)
+
+diff --git a/sqlite3.c b/sqlite3.c
+index 3ba2e27..9f4fe9d 100644
+--- a/sqlite3.c
++++ b/sqlite3.c
+@@ -228393,9 +228393,9 @@ static int sessionChangesetApply(
+ int schemaMismatch = 0;
+ int rc = SQLITE_OK; /* Return code */
+ const char *zTab = 0; /* Name of current table */
+- int nTab = 0; /* Result of sqlite3Strlen30(zTab) */
+ SessionApplyCtx sApply; /* changeset_apply() context object */
+ int bPatchset;
++ int bNew = 0; /* True for first entry of new table */
+
+ assert( xConflict!=0 );
+
+@@ -228411,15 +228411,16 @@ static int sessionChangesetApply(
+ if( rc==SQLITE_OK ){
+ rc = sqlite3_exec(db, "PRAGMA defer_foreign_keys = 1", 0, 0, 0);
+ }
+- while( rc==SQLITE_OK && SQLITE_ROW==sqlite3changeset_next(pIter) ){
++ while( rc==SQLITE_OK && SQLITE_ROW==sessionChangesetNext(pIter, 0, 0,&bNew) ){
+ int nCol;
+ int op;
+ const char *zNew;
+
+ sqlite3changeset_op(pIter, &zNew, &nCol, &op, 0);
+
+- if( zTab==0 || sqlite3_strnicmp(zNew, zTab, nTab+1) ){
++ if( bNew ){
+ u8 *abPK;
++ bNew = 0;
+
+ rc = sessionRetryConstraints(
+ db, pIter->bPatchset, zTab, &sApply, xConflict, pCtx
+@@ -228454,7 +228455,6 @@ static int sessionChangesetApply(
+ rc = SQLITE_NOMEM;
+ break;
+ }
+- nTab = (int)strlen(zTab);
+ sApply.azCol = (const char **)zTab;
+ }else{
+ int nMinCol = 0;
+@@ -228506,7 +228506,6 @@ static int sessionChangesetApply(
+ sApply.bStat1 = 0;
+ }
+ }
+- nTab = sqlite3Strlen30(zTab);
+ }
+ }
+
diff --git a/meta/recipes-support/sqlite/sqlite3_3.45.3.bb b/meta/recipes-support/sqlite/sqlite3_3.45.3.bb
index c1e2006a6fe..926f8223fd0 100644
--- a/meta/recipes-support/sqlite/sqlite3_3.45.3.bb
+++ b/meta/recipes-support/sqlite/sqlite3_3.45.3.bb
@@ -12,6 +12,7 @@ SRC_URI = "http://www.sqlite.org/2024/sqlite-autoconf-${SQLITE_PV}.tar.gz \
file://CVE-2026-11822_CVE-2026-11824.patch \
file://CVE-2026-119373.patch \
file://CVE-2026-119374.patch \
+ file://CVE-2026-119379.patch \
"
SRC_URI[sha256sum] = "b2809ca53124c19c60f42bf627736eae011afdcc205bb48270a5ee9a38191531"
^ permalink raw reply related [flat|nested] 40+ messages in thread* [OE-core][scarthgap 07/37] sqlite3: Fix CVE-2026-119377
2026-11-27 17:48 [OE-core][scarthgap 00/37] Patch review Yoann Congal
` (5 preceding siblings ...)
2026-11-27 17:48 ` [OE-core][scarthgap 06/37] sqlite3: fix CVE-2026-119379 Yoann Congal
@ 2026-11-27 17:48 ` Yoann Congal
2026-11-27 17:48 ` [OE-core][scarthgap 08/37] sqlite3: fix CVE-2026-119375 Yoann Congal
` (29 subsequent siblings)
36 siblings, 0 replies; 40+ messages in thread
From: Yoann Congal @ 2026-11-27 17:48 UTC (permalink / raw)
To: openembedded-core
From: Arpit Patel <arpitpa@cisco.com>
This patch applies the upstream fix series [1], [3], [5], and [7] for
the authorizer bypass. Commits [1] and [3] are dependent commits. Commit
[5] adds authorizer checks for RIGHT JOIN USING terms, and commit [7]
corrects the loop so every term is checked. The GitHub mirror commits
correspond to the SQLite Fossil check-ins shown in [2], [4], [6], and
[8], respectively.
[1] https://github.com/sqlite/sqlite/commit/c70fbd39f9c130bbe1cc45269c3b490dfdf7f259
[2] https://sqlite.org/src/info/625f78a630bb
[3] https://github.com/sqlite/sqlite/commit/ddea119f825bf07f145c55f623022286bc644664
[4] https://sqlite.org/src/info/4ef88a36f9d9
[5] https://github.com/sqlite/sqlite/commit/7ff247c5b9ead3ad8a69c26d3fd264878e127237
[6] https://sqlite.org/src/info/bbd69ce27462
[7] https://github.com/sqlite/sqlite/commit/5694c3bb2a6a40770ecd2f65910eea756734dfd8
[8] https://sqlite.org/src/info/2cb228776836
Reference:
https://nvd.nist.gov/vuln/detail/CVE-2026-119377
Signed-off-by: Arpit Patel <arpitpa@cisco.com>
Signed-off-by: Bastien Jauny <bastien.jauny@smile.fr>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
.../CVE-2026-119377-dependent_p1.patch | 86 +++++++++++++++++++
.../CVE-2026-119377-dependent_p2.patch | 59 +++++++++++++
.../sqlite/sqlite3/CVE-2026-119377_p1.patch | 52 +++++++++++
.../sqlite/sqlite3/CVE-2026-119377_p2.patch | 51 +++++++++++
meta/recipes-support/sqlite/sqlite3_3.45.3.bb | 6 +-
5 files changed, 253 insertions(+), 1 deletion(-)
create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119377-dependent_p1.patch
create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119377-dependent_p2.patch
create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119377_p1.patch
create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119377_p2.patch
diff --git a/meta/recipes-support/sqlite/sqlite3/CVE-2026-119377-dependent_p1.patch b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119377-dependent_p1.patch
new file mode 100644
index 00000000000..bdeb32da04b
--- /dev/null
+++ b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119377-dependent_p1.patch
@@ -0,0 +1,86 @@
+From c3cab0322ae36fe6ca21df300c670af379c0a423 Mon Sep 17 00:00:00 2001
+From: drh <>
+Date: Sat, 2 May 2026 17:30:33 +0000
+Subject: [PATCH] Minor optimization to the authorizer.
+
+FossilOrigin-Name: 625f78a630bbf897f945065f1b85a92fe26e426302c8f6edc4d26a817ff62358
+
+CVE: CVE-2026-119377
+Upstream-Status: Backport [https://github.com/sqlite/sqlite/commit/c70fbd39f9c130bbe1cc45269c3b490dfdf7f259]
+
+Backport Changes:
+- Applied the src/auth.c and src/resolve.c changes to sqlite3.c because
+ the Yocto sqlite-autoconf source uses the amalgamated SQLite layout.
+- Kept SQLITE_PRIVATE on sqlite3AuthCheck() to match the amalgamated
+ source.
+- Omitted manifest and manifest.uuid because they are repository
+ metadata and are not needed for this sqlite3.c backport.
+
+Signed-off-by: Arpit Patel <arpitpa@cisco.com>
+---
+ sqlite3.c | 27 ++++++++++++++++++++++-----
+ 1 file changed, 22 insertions(+), 5 deletions(-)
+
+diff --git a/sqlite3.c b/sqlite3.c
+index 6acf46a5b5..3bab6d7638 100644
+--- a/sqlite3.c
++++ b/sqlite3.c
+@@ -107075,9 +107075,7 @@ lookupname_end:
+ if( cnt==1 ){
+ assert( pNC!=0 );
+ #ifndef SQLITE_OMIT_AUTHORIZATION
+- if( pParse->db->xAuth
+- && (pExpr->op==TK_COLUMN || pExpr->op==TK_TRIGGER)
+- ){
++ if( db->xAuth && (pExpr->op==TK_COLUMN || pExpr->op==TK_TRIGGER) ){
+ sqlite3AuthRead(pParse, pExpr, pSchema, pNC->pSrcList);
+ }
+ #endif
+@@ -120685,8 +120683,14 @@ SQLITE_PRIVATE void sqlite3AuthRead(
+ ** either SQLITE_OK (zero) or SQLITE_IGNORE or SQLITE_DENY. If SQLITE_DENY
+ ** is returned, then the error count and error message in pParse are
+ ** modified appropriately.
++**
++** Divided into two routines. realAuthCheck() does the work. The
++** sqlite3AuthCheck() routine is usually a fast no-op but invokes
++** realAuthCheck() (and spends time doing some stack pushes and pops
++** as a result) in the uncommon case where an authorization check is
++** actually needed.
+ */
+-SQLITE_PRIVATE int sqlite3AuthCheck(
++static int SQLITE_NOINLINE realAuthCheck(
+ Parse *pParse,
+ int code,
+ const char *zArg1,
+@@ -120700,7 +120704,7 @@ SQLITE_PRIVATE int sqlite3AuthCheck(
+ ** or if the parser is being invoked from within sqlite3_declare_vtab.
+ */
+ assert( !IN_RENAME_OBJECT || db->xAuth==0 );
+- if( db->xAuth==0 || db->init.busy || IN_SPECIAL_PARSE ){
++ if( IN_SPECIAL_PARSE ){
+ return SQLITE_OK;
+ }
+
+@@ -120729,6 +120733,19 @@ SQLITE_PRIVATE int sqlite3AuthCheck(
+ }
+ return rc;
+ }
++SQLITE_PRIVATE int sqlite3AuthCheck(
++ Parse *pParse,
++ int code,
++ const char *zArg1,
++ const char *zArg2,
++ const char *zArg3
++){
++ if( pParse->db->xAuth!=0 && pParse->db->init.busy==0 ){
++ return realAuthCheck(pParse,code,zArg1,zArg2,zArg3);
++ }else{
++ return SQLITE_OK;
++ }
++}
+
+ /*
+ ** Push an authorization context. After this routine is called, the
+--
+2.35.6
+
diff --git a/meta/recipes-support/sqlite/sqlite3/CVE-2026-119377-dependent_p2.patch b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119377-dependent_p2.patch
new file mode 100644
index 00000000000..e8a89898d4a
--- /dev/null
+++ b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119377-dependent_p2.patch
@@ -0,0 +1,59 @@
+From 7606a5f5a1ce6f38eb5e98514583c711120ad694 Mon Sep 17 00:00:00 2001
+From: drh <>
+Date: Mon, 1 Jun 2026 16:49:39 +0000
+Subject: [PATCH] Make sure the authenticator is called for columns that are
+ part of a USING in a FULL JOIN. [bugs:/info/2026-05-31T02:00:37Z|Bug
+ 2026-05-31T02:00:37Z].
+
+FossilOrigin-Name: 4ef88a36f9d9669b0d74c58f79ad497803885ff6078e5f9685f13c96eab397cc
+
+CVE: CVE-2026-119377
+Upstream-Status: Backport [https://github.com/sqlite/sqlite/commit/ddea119f825bf07f145c55f623022286bc644664]
+
+Backport Changes:
+- Applied the src/resolve.c change to sqlite3.c because this recipe
+ uses the amalgamated SQLite source.
+- Omitted manifest and manifest.uuid updates because they are Fossil
+ repository metadata and are not needed in this backport.
+
+Signed-off-by: Arpit Patel <arpitpa@cisco.com>
+---
+ sqlite3.c | 15 ++++++++++++---
+ 1 file changed, 12 insertions(+), 3 deletions(-)
+
+diff --git a/sqlite3.c b/sqlite3.c
+index 3bab6d7638..903af8baa8 100644
+--- a/sqlite3.c
++++ b/sqlite3.c
+@@ -107001,7 +107001,7 @@ static int lookupName(
+ ** cnt>1 means there were two or more matches.
+ **
+ ** cnt==0 is always an error. cnt>1 is often an error, but might
+- ** be multiple matches for a NATURAL LEFT JOIN or a LEFT JOIN USING.
++ ** be multiple matches for a NATURAL OUTER JOIN or a OUTER JOIN USING.
+ */
+ assert( pFJMatch==0 || cnt>0 );
+ assert( !ExprHasProperty(pExpr, EP_xIsSelect|EP_IntValue) );
+@@ -107075,8 +107075,17 @@ lookupname_end:
+ if( cnt==1 ){
+ assert( pNC!=0 );
+ #ifndef SQLITE_OMIT_AUTHORIZATION
+- if( db->xAuth && (pExpr->op==TK_COLUMN || pExpr->op==TK_TRIGGER) ){
+- sqlite3AuthRead(pParse, pExpr, pSchema, pNC->pSrcList);
++ if( db->xAuth ){
++ if( pFJMatch ){
++ assert( pExpr->op==TK_FUNCTION );
++ assert( sqlite3_stricmp(pExpr->u.zToken,"coalesce")==0 );
++ assert( pExpr->x.pList==pFJMatch );
++ assert( pFJMatch->nExpr>0 );
++ pExpr = pFJMatch->a[0].pExpr;
++ }
++ if( pExpr->op==TK_COLUMN || pExpr->op==TK_TRIGGER ){
++ sqlite3AuthRead(pParse, pExpr, pSchema, pNC->pSrcList);
++ }
+ }
+ #endif
+ /* Increment the nRef value on all name contexts from TopNC up to
+--
+2.35.6
+
diff --git a/meta/recipes-support/sqlite/sqlite3/CVE-2026-119377_p1.patch b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119377_p1.patch
new file mode 100644
index 00000000000..7dd0f76b6b5
--- /dev/null
+++ b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119377_p1.patch
@@ -0,0 +1,52 @@
+From 7e76b79f06869f46def99a3ec08d9dfb53a346b1 Mon Sep 17 00:00:00 2001
+From: drh <>
+Date: Sun, 5 Jul 2026 16:06:33 +0000
+Subject: [PATCH] Be sure to invoke the authorizer callback on all terms of the
+ USING clause in a RIGHT JOIN. [bugs:/info/2026-07-05T08:15:45Z|Bug
+ 2026-07-05T08:15:45Z]
+
+FossilOrigin-Name: bbd69ce27462000873af053bfebdd305c53deac85c426b1e7dbd927b5f17d622
+
+CVE: CVE-2026-119377
+Upstream-Status: Backport [https://github.com/sqlite/sqlite/commit/7ff247c5b9ead3ad8a69c26d3fd264878e127237]
+
+Backport Changes:
+- Applied the src/resolve.c change in sqlite3.c because the Yocto
+ sqlite-autoconf source uses the amalgamated layout.
+- Omitted test/auth.test because the extracted recipe source lacks the
+ upstream Tcl test tree.
+- Omitted manifest and manifest.uuid because they are repository
+ metadata and are not needed in this source patch.
+
+Signed-off-by: Arpit Patel <arpitpa@cisco.com>
+---
+ sqlite3.c | 9 ++++++---
+ 1 file changed, 6 insertions(+), 3 deletions(-)
+
+diff --git a/sqlite3.c b/sqlite3.c
+index d777811056..9338328be5 100644
+--- a/sqlite3.c
++++ b/sqlite3.c
+@@ -107077,13 +107077,16 @@ lookupname_end:
+ #ifndef SQLITE_OMIT_AUTHORIZATION
+ if( db->xAuth ){
+ if( pFJMatch ){
++ int ii;
+ assert( pExpr->op==TK_FUNCTION );
+ assert( sqlite3_stricmp(pExpr->u.zToken,"coalesce")==0 );
+ assert( pExpr->x.pList==pFJMatch );
+ assert( pFJMatch->nExpr>0 );
+- pExpr = pFJMatch->a[0].pExpr;
+- }
+- if( pExpr->op==TK_COLUMN || pExpr->op==TK_TRIGGER ){
++ for(ii=0; ii<pFJMatch->nExpr; ii++){
++ assert( pFJMatch->a[0].pExpr->op==TK_COLUMN );
++ sqlite3AuthRead(pParse, pFJMatch->a[0].pExpr, pSchema, pNC->pSrcList);
++ }
++ }else if( pExpr->op==TK_COLUMN || pExpr->op==TK_TRIGGER ){
+ sqlite3AuthRead(pParse, pExpr, pSchema, pNC->pSrcList);
+ }
+ }
+--
+2.35.6
+
diff --git a/meta/recipes-support/sqlite/sqlite3/CVE-2026-119377_p2.patch b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119377_p2.patch
new file mode 100644
index 00000000000..b67cb32b8c6
--- /dev/null
+++ b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119377_p2.patch
@@ -0,0 +1,51 @@
+From a98f25c8a88d1e0e24f677279ac90b30567f93ee Mon Sep 17 00:00:00 2001
+From: drh <>
+Date: Fri, 24 Jul 2026 14:53:59 +0000
+Subject: [PATCH] Fix a bug in the check-in [bbd69ce274620008] causing that
+ bug-fix check-in to fail to completely fix the original bug. This fix is in
+ response to the follow-up report at [bugs:/info/2026-07-24T02:52:08Z|Bug
+ 2026-07-24T02:52:08Z].
+
+FossilOrigin-Name: 2cb22877683680c1f89bcc9edb47bd1a4a8755d4a6b846a1a20136a657dacdcc
+
+CVE: CVE-2026-119377
+Upstream-Status: Backport [https://github.com/sqlite/sqlite/commit/5694c3bb2a6a40770ecd2f65910eea756734dfd8]
+
+Backport Changes:
+- Applied the src/resolve.c correction to sqlite3.c because the Yocto
+ recipe source uses the amalgamated SQLite layout.
+- Omitted test/auth.test because the extracted recipe source lacks the
+ upstream Tcl test tree.
+- Omitted manifest and manifest.uuid because they are Fossil
+ repository metadata and are not needed in the source patch.
+
+Signed-off-by: Arpit Patel <arpitpa@cisco.com>
+---
+ sqlite3.c | 7 +++----
+ 1 file changed, 3 insertions(+), 4 deletions(-)
+
+diff --git a/sqlite3.c b/sqlite3.c
+index 9338328be5..7761d83d08 100644
+--- a/sqlite3.c
++++ b/sqlite3.c
+@@ -107077,14 +107077,13 @@ lookupname_end:
+ #ifndef SQLITE_OMIT_AUTHORIZATION
+ if( db->xAuth ){
+ if( pFJMatch ){
+- int ii;
+ assert( pExpr->op==TK_FUNCTION );
+ assert( sqlite3_stricmp(pExpr->u.zToken,"coalesce")==0 );
+ assert( pExpr->x.pList==pFJMatch );
+ assert( pFJMatch->nExpr>0 );
+- for(ii=0; ii<pFJMatch->nExpr; ii++){
+- assert( pFJMatch->a[0].pExpr->op==TK_COLUMN );
+- sqlite3AuthRead(pParse, pFJMatch->a[0].pExpr, pSchema, pNC->pSrcList);
++ for(i=0; i<pFJMatch->nExpr; i++){
++ assert( pFJMatch->a[i].pExpr->op==TK_COLUMN );
++ sqlite3AuthRead(pParse,pFJMatch->a[i].pExpr,pSchema,pNC->pSrcList);
+ }
+ }else if( pExpr->op==TK_COLUMN || pExpr->op==TK_TRIGGER ){
+ sqlite3AuthRead(pParse, pExpr, pSchema, pNC->pSrcList);
+--
+2.35.6
+
diff --git a/meta/recipes-support/sqlite/sqlite3_3.45.3.bb b/meta/recipes-support/sqlite/sqlite3_3.45.3.bb
index 926f8223fd0..84d67ce977f 100644
--- a/meta/recipes-support/sqlite/sqlite3_3.45.3.bb
+++ b/meta/recipes-support/sqlite/sqlite3_3.45.3.bb
@@ -13,6 +13,10 @@ SRC_URI = "http://www.sqlite.org/2024/sqlite-autoconf-${SQLITE_PV}.tar.gz \
file://CVE-2026-119373.patch \
file://CVE-2026-119374.patch \
file://CVE-2026-119379.patch \
-"
+ file://CVE-2026-119377-dependent_p1.patch \
+ file://CVE-2026-119377-dependent_p2.patch \
+ file://CVE-2026-119377_p1.patch \
+ file://CVE-2026-119377_p2.patch \
+ "
SRC_URI[sha256sum] = "b2809ca53124c19c60f42bf627736eae011afdcc205bb48270a5ee9a38191531"
^ permalink raw reply related [flat|nested] 40+ messages in thread* [OE-core][scarthgap 08/37] sqlite3: fix CVE-2026-119375
2026-11-27 17:48 [OE-core][scarthgap 00/37] Patch review Yoann Congal
` (6 preceding siblings ...)
2026-11-27 17:48 ` [OE-core][scarthgap 07/37] sqlite3: Fix CVE-2026-119377 Yoann Congal
@ 2026-11-27 17:48 ` Yoann Congal
2026-11-27 17:48 ` [OE-core][scarthgap 09/37] sqlite3: fix CVE-2026-119372 Yoann Congal
` (28 subsequent siblings)
36 siblings, 0 replies; 40+ messages in thread
From: Yoann Congal @ 2026-11-27 17:48 UTC (permalink / raw)
To: openembedded-core
From: Arpit Patel <arpitpa@cisco.com>
This patch applies the upstream fix [1], which fully initializes the
page read when the WAL and database page sizes differ, preventing
disclosure of uninitialized page data. The GitHub mirror commit [1]
corresponds to the SQLite Fossil check-in shown in [2].
[1] https://github.com/sqlite/sqlite/commit/e5bf119821f25be1d7f10ef0a2edbe175289166e
[2] https://sqlite.org/src/info/f9b4ee369557c36c
Reference:
https://nvd.nist.gov/vuln/detail/CVE-2026-119375
Signed-off-by: Arpit Patel <arpitpa@cisco.com>
Signed-off-by: Bastien Jauny <bastien.jauny@smile.fr>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
.../sqlite/sqlite3/CVE-2026-119375.patch | 47 +++++++++++++++++++
meta/recipes-support/sqlite/sqlite3_3.45.3.bb | 3 ++
2 files changed, 50 insertions(+)
create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119375.patch
diff --git a/meta/recipes-support/sqlite/sqlite3/CVE-2026-119375.patch b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119375.patch
new file mode 100644
index 00000000000..390a3f5234b
--- /dev/null
+++ b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119375.patch
@@ -0,0 +1,47 @@
+From c9e05db641c387aad309081b35afa3e703aa075d Mon Sep 17 00:00:00 2001
+From: drh <>
+Date: Sun, 16 Aug 2026 10:49:39 +0000
+Subject: [PATCH] When reading a frame from a WAL file where the WAL pagesize
+ and the database pagesize disagree, be sure to fully initialize the page that
+ is read.
+
+FossilOrigin-Name: f9b4ee369557c36c606666bd7e6d8dc4685d87531993d3ce4e7a718aa814a5ac
+
+CVE: CVE-2026-119375
+Upstream-Status: Backport [https://github.com/sqlite/sqlite/commit/e5bf119821f25be1d7f10ef0a2edbe175289166e]
+
+Backport Changes:
+- Applied the src/wal.c change to sqlite3.c because the recipe source
+ uses the amalgamated SQLite layout.
+- Omitted manifest and manifest.uuid because they are Fossil
+ repository metadata and are not needed in this source patch.
+
+Signed-off-by: Arpit Patel <arpitpa@cisco.com>
+---
+ sqlite3.c | 6 +++++-
+ 1 file changed, 5 insertions(+), 1 deletion(-)
+
+diff --git a/sqlite3.c b/sqlite3.c
+index a397e4d36b..afcf2b1969 100644
+--- a/sqlite3.c
++++ b/sqlite3.c
+@@ -68201,11 +68201,15 @@ SQLITE_PRIVATE int sqlite3WalReadFrame(
+ i64 iOffset;
+ sz = pWal->hdr.szPage;
+ sz = (sz&0xfe00) + ((sz&0x0001)<<16);
++ if( nOut>sz ){
++ memset(pOut+sz, 0, nOut-sz);
++ nOut = sz;
++ }
+ testcase( sz<=32768 );
+ testcase( sz>=65536 );
+ iOffset = walFrameOffset(iRead, sz) + WAL_FRAME_HDRSIZE;
+ /* testcase( IS_BIG_INT(iOffset) ); // requires a 4GiB WAL */
+- return sqlite3OsRead(pWal->pWalFd, pOut, (nOut>sz ? sz : nOut), iOffset);
++ return sqlite3OsRead(pWal->pWalFd, pOut, nOut, iOffset);
+ }
+
+ /*
+--
+2.35.6
+
diff --git a/meta/recipes-support/sqlite/sqlite3_3.45.3.bb b/meta/recipes-support/sqlite/sqlite3_3.45.3.bb
index 84d67ce977f..d5d5f101b0a 100644
--- a/meta/recipes-support/sqlite/sqlite3_3.45.3.bb
+++ b/meta/recipes-support/sqlite/sqlite3_3.45.3.bb
@@ -17,6 +17,9 @@ SRC_URI = "http://www.sqlite.org/2024/sqlite-autoconf-${SQLITE_PV}.tar.gz \
file://CVE-2026-119377-dependent_p2.patch \
file://CVE-2026-119377_p1.patch \
file://CVE-2026-119377_p2.patch \
+ file://CVE-2026-119373.patch \
+ file://CVE-2026-119374.patch \
+ file://CVE-2026-119375.patch \
"
SRC_URI[sha256sum] = "b2809ca53124c19c60f42bf627736eae011afdcc205bb48270a5ee9a38191531"
^ permalink raw reply related [flat|nested] 40+ messages in thread* [OE-core][scarthgap 09/37] sqlite3: fix CVE-2026-119372
2026-11-27 17:48 [OE-core][scarthgap 00/37] Patch review Yoann Congal
` (7 preceding siblings ...)
2026-11-27 17:48 ` [OE-core][scarthgap 08/37] sqlite3: fix CVE-2026-119375 Yoann Congal
@ 2026-11-27 17:48 ` Yoann Congal
2026-11-27 17:48 ` [OE-core][scarthgap 10/37] sqlite3: fix CVE-2026-119378 Yoann Congal
` (27 subsequent siblings)
36 siblings, 0 replies; 40+ messages in thread
From: Yoann Congal @ 2026-11-27 17:48 UTC (permalink / raw)
To: openembedded-core
From: Arpit Patel <arpitpa@cisco.com>
This patch applies the upstream fix [1], which prevents a use-after-free
in FTS3 snippet() processing. The GitHub mirror commit [1] corresponds
to the SQLite Fossil check-in shown in [2].
[1] https://github.com/sqlite/sqlite/commit/a87bd2471a9c0606e78d3c3678bcd9cecaa0e731
[2] https://sqlite.org/src/info/e4635c41536a
Reference:
https://nvd.nist.gov/vuln/detail/CVE-2026-119372
Signed-off-by: Arpit Patel <arpitpa@cisco.com>
Signed-off-by: Bastien Jauny <bastien.jauny@smile.fr>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
.../sqlite/sqlite3/CVE-2026-119372.patch | 56 +++++++++++++++++++
meta/recipes-support/sqlite/sqlite3_3.45.3.bb | 3 +-
2 files changed, 57 insertions(+), 2 deletions(-)
create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119372.patch
diff --git a/meta/recipes-support/sqlite/sqlite3/CVE-2026-119372.patch b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119372.patch
new file mode 100644
index 00000000000..96a9fdab6cc
--- /dev/null
+++ b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119372.patch
@@ -0,0 +1,56 @@
+From a5fe767d0ba12d3082bd22b3c5341fdb6cc6ef95 Mon Sep 17 00:00:00 2001
+From: dan <Dan Kennedy>
+Date: Mon, 17 Aug 2026 13:55:38 +0000
+Subject: [PATCH] Avoid a problem causing a use-after-free in the fts3
+ snippet() function. Report [bugs:/info/2026-08-17T09:18:24Z |
+ 2026-08-17T09:18:24Z].
+
+FossilOrigin-Name: e4635c41536a0b3620780c3f1c872de33121370bafb608fce9fe7e3113e2ae01
+
+CVE: CVE-2026-119372
+Upstream-Status: Backport [https://github.com/sqlite/sqlite/commit/a87bd2471a9c0606e78d3c3678bcd9cecaa0e731]
+
+Backport Changes:
+- Applied the ext/fts3/fts3_snippet.c fix to sqlite3.c because the
+ recipe source uses the amalgamated SQLite layout.
+- Omitted test/fts3snippet2.test because the extracted source does not
+ include the upstream Tcl test tree.
+- Omitted manifest and manifest.uuid because they are Fossil
+ repository metadata and are not needed for this source patch.
+
+Signed-off-by: Arpit Patel <arpitpa@cisco.com>
+---
+ sqlite3.c | 10 +++++++---
+ 1 file changed, 7 insertions(+), 3 deletions(-)
+
+diff --git a/sqlite3.c b/sqlite3.c
+index 8cbe1d3ec7..62a8d5128b 100644
+--- a/sqlite3.c
++++ b/sqlite3.c
+@@ -201458,6 +201458,7 @@ static int fts3BestSnippet(
+ sqlite3_int64 nByte; /* Number of bytes of space to allocate */
+ int iBestScore = -1; /* Best snippet score found so far */
+ int i; /* Loop counter */
++ Fts3Expr *pExpr = pCsr->pExpr;
+
+ memset(&sIter, 0, sizeof(sIter));
+
+@@ -201486,9 +201487,12 @@ static int fts3BestSnippet(
+ sIter.nSnippet = nSnippet;
+ sIter.nPhrase = nList;
+ sIter.iCurrent = -1;
+- rc = sqlite3Fts3ExprIterate(
+- pCsr->pExpr, fts3SnippetFindPositions, (void*)&sIter
+- );
++ rc = sqlite3Fts3ExprIterate(pExpr, fts3SnippetFindPositions, (void*)&sIter);
++ if( rc==SQLITE_OK ){
++ /* Iterate through the expression twice, in case pointers garnered during
++ ** the first iteration are invalidated by a call to fts5EvalRestart(). */
++ rc = sqlite3Fts3ExprIterate(pExpr, fts3SnippetFindPositions, (void*)&sIter);
++ }
+ if( rc==SQLITE_OK ){
+
+ /* Set the *pmSeen output variable. */
+--
+2.35.6
+
diff --git a/meta/recipes-support/sqlite/sqlite3_3.45.3.bb b/meta/recipes-support/sqlite/sqlite3_3.45.3.bb
index d5d5f101b0a..378903944bb 100644
--- a/meta/recipes-support/sqlite/sqlite3_3.45.3.bb
+++ b/meta/recipes-support/sqlite/sqlite3_3.45.3.bb
@@ -17,9 +17,8 @@ SRC_URI = "http://www.sqlite.org/2024/sqlite-autoconf-${SQLITE_PV}.tar.gz \
file://CVE-2026-119377-dependent_p2.patch \
file://CVE-2026-119377_p1.patch \
file://CVE-2026-119377_p2.patch \
- file://CVE-2026-119373.patch \
- file://CVE-2026-119374.patch \
file://CVE-2026-119375.patch \
+ file://CVE-2026-119372.patch \
"
SRC_URI[sha256sum] = "b2809ca53124c19c60f42bf627736eae011afdcc205bb48270a5ee9a38191531"
^ permalink raw reply related [flat|nested] 40+ messages in thread* [OE-core][scarthgap 10/37] sqlite3: fix CVE-2026-119378
2026-11-27 17:48 [OE-core][scarthgap 00/37] Patch review Yoann Congal
` (8 preceding siblings ...)
2026-11-27 17:48 ` [OE-core][scarthgap 09/37] sqlite3: fix CVE-2026-119372 Yoann Congal
@ 2026-11-27 17:48 ` Yoann Congal
2026-11-27 17:48 ` [OE-core][scarthgap 11/37] sqlite3: fix CVE-2026-119376 Yoann Congal
` (26 subsequent siblings)
36 siblings, 0 replies; 40+ messages in thread
From: Yoann Congal @ 2026-11-27 17:48 UTC (permalink / raw)
To: openembedded-core
From: Arpit Patel <arpitpa@cisco.com>
This patch applies the upstream fix [1], which prevents a use-after-free
in R-Tree when a manipulated shadow-table schema causes
sqlite3_last_insert_rowid() to return 0. The GitHub mirror commit [1]
corresponds to the SQLite Fossil check-in shown in [2].
[1] https://github.com/sqlite/sqlite/commit/d21bd37c7cfc1b85b17a6703555f0926b6236e04
[2] https://sqlite.org/src/info/6a9e1415659f9e75
Reference:
https://nvd.nist.gov/vuln/detail/CVE-2026-119378
Signed-off-by: Arpit Patel <arpitpa@cisco.com>
Signed-off-by: Bastien Jauny <bastien.jauny@smile.fr>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
.../sqlite/sqlite3/CVE-2026-119378.patch | 52 +++++++++++++++++++
meta/recipes-support/sqlite/sqlite3_3.45.3.bb | 1 +
2 files changed, 53 insertions(+)
create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119378.patch
diff --git a/meta/recipes-support/sqlite/sqlite3/CVE-2026-119378.patch b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119378.patch
new file mode 100644
index 00000000000..98937c7bc91
--- /dev/null
+++ b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119378.patch
@@ -0,0 +1,52 @@
+From 347b0263ce597345446fcfd259d063ef86228191 Mon Sep 17 00:00:00 2001
+From: dan <Dan Kennedy>
+Date: Thu, 24 Sep 2026 20:14:31 +0000
+Subject: [PATCH] Avoid a use-after-free problem in rtree triggered by an
+ attacker manipulating the shadow table schema to ensure
+ sqlite3_last_insert_rowid() returns 0 after certain INSERTs. Problem reported
+ by Claude and Ada Logics.
+
+FossilOrigin-Name: 6a9e1415659f9e75940b3c3a6f6e123f61c5e9e2a7a612693ee395d7b7567bef
+
+CVE: CVE-2026-119378
+Upstream-Status: Backport [https://github.com/sqlite/sqlite/commit/d21bd37c7cfc1b85b17a6703555f0926b6236e04]
+
+Backport Changes:
+- Applied the ext/rtree/rtree.c fix to sqlite3.c because the recipe
+ source uses the amalgamated SQLite layout.
+- Omitted ext/rtree/rtreeI.test because the extracted source does not
+ include the upstream test tree.
+- Omitted manifest and manifest.uuid because they are Fossil
+ repository metadata and are not needed for this source patch.
+
+Signed-off-by: Arpit Patel <arpitpa@cisco.com>
+---
+ sqlite3.c | 12 +++++++++++-
+ 1 file changed, 11 insertions(+), 1 deletion(-)
+
+diff --git a/sqlite3.c b/sqlite3.c
+index 62a8d5128b..4b1c310fd6 100644
+--- a/sqlite3.c
++++ b/sqlite3.c
+@@ -209661,7 +209661,17 @@ static int nodeWrite(Rtree *pRtree, RtreeNode *pNode){
+ sqlite3_bind_null(p, 2);
+ if( pNode->iNode==0 && rc==SQLITE_OK ){
+ pNode->iNode = sqlite3_last_insert_rowid(pRtree->db);
+- nodeHashInsert(pRtree, pNode);
++ if( pNode->iNode==0 ){
++ /* If the SQL statement has succeeded but sqlite3_last_insert_rowid()
++ ** returns 0, then the shadow table schema has been corrupted somehow
++ ** (e.g. the %_node table has been replaced by a WITHOUT ROWID table).
++ ** It would be dangerous to continue in this case as the hash table
++ ** implementation assumes iNode==0 means that the node is not part
++ ** of the hash table. */
++ rc = SQLITE_CORRUPT_VTAB;
++ }else{
++ nodeHashInsert(pRtree, pNode);
++ }
+ }
+ }
+ return rc;
+--
+2.35.6
+
diff --git a/meta/recipes-support/sqlite/sqlite3_3.45.3.bb b/meta/recipes-support/sqlite/sqlite3_3.45.3.bb
index 378903944bb..8a8456567ec 100644
--- a/meta/recipes-support/sqlite/sqlite3_3.45.3.bb
+++ b/meta/recipes-support/sqlite/sqlite3_3.45.3.bb
@@ -19,6 +19,7 @@ SRC_URI = "http://www.sqlite.org/2024/sqlite-autoconf-${SQLITE_PV}.tar.gz \
file://CVE-2026-119377_p2.patch \
file://CVE-2026-119375.patch \
file://CVE-2026-119372.patch \
+ file://CVE-2026-119378.patch \
"
SRC_URI[sha256sum] = "b2809ca53124c19c60f42bf627736eae011afdcc205bb48270a5ee9a38191531"
^ permalink raw reply related [flat|nested] 40+ messages in thread* [OE-core][scarthgap 11/37] sqlite3: fix CVE-2026-119376
2026-11-27 17:48 [OE-core][scarthgap 00/37] Patch review Yoann Congal
` (9 preceding siblings ...)
2026-11-27 17:48 ` [OE-core][scarthgap 10/37] sqlite3: fix CVE-2026-119378 Yoann Congal
@ 2026-11-27 17:48 ` Yoann Congal
2026-11-27 17:48 ` [OE-core][scarthgap 12/37] sqlite3: fix CVE-2026-119371 Yoann Congal
` (25 subsequent siblings)
36 siblings, 0 replies; 40+ messages in thread
From: Yoann Congal @ 2026-11-27 17:48 UTC (permalink / raw)
To: openembedded-core
From: Arpit Patel <arpitpa@cisco.com>
This patch applies the upstream fix [1], which includes COLLATE
expressions in expression tree depth calculations and prevents bypass
of the expression depth limit. The GitHub mirror commit [1] corresponds
to the SQLite Fossil check-in shown in [2].
[1] https://github.com/sqlite/sqlite/commit/d54522a5b832422ab893a1e9fa7a99ab314ea4e2
[2] https://sqlite.org/src/info/252c0b7bf5a727d2
Reference:
https://nvd.nist.gov/vuln/detail/CVE-2026-119376
Signed-off-by: Arpit Patel <arpitpa@cisco.com>
Signed-off-by: Bastien Jauny <bastien.jauny@smile.fr>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
.../sqlite/sqlite3/CVE-2026-119376.patch | 75 +++++++++++++++++++
meta/recipes-support/sqlite/sqlite3_3.45.3.bb | 1 +
2 files changed, 76 insertions(+)
create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119376.patch
diff --git a/meta/recipes-support/sqlite/sqlite3/CVE-2026-119376.patch b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119376.patch
new file mode 100644
index 00000000000..975054e843f
--- /dev/null
+++ b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119376.patch
@@ -0,0 +1,75 @@
+From 2af844923ba3e32fb16b06adab4e4ad3b2f4da49 Mon Sep 17 00:00:00 2001
+From: drh <>
+Date: Sun, 4 Oct 2026 21:54:17 +0000
+Subject: [PATCH] Fix expression tree depth calculations for COLLATE.
+ [bugs:/info/2026-10-04T04:50:56Z|Bug 2026-10-04T04:50:56Z]
+
+FossilOrigin-Name: 252c0b7bf5a727d29605672bb58e06c758173c276671df3e388a68294998b4d3
+
+CVE: CVE-2026-119376
+Upstream-Status: Backport [https://github.com/sqlite/sqlite/commit/d54522a5b832422ab893a1e9fa7a99ab314ea4e2]
+
+Backport Changes:
+- Ported the src/expr.c and src/sqliteInt.h changes into sqlite3.c
+ because the recipe source uses the amalgamated SQLite layout.
+- Omitted test/sqllimits1.test because the extracted source does not
+ include the upstream test tree.
+- Omitted manifest and manifest.uuid because they are Fossil
+ repository metadata and are not needed for this source patch.
+
+Signed-off-by: Arpit Patel <arpitpa@cisco.com>
+---
+ sqlite3.c | 16 +++++++++++-----
+ 1 file changed, 11 insertions(+), 5 deletions(-)
+
+diff --git a/sqlite3.c b/sqlite3.c
+index 4b1c310fd6..7385344f84 100644
+--- a/sqlite3.c
++++ b/sqlite3.c
+@@ -21204,8 +21204,8 @@ SQLITE_PRIVATE void sqlite3SetTextEncoding(sqlite3 *db, u8);
+ SQLITE_PRIVATE CollSeq *sqlite3ExprCollSeq(Parse *pParse, const Expr *pExpr);
+ SQLITE_PRIVATE CollSeq *sqlite3ExprNNCollSeq(Parse *pParse, const Expr *pExpr);
+ SQLITE_PRIVATE int sqlite3ExprCollSeqMatch(Parse*,const Expr*,const Expr*);
+-SQLITE_PRIVATE Expr *sqlite3ExprAddCollateToken(const Parse *pParse, Expr*, const Token*, int);
+-SQLITE_PRIVATE Expr *sqlite3ExprAddCollateString(const Parse*,Expr*,const char*);
++SQLITE_PRIVATE Expr *sqlite3ExprAddCollateToken(Parse *pParse, Expr*, const Token*, int);
++SQLITE_PRIVATE Expr *sqlite3ExprAddCollateString(Parse*,Expr*,const char*);
+ SQLITE_PRIVATE Expr *sqlite3ExprSkipCollate(Expr*);
+ SQLITE_PRIVATE Expr *sqlite3ExprSkipCollateAndLikely(Expr*);
+ SQLITE_PRIVATE int sqlite3CheckCollSeq(Parse *, CollSeq *);
+@@ -108701,23 +108701,29 @@ SQLITE_PRIVATE int sqlite3ExprDataType(const Expr *pExpr){
+ ** and the pExpr parameter is returned unchanged.
+ */
+ SQLITE_PRIVATE Expr *sqlite3ExprAddCollateToken(
+- const Parse *pParse, /* Parsing context */
++ Parse *pParse, /* Parsing context */
+ Expr *pExpr, /* Add the "COLLATE" clause to this expression */
+ const Token *pCollName, /* Name of collating sequence */
+ int dequote /* True to dequote pCollName */
+ ){
+- if( pCollName->n>0 ){
++ if( pCollName->n>0 && pParse->nErr==0 ){
+ Expr *pNew = sqlite3ExprAlloc(pParse->db, TK_COLLATE, pCollName, dequote);
++ assert( pExpr!=0 );
+ if( pNew ){
+ pNew->pLeft = pExpr;
+ pNew->flags |= EP_Collate|EP_Skip;
++#if SQLITE_MAX_EXPR_DEPTH>0
++ pNew->nHeight = pExpr->nHeight+1;
++ sqlite3ExprCheckHeight(pParse, pNew->nHeight);
++ testcase( pParse->nErr>0 );
++#endif
+ pExpr = pNew;
+ }
+ }
+ return pExpr;
+ }
+ SQLITE_PRIVATE Expr *sqlite3ExprAddCollateString(
+- const Parse *pParse, /* Parsing context */
++ Parse *pParse, /* Parsing context */
+ Expr *pExpr, /* Add the "COLLATE" clause to this expression */
+ const char *zC /* The collating sequence name */
+ ){
+--
+2.35.6
+
diff --git a/meta/recipes-support/sqlite/sqlite3_3.45.3.bb b/meta/recipes-support/sqlite/sqlite3_3.45.3.bb
index 8a8456567ec..480f597b662 100644
--- a/meta/recipes-support/sqlite/sqlite3_3.45.3.bb
+++ b/meta/recipes-support/sqlite/sqlite3_3.45.3.bb
@@ -20,6 +20,7 @@ SRC_URI = "http://www.sqlite.org/2024/sqlite-autoconf-${SQLITE_PV}.tar.gz \
file://CVE-2026-119375.patch \
file://CVE-2026-119372.patch \
file://CVE-2026-119378.patch \
+ file://CVE-2026-119376.patch \
"
SRC_URI[sha256sum] = "b2809ca53124c19c60f42bf627736eae011afdcc205bb48270a5ee9a38191531"
^ permalink raw reply related [flat|nested] 40+ messages in thread* [OE-core][scarthgap 12/37] sqlite3: fix CVE-2026-119371
2026-11-27 17:48 [OE-core][scarthgap 00/37] Patch review Yoann Congal
` (10 preceding siblings ...)
2026-11-27 17:48 ` [OE-core][scarthgap 11/37] sqlite3: fix CVE-2026-119376 Yoann Congal
@ 2026-11-27 17:48 ` Yoann Congal
2026-11-27 17:48 ` [OE-core][scarthgap 13/37] sqlite3: fix CVE-2026-119591 Yoann Congal
` (24 subsequent siblings)
36 siblings, 0 replies; 40+ messages in thread
From: Yoann Congal @ 2026-11-27 17:48 UTC (permalink / raw)
To: openembedded-core
From: Arpit Patel <arpitpa@cisco.com>
This patch series applies the upstream prerequisite [1] and CTE recursion
fix [3]. Commit [1] adds VIEW and subquery nesting tracking; commit [3]
uses that counter to limit recursive CTE depth. The GitHub commits [1]
and [3] correspond to SQLite Fossil check-ins [2] and [4], respectively.
[1] https://github.com/sqlite/sqlite/commit/9fb225190c3ac0e51f11a7fddab0d4cc960417ad
[2] https://sqlite.org/src/info/3f3fb9b638f59ad9
[3] https://github.com/sqlite/sqlite/commit/e6ff280c839fdfc7418fd5add12e8f32702a17fb
[4] https://sqlite.org/src/info/f54730871303e655
Reference:
https://nvd.nist.gov/vuln/detail/CVE-2026-119371
Signed-off-by: Arpit Patel <arpitpa@cisco.com>
Signed-off-by: Bastien Jauny <bastien.jauny@smile.fr>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
.../sqlite3/CVE-2026-119371-dependent.patch | 109 ++++++++++++++++++
.../sqlite/sqlite3/CVE-2026-119371.patch | 104 +++++++++++++++++
meta/recipes-support/sqlite/sqlite3_3.45.3.bb | 2 +
3 files changed, 215 insertions(+)
create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119371-dependent.patch
create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119371.patch
diff --git a/meta/recipes-support/sqlite/sqlite3/CVE-2026-119371-dependent.patch b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119371-dependent.patch
new file mode 100644
index 00000000000..6f06da3d741
--- /dev/null
+++ b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119371-dependent.patch
@@ -0,0 +1,109 @@
+From fcea662407384de099367f4eded9dae4ac16b7eb Mon Sep 17 00:00:00 2001
+From: drh <>
+Date: Tue, 16 Jun 2026 13:43:08 +0000
+Subject: [PATCH] Limit VIEW recursion depth to SQLITE_LIMIT_EXPR_DEPTH to
+ prevent static overflow in malicious schemas with tens of thousands of levels
+ of recursive views. [bugs:/info/2026-06-16T04:21:51Z|Bug
+ 2026-06-16T04:21:51Z]
+
+FossilOrigin-Name: 3f3fb9b638f59ad982beafb7c117f24ddd3da612e62c862510805fa672ffae06
+
+CVE: CVE-2026-119371
+Upstream-Status: Backport [https://github.com/sqlite/sqlite/commit/9fb225190c3ac0e51f11a7fddab0d4cc960417ad]
+
+Backport Changes:
+- Ported src/select.c and src/sqliteInt.h code into the amalgamated
+ sqlite3.c source file.
+- Updated limit documentation in sqlite3.c and sqlite3.h.
+- Omitted test/view.test because the extracted source lacks the upstream
+ test tree.
+- Omitted manifest and manifest.uuid because they are Fossil metadata.
+
+Signed-off-by: Arpit Patel <arpitpa@cisco.com>
+---
+ sqlite3.c | 16 ++++++++++++++--
+ sqlite3.h | 6 ++++--
+ 2 files changed, 18 insertions(+), 4 deletions(-)
+
+diff --git a/sqlite3.c b/sqlite3.c
+index 7385344f84..13c687dde4 100644
+--- a/sqlite3.c
++++ b/sqlite3.c
+@@ -4418,7 +4418,8 @@ SQLITE_API int sqlite3_limit(sqlite3*, int id, int newVal);
+ ** or in an ORDER BY or GROUP BY clause.</dd>)^
+ **
+ ** [[SQLITE_LIMIT_EXPR_DEPTH]] ^(<dt>SQLITE_LIMIT_EXPR_DEPTH</dt>
+-** <dd>The maximum depth of the parse tree on any expression.</dd>)^
++** <dd>The maximum depth of the parse tree on any expression and
++** the maximum nesting depth for subqueries and VIEWs</dd>)^
+ **
+ ** [[SQLITE_LIMIT_COMPOUND_SELECT]] ^(<dt>SQLITE_LIMIT_COMPOUND_SELECT</dt>
+ ** <dd>The maximum number of terms in a compound SELECT statement.</dd>)^
+@@ -4445,7 +4446,8 @@ SQLITE_API int sqlite3_limit(sqlite3*, int id, int newVal);
+ ** <dd>The maximum index number of any [parameter] in an SQL statement.)^
+ **
+ ** [[SQLITE_LIMIT_TRIGGER_DEPTH]] ^(<dt>SQLITE_LIMIT_TRIGGER_DEPTH</dt>
+-** <dd>The maximum depth of recursion for triggers.</dd>)^
++** <dd>The maximum depth of recursion for triggers, and the maximum
++** nesting depth for separate triggers.</dd>)^
+ **
+ ** [[SQLITE_LIMIT_WORKER_THREADS]] ^(<dt>SQLITE_LIMIT_WORKER_THREADS</dt>
+ ** <dd>The maximum number of auxiliary worker threads that a single
+@@ -19755,6 +19757,7 @@ struct Parse {
+ int szOpAlloc; /* Bytes of memory space allocated for Vdbe.aOp[] */
+ int iSelfTab; /* Table associated with an index on expr, or negative
+ ** of the base register during check-constraint eval */
++ int nNestSel; /* Number of nested SELECT statements and/or VIEWs */
+ int nLabel; /* The *negative* of the number of labels used */
+ int nLabelAlloc; /* Number of slots in aLabel */
+ int *aLabel; /* Space to hold the labels */
+@@ -144384,6 +144387,13 @@ SQLITE_PRIVATE Table *sqlite3ResultSetOfSelect(Parse *pParse, Select *pSelect, c
+ sqlite3 *db = pParse->db;
+ u64 savedFlags;
+
++ pParse->nNestSel++;
++#if SQLITE_MAX_EXPR_DEPTH>0
++ if( pParse->nNestSel >= db->aLimit[SQLITE_LIMIT_EXPR_DEPTH] ){
++ sqlite3ErrorMsg(pParse, "VIEWs and/or subqueries nested too deep");
++ return 0;
++ }
++#endif
+ savedFlags = db->flags;
+ db->flags &= ~(u64)SQLITE_FullColNames;
+ db->flags |= SQLITE_ShortColNames;
+@@ -144405,6 +144415,8 @@ SQLITE_PRIVATE Table *sqlite3ResultSetOfSelect(Parse *pParse, Select *pSelect, c
+ sqlite3DeleteTable(db, pTab);
+ return 0;
+ }
++ pParse->nNestSel--;
++ assert( pParse->nNestSel>=0 );
+ return pTab;
+ }
+
+diff --git a/sqlite3.h b/sqlite3.h
+index 056511f577..705217e7ff 100644
+--- a/sqlite3.h
++++ b/sqlite3.h
+@@ -4127,7 +4127,8 @@ SQLITE_API int sqlite3_limit(sqlite3*, int id, int newVal);
+ ** or in an ORDER BY or GROUP BY clause.</dd>)^
+ **
+ ** [[SQLITE_LIMIT_EXPR_DEPTH]] ^(<dt>SQLITE_LIMIT_EXPR_DEPTH</dt>
+-** <dd>The maximum depth of the parse tree on any expression.</dd>)^
++** <dd>The maximum depth of the parse tree on any expression and
++** the maximum nesting depth for subqueries and VIEWs</dd>)^
+ **
+ ** [[SQLITE_LIMIT_COMPOUND_SELECT]] ^(<dt>SQLITE_LIMIT_COMPOUND_SELECT</dt>
+ ** <dd>The maximum number of terms in a compound SELECT statement.</dd>)^
+@@ -4154,7 +4155,8 @@ SQLITE_API int sqlite3_limit(sqlite3*, int id, int newVal);
+ ** <dd>The maximum index number of any [parameter] in an SQL statement.)^
+ **
+ ** [[SQLITE_LIMIT_TRIGGER_DEPTH]] ^(<dt>SQLITE_LIMIT_TRIGGER_DEPTH</dt>
+-** <dd>The maximum depth of recursion for triggers.</dd>)^
++** <dd>The maximum depth of recursion for triggers, and the maximum
++** nesting depth for separate triggers.</dd>)^
+ **
+ ** [[SQLITE_LIMIT_WORKER_THREADS]] ^(<dt>SQLITE_LIMIT_WORKER_THREADS</dt>
+ ** <dd>The maximum number of auxiliary worker threads that a single
+--
+2.35.6
+
diff --git a/meta/recipes-support/sqlite/sqlite3/CVE-2026-119371.patch b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119371.patch
new file mode 100644
index 00000000000..03588c983ba
--- /dev/null
+++ b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119371.patch
@@ -0,0 +1,104 @@
+From 15f41e88d9729b80cf61f1d4893e166a61be10bb Mon Sep 17 00:00:00 2001
+From: drh <>
+Date: Mon, 5 Oct 2026 09:32:24 +0000
+Subject: [PATCH] Limit the depth of recursion for CTEs using
+ SQLITE_LIMIT_EXPR_DEPTH. [bugs:/info/2026-10-04T04:58:58Z|Bug
+ 2026-10-04T04:58:58Z].
+
+FossilOrigin-Name: f54730871303e655a70f3167ce1a39dcd4e53fcf017d225f429e2bb67ad96604
+
+CVE: CVE-2026-119371
+Upstream-Status: Backport [https://github.com/sqlite/sqlite/commit/e6ff280c839fdfc7418fd5add12e8f32702a17fb]
+
+Backport Changes:
+- Ported src/select.c changes into the amalgamated sqlite3.c file.
+- Kept pFrom->pTab in the comment, as used in the current version.
+- Omitted test/with2.test because the extracted source lacks the
+ upstream test tree.
+- Omitted manifest and manifest.uuid because they are Fossil metadata.
+
+Signed-off-by: Arpit Patel <arpitpa@cisco.com>
+---
+ sqlite3.c | 36 ++++++++++++++++++++++++------------
+ 1 file changed, 24 insertions(+), 12 deletions(-)
+
+diff --git a/sqlite3.c b/sqlite3.c
+index 13c687dde4..27b3bff8ea 100644
+--- a/sqlite3.c
++++ b/sqlite3.c
+@@ -144378,6 +144378,20 @@ SQLITE_PRIVATE void sqlite3SubqueryColumnTypes(
+ pTab->szTabRow = 1; /* Any non-zero value works */
+ }
+
++/*
++** Check the current subquery nesting depth. Return true and set an
++** error if it has gone too deep.
++*/
++static int checkSubqueryNestingDepth(Parse *pParse){
++#if SQLITE_MAX_EXPR_DEPTH>0
++ if( pParse->nNestSel >= pParse->db->aLimit[SQLITE_LIMIT_EXPR_DEPTH] ){
++ sqlite3ErrorMsg(pParse, "VIEWs and/or subqueries nested too deep");
++ return 1;
++ }
++#endif
++ return 0;
++}
++
+ /*
+ ** Given a SELECT statement, generate a Table structure that describes
+ ** the result set of that SELECT.
+@@ -144388,12 +144402,7 @@ SQLITE_PRIVATE Table *sqlite3ResultSetOfSelect(Parse *pParse, Select *pSelect, c
+ u64 savedFlags;
+
+ pParse->nNestSel++;
+-#if SQLITE_MAX_EXPR_DEPTH>0
+- if( pParse->nNestSel >= db->aLimit[SQLITE_LIMIT_EXPR_DEPTH] ){
+- sqlite3ErrorMsg(pParse, "VIEWs and/or subqueries nested too deep");
+- return 0;
+- }
+-#endif
++ if( checkSubqueryNestingDepth(pParse) ) return 0;
+ savedFlags = db->flags;
+ db->flags &= ~(u64)SQLITE_FullColNames;
+ db->flags |= SQLITE_ShortColNames;
+@@ -147651,14 +147660,13 @@ SQLITE_PRIVATE With *sqlite3WithPush(Parse *pParse, With *pWith, u8 bFree){
+ }
+
+ /*
+-** This function checks if argument pFrom refers to a CTE declared by
++** This function checks to see if argument pFrom refers to a CTE declared by
+ ** a WITH clause on the stack currently maintained by the parser (on the
+-** pParse->pWith linked list). And if currently processing a CTE
+-** CTE expression, through routine checks to see if the reference is
+-** a recursive reference to the CTE.
++** pParse->pWith linked list). And if currently processing a CTE expression,
++** it also checks to see if the reference is a recursive reference to the CTE.
+ **
+-** If pFrom matches a CTE according to either of these two above, pFrom->pTab
+-** and other fields are populated accordingly.
++** If pFrom matches a CTE, pFrom->pTab and other fields are populated
++** accordingly.
+ **
+ ** Return 0 if no match is found.
+ ** Return 1 if a match is found.
+@@ -147781,6 +147789,8 @@ static int resolveFromTermToCte(
+ pRecTerm = pRecTerm->pPrior;
+ }
+
++ pParse->nNestSel++;
++ if( checkSubqueryNestingDepth(pParse) ) return 2;
+ pCte->zCteErr = "circular reference: %s";
+ pSavedWith = pParse->pWith;
+ pParse->pWith = pWith;
+@@ -147805,6 +147815,8 @@ static int resolveFromTermToCte(
+ }
+ }
+ pParse->pWith = pWith;
++ pParse->nNestSel--;
++ assert( pParse->nNestSel>=0 );
+
+ for(pLeft=pSel; pLeft->pPrior; pLeft=pLeft->pPrior);
+ pEList = pLeft->pEList;
+--
+2.35.6
+
diff --git a/meta/recipes-support/sqlite/sqlite3_3.45.3.bb b/meta/recipes-support/sqlite/sqlite3_3.45.3.bb
index 480f597b662..464d1cf9b03 100644
--- a/meta/recipes-support/sqlite/sqlite3_3.45.3.bb
+++ b/meta/recipes-support/sqlite/sqlite3_3.45.3.bb
@@ -21,6 +21,8 @@ SRC_URI = "http://www.sqlite.org/2024/sqlite-autoconf-${SQLITE_PV}.tar.gz \
file://CVE-2026-119372.patch \
file://CVE-2026-119378.patch \
file://CVE-2026-119376.patch \
+ file://CVE-2026-119371-dependent.patch \
+ file://CVE-2026-119371.patch \
"
SRC_URI[sha256sum] = "b2809ca53124c19c60f42bf627736eae011afdcc205bb48270a5ee9a38191531"
^ permalink raw reply related [flat|nested] 40+ messages in thread* [OE-core][scarthgap 13/37] sqlite3: fix CVE-2026-119591
2026-11-27 17:48 [OE-core][scarthgap 00/37] Patch review Yoann Congal
` (11 preceding siblings ...)
2026-11-27 17:48 ` [OE-core][scarthgap 12/37] sqlite3: fix CVE-2026-119371 Yoann Congal
@ 2026-11-27 17:48 ` Yoann Congal
2026-11-27 17:48 ` [OE-core][scarthgap 14/37] popt: patch CVE-2026-18839 Yoann Congal
` (23 subsequent siblings)
36 siblings, 0 replies; 40+ messages in thread
From: Yoann Congal @ 2026-11-27 17:48 UTC (permalink / raw)
To: openembedded-core
From: Arpit Patel <arpitpa@cisco.com>
This patch applies the upstream fix [1] for stack exhaustion in the
count-of-view optimization. The GitHub mirror commit [1] corresponds
to the SQLite Fossil check-in shown in [2].
[1] https://github.com/sqlite/sqlite/commit/eff50a067c55f972909e7780e506e91382d08de2
[2] https://sqlite.org/src/info/ab621a3e11ee4acc
Reference:
https://nvd.nist.gov/vuln/detail/CVE-2026-119591
Signed-off-by: Arpit Patel <arpitpa@cisco.com>
Signed-off-by: Bastien Jauny <bastien.jauny@smile.fr>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
.../sqlite/sqlite3/CVE-2026-119591.patch | 40 +++++++++++++++++++
meta/recipes-support/sqlite/sqlite3_3.45.3.bb | 1 +
2 files changed, 41 insertions(+)
create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119591.patch
diff --git a/meta/recipes-support/sqlite/sqlite3/CVE-2026-119591.patch b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119591.patch
new file mode 100644
index 00000000000..3162d7af45d
--- /dev/null
+++ b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119591.patch
@@ -0,0 +1,40 @@
+From 5dbe255431ad2b935db31e8e3c2c66284e2709ef Mon Sep 17 00:00:00 2001
+From: drh <>
+Date: Mon, 5 Oct 2026 12:18:23 +0000
+Subject: [PATCH] Prevent the expression generated by the count-of-view
+ optimization from getting too deep and causing a CPU stack overflow.
+ [bugs:/info/2026-10-04T05:34:47Z|Bug 2026-10-04T05:34:47Z]
+
+FossilOrigin-Name: ab621a3e11ee4accce14bf6c90a7cc273d9c25a7c3d9dd2466f2bdc2bbbf8084
+
+CVE: CVE-2026-119591
+Upstream-Status: Backport [https://github.com/sqlite/sqlite/commit/eff50a067c55f972909e7780e506e91382d08de2]
+
+Backport Changes:
+- Ported the src/select.c change into the amalgamated sqlite3.c.
+- Omitted manifest and manifest.uuid because they are Fossil metadata
+ and are not needed for this source layout.
+
+Signed-off-by: Arpit Patel <arpitpa@cisco.com>
+---
+ sqlite3.c | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/sqlite3.c b/sqlite3.c
+index 27b3bff8ea..788e23a839 100644
+--- a/sqlite3.c
++++ b/sqlite3.c
+@@ -149172,6 +149172,10 @@ static int countOfViewOptimization(Parse *pParse, Select *p){
+ }else{
+ pExpr = sqlite3PExpr(pParse, TK_PLUS, pTerm, pExpr);
+ }
++ if( pParse->nErr ){
++ sqlite3ExprDelete(db, pExpr);
++ pExpr = 0;
++ }
+ pSub = pPrior;
+ }
+ p->pEList->a[0].pExpr = pExpr;
+--
+2.35.6
+
diff --git a/meta/recipes-support/sqlite/sqlite3_3.45.3.bb b/meta/recipes-support/sqlite/sqlite3_3.45.3.bb
index 464d1cf9b03..3befa41c1ca 100644
--- a/meta/recipes-support/sqlite/sqlite3_3.45.3.bb
+++ b/meta/recipes-support/sqlite/sqlite3_3.45.3.bb
@@ -23,6 +23,7 @@ SRC_URI = "http://www.sqlite.org/2024/sqlite-autoconf-${SQLITE_PV}.tar.gz \
file://CVE-2026-119376.patch \
file://CVE-2026-119371-dependent.patch \
file://CVE-2026-119371.patch \
+ file://CVE-2026-119591.patch \
"
SRC_URI[sha256sum] = "b2809ca53124c19c60f42bf627736eae011afdcc205bb48270a5ee9a38191531"
^ permalink raw reply related [flat|nested] 40+ messages in thread* [OE-core][scarthgap 14/37] popt: patch CVE-2026-18839
2026-11-27 17:48 [OE-core][scarthgap 00/37] Patch review Yoann Congal
` (12 preceding siblings ...)
2026-11-27 17:48 ` [OE-core][scarthgap 13/37] sqlite3: fix CVE-2026-119591 Yoann Congal
@ 2026-11-27 17:48 ` Yoann Congal
2026-11-27 17:48 ` [OE-core][scarthgap 15/37] aspell: upgrade 0.60.8.2 -> 0.60.8.3 Yoann Congal
` (22 subsequent siblings)
36 siblings, 0 replies; 40+ messages in thread
From: Yoann Congal @ 2026-11-27 17:48 UTC (permalink / raw)
To: openembedded-core
From: Peter Marko <peter.marko@siemens.com>
Pick commits from PR [1] referencing this CVE.
Modify the patch by converting cmake change to autotools.
[1] https://github.com/rpm-software-management/popt/pull/142
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a522f7f1d73e21745699243f6ca4fc89351fb91a)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
.../popt/popt/CVE-2026-18839-01.patch | 89 ++++
.../popt/popt/CVE-2026-18839-02.patch | 419 ++++++++++++++++++
meta/recipes-support/popt/popt_1.19.bb | 2 +
3 files changed, 510 insertions(+)
create mode 100644 meta/recipes-support/popt/popt/CVE-2026-18839-01.patch
create mode 100644 meta/recipes-support/popt/popt/CVE-2026-18839-02.patch
diff --git a/meta/recipes-support/popt/popt/CVE-2026-18839-01.patch b/meta/recipes-support/popt/popt/CVE-2026-18839-01.patch
new file mode 100644
index 00000000000..c3cb7e319c8
--- /dev/null
+++ b/meta/recipes-support/popt/popt/CVE-2026-18839-01.patch
@@ -0,0 +1,89 @@
+From 4f5a070cd98aade2767677de22661f4854d4a195 Mon Sep 17 00:00:00 2001
+From: Panu Matilainen <pmatilai@redhat.com>
+Date: Thu, 20 Aug 2026 13:46:32 +0300
+Subject: [PATCH] Bring in our own allocating printf() variants
+
+These are brought mostly as-is from rpm under a new POPT_ name, just
+with a slight change return an error on memory alloc failure whereas
+rpm exits on error.
+As the author of rvasprintf() and rasprintf() there, I'm at liberty to
+(re)license them under MIT as well.
+
+No functional changes here, just needed for sanity going forward.
+
+CVE: CVE-2026-18839
+Upstream-Status: Backport [https://github.com/rpm-software-management/popt/commit/4f5a070cd98aade2767677de22661f4854d4a195]
+Signed-off-by: Peter Marko <peter.marko@siemens.com>
+---
+ src/poptint.c | 38 ++++++++++++++++++++++++++++++++++++++
+ src/poptint.h | 4 ++++
+ 2 files changed, 42 insertions(+)
+
+diff --git a/src/poptint.c b/src/poptint.c
+index b8dc90f..6b61ae3 100644
+--- a/src/poptint.c
++++ b/src/poptint.c
+@@ -192,3 +192,41 @@ POPT_fprintf (FILE * stream, const char * format, ...)
+ }
+
+ #endif /* !defined(POPT_fprintf) */
++
++int POPT_vasprintf(char **strp, const char *fmt, va_list ap)
++{
++ char * p = NULL;
++ va_list aq;
++
++ if (strp == NULL)
++ return -1;
++
++ va_copy(aq, ap);
++ int n = vsnprintf(NULL, 0, fmt, aq);
++ va_end(aq);
++
++ if (n >= 0) {
++ size_t nb = (size_t)n + 1;
++ if ((p = malloc(nb))) {
++ va_copy(aq, ap);
++ n = vsnprintf(p, nb, fmt, aq);
++ va_end(aq);
++ } else {
++ n = -1;
++ }
++ }
++ *strp = p;
++
++ return n;
++}
++
++int POPT_asprintf(char **strp, const char *fmt, ...)
++{
++ va_list ap;
++
++ va_start(ap, fmt);
++ int n = POPT_vasprintf(strp, fmt, ap);
++ va_end(ap);
++
++ return n;
++}
+diff --git a/src/poptint.h b/src/poptint.h
+index 910d6f5..d4127b3 100644
+--- a/src/poptint.h
++++ b/src/poptint.h
+@@ -10,6 +10,7 @@
+ #define H_POPTINT
+
+ #include <stdint.h>
++#include <stdarg.h>
+
+ /**
+ * Wrapper to free(3), hides const compilation noise, permit NULL, return NULL.
+@@ -136,6 +137,9 @@ const char *POPT_next_char (const char *str);
+
+ #endif
+
++int POPT_vasprintf(char **strp, const char *fmt, va_list ap);
++int POPT_asprintf(char **strp, const char *fmt, ...);
++
+ #if defined(ENABLE_NLS) && defined(HAVE_LIBINTL_H)
+ #include <libintl.h>
+ #endif
diff --git a/meta/recipes-support/popt/popt/CVE-2026-18839-02.patch b/meta/recipes-support/popt/popt/CVE-2026-18839-02.patch
new file mode 100644
index 00000000000..702403c2b3a
--- /dev/null
+++ b/meta/recipes-support/popt/popt/CVE-2026-18839-02.patch
@@ -0,0 +1,419 @@
+From af6f19e5968d48608a062d6d92d28b7fd248f8ea Mon Sep 17 00:00:00 2001
+From: Panu Matilainen <pmatilai@redhat.com>
+Date: Thu, 20 Aug 2026 14:28:11 +0300
+Subject: [PATCH] Fix a bucketful of buffer overflows in popt --help printing
+
+singleOptionDefaultValue() based the default value string output buffer
+size on the available line length, without any sort of bounds checking
+for most data. This was trivial to overflow with longer option names.
+
+There was also this baffling ellipsizing of long string arguments, done
+done based on the rather arbitrary buffer size instead of screen limits.
+Ellipsizing of long values might be totally reasonable but that belongs
+to the display code that does all manner of formatting too.
+
+Just use our newly introduced allocating sprintf() to get it right for
+good. Drop the line length argument entirely, it was only used for
+a bad estimation of the needed buffer size.
+
+At the other end, make sure the indent length stays below available
+columns to avoid the underflow from help printing.
+
+Annoyingly we need multiple different test programs for this because
+the various crashes are quite sensitive to the max length of a single
+option in the table. There are more broken cases than these, but we
+can't test everything and these cover the CVE-2026-18839 case.
+Update the ellipsis test a bit because it no longer makes sense.
+
+Note: this depends on the previous commit.
+
+Fixes: CVE-2026-18839
+
+CVE: CVE-2026-18839
+Upstream-Status: Backport [https://github.com/rpm-software-management/popt/commit/af6f19e5968d48608a062d6d92d28b7fd248f8ea]
+Convert cmake change to autotools.
+Signed-off-by: Peter Marko <peter.marko@siemens.com>
+---
+ src/popthelp.c | 55 ++++++++++++++++-------------------------------
+ tests/Makefile.am | 10 ++++++++-
+ tests/test1.c | 2 +-
+ tests/test4-1.c | 33 ++++++++++++++++++++++++++++
+ tests/test4-2.c | 33 ++++++++++++++++++++++++++++
+ tests/test4-3.c | 33 ++++++++++++++++++++++++++++
+ tests/test4-4.c | 33 ++++++++++++++++++++++++++++
+ tests/testit.sh | 36 +++++++++++++++++++++++++++++--
+ 8 files changed, 195 insertions(+), 40 deletions(-)
+ create mode 100644 tests/test4-1.c
+ create mode 100644 tests/test4-2.c
+ create mode 100644 tests/test4-3.c
+ create mode 100644 tests/test4-4.c
+
+diff --git a/src/popthelp.c b/src/popthelp.c
+index fa31901..3950975 100644
+--- a/src/popthelp.c
++++ b/src/popthelp.c
+@@ -197,79 +197,60 @@ getArgDescrip(const struct poptOption * opt,
+
+ /**
+ * Display default value for an option.
+- * @param lineLength display positions remaining
+ * @param opt option(s)
+ * @param translation_domain translation domain
+ * @return
+ */
+ static char *
+-singleOptionDefaultValue(size_t lineLength,
++singleOptionDefaultValue(
+ const struct poptOption * opt,
+ /* FIX: i18n macros disabled with lclint */
+ const char * translation_domain)
+ {
+ const char * defstr = D_(translation_domain, "default");
+- char * le = malloc(4*lineLength + 1);
+- char * l = le;
++ char * l = NULL;
+
+- if (le == NULL) return NULL; /* XXX can't happen */
+- *le = '\0';
+- *le++ = '(';
+- le = stpcpy(le, defstr);
+- *le++ = ':';
+- *le++ = ' ';
+ if (opt->arg) { /* XXX programmer error */
+ poptArg arg = { .ptr = opt->arg };
+ switch (poptArgType(opt)) {
+ case POPT_ARG_VAL:
+ case POPT_ARG_INT:
+- le += sprintf(le, "%d", arg.intp[0]);
++ POPT_asprintf(&l, "(%s: %d)", defstr, arg.intp[0]);
+ break;
+ case POPT_ARG_SHORT:
+- le += sprintf(le, "%hd", arg.shortp[0]);
++ POPT_asprintf(&l, "(%s: %hd)", defstr, arg.shortp[0]);
+ break;
+ case POPT_ARG_LONG:
+- le += sprintf(le, "%ld", arg.longp[0]);
++ POPT_asprintf(&l, "(%s: %ld)", defstr, arg.longp[0]);
+ break;
+ case POPT_ARG_LONGLONG:
+- le += sprintf(le, "%lld", arg.longlongp[0]);
++ POPT_asprintf(&l, "(%s: %lld)", defstr, arg.longlongp[0]);
+ break;
+ case POPT_ARG_FLOAT:
+ { double aDouble = (double) arg.floatp[0];
+- le += sprintf(le, "%g", aDouble);
++ POPT_asprintf(&l, "(%s: %g)", defstr, aDouble);
+ } break;
+ case POPT_ARG_DOUBLE:
+- le += sprintf(le, "%g", arg.doublep[0]);
++ POPT_asprintf(&l, "(%s: %g)", defstr, arg.doublep[0]);
+ break;
+ case POPT_ARG_MAINCALL:
+- le += sprintf(le, "%p", opt->arg);
++ POPT_asprintf(&l, "(%s: %p)", defstr, opt->arg);
+ break;
+ case POPT_ARG_ARGV:
+- le += sprintf(le, "%p", opt->arg);
++ POPT_asprintf(&l, "(%s: %p)", defstr, opt->arg);
+ break;
+ case POPT_ARG_STRING:
+- { const char * s = arg.argv[0];
+- if (s == NULL)
+- le = stpcpy(le, "null");
+- else {
+- size_t limit = 4*lineLength - (le - l) - sizeof("\"\")");
+- size_t slen;
+- *le++ = '"';
+- strncpy(le, s, limit); le[limit] = '\0'; le += (slen = strlen(le));
+- if (slen == limit && s[limit])
+- le[-1] = le[-2] = le[-3] = '.';
+- *le++ = '"';
+- }
+- } break;
++ if (arg.argv[0])
++ POPT_asprintf(&l, "(%s: \"%s\")", defstr, arg.argv[0]);
++ else
++ POPT_asprintf(&l, "(%s: %s)", defstr, "null");
++ break;
+ case POPT_ARG_NONE:
+ default:
+- l = _free(l);
+ return NULL;
+ break;
+ }
+ }
+- *le++ = ')';
+- *le = '\0';
+
+ return l;
+ }
+@@ -286,7 +267,9 @@ static void singleOptionHelp(FILE * fp, columns_t columns,
+ const char * translation_domain)
+ {
+ size_t maxLeftCol = columns->cur;
+- size_t indentLength = maxLeftCol + 5;
++ size_t indentLength = maxLeftCol + 5 < columns->max ?
++ maxLeftCol + 5 :
++ columns->max - (maxLeftCol % columns->max) - 1;
+ size_t lineLength = columns->max - indentLength;
+ const char * help = D_(translation_domain, opt->descrip);
+ const char * argDescrip = getArgDescrip(opt, translation_domain);
+@@ -347,7 +330,7 @@ static void singleOptionHelp(FILE * fp, columns_t columns,
+
+ /* Choose type of output */
+ if (F_ISSET(opt, SHOW_DEFAULT)) {
+- defs = singleOptionDefaultValue(lineLength, opt, translation_domain);
++ defs = singleOptionDefaultValue(opt, translation_domain);
+ if (defs) {
+ char * t = malloc((help ? strlen(help) : 0) +
+ strlen(defs) + sizeof(" "));
+diff --git a/tests/Makefile.am b/tests/Makefile.am
+index 99fbf64..dfc60e7 100644
+--- a/tests/Makefile.am
++++ b/tests/Makefile.am
+@@ -11,7 +11,7 @@ EXTRA_DIST = testit.sh \
+
+ AM_CPPFLAGS = -I. -I$(top_srcdir)/src
+
+-noinst_PROGRAMS = test1 test2 tdict test3 tstuff
++noinst_PROGRAMS = test1 test2 tdict test3 tstuff test4-1 test4-2 test4-3 test4-4
+ tstuff_SOURCES = tstuff.c
+ tstuff_LDFLAGS =
+ tstuff_LDADD = $(top_builddir)/src/libpopt.la
+@@ -24,6 +24,14 @@ test2_LDADD = $(top_builddir)/src/libpopt.la
+ test3_SOURCES = test3.c
+ test3_LDFLAGS =
+ test3_LDADD = $(top_builddir)/src/libpopt.la
++test4_1_SOURCES = test4-1.c
++test4_1_LDADD = $(top_builddir)/src/libpopt.la
++test4_2_SOURCES = test4-2.c
++test4_2_LDADD = $(top_builddir)/src/libpopt.la
++test4_3_SOURCES = test4-3.c
++test4_3_LDADD = $(top_builddir)/src/libpopt.la
++test4_4_SOURCES = test4-4.c
++test4_4_LDADD = $(top_builddir)/src/libpopt.la
+ tdict_SOURCES = tdict.c
+ tdict_LDFLAGS =
+ tdict_LDADD = $(top_builddir)/src/libpopt.la
+diff --git a/tests/test1.c b/tests/test1.c
+index 7a3e663..3007f27 100644
+--- a/tests/test1.c
++++ b/tests/test1.c
+@@ -49,7 +49,7 @@ static char * oStr = (char *) -1;
+ static int singleDash = 0;
+
+ static const char * lStr =
+-"This tests default strings and exceeds the ... limit. "
++"This tests default strings and exceeds the former ... limit. "
+ "123456789+123456789+123456789+123456789+123456789+ "
+ "123456789+123456789+123456789+123456789+123456789+ "
+ "123456789+123456789+123456789+123456789+123456789+ "
+diff --git a/tests/test4-1.c b/tests/test4-1.c
+new file mode 100644
+index 0000000..2a0f094
+--- /dev/null
++++ b/tests/test4-1.c
+@@ -0,0 +1,33 @@
++#include <stdio.h>
++#include <popt.h>
++
++static char *arg2 = "meh";
++
++static struct poptOption options[] = {
++ { "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaargh",
++ '\0', POPT_ARG_STRING | POPT_ARGFLAG_SHOW_DEFAULT,
++ &arg2, 0, "Second", NULL },
++
++ POPT_AUTOALIAS
++ POPT_AUTOHELP
++ POPT_TABLEEND
++};
++
++int main(int argc, const char *argv[])
++{
++ poptContext optCon = poptGetContext("test4", argc, argv, options, 0);
++
++ poptReadDefaultConfig(optCon, 0);
++
++ int rc = poptGetNextOpt(optCon);
++
++ if (rc < -1) {
++ fprintf(stderr, "%s: bad argument %s: %s\n",
++ argv[0], poptBadOption(optCon, POPT_BADOPTION_NOALIAS),
++ poptStrerror(rc));
++ goto exit;
++ }
++
++exit:
++ poptFreeContext(optCon);
++}
+diff --git a/tests/test4-2.c b/tests/test4-2.c
+new file mode 100644
+index 0000000..f9cd13d
+--- /dev/null
++++ b/tests/test4-2.c
+@@ -0,0 +1,33 @@
++#include <stdio.h>
++#include <popt.h>
++
++static char *arg3 = NULL;
++
++static struct poptOption options[] = {
++ { "brrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrgh",
++ '\0', POPT_ARG_STRING | POPT_ARGFLAG_SHOW_DEFAULT,
++ &arg3, 0, "Third", NULL },
++
++ POPT_AUTOALIAS
++ POPT_AUTOHELP
++ POPT_TABLEEND
++};
++
++int main(int argc, const char *argv[])
++{
++ poptContext optCon = poptGetContext("test4", argc, argv, options, 0);
++
++ poptReadDefaultConfig(optCon, 0);
++
++ int rc = poptGetNextOpt(optCon);
++
++ if (rc < -1) {
++ fprintf(stderr, "%s: bad argument %s: %s\n",
++ argv[0], poptBadOption(optCon, POPT_BADOPTION_NOALIAS),
++ poptStrerror(rc));
++ goto exit;
++ }
++
++exit:
++ poptFreeContext(optCon);
++}
+diff --git a/tests/test4-3.c b/tests/test4-3.c
+new file mode 100644
+index 0000000..a29f359
+--- /dev/null
++++ b/tests/test4-3.c
+@@ -0,0 +1,33 @@
++#include <stdio.h>
++#include <popt.h>
++
++static char *arg2 = NULL;
++
++static struct poptOption options[] = {
++ { "aarrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrggggggh",
++ '\0', POPT_ARG_STRING,
++ &arg2, 0, "xxxxx", NULL },
++
++ POPT_AUTOALIAS
++ POPT_AUTOHELP
++ POPT_TABLEEND
++};
++
++int main(int argc, const char *argv[])
++{
++ poptContext optCon = poptGetContext("test4", argc, argv, options, 0);
++
++ poptReadDefaultConfig(optCon, 0);
++
++ int rc = poptGetNextOpt(optCon);
++
++ if (rc < -1) {
++ fprintf(stderr, "%s: bad argument %s: %s\n",
++ argv[0], poptBadOption(optCon, POPT_BADOPTION_NOALIAS),
++ poptStrerror(rc));
++ goto exit;
++ }
++
++exit:
++ poptFreeContext(optCon);
++}
+diff --git a/tests/test4-4.c b/tests/test4-4.c
+new file mode 100644
+index 0000000..b1b1322
+--- /dev/null
++++ b/tests/test4-4.c
+@@ -0,0 +1,33 @@
++#include <stdio.h>
++#include <popt.h>
++
++static char *arg2 = NULL;
++
++static struct poptOption options[] = {
++ { "aarrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrgggggghyyyyy",
++ '\0', POPT_ARG_STRING,
++ &arg2, 0, "xxxxx", NULL },
++
++ POPT_AUTOALIAS
++ POPT_AUTOHELP
++ POPT_TABLEEND
++};
++
++int main(int argc, const char *argv[])
++{
++ poptContext optCon = poptGetContext("test4", argc, argv, options, 0);
++
++ poptReadDefaultConfig(optCon, 0);
++
++ int rc = poptGetNextOpt(optCon);
++
++ if (rc < -1) {
++ fprintf(stderr, "%s: bad argument %s: %s\n",
++ argv[0], poptBadOption(optCon, POPT_BADOPTION_NOALIAS),
++ poptStrerror(rc));
++ goto exit;
++ }
++
++exit:
++ poptFreeContext(optCon);
++}
+diff --git a/tests/testit.sh b/tests/testit.sh
+index d26be3a..b8357c8 100755
+--- a/tests/testit.sh
++++ b/tests/testit.sh
+@@ -149,8 +149,8 @@ Usage: test1 [OPTION...]
+ --nstr=STRING POPT_ARG_STRING: (null) (default: null)
+ --lstr=STRING POPT_ARG_STRING: \"123456789...\" (default:
+ \"This tests default strings and exceeds the
+- ... limit.
+- 123456789+123456789+123456789+123456789+123456789+ 123456789+123456789+123456789+123456789+123456789+ 1234567...\")
++ former ... limit.
++ 123456789+123456789+123456789+123456789+123456789+ 123456789+123456789+123456789+123456789+123456789+ 123456789+123456789+123456789+123456789+123456789+ 123456789+123456789+123456789+123456789+123456789+ \")
+
+ arg for cb2
+ -c, --cb2=STRING Test argument callbacks
+@@ -183,5 +183,37 @@ run_diff test3 "test3 - 2" test3-data/02.input test3-data/02.answer
+ run_diff test3 "test3 - 3" test3-data/03.input test3-data/03.answer
+ run_diff test3 "test3 - 5" test3-data/05.input test3-data/05.answer
+
++run test4-1 "test 4-1 - 63" "\
++Usage: test4-1 [OPTION...]
++ --aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaargh=STRING Second (default: \"meh\")
++
++Help options:
++ -?, --help Show this help message
++ --usage Display brief usage message" --help
++
++run test4-2 "test 4-2 - 64" "\
++Usage: test4-2 [OPTION...]
++ --brrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrgh=STRING Third (default: null)
++
++Help options:
++ -?, --help Show this help message
++ --usage Display brief usage message" --help
++
++run test4-3 "test 4-3 - 65" "\
++Usage: test4-3 [OPTION...]
++ --aarrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrggggggh=STRING xxxxx
++
++Help options:
++ -?, --help Show this help message
++ --usage Display brief usage message" --help
++
++run test4-4 "test 4-4 - 66" "\
++Usage: test4-4 [OPTION...]
++ --aarrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrgggggghyyyyy=STRING xxxxx
++
++Help options:
++ -?, --help Show this help message
++ --usage Display brief usage message" --help
++
+ echo ""
+ echo "Passed."
diff --git a/meta/recipes-support/popt/popt_1.19.bb b/meta/recipes-support/popt/popt_1.19.bb
index 18cc4f2867d..33f07552a6e 100644
--- a/meta/recipes-support/popt/popt_1.19.bb
+++ b/meta/recipes-support/popt/popt_1.19.bb
@@ -12,6 +12,8 @@ SRC_URI = "http://ftp.rpm.org/popt/releases/popt-1.x/${BP}.tar.gz \
file://run-ptest \
file://CVE-2026-18743.patch \
file://CVE-2026-18739.patch \
+ file://CVE-2026-18839-01.patch \
+ file://CVE-2026-18839-02.patch \
"
SRC_URI[sha256sum] = "c25a4838fc8e4c1c8aacb8bd620edb3084a3d63bf8987fdad3ca2758c63240f9"
^ permalink raw reply related [flat|nested] 40+ messages in thread* [OE-core][scarthgap 15/37] aspell: upgrade 0.60.8.2 -> 0.60.8.3
2026-11-27 17:48 [OE-core][scarthgap 00/37] Patch review Yoann Congal
` (13 preceding siblings ...)
2026-11-27 17:48 ` [OE-core][scarthgap 14/37] popt: patch CVE-2026-18839 Yoann Congal
@ 2026-11-27 17:48 ` Yoann Congal
2026-11-27 17:48 ` [OE-core][scarthgap 16/37] dropbear: add follow-up patches for CVE-2019-6111 Yoann Congal
` (21 subsequent siblings)
36 siblings, 0 replies; 40+ messages in thread
From: Yoann Congal @ 2026-11-27 17:48 UTC (permalink / raw)
To: openembedded-core
From: Ankur Tyagi <ankur.tyagi85@gmail.com>
- Fix CVE-2026-75818, CVE-2026-75819, CVE-2026-75820 and CVE-2026-103658.
- Fix various other memory problems.
- Fix various typos in documentation.
- Remove unused MySpell example code.
Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(From OE-Core rev: 05baab915b146a19776cd292962e2cf4edfc6f20)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
.../aspell/{aspell_0.60.8.2.bb => aspell_0.60.8.3.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-support/aspell/{aspell_0.60.8.2.bb => aspell_0.60.8.3.bb} (93%)
diff --git a/meta/recipes-support/aspell/aspell_0.60.8.2.bb b/meta/recipes-support/aspell/aspell_0.60.8.3.bb
similarity index 93%
rename from meta/recipes-support/aspell/aspell_0.60.8.2.bb
rename to meta/recipes-support/aspell/aspell_0.60.8.3.bb
index 5b4fab7c354..6ac547887b0 100644
--- a/meta/recipes-support/aspell/aspell_0.60.8.2.bb
+++ b/meta/recipes-support/aspell/aspell_0.60.8.3.bb
@@ -14,7 +14,7 @@ LICENSE = "LGPL-2.0-only | LGPL-2.1-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34"
SRC_URI = "${GNU_MIRROR}/aspell/aspell-${PV}.tar.gz"
-SRC_URI[sha256sum] = "57fe4863eae6048f72245a8575b44b718fb85ca14b9f8c0afc41b254dfd76919"
+SRC_URI[sha256sum] = "0534eae11132405120d11e46bf595bd5dd189bc124ba77a5dd6aae861b48a162"
PACKAGECONFIG ??= ""
PACKAGECONFIG[curses] = "--enable-curses,--disable-curses,ncurses"
^ permalink raw reply related [flat|nested] 40+ messages in thread* [OE-core][scarthgap 16/37] dropbear: add follow-up patches for CVE-2019-6111
2026-11-27 17:48 [OE-core][scarthgap 00/37] Patch review Yoann Congal
` (14 preceding siblings ...)
2026-11-27 17:48 ` [OE-core][scarthgap 15/37] aspell: upgrade 0.60.8.2 -> 0.60.8.3 Yoann Congal
@ 2026-11-27 17:48 ` Yoann Congal
2026-11-27 17:49 ` [OE-core][scarthgap 17/37] dropbear: patch CVE-2026-35385 Yoann Congal
` (20 subsequent siblings)
36 siblings, 0 replies; 40+ messages in thread
From: Yoann Congal @ 2026-11-27 17:48 UTC (permalink / raw)
To: openembedded-core
From: Peter Marko <peter.marko@siemens.com>
Pick additional patches referencing this CVE from 2026.90 or 2026.91
releases.
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
[YC: Note: this might change user-visible behavior:
a Remote to local "scp -r" into an existing directory will now
return an error.
]
---
...2019-6111.patch => CVE-2019-6111-01.patch} | 0
.../dropbear/dropbear/CVE-2019-6111-02.patch | 364 ++++++++++++++++++
.../dropbear/dropbear/CVE-2019-6111-03.patch | 43 +++
.../dropbear/dropbear/CVE-2019-6111-04.patch | 34 ++
.../dropbear/dropbear/CVE-2019-6111-05.patch | 43 +++
.../recipes-core/dropbear/dropbear_2022.83.bb | 6 +-
6 files changed, 489 insertions(+), 1 deletion(-)
rename meta/recipes-core/dropbear/dropbear/{CVE-2019-6111.patch => CVE-2019-6111-01.patch} (100%)
create mode 100644 meta/recipes-core/dropbear/dropbear/CVE-2019-6111-02.patch
create mode 100644 meta/recipes-core/dropbear/dropbear/CVE-2019-6111-03.patch
create mode 100644 meta/recipes-core/dropbear/dropbear/CVE-2019-6111-04.patch
create mode 100644 meta/recipes-core/dropbear/dropbear/CVE-2019-6111-05.patch
diff --git a/meta/recipes-core/dropbear/dropbear/CVE-2019-6111.patch b/meta/recipes-core/dropbear/dropbear/CVE-2019-6111-01.patch
similarity index 100%
rename from meta/recipes-core/dropbear/dropbear/CVE-2019-6111.patch
rename to meta/recipes-core/dropbear/dropbear/CVE-2019-6111-01.patch
diff --git a/meta/recipes-core/dropbear/dropbear/CVE-2019-6111-02.patch b/meta/recipes-core/dropbear/dropbear/CVE-2019-6111-02.patch
new file mode 100644
index 00000000000..3b73659d1da
--- /dev/null
+++ b/meta/recipes-core/dropbear/dropbear/CVE-2019-6111-02.patch
@@ -0,0 +1,364 @@
+From 143291baca6ebb3407a0c25c85bd53bf041a6ab7 Mon Sep 17 00:00:00 2001
+From: Matt Johnston <matt@ucc.asn.au>
+Date: Mon, 20 Apr 2026 20:57:11 +0800
+Subject: [PATCH] scp: more CVE-2019-6111 fix
+
+Cherrypicked from OpenSSH portable
+
+commit 3d896c157c722bc47adca51a58dca859225b5874
+djm Sun Feb 10 11:15:52 2019 +0000
+
+upstream: when checking that filenames sent by the server side
+
+match what the client requested, be prepared to handle shell-style brace
+alternations, e.g. "{foo,bar}".
+
+"looks good to me" millert@ + in snaps for the last week courtesy
+deraadt@
+
+CVE: CVE-2019-6111
+Upstream-Status: Backport [https://github.com/mkj/dropbear/commit/143291baca6ebb3407a0c25c85bd53bf041a6ab7]
+Signed-off-by: Peter Marko <peter.marko@siemens.com>
+---
+ scp.c | 281 +++++++++++++++++++++++++++++++++++++++++++++++++++++++---
+ 1 file changed, 269 insertions(+), 12 deletions(-)
+
+diff --git a/scp.c b/scp.c
+index bf98986c..d151587c 100644
+--- a/scp.c
++++ b/scp.c
+@@ -74,7 +74,6 @@
+ */
+
+ #include "includes.h"
+-/*RCSID("$OpenBSD: scp.c,v 1.130 2006/01/31 10:35:43 djm Exp $");*/
+
+ #include <fnmatch.h>
+
+@@ -600,6 +599,253 @@ tolocal(int argc, char **argv)
+ }
+ }
+
++/* Appends a string to an array; returns 0 on success, -1 on alloc failure */
++static int
++append(char *cp, char ***ap, size_t *np)
++{
++ char **tmp;
++
++ if ((tmp = reallocarray(*ap, *np + 1, sizeof(*tmp))) == NULL)
++ return -1;
++ tmp[(*np)] = cp;
++ (*np)++;
++ *ap = tmp;
++ return 0;
++}
++
++/*
++ * Finds the start and end of the first brace pair in the pattern.
++ * returns 0 on success or -1 for invalid patterns.
++ */
++static int
++find_brace(const char *pattern, int *startp, int *endp)
++{
++ int i;
++ int in_bracket, brace_level;
++
++ *startp = *endp = -1;
++ in_bracket = brace_level = 0;
++ for (i = 0; i < INT_MAX && *endp < 0 && pattern[i] != '\0'; i++) {
++ switch (pattern[i]) {
++ case '\\':
++ /* skip next character */
++ if (pattern[i + 1] != '\0')
++ i++;
++ break;
++ case '[':
++ in_bracket = 1;
++ break;
++ case ']':
++ in_bracket = 0;
++ break;
++ case '{':
++ if (in_bracket)
++ break;
++ if (pattern[i + 1] == '}') {
++ /* Protect a single {}, for find(1), like csh */
++ i++; /* skip */
++ break;
++ }
++ if (*startp == -1)
++ *startp = i;
++ brace_level++;
++ break;
++ case '}':
++ if (in_bracket)
++ break;
++ if (*startp < 0) {
++ /* Unbalanced brace */
++ return -1;
++ }
++ if (--brace_level <= 0)
++ *endp = i;
++ break;
++ }
++ }
++ /* unbalanced brackets/braces */
++ if (*endp < 0 && (*startp >= 0 || in_bracket))
++ return -1;
++ return 0;
++}
++
++/*
++ * Assembles and records a successfully-expanded pattern, returns -1 on
++ * alloc failure.
++ */
++static int
++emit_expansion(const char *pattern, int brace_start, int brace_end,
++ int sel_start, int sel_end, char ***patternsp, size_t *npatternsp)
++{
++ char *cp;
++ int o = 0, tail_len = strlen(pattern + brace_end + 1);
++
++ if ((cp = malloc(brace_start + (sel_end - sel_start) +
++ tail_len + 1)) == NULL)
++ return -1;
++
++ /* Pattern before initial brace */
++ if (brace_start > 0) {
++ memcpy(cp, pattern, brace_start);
++ o = brace_start;
++ }
++ /* Current braced selection */
++ if (sel_end - sel_start > 0) {
++ memcpy(cp + o, pattern + sel_start,
++ sel_end - sel_start);
++ o += sel_end - sel_start;
++ }
++ /* Remainder of pattern after closing brace */
++ if (tail_len > 0) {
++ memcpy(cp + o, pattern + brace_end + 1, tail_len);
++ o += tail_len;
++ }
++ cp[o] = '\0';
++ if (append(cp, patternsp, npatternsp) != 0) {
++ free(cp);
++ return -1;
++ }
++ return 0;
++}
++
++/*
++ * Expand the first encountered brace in pattern, appending the expanded
++ * patterns it yielded to the *patternsp array.
++ *
++ * Returns 0 on success or -1 on allocation failure.
++ *
++ * Signals whether expansion was performed via *expanded and whether
++ * pattern was invalid via *invalid.
++ */
++static int
++brace_expand_one(const char *pattern, char ***patternsp, size_t *npatternsp,
++ int *expanded, int *invalid)
++{
++ int i;
++ int in_bracket, brace_start, brace_end, brace_level;
++ int sel_start, sel_end;
++
++ *invalid = *expanded = 0;
++
++ if (find_brace(pattern, &brace_start, &brace_end) != 0) {
++ *invalid = 1;
++ return 0;
++ } else if (brace_start == -1)
++ return 0;
++
++ in_bracket = brace_level = 0;
++ for (i = sel_start = brace_start + 1; i < brace_end; i++) {
++ switch (pattern[i]) {
++ case '{':
++ if (in_bracket)
++ break;
++ brace_level++;
++ break;
++ case '}':
++ if (in_bracket)
++ break;
++ brace_level--;
++ break;
++ case '[':
++ in_bracket = 1;
++ break;
++ case ']':
++ in_bracket = 0;
++ break;
++ case '\\':
++ if (i < brace_end - 1)
++ i++; /* skip */
++ break;
++ }
++ if (pattern[i] == ',' || i == brace_end - 1) {
++ if (in_bracket || brace_level > 0)
++ continue;
++ /* End of a selection, emit an expanded pattern */
++
++ /* Adjust end index for last selection */
++ sel_end = (i == brace_end - 1) ? brace_end : i;
++ if (emit_expansion(pattern, brace_start, brace_end,
++ sel_start, sel_end, patternsp, npatternsp) != 0)
++ return -1;
++ /* move on to the next selection */
++ sel_start = i + 1;
++ continue;
++ }
++ }
++ if (in_bracket || brace_level > 0) {
++ *invalid = 1;
++ return 0;
++ }
++ /* success */
++ *expanded = 1;
++ return 0;
++}
++
++/* Expand braces from pattern. Returns 0 on success, -1 on failure */
++static int
++brace_expand(const char *pattern, char ***patternsp, size_t *npatternsp)
++{
++ char *cp, *cp2, **active = NULL, **done = NULL;
++ size_t i, nactive = 0, ndone = 0;
++ int ret = -1, invalid = 0, expanded = 0;
++
++ *patternsp = NULL;
++ *npatternsp = 0;
++
++ /* Start the worklist with the original pattern */
++ if ((cp = strdup(pattern)) == NULL)
++ return -1;
++ if (append(cp, &active, &nactive) != 0) {
++ free(cp);
++ return -1;
++ }
++ while (nactive > 0) {
++ cp = active[nactive - 1];
++ nactive--;
++ if (brace_expand_one(cp, &active, &nactive,
++ &expanded, &invalid) == -1) {
++ free(cp);
++ goto fail;
++ }
++ if (invalid)
++ fatal("%s: invalid brace pattern \"%s\"", __func__, cp);
++ if (expanded) {
++ /*
++ * Current entry expanded to new entries on the
++ * active list; discard the progenitor pattern.
++ */
++ free(cp);
++ continue;
++ }
++ /*
++ * Pattern did not expand; append the finename component to
++ * the completed list
++ */
++ if ((cp2 = strrchr(cp, '/')) != NULL)
++ *cp2++ = '\0';
++ else
++ cp2 = cp;
++ if (append(xstrdup(cp2), &done, &ndone) != 0) {
++ free(cp);
++ goto fail;
++ }
++ free(cp);
++ }
++ /* success */
++ *patternsp = done;
++ *npatternsp = ndone;
++ done = NULL;
++ ndone = 0;
++ ret = 0;
++ fail:
++ for (i = 0; i < nactive; i++)
++ free(active[i]);
++ free(active);
++ for (i = 0; i < ndone; i++)
++ free(done[i]);
++ free(done);
++ return ret;
++}
++
+ void
+ source(int argc, char **argv)
+ {
+@@ -841,7 +1087,8 @@ sink(int argc, char **argv, const char *src)
+ off_t size, statbytes;
+ int setimes, targisdir, wrerrno = 0;
+ char ch, *cp, *np, *targ, *why, *vect[1], buf[2048];
+- char *src_copy = NULL, *restrict_pattern = NULL;
++ char **patterns = NULL;
++ size_t n, npatterns = 0;
+ struct timeval tv[2];
+
+ #define atime tv[0]
+@@ -868,16 +1115,13 @@ sink(int argc, char **argv, const char *src)
+ * Prepare to try to restrict incoming filenames to match
+ * the requested destination file glob.
+ */
+- if ((src_copy = strdup(src)) == NULL)
+- fatal("strdup failed");
+- if ((restrict_pattern = strrchr(src_copy, '/')) != NULL) {
+- *restrict_pattern++ = '\0';
+- }
++ if (brace_expand(src, &patterns, &npatterns) != 0)
++ fatal("%s: could not expand pattern", __func__);
+ }
+ for (first = 1;; first = 0) {
+ cp = buf;
+ if (atomicio(read, remin, cp, 1) != 1)
+- return;
++ goto done;
+ if (*cp++ == '\n')
+ SCREWUP("unexpected <newline>");
+ do {
+@@ -900,7 +1144,7 @@ sink(int argc, char **argv, const char *src)
+ }
+ if (buf[0] == 'E') {
+ (void) atomicio(vwrite, remout, "", 1);
+- return;
++ goto done;
+ }
+ if (ch == '\n')
+ *--cp = 0;
+@@ -956,9 +1200,14 @@ sink(int argc, char **argv, const char *src)
+ run_err("error: unexpected filename: %s", cp);
+ exit(1);
+ }
+- if (restrict_pattern != NULL &&
+- fnmatch(restrict_pattern, cp, 0) != 0)
+- SCREWUP("filename does not match request");
++ if (npatterns > 0) {
++ for (n = 0; n < npatterns; n++) {
++ if (fnmatch(patterns[n], cp, 0) == 0)
++ break;
++ }
++ if (n >= npatterns)
++ SCREWUP("filename does not match request");
++ }
+ if (targisdir) {
+ static char *namebuf = NULL;
+ static size_t cursize = 0;
+@@ -1122,7 +1371,15 @@ bad: run_err("%s: %s", np, strerror(errno));
+ break;
+ }
+ }
++done:
++ for (n = 0; n < npatterns; n++)
++ free(patterns[n]);
++ free(patterns);
++ return;
+ screwup:
++ for (n = 0; n < npatterns; n++)
++ free(patterns[n]);
++ free(patterns);
+ run_err("protocol error: %s", why);
+ exit(1);
+ }
diff --git a/meta/recipes-core/dropbear/dropbear/CVE-2019-6111-03.patch b/meta/recipes-core/dropbear/dropbear/CVE-2019-6111-03.patch
new file mode 100644
index 00000000000..1e0cd68b07d
--- /dev/null
+++ b/meta/recipes-core/dropbear/dropbear/CVE-2019-6111-03.patch
@@ -0,0 +1,43 @@
+From 61bd0e3e6573277de17359763aa5827a189c8d7f Mon Sep 17 00:00:00 2001
+From: Matt Johnston <matt@ucc.asn.au>
+Date: Sat, 2 May 2026 08:43:26 +0800
+Subject: [PATCH] scp: Disallow -r to an existing directory
+
+Checks of received paths don't catch all cases in -r recursive mode, so
+disallow -r when the destination directory exists. This mitigates
+CVE-2019-6111, where unexpected files would be accepted from a malicious
+scp server.
+
+Alternatives like rsync could be used in that case.
+
+The new error message may be misleading if parent path components of the
+destination are also missing, though the command would have failed
+regardless.
+
+CVE: CVE-2019-6111
+Upstream-Status: Backport [https://github.com/mkj/dropbear/commit/61bd0e3e6573277de17359763aa5827a189c8d7f]
+Signed-off-by: Peter Marko <peter.marko@siemens.com>
+---
+ scp.c | 9 +++++++++
+ 1 file changed, 9 insertions(+)
+
+diff --git a/scp.c b/scp.c
+index d151587c..09297a5b 100644
+--- a/scp.c
++++ b/scp.c
+@@ -583,6 +583,15 @@ tolocal(int argc, char **argv)
+ if (*suser == '\0')
+ suser = NULL;
+ }
++
++ char *dest = *(argv + argc - 1);
++ if (!(access(dest, F_OK) == 0 && errno == ENOENT)) {
++ /* paths sent from the server in recursive mode aren't adequately
++ * checked that they match the requested files, so disallow this */
++ fprintf(stderr, "-r destination \"%s\" must not already exist\n", dest);
++ exit(1);
++ }
++
+ host = cleanhostname(host);
+ len = strlen(src) + CMDNEEDS + 20;
+ bp = xmalloc(len);
diff --git a/meta/recipes-core/dropbear/dropbear/CVE-2019-6111-04.patch b/meta/recipes-core/dropbear/dropbear/CVE-2019-6111-04.patch
new file mode 100644
index 00000000000..b718afc8c41
--- /dev/null
+++ b/meta/recipes-core/dropbear/dropbear/CVE-2019-6111-04.patch
@@ -0,0 +1,34 @@
+From 0c5629a5d543ef5e4eff43345b1eedf2afef84ca Mon Sep 17 00:00:00 2001
+From: Matt Johnston <matt@ucc.asn.au>
+Date: Mon, 4 May 2026 21:35:57 +0800
+Subject: [PATCH] scp: don't use reallocarray
+
+reallocarray() isn't portable. An overflow check can be used instead.
+
+Fixes: 143291baca6e ("scp: more CVE-2019-6111 fix")
+
+CVE: CVE-2019-6111
+Upstream-Status: Backport [https://github.com/mkj/dropbear/commit/0c5629a5d543ef5e4eff43345b1eedf2afef84ca]
+Signed-off-by: Peter Marko <peter.marko@siemens.com>
+---
+ scp.c | 7 ++++++-
+ 1 file changed, 6 insertions(+), 1 deletion(-)
+
+diff --git a/scp.c b/scp.c
+index e5ce4e2f..2f7a6279 100644
+--- a/scp.c
++++ b/scp.c
+@@ -614,7 +614,12 @@ append(char *cp, char ***ap, size_t *np)
+ {
+ char **tmp;
+
+- if ((tmp = reallocarray(*ap, *np + 1, sizeof(*tmp))) == NULL)
++ if (*np + 1 > (SIZE_MAX / sizeof(*tmp))) {
++ /* overflow */
++ return -1;
++ }
++
++ if ((tmp = realloc(*ap, (*np + 1) * sizeof(*tmp))) == NULL)
+ return -1;
+ tmp[(*np)] = cp;
+ (*np)++;
diff --git a/meta/recipes-core/dropbear/dropbear/CVE-2019-6111-05.patch b/meta/recipes-core/dropbear/dropbear/CVE-2019-6111-05.patch
new file mode 100644
index 00000000000..5e27c0ca44e
--- /dev/null
+++ b/meta/recipes-core/dropbear/dropbear/CVE-2019-6111-05.patch
@@ -0,0 +1,43 @@
+From 16ce059ed8e914e210af67e199041943ec747034 Mon Sep 17 00:00:00 2001
+From: Matt Johnston <matt@ucc.asn.au>
+Date: Mon, 4 May 2026 21:36:41 +0800
+Subject: [PATCH] scp: fix recursive overwrite check
+
+Non-recursive transfers were incorrectly disallowed to an existing
+destination.
+
+In addition, the destination check logic was wrong.
+
+Fixes: 61bd0e3e6573 ("scp: Disallow -r to an existing directory")
+
+CVE: CVE-2019-6111
+Upstream-Status: Backport [https://github.com/mkj/dropbear/commit/16ce059ed8e914e210af67e199041943ec747034]
+Signed-off-by: Peter Marko <peter.marko@siemens.com>
+---
+ scp.c | 13 ++++++++-----
+ 1 file changed, 8 insertions(+), 5 deletions(-)
+
+diff --git a/scp.c b/scp.c
+index 2f7a6279..4b4990ea 100644
+--- a/scp.c
++++ b/scp.c
+@@ -585,11 +585,14 @@ tolocal(int argc, char **argv)
+ }
+
+ char *dest = *(argv + argc - 1);
+- if (!(access(dest, F_OK) == 0 && errno == ENOENT)) {
+- /* paths sent from the server in recursive mode aren't adequately
+- * checked that they match the requested files, so disallow this */
+- fprintf(stderr, "-r destination \"%s\" must not already exist\n", dest);
+- exit(1);
++ if (iamrecursive) {
++ /* Destination must not exist */
++ if (!(access(dest, F_OK) == -1 && errno == ENOENT)) {
++ /* paths sent from the server in recursive mode aren't adequately
++ * checked that they match the requested files, so disallow this */
++ fprintf(stderr, "-r destination \"%s\" must not already exist\n", dest);
++ exit(1);
++ }
+ }
+
+ host = cleanhostname(host);
diff --git a/meta/recipes-core/dropbear/dropbear_2022.83.bb b/meta/recipes-core/dropbear/dropbear_2022.83.bb
index 93563aa3b47..d06bbd3a6db 100644
--- a/meta/recipes-core/dropbear/dropbear_2022.83.bb
+++ b/meta/recipes-core/dropbear/dropbear_2022.83.bb
@@ -29,7 +29,11 @@ SRC_URI = "http://matt.ucc.asn.au/dropbear/releases/dropbear-${PV}.tar.bz2 \
file://0001-cli-runopts.c-add-missing-DROPBEAR_CLI_PUBKEY_AUTH.patch \
file://0001-Avoid-unused-variable-with-DROPBEAR_CLI_PUBKEY_AUTH-.patch \
file://CVE-2025-47203.patch \
- file://CVE-2019-6111.patch \
+ file://CVE-2019-6111-01.patch \
+ file://CVE-2019-6111-02.patch \
+ file://CVE-2019-6111-03.patch \
+ file://CVE-2019-6111-04.patch \
+ file://CVE-2019-6111-05.patch \
"
SRC_URI[sha256sum] = "bc5a121ffbc94b5171ad5ebe01be42746d50aa797c9549a4639894a16749443b"
^ permalink raw reply related [flat|nested] 40+ messages in thread* [OE-core][scarthgap 17/37] dropbear: patch CVE-2026-35385
2026-11-27 17:48 [OE-core][scarthgap 00/37] Patch review Yoann Congal
` (15 preceding siblings ...)
2026-11-27 17:48 ` [OE-core][scarthgap 16/37] dropbear: add follow-up patches for CVE-2019-6111 Yoann Congal
@ 2026-11-27 17:49 ` Yoann Congal
2026-11-27 17:49 ` [OE-core][scarthgap 18/37] ruby: Upgrade 3.3.10 -> 3.3.14 Yoann Congal
` (19 subsequent siblings)
36 siblings, 0 replies; 40+ messages in thread
From: Yoann Congal @ 2026-11-27 17:49 UTC (permalink / raw)
To: openembedded-core
From: Peter Marko <peter.marko@siemens.com>
Pick patch referencing this CVE from 2026.90 release.
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
.../dropbear/dropbear/CVE-2026-35385.patch | 42 +++++++++++++++++++
.../recipes-core/dropbear/dropbear_2022.83.bb | 1 +
2 files changed, 43 insertions(+)
create mode 100644 meta/recipes-core/dropbear/dropbear/CVE-2026-35385.patch
diff --git a/meta/recipes-core/dropbear/dropbear/CVE-2026-35385.patch b/meta/recipes-core/dropbear/dropbear/CVE-2026-35385.patch
new file mode 100644
index 00000000000..773ed196107
--- /dev/null
+++ b/meta/recipes-core/dropbear/dropbear/CVE-2026-35385.patch
@@ -0,0 +1,42 @@
+From 443ccc1fd1b9a4e3747f6b5cd644b7af49064308 Mon Sep 17 00:00:00 2001
+From: Matt Johnston <matt@ucc.asn.au>
+Date: Sat, 2 May 2026 08:17:25 +0800
+Subject: [PATCH] scp: clear setuid/setgid bits on received files
+
+From openssh-portable 487e8ac146f7d6616f65c125d5edb210519b833a
+Tracked as CVE-2026-35385
+
+upstream: when downloading files as root in legacy (-O) mode and
+
+without the -p (preserve modes) flag set, clear setuid/setgid bits from
+downloaded files as one might expect.
+
+AFAIK this bug dates back to the original Berkeley rcp program.
+
+Reported by Christos Papakonstantinou of Cantina and Spearbit.
+
+OpenBSD-Commit-ID: 49e902fca8dd933a92a9b547ab31f63e86729fa1
+
+CVE: CVE-2026-35385
+Upstream-Status: Backport [https://github.com/mkj/dropbear/commit/443ccc1fd1b9a4e3747f6b5cd644b7af49064308]
+Signed-off-by: Peter Marko <peter.marko@siemens.com>
+---
+ scp.c | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/scp.c b/scp.c
+index 09297a5b..79b0a12d 100644
+--- a/scp.c
++++ b/scp.c
+@@ -1114,8 +1114,10 @@ sink(int argc, char **argv, const char *src)
+
+ setimes = targisdir = 0;
+ mask = umask(0);
+- if (!pflag)
++ if (!pflag) {
++ mask |= 07000;
+ (void) umask(mask);
++ }
+ if (argc != 1) {
+ run_err("ambiguous target");
+ exit(1);
diff --git a/meta/recipes-core/dropbear/dropbear_2022.83.bb b/meta/recipes-core/dropbear/dropbear_2022.83.bb
index d06bbd3a6db..65dfddbca72 100644
--- a/meta/recipes-core/dropbear/dropbear_2022.83.bb
+++ b/meta/recipes-core/dropbear/dropbear_2022.83.bb
@@ -34,6 +34,7 @@ SRC_URI = "http://matt.ucc.asn.au/dropbear/releases/dropbear-${PV}.tar.bz2 \
file://CVE-2019-6111-03.patch \
file://CVE-2019-6111-04.patch \
file://CVE-2019-6111-05.patch \
+ file://CVE-2026-35385.patch \
"
SRC_URI[sha256sum] = "bc5a121ffbc94b5171ad5ebe01be42746d50aa797c9549a4639894a16749443b"
^ permalink raw reply related [flat|nested] 40+ messages in thread* [OE-core][scarthgap 18/37] ruby: Upgrade 3.3.10 -> 3.3.14
2026-11-27 17:48 [OE-core][scarthgap 00/37] Patch review Yoann Congal
` (16 preceding siblings ...)
2026-11-27 17:49 ` [OE-core][scarthgap 17/37] dropbear: patch CVE-2026-35385 Yoann Congal
@ 2026-11-27 17:49 ` Yoann Congal
2026-11-27 17:49 ` [OE-core][scarthgap 19/37] libsndfile1: patch CVE-2024-50613 Yoann Congal
` (18 subsequent siblings)
36 siblings, 0 replies; 40+ messages in thread
From: Yoann Congal @ 2026-11-27 17:49 UTC (permalink / raw)
To: openembedded-core
From: Deepak Rathore <deeratho@cisco.com>
Per Ruby's maintenance policy [1], upgrade to the latest release in the
3.3 series, 3.3.14. It includes fixes for multiple security issues [2],
including the regexp compilation issues associated with CVE-2026-97229
[3].
Ruby 3.3.14 begins the upstream legacy maintenance phase, which includes
selected bug fixes in addition to security fixes [2]. The update remains
within the 3.3 stable series.
[1] https://www.ruby-lang.org/en/downloads/branches/
[2] https://www.ruby-lang.org/en/news/2026/11/18/ruby-3-3-14-released/
[3] https://www.ruby-lang.org/en/news/2026/10/23/regexp-fixes-for-gitlab-cves/
Signed-off-by: Deepak Rathore <deeratho@cisco.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
[YC: Changelogs:
https://github.com/ruby/ruby/releases/tag/v3_3_11
https://github.com/ruby/ruby/releases/tag/v3_3_12
https://github.com/ruby/ruby/releases/tag/v3_3_13
https://github.com/ruby/ruby/releases/tag/v3_3_14
]
---
...-fix-cross-compilation-of-external-gems.patch | 11 ++++-------
...Define-REG_S1-and-REG_S2-for-musl-riscv.patch | 7 ++-----
...3-rdoc-build-reproducible-documentation.patch | 16 +++++++++-------
...ort-list-of-object-files-in-generated-M.patch | 7 +++++--
...c-reproducible-change-fixing-784225-too.patch | 7 ++-----
.../ruby/0006-Make-gemspecs-reproducible.patch | 5 +----
...est_rm_r_no_permissions-test-under-root.patch | 5 +----
.../ruby/{ruby_3.3.10.bb => ruby_3.3.14.bb} | 2 +-
8 files changed, 25 insertions(+), 35 deletions(-)
rename meta/recipes-devtools/ruby/{ruby_3.3.10.bb => ruby_3.3.14.bb} (98%)
diff --git a/meta/recipes-devtools/ruby/ruby/0001-extmk-fix-cross-compilation-of-external-gems.patch b/meta/recipes-devtools/ruby/ruby/0001-extmk-fix-cross-compilation-of-external-gems.patch
index 2e3156880ef..366e5084840 100644
--- a/meta/recipes-devtools/ruby/ruby/0001-extmk-fix-cross-compilation-of-external-gems.patch
+++ b/meta/recipes-devtools/ruby/ruby/0001-extmk-fix-cross-compilation-of-external-gems.patch
@@ -1,7 +1,7 @@
-From a6e12b25a54d112c899b70c89c0bec9c5e5ebf3c Mon Sep 17 00:00:00 2001
+From cdd2867757f14690309567fa5bb5ae223ee004a5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com>
Date: Mon, 30 Sep 2019 16:57:01 +0100
-Subject: [PATCH 1/3] extmk: fix cross-compilation of external gems
+Subject: [PATCH] extmk: fix cross-compilation of external gems
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
@@ -16,10 +16,10 @@ Signed-off-by: André Draszik <andre.draszik@jci.com>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ext/extmk.rb b/ext/extmk.rb
-index 1389dc4117..e4d923d7a7 100755
+index 1f8e59f..631459d 100755
--- a/ext/extmk.rb
+++ b/ext/extmk.rb
-@@ -413,8 +413,8 @@ def $mflags.defined?(var)
+@@ -428,8 +428,8 @@ else
end
$ruby = [$ruby]
$ruby << "-I'$(topdir)'"
@@ -29,6 +29,3 @@ index 1389dc4117..e4d923d7a7 100755
$ruby << "-I'$(extout)/$(arch)'" << "-I'$(extout)/common'" if $extout
ENV["RUBYLIB"] = "-"
end
---
-2.23.0.rc1
-
diff --git a/meta/recipes-devtools/ruby/ruby/0001-vm_dump.c-Define-REG_S1-and-REG_S2-for-musl-riscv.patch b/meta/recipes-devtools/ruby/ruby/0001-vm_dump.c-Define-REG_S1-and-REG_S2-for-musl-riscv.patch
index f7b7adb3fdb..e512b57c200 100644
--- a/meta/recipes-devtools/ruby/ruby/0001-vm_dump.c-Define-REG_S1-and-REG_S2-for-musl-riscv.patch
+++ b/meta/recipes-devtools/ruby/ruby/0001-vm_dump.c-Define-REG_S1-and-REG_S2-for-musl-riscv.patch
@@ -1,4 +1,4 @@
-From dfb22e4d6662bf72879eda806eaa78c7b52b519e Mon Sep 17 00:00:00 2001
+From fa1eac6cf67c9d594884940d2f46d3042f489883 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Tue, 25 Jan 2022 20:29:14 -0800
Subject: [PATCH] vm_dump.c: Define REG_S1 and REG_S2 for musl/riscv
@@ -14,7 +14,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
1 file changed, 5 insertions(+)
diff --git a/vm_dump.c b/vm_dump.c
-index a98f5aa..957b785 100644
+index 2771264..7995e12 100644
--- a/vm_dump.c
+++ b/vm_dump.c
@@ -39,6 +39,11 @@
@@ -29,6 +29,3 @@ index a98f5aa..957b785 100644
#define VM_CFP_CNT(ec, cfp) \
((rb_control_frame_t *)((ec)->vm_stack + (ec)->vm_stack_size) - \
(rb_control_frame_t *)(cfp))
---
-2.35.0
-
diff --git a/meta/recipes-devtools/ruby/ruby/0003-rdoc-build-reproducible-documentation.patch b/meta/recipes-devtools/ruby/ruby/0003-rdoc-build-reproducible-documentation.patch
index f92f0e1ba68..731aace31e2 100644
--- a/meta/recipes-devtools/ruby/ruby/0003-rdoc-build-reproducible-documentation.patch
+++ b/meta/recipes-devtools/ruby/ruby/0003-rdoc-build-reproducible-documentation.patch
@@ -1,6 +1,7 @@
+From 9a945f194e50cbd93ea7b08bd85560a748a4a293 Mon Sep 17 00:00:00 2001
From: Christian Hofstaedtler <zeha@debian.org>
Date: Tue, 10 Oct 2017 15:04:34 -0300
-Subject: rdoc: build reproducible documentation
+Subject: [PATCH] rdoc: build reproducible documentation
- provide a fixed timestamp to the gzip compression
@@ -10,23 +11,24 @@ Signed-off-by: Antonio Terceiro <terceiro@debian.org>
Signed-off-by: Christian Hofstaedtler <zeha@debian.org>
---
lib/rdoc/generator/json_index.rb | 4 ++--
- lib/rdoc/rdoc.rb | 2 +-
- 2 files changed, 3 insertions(+), 3 deletions(-)
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+diff --git a/lib/rdoc/generator/json_index.rb b/lib/rdoc/generator/json_index.rb
+index c454910..24feab0 100644
--- a/lib/rdoc/generator/json_index.rb
+++ b/lib/rdoc/generator/json_index.rb
-@@ -178,7 +178,7 @@
+@@ -178,7 +178,7 @@ class RDoc::Generator::JsonIndex
debug_msg "Writing gzipped search index to %s" % outfile
-
+
Zlib::GzipWriter.open(outfile) do |gz|
- gz.mtime = File.mtime(search_index_file)
+ gz.mtime = -1
gz.orig_name = search_index_file.basename.to_s
gz.write search_index
gz.close
-@@ -196,7 +196,7 @@
+@@ -196,7 +196,7 @@ class RDoc::Generator::JsonIndex
debug_msg "Writing gzipped file to %s" % outfile
-
+
Zlib::GzipWriter.open(outfile) do |gz|
- gz.mtime = File.mtime(dest)
+ gz.mtime = -1
diff --git a/meta/recipes-devtools/ruby/ruby/0004-lib-mkmf.rb-sort-list-of-object-files-in-generated-M.patch b/meta/recipes-devtools/ruby/ruby/0004-lib-mkmf.rb-sort-list-of-object-files-in-generated-M.patch
index e0aca0dcfc1..031f89bf17e 100644
--- a/meta/recipes-devtools/ruby/ruby/0004-lib-mkmf.rb-sort-list-of-object-files-in-generated-M.patch
+++ b/meta/recipes-devtools/ruby/ruby/0004-lib-mkmf.rb-sort-list-of-object-files-in-generated-M.patch
@@ -1,6 +1,7 @@
+From 732263f3623216fbb79560baaf5bc3014e9f7f18 Mon Sep 17 00:00:00 2001
From: Reiner Herrmann <reiner@reiner-h.de>
Date: Tue, 10 Oct 2017 15:06:13 -0300
-Subject: lib/mkmf.rb: sort list of object files in generated Makefile
+Subject: [PATCH] lib/mkmf.rb: sort list of object files in generated Makefile
Without sorting the list explicitly, its order is indeterministic,
because readdir() is also not deterministic.
@@ -15,9 +16,11 @@ Signed-off-by: Reiner Herrmann <reiner@reiner-h.de>
lib/mkmf.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
+diff --git a/lib/mkmf.rb b/lib/mkmf.rb
+index 51585b1..e6ba142 100644
--- a/lib/mkmf.rb
+++ b/lib/mkmf.rb
-@@ -2315,7 +2315,7 @@
+@@ -2368,7 +2368,7 @@ LOCAL_LIBS = #{$LOCAL_LIBS}
LIBS = #{$LIBRUBYARG} #{$libs} #{$LIBS}
ORIG_SRCS = #{orig_srcs.collect(&File.method(:basename)).join(' ')}
SRCS = $(ORIG_SRCS) #{(srcs - orig_srcs).collect(&File.method(:basename)).join(' ')}
diff --git a/meta/recipes-devtools/ruby/ruby/0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch b/meta/recipes-devtools/ruby/ruby/0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch
index 0902a201eca..5e8f9f583c7 100644
--- a/meta/recipes-devtools/ruby/ruby/0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch
+++ b/meta/recipes-devtools/ruby/ruby/0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch
@@ -1,4 +1,4 @@
-From 6e1dc610724a7aa8368cbcddf4bbe21cccc0f731 Mon Sep 17 00:00:00 2001
+From 96b6b0a02214b129c349fdb00b755b24131bc181 Mon Sep 17 00:00:00 2001
From: Lucas Kanashiro <kanashiro@debian.org>
Date: Fri, 1 Nov 2019 15:25:17 -0300
Subject: [PATCH] Make gemspecs reproducible
@@ -12,7 +12,7 @@ Upstream-Status: Backport [debian]
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lib/rubygems/specification.rb b/lib/rubygems/specification.rb
-index d6eac7f..4b2e95e 100644
+index e438669..3ce9af8 100644
--- a/lib/rubygems/specification.rb
+++ b/lib/rubygems/specification.rb
@@ -1707,7 +1707,9 @@ class Gem::Specification < Gem::BasicSpecification
@@ -26,6 +26,3 @@ index d6eac7f..4b2e95e 100644
Time.utc(date.year, date.month, date.day)
else
TODAY
---
-2.40.0
-
diff --git a/meta/recipes-devtools/ruby/ruby/0006-Make-gemspecs-reproducible.patch b/meta/recipes-devtools/ruby/ruby/0006-Make-gemspecs-reproducible.patch
index d32e2091292..949f7c144d5 100644
--- a/meta/recipes-devtools/ruby/ruby/0006-Make-gemspecs-reproducible.patch
+++ b/meta/recipes-devtools/ruby/ruby/0006-Make-gemspecs-reproducible.patch
@@ -1,4 +1,4 @@
-From 3f60710bc29c1b08e128314d40101e87b7d2c9a1 Mon Sep 17 00:00:00 2001
+From 11d6a3b19cd729900f93a8f04a01ab3d569d5572 Mon Sep 17 00:00:00 2001
From: Lucas Kanashiro <kanashiro@debian.org>
Date: Fri, 1 Nov 2019 15:25:17 -0300
Subject: [PATCH] Make gemspecs reproducible
@@ -75,6 +75,3 @@ index 93a281c..cc5c155 100644
s.version = RDoc::VERSION
s.authors = [
---
-2.40.0
-
diff --git a/meta/recipes-devtools/ruby/ruby/0007-Skip-test_rm_r_no_permissions-test-under-root.patch b/meta/recipes-devtools/ruby/ruby/0007-Skip-test_rm_r_no_permissions-test-under-root.patch
index dc06891bbc2..92af032d182 100644
--- a/meta/recipes-devtools/ruby/ruby/0007-Skip-test_rm_r_no_permissions-test-under-root.patch
+++ b/meta/recipes-devtools/ruby/ruby/0007-Skip-test_rm_r_no_permissions-test-under-root.patch
@@ -1,4 +1,4 @@
-From cc5e563f0fa5212e4a624b954fbc97cc6d8900d4 Mon Sep 17 00:00:00 2001
+From 42ef19cec8a34847538bfc62d37e842837025337 Mon Sep 17 00:00:00 2001
From: Jiaying Song <jiaying.song.cn@windriver.com>
Date: Mon, 25 Aug 2025 16:31:18 +0800
Subject: [PATCH] Skip test_rm_r_no_permissions test under root
@@ -25,6 +25,3 @@ index 481f913..a2ed414 100644
mkdir 'tmpdatadir'
touch 'tmpdatadir/tmpdata'
---
-2.34.1
-
diff --git a/meta/recipes-devtools/ruby/ruby_3.3.10.bb b/meta/recipes-devtools/ruby/ruby_3.3.14.bb
similarity index 98%
rename from meta/recipes-devtools/ruby/ruby_3.3.10.bb
rename to meta/recipes-devtools/ruby/ruby_3.3.14.bb
index 936bc73e32f..791b8072ffe 100644
--- a/meta/recipes-devtools/ruby/ruby_3.3.10.bb
+++ b/meta/recipes-devtools/ruby/ruby_3.3.14.bb
@@ -47,7 +47,7 @@ do_configure:prepend() {
DEPENDS:append:libc-musl = " libucontext"
-SRC_URI[sha256sum] = "b555baa467a306cfc8e6c6ed24d0d27b27e9a1bed1d91d95509859eac6b0e928"
+SRC_URI[sha256sum] = "d0438ee291b0cacaf97c7a71df4c939d7f3265c8c2d1b8ffe27311f71fc680b0"
PACKAGECONFIG ??= ""
PACKAGECONFIG += "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}"
^ permalink raw reply related [flat|nested] 40+ messages in thread* [OE-core][scarthgap 19/37] libsndfile1: patch CVE-2024-50613
2026-11-27 17:48 [OE-core][scarthgap 00/37] Patch review Yoann Congal
` (17 preceding siblings ...)
2026-11-27 17:49 ` [OE-core][scarthgap 18/37] ruby: Upgrade 3.3.10 -> 3.3.14 Yoann Congal
@ 2026-11-27 17:49 ` Yoann Congal
2026-11-27 17:49 ` [OE-core][scarthgap 20/37] libsndfile1: patch CVE-2025-52194 Yoann Congal
` (17 subsequent siblings)
36 siblings, 0 replies; 40+ messages in thread
From: Yoann Congal @ 2026-11-27 17:49 UTC (permalink / raw)
To: openembedded-core
From: Peter Marko <peter.marko@siemens.com>
Pick patch from [1] which linked this CVE.
[1] https://github.com/libsndfile/libsndfile/pull/1198
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e56fdd1720050fbd2107ff48bb8d24e24dff72b9)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
.../libsndfile1/CVE-2024-50613.patch | 348 ++++++++++++++++++
.../libsndfile/libsndfile1_1.2.2.bb | 1 +
2 files changed, 349 insertions(+)
create mode 100644 meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2024-50613.patch
diff --git a/meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2024-50613.patch b/meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2024-50613.patch
new file mode 100644
index 00000000000..9b7302b2316
--- /dev/null
+++ b/meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2024-50613.patch
@@ -0,0 +1,348 @@
+From ecbccc2f23de6cefd2d97842fc0333bb742a0625 Mon Sep 17 00:00:00 2001
+From: Capsize Security <contact@capsize.online>
+Date: Mon, 26 Oct 2026 17:28:12 -0600
+Subject: [PATCH] mpeg: sanitize float/double input to LAME ieee entry points
+
+Crafted files can deliver NaNs, infinities, or huge finite values through sf_writef_float / sf_writef_double into the MP3 encoder. Passing those straight to LAME trips assertions inside LAME (psymodel.c: calc_energy: `el >= 0') and aborts the host application.
+
+Clamp encoder input to the [-1, 1] range LAME's ieee_float / ieee_double entry points document ("data must be scaled to +/- 1 full scale", lame/lame.h); non-finite samples become silence. All four float/double x mono/stereo paths funnel through the sanitizing normalize_float / normalize_double helpers, including the non-normalized paths via a 1/0x8000 pre-scale (the stereo path already did this). The mono non-normalized path previously used lame_encode_buffer_float; routing it through the scaled ieee_float entry instead changes its gain by ~0.003% (1 part in 32768).
+
+Note: clamping to +/-1 intentionally changes output for valid slightly-over-full-scale input (e.g. a constant 2.0), which LAME's ieee entries never accepted in-contract; in-range audio passes through unchanged.
+
+CVE-2024-50613 Issue: https://github.com/libsndfile/libsndfile/issues/1034
+
+Signed-off-by: Capsize Security <contact@capsize.online>
+
+CVE: CVE-2024-50613
+Upstream-Status: Backport [https://github.com/libsndfile/libsndfile/commit/ecbccc2f23de6cefd2d97842fc0333bb742a0625]
+Signed-off-by: Peter Marko <peter.marko@siemens.com>
+---
+ src/mpeg_l3_encode.c | 91 ++++++++++++++++++-------
+ tests/mpeg_test.c | 158 +++++++++++++++++++++++++++++++++++++++++++
+ 2 files changed, 226 insertions(+), 23 deletions(-)
+
+diff --git a/src/mpeg_l3_encode.c b/src/mpeg_l3_encode.c
+index aba22394..c712e6e7 100644
+--- a/src/mpeg_l3_encode.c
++++ b/src/mpeg_l3_encode.c
+@@ -596,22 +596,77 @@ mpeg_l3_encode_write_int_stereo (SF_PRIVATE *psf, const int *ptr, sf_count_t len
+ }
+
+
++/* LAME's ieee_float / ieee_double entry points require input samples in the
++** range [-1.0, +1.0] ("data must be scaled to +/- 1 full scale", lame/lame.h).
++** Crafted input files can deliver NaNs, infinities, or huge finite values
++** through the public sf_writef_float / sf_writef_double API ; passing those
++** straight to LAME trips assertions inside LAME (psymodel.c : calc_energy :
++** `el >= 0') and aborts the host application (CVE-2024-50613,
++** https://github.com/libsndfile/libsndfile/issues/1034). Clamp here so the
++** encoder only ever sees in-contract input. Samples already in range pass
++** through unchanged.
++*/
++
++static inline float
++sanitize_float_sample (float x)
++{ if (!isfinite (x))
++ return 0.0f ;
++ if (x > 1.0f)
++ return 1.0f ;
++ if (x < -1.0f)
++ return -1.0f ;
++ return x ;
++} /* sanitize_float_sample */
++
++static inline double
++sanitize_double_sample (double x)
++{ if (!isfinite (x))
++ return 0.0 ;
++ if (x > 1.0)
++ return 1.0 ;
++ if (x < -1.0)
++ return -1.0 ;
++ return x ;
++} /* sanitize_double_sample */
++
++static inline void
++normalize_float (float *dest, const float *src, sf_count_t count, float norm_fact)
++{ while (--count >= 0)
++ dest [count] = sanitize_float_sample (src [count] * norm_fact) ;
++} /* normalize_float */
++
++static inline void
++normalize_double (double *dest, const double *src, sf_count_t count, double norm_fact)
++{ while (--count >= 0)
++ dest [count] = sanitize_double_sample (src [count] * norm_fact) ;
++} /* normalize_double */
++
++
+ static sf_count_t
+ mpeg_l3_encode_write_float_mono (SF_PRIVATE *psf, const float *ptr, sf_count_t len)
+-{ MPEG_L3_ENC_PRIVATE *pmpeg = (MPEG_L3_ENC_PRIVATE*) psf->codec_data ;
++{ BUF_UNION ubuf ;
++ MPEG_L3_ENC_PRIVATE *pmpeg = (MPEG_L3_ENC_PRIVATE*) psf->codec_data ;
+ sf_count_t total = 0 ;
+ int nbytes, writecount, writen ;
+
+ if ((psf->error = mpeg_l3_encoder_construct (psf)))
+ return 0 ;
+
++ const sf_count_t max_samples = SF_MIN (ARRAY_LEN (ubuf.fbuf), pmpeg->frame_samples) ;
+ while (len)
+- { writecount = SF_MIN (len, (sf_count_t) pmpeg->frame_samples) ;
++ { writecount = SF_MIN (len, max_samples) ;
+
+ if (psf->norm_float)
+- nbytes = lame_encode_buffer_ieee_float (pmpeg->lamef, ptr + total, NULL, writecount, pmpeg->block, pmpeg->block_len) ;
++ { normalize_float (ubuf.fbuf, ptr + total, writecount, 1.0f) ;
++ nbytes = lame_encode_buffer_ieee_float (pmpeg->lamef, ubuf.fbuf, NULL, writecount, pmpeg->block, pmpeg->block_len) ;
++ }
+ else
+- nbytes = lame_encode_buffer_float (pmpeg->lamef, ptr + total, NULL, writecount, pmpeg->block, pmpeg->block_len) ;
++ { /* Lame lacks a non-normalized mono float write, so scale to
++ ** ieee full scale here, mirroring the stereo path below.
++ */
++ normalize_float (ubuf.fbuf, ptr + total, writecount, 1.0 / (float) 0x8000) ;
++ nbytes = lame_encode_buffer_ieee_float (pmpeg->lamef, ubuf.fbuf, NULL, writecount, pmpeg->block, pmpeg->block_len) ;
++ }
+ if (nbytes < 0)
+ { psf_log_printf (psf, "lame_encode_buffer returned %d\n", nbytes) ;
+ break ;
+@@ -632,14 +687,6 @@ mpeg_l3_encode_write_float_mono (SF_PRIVATE *psf, const float *ptr, sf_count_t l
+ }
+
+
+-static inline void
+-normalize_float (float *dest, const float *src, sf_count_t count, float norm_fact)
+-{ while (--count >= 0)
+- { dest [count] = src [count] * norm_fact ;
+- } ;
+-}
+-
+-
+ static sf_count_t
+ mpeg_l3_encode_write_float_stereo (SF_PRIVATE *psf, const float *ptr, sf_count_t len)
+ { BUF_UNION ubuf ;
+@@ -655,7 +702,9 @@ mpeg_l3_encode_write_float_stereo (SF_PRIVATE *psf, const float *ptr, sf_count_t
+ { writecount = SF_MIN (len, max_samples) ;
+
+ if (psf->norm_float)
+- nbytes = lame_encode_buffer_interleaved_ieee_float (pmpeg->lamef, ptr + total, writecount / 2, pmpeg->block, pmpeg->block_len) ;
++ { normalize_float (ubuf.fbuf, ptr + total, writecount, 1.0f) ;
++ nbytes = lame_encode_buffer_interleaved_ieee_float (pmpeg->lamef, ubuf.fbuf, writecount / 2, pmpeg->block, pmpeg->block_len) ;
++ }
+ else
+ { /* Lame lacks a non-normalized interleaved float write. Bummer. */
+ normalize_float (ubuf.fbuf, ptr + total, writecount, 1.0 / (float) 0x8000) ;
+@@ -682,14 +731,6 @@ mpeg_l3_encode_write_float_stereo (SF_PRIVATE *psf, const float *ptr, sf_count_t
+ }
+
+
+-static inline void
+-normalize_double (double *dest, const double *src, sf_count_t count, double norm_fact)
+-{ while (--count >= 0)
+- { dest [count] = src [count] * norm_fact ;
+- } ;
+-}
+-
+-
+ static sf_count_t
+ mpeg_l3_encode_write_double_mono (SF_PRIVATE *psf, const double *ptr, sf_count_t len)
+ { BUF_UNION ubuf ;
+@@ -705,7 +746,9 @@ mpeg_l3_encode_write_double_mono (SF_PRIVATE *psf, const double *ptr, sf_count_t
+ { writecount = SF_MIN (len, max_samples) ;
+
+ if (psf->norm_double)
+- nbytes = lame_encode_buffer_ieee_double (pmpeg->lamef, ptr + total, NULL, writecount, pmpeg->block, pmpeg->block_len) ;
++ { normalize_double (ubuf.dbuf, ptr + total, writecount, 1.0) ;
++ nbytes = lame_encode_buffer_ieee_double (pmpeg->lamef, ubuf.dbuf, NULL, writecount, pmpeg->block, pmpeg->block_len) ;
++ }
+ else
+ { /* Lame lacks non-normalized double writing */
+ normalize_double (ubuf.dbuf, ptr + total, writecount, 1.0 / (double) 0x8000) ;
+@@ -747,7 +790,9 @@ mpeg_l3_encode_write_double_stereo (SF_PRIVATE *psf, const double *ptr, sf_count
+ { writecount = SF_MIN (len, max_samples) ;
+
+ if (psf->norm_double)
+- nbytes = lame_encode_buffer_interleaved_ieee_double (pmpeg->lamef, ptr + total, writecount / 2, pmpeg->block, pmpeg->block_len) ;
++ { normalize_double (ubuf.dbuf, ptr + total, writecount, 1.0) ;
++ nbytes = lame_encode_buffer_interleaved_ieee_double (pmpeg->lamef, ubuf.dbuf, writecount / 2, pmpeg->block, pmpeg->block_len) ;
++ }
+ else
+ { /* Lame lacks interleaved non-normalized double writing */
+ normalize_double (ubuf.dbuf, ptr + total, writecount, 1.0 / (double) 0x8000) ;
+diff --git a/tests/mpeg_test.c b/tests/mpeg_test.c
+index fe7f53d1..87adf2ac 100644
+--- a/tests/mpeg_test.c
++++ b/tests/mpeg_test.c
+@@ -258,6 +258,162 @@ mpeg_double_test (void)
+ unlink (filename) ;
+ } /* mpeg_double_test */
+
++/* Hostile input (CVE-2024-50613) : NaNs, infinities and huge finite values
++** must be sanitized before reaching LAME, not abort it. One helper covers
++** mono and stereo (channels == 2 exercises the interleaved_ieee paths),
++** with float normalization on or off.
++*/
++static void
++mpeg_hostile_float_case (int channels, int normalize)
++{ char filename [64] ;
++ SNDFILE * file ;
++ SF_INFO sfinfo ;
++ unsigned k ;
++ size_t samples = ARRAY_LEN (data_out.f) ;
++
++ snprintf (filename, sizeof (filename), "mpeg_hostile_float_%dch_%s.mp3",
++ channels, normalize ? "norm" : "nonorm") ;
++
++ print_test_name ("mpeg_hostile_float_test", filename) ;
++
++ if (channels == 1)
++ { gen_windowed_sine_float (data_out.f, samples, normalize ? 0.95 : 1.0 * 0x7F00) ;
++ }
++ else
++ { /* Interleave two mirrored channels. data_in.f is scratch here ;
++ ** it is overwritten by the read-back below.
++ */
++ gen_windowed_sine_float (data_in.f, samples / 2, normalize ? 0.95 : 1.0 * 0x7F00) ;
++ for (k = 0 ; k < samples / 2 ; k++)
++ { data_out.f [2 * k] = data_in.f [k] ;
++ data_out.f [2 * k + 1] = data_in.f [samples / 2 - k - 1] ;
++ } ;
++ } ;
++
++ data_out.f [0] = NAN ;
++ data_out.f [1] = INFINITY ;
++ data_out.f [2] = -INFINITY ;
++ data_out.f [3] = 1.0e30f ;
++ data_out.f [4] = -1.0e30f ;
++
++ memset (&sfinfo, 0, sizeof (sfinfo)) ;
++
++ /* Set up output file type. */
++ sfinfo.format = SF_FORMAT_MPEG | SF_FORMAT_MPEG_LAYER_III ;
++ sfinfo.channels = channels ;
++ sfinfo.samplerate = SAMPLE_RATE ;
++
++ /* Write the output file. */
++ file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, SF_FALSE, __LINE__) ;
++ if (! normalize)
++ sf_command (file, SFC_SET_NORM_FLOAT, NULL, SF_FALSE) ;
++ test_write_float_or_die (file, 0, data_out.f, samples, __LINE__) ;
++ sf_close (file) ;
++
++ /* Read the file in again. */
++ memset (&sfinfo, 0, sizeof (sfinfo)) ;
++
++ file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ;
++ test_read_float_or_die (file, 0, data_in.f, samples, __LINE__) ;
++ sf_close (file) ;
++
++ /* The decoded output must be finite and within a sane range. MP3 is
++ ** lossy so decoded peaks may overshoot the encoder's +/-1 clamp
++ ** slightly ; a generous bound catches scale errors without
++ ** false-failing on codec noise. Explicit checks (no assert.h
++ ** dependency) match the surrounding test style.
++ */
++ for (k = 0 ; k < samples ; k++)
++ if (! isfinite (data_in.f [k]) || fabsf (data_in.f [k]) > 4.0f)
++ { printf ("\n\nLine %d : bad decoded sample at index %u : %f.\n\n", __LINE__, k, data_in.f [k]) ;
++ exit (1) ;
++ } ;
++
++ puts ("ok") ;
++
++ unlink (filename) ;
++} /* mpeg_hostile_float_case */
++
++static void
++mpeg_hostile_float_test (void)
++{ mpeg_hostile_float_case (1, SF_TRUE) ;
++ mpeg_hostile_float_case (1, SF_FALSE) ;
++ mpeg_hostile_float_case (2, SF_TRUE) ;
++ mpeg_hostile_float_case (2, SF_FALSE) ;
++} /* mpeg_hostile_float_test */
++
++/* Double-precision version of the helper above. */
++static void
++mpeg_hostile_double_case (int channels, int normalize)
++{ char filename [64] ;
++ SNDFILE * file ;
++ SF_INFO sfinfo ;
++ unsigned k ;
++ size_t samples = ARRAY_LEN (data_out.d) ;
++
++ snprintf (filename, sizeof (filename), "mpeg_hostile_double_%dch_%s.mp3",
++ channels, normalize ? "norm" : "nonorm") ;
++
++ print_test_name ("mpeg_hostile_double_test", filename) ;
++
++ if (channels == 1)
++ { gen_windowed_sine_double (data_out.d, samples, normalize ? 0.95 : 1.0 * 0x7F00) ;
++ }
++ else
++ { gen_windowed_sine_double (data_in.d, samples / 2, normalize ? 0.95 : 1.0 * 0x7F00) ;
++ for (k = 0 ; k < samples / 2 ; k++)
++ { data_out.d [2 * k] = data_in.d [k] ;
++ data_out.d [2 * k + 1] = data_in.d [samples / 2 - k - 1] ;
++ } ;
++ } ;
++
++ data_out.d [0] = NAN ;
++ data_out.d [1] = INFINITY ;
++ data_out.d [2] = -INFINITY ;
++ data_out.d [3] = 1.0e300 ;
++ data_out.d [4] = -1.0e300 ;
++
++ memset (&sfinfo, 0, sizeof (sfinfo)) ;
++
++ /* Set up output file type. */
++ sfinfo.format = SF_FORMAT_MPEG | SF_FORMAT_MPEG_LAYER_III ;
++ sfinfo.channels = channels ;
++ sfinfo.samplerate = SAMPLE_RATE ;
++
++ /* Write the output file. */
++ file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, SF_FALSE, __LINE__) ;
++ if (! normalize)
++ sf_command (file, SFC_SET_NORM_DOUBLE, NULL, SF_FALSE) ;
++ test_write_double_or_die (file, 0, data_out.d, samples, __LINE__) ;
++ sf_close (file) ;
++
++ /* Read the file in again. */
++ memset (&sfinfo, 0, sizeof (sfinfo)) ;
++
++ file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ;
++ test_read_double_or_die (file, 0, data_in.d, samples, __LINE__) ;
++ sf_close (file) ;
++
++ /* Finite and sane, as above. */
++ for (k = 0 ; k < samples ; k++)
++ if (! isfinite (data_in.d [k]) || fabs (data_in.d [k]) > 4.0)
++ { printf ("\n\nLine %d : bad decoded sample at index %u : %f.\n\n", __LINE__, k, data_in.d [k]) ;
++ exit (1) ;
++ } ;
++
++ puts ("ok") ;
++
++ unlink (filename) ;
++} /* mpeg_hostile_double_case */
++
++static void
++mpeg_hostile_double_test (void)
++{ mpeg_hostile_double_case (1, SF_TRUE) ;
++ mpeg_hostile_double_case (1, SF_FALSE) ;
++ mpeg_hostile_double_case (2, SF_TRUE) ;
++ mpeg_hostile_double_case (2, SF_FALSE) ;
++} /* mpeg_hostile_double_test */
++
+
+ static void
+ mpeg_stereo_seek_test (const char * filename, int format)
+@@ -338,6 +494,8 @@ main (void)
+ mpeg_int_test () ;
+ mpeg_float_test () ;
+ mpeg_double_test () ;
++ mpeg_hostile_float_test () ;
++ mpeg_hostile_double_test () ;
+
+ mpeg_stereo_seek_test ("mpeg_seek.mp3", SF_FORMAT_MPEG | SF_FORMAT_MPEG_LAYER_III) ;
+ }
diff --git a/meta/recipes-multimedia/libsndfile/libsndfile1_1.2.2.bb b/meta/recipes-multimedia/libsndfile/libsndfile1_1.2.2.bb
index 5d2a2c256b0..b22f5b1e503 100644
--- a/meta/recipes-multimedia/libsndfile/libsndfile1_1.2.2.bb
+++ b/meta/recipes-multimedia/libsndfile/libsndfile1_1.2.2.bb
@@ -14,6 +14,7 @@ SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/libsndfile-${PV}.tar.xz \
file://CVE-2025-56226-01.patch \
file://CVE-2025-56226-02.patch \
file://CVE-2026-37555.patch \
+ file://CVE-2024-50613.patch \
"
GITHUB_BASE_URI = "https://github.com/libsndfile/libsndfile/releases/"
^ permalink raw reply related [flat|nested] 40+ messages in thread* [OE-core][scarthgap 20/37] libsndfile1: patch CVE-2025-52194
2026-11-27 17:48 [OE-core][scarthgap 00/37] Patch review Yoann Congal
` (18 preceding siblings ...)
2026-11-27 17:49 ` [OE-core][scarthgap 19/37] libsndfile1: patch CVE-2024-50613 Yoann Congal
@ 2026-11-27 17:49 ` Yoann Congal
2026-11-27 17:49 ` [OE-core][scarthgap 21/37] libsndfile1: patch CVE-2026-109828 Yoann Congal
` (16 subsequent siblings)
36 siblings, 0 replies; 40+ messages in thread
From: Yoann Congal @ 2026-11-27 17:49 UTC (permalink / raw)
To: openembedded-core
From: Peter Marko <peter.marko@siemens.com>
Pick patch references by [1] references in CVE report.
[1] https://github.com/libsndfile/libsndfile/issues/1082#issuecomment-6442050313
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cc20c00e9261011c175d4bb92c99f02b5773b419)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
.../libsndfile1/CVE-2025-52194.patch | 27 +++++++++++++++++++
.../libsndfile/libsndfile1_1.2.2.bb | 1 +
2 files changed, 28 insertions(+)
create mode 100644 meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2025-52194.patch
diff --git a/meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2025-52194.patch b/meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2025-52194.patch
new file mode 100644
index 00000000000..ec5da0b731e
--- /dev/null
+++ b/meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2025-52194.patch
@@ -0,0 +1,27 @@
+From 7ff854d1e0bd9a751a9ff52ed980c62afced91fe Mon Sep 17 00:00:00 2001
+From: Saddam <saddamr3e@gmail.com>
+Date: Tue, 21 Jul 2026 20:49:11 +0530
+Subject: [PATCH] ircam: use psf_lrintf when reading samplerate
+
+The IRCAM header sample rate is a float read straight from the file. (int) samplerate is undefined when the value is out of int range or non-finite; psf_lrintf matches mat4/mat5 which convert a file sample rate the same way.
+
+CVE: CVE-2025-52194
+Upstream-Status: Backport [https://github.com/libsndfile/libsndfile/commit/7ff854d1e0bd9a751a9ff52ed980c62afced91fe]
+Signed-off-by: Peter Marko <peter.marko@siemens.com>
+---
+ src/ircam.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/ircam.c b/src/ircam.c
+index 3d73ba44..d0780d8a 100644
+--- a/src/ircam.c
++++ b/src/ircam.c
+@@ -161,7 +161,7 @@ ircam_read_header (SF_PRIVATE *psf)
+
+ psf_log_printf (psf, "marker: 0x%X\n", marker) ;
+
+- psf->sf.samplerate = (int) samplerate ;
++ psf->sf.samplerate = psf_lrintf (samplerate) ;
+
+ psf_log_printf (psf, " Sample Rate : %d\n"
+ " Channels : %d\n"
diff --git a/meta/recipes-multimedia/libsndfile/libsndfile1_1.2.2.bb b/meta/recipes-multimedia/libsndfile/libsndfile1_1.2.2.bb
index b22f5b1e503..37f852d5c38 100644
--- a/meta/recipes-multimedia/libsndfile/libsndfile1_1.2.2.bb
+++ b/meta/recipes-multimedia/libsndfile/libsndfile1_1.2.2.bb
@@ -15,6 +15,7 @@ SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/libsndfile-${PV}.tar.xz \
file://CVE-2025-56226-02.patch \
file://CVE-2026-37555.patch \
file://CVE-2024-50613.patch \
+ file://CVE-2025-52194.patch \
"
GITHUB_BASE_URI = "https://github.com/libsndfile/libsndfile/releases/"
^ permalink raw reply related [flat|nested] 40+ messages in thread* [OE-core][scarthgap 21/37] libsndfile1: patch CVE-2026-109828
2026-11-27 17:48 [OE-core][scarthgap 00/37] Patch review Yoann Congal
` (19 preceding siblings ...)
2026-11-27 17:49 ` [OE-core][scarthgap 20/37] libsndfile1: patch CVE-2025-52194 Yoann Congal
@ 2026-11-27 17:49 ` Yoann Congal
2026-11-27 17:49 ` [OE-core][scarthgap 22/37] ffmpeg: Fix CVE-2026-40962 Yoann Congal
` (15 subsequent siblings)
36 siblings, 0 replies; 40+ messages in thread
From: Yoann Congal @ 2026-11-27 17:49 UTC (permalink / raw)
To: openembedded-core
From: Peter Marko <peter.marko@siemens.com>
Pick patch from [1] which clsed [2] linked from [3].
Also pick a refactoring commit which is required for a clean
cherry-pick.
[1] https://github.com/libsndfile/libsndfile/pull/1170
[2] https://github.com/libsndfile/libsndfile/issues/1169
[3] https://nvd.nist.gov/vuln/detail/cve-2026-109828
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6c80a8917e6c815cea297d2aa6c7d715f07c57d9)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
.../libsndfile1/CVE-2026-109828-01.patch | 234 ++++++++++++++++++
.../libsndfile1/CVE-2026-109828-02.patch | 26 ++
.../libsndfile/libsndfile1_1.2.2.bb | 2 +
3 files changed, 262 insertions(+)
create mode 100644 meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2026-109828-01.patch
create mode 100644 meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2026-109828-02.patch
diff --git a/meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2026-109828-01.patch b/meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2026-109828-01.patch
new file mode 100644
index 00000000000..61acc37c2dc
--- /dev/null
+++ b/meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2026-109828-01.patch
@@ -0,0 +1,234 @@
+From 59babedce8fa8eb1000ecb3c87a5dd4a1190ad9e Mon Sep 17 00:00:00 2001
+From: iceray-Li <108821718+iceray00@users.noreply.github.com>
+Date: Tue, 22 Sep 2026 06:05:03 +0000
+Subject: [PATCH] aiff, wav, wavlike: index the cue array through a pointer
+
+The cue array of an SF_CUES struct is allocated with room for the actual cue
+count (SF_CUES_VAR_SIZE()), but the public SF_CUES type declares it with a
+fixed length of 100 (SF_CUES_VAR (100)). Compilers therefore assume that
+cue_points [] holds 100 elements, and UBSan's array-bounds check flags every
+access beyond that even though the allocation is larger:
+
+ src/aiff.c:823:8: runtime error: index 100 out of bounds for type 'SF_CUE_POINT [100]'
+ src/aiff.c:943:38: runtime error: index 100 out of bounds for type 'SF_CUE_POINT [100]'
+ src/wav.c:524:8: runtime error: index 100 out of bounds for type 'SF_CUE_POINT [100]'
+
+The declared bound is also the reason the CVE-2022-33064 report (issue #832)
+is still open. The accesses themselves are inside the allocation: the cue
+count is capped at 2500 by wav.c and aiff.c, psf_cues_alloc() reserves
+cue_count * sizeof (SF_CUE_POINT) bytes, and the same inputs are clean under
+ASan, so no validation of the file can make the diagnostic disappear.
+
+Add psf_cues_points(), which hands out the first element of the array as an
+ordinary pointer, and use it at every place that subscripts cue_points [].
+The layout of the public SF_CUES struct, the API it exposes and the file
+handling are unchanged.
+
+Tested with ossfuzz/sndfile_fuzzer and ossfuzz/sndfile_alt_fuzzer built with
+-fsanitize=address,undefined: the crafted AIFF and WAV inputs abort in
+src/aiff.c and src/wav.c before the change and are clean after it.
+
+CVE: CVE-2026-109828
+Upstream-Status: Backport [https://github.com/libsndfile/libsndfile/commit/59babedce8fa8eb1000ecb3c87a5dd4a1190ad9e]
+Signed-off-by: Peter Marko <peter.marko@siemens.com>
+---
+ src/aiff.c | 36 ++++++++++++++++++++----------------
+ src/common.h | 10 ++++++++++
+ src/wav.c | 23 +++++++++++++----------
+ src/wavlike.c | 5 +++--
+ 4 files changed, 46 insertions(+), 28 deletions(-)
+
+diff --git a/src/aiff.c b/src/aiff.c
+index e36b21e0..39c3221d 100644
+--- a/src/aiff.c
++++ b/src/aiff.c
+@@ -403,6 +403,7 @@ aiff_read_header (SF_PRIVATE *psf, COMM_CHUNK *comm_fmt)
+ int k, found_chunk = 0, done = 0, error = 0 ;
+ char *cptr ;
+ int instr_found = 0, mark_found = 0 ;
++ SF_CUE_POINT *cue_points = NULL ;
+
+ if (psf->filelength > 0xFFFFFFFFLL)
+ psf_log_printf (psf, "Warning : filelength > 0xffffffff. This is bad!!!!\n") ;
+@@ -813,6 +814,8 @@ aiff_read_header (SF_PRIVATE *psf, COMM_CHUNK *comm_fmt)
+ if ((psf->cues = psf_cues_alloc (mark_count)) == NULL)
+ return SFE_MALLOC_FAILED ;
+
++ cue_points = psf_cues_points (psf->cues) ;
++
+ for (n = 0 ; n < mark_count && bytesread < chunk_size ; n++)
+ { uint32_t pstr_len ;
+ uint8_t ch ;
+@@ -820,12 +823,12 @@ aiff_read_header (SF_PRIVATE *psf, COMM_CHUNK *comm_fmt)
+ bytesread += psf_binheader_readf (psf, "E241", &mark_id, &position, &ch) ;
+ psf_log_printf (psf, " Mark ID : %u\n Position : %u\n", mark_id, position) ;
+
+- psf->cues->cue_points [n].indx = mark_id ;
+- psf->cues->cue_points [n].position = 0 ;
+- psf->cues->cue_points [n].fcc_chunk = MAKE_MARKER ('d', 'a', 't', 'a') ; /* always data */
+- psf->cues->cue_points [n].chunk_start = 0 ;
+- psf->cues->cue_points [n].block_start = 0 ;
+- psf->cues->cue_points [n].sample_offset = position ;
++ cue_points [n].indx = mark_id ;
++ cue_points [n].position = 0 ;
++ cue_points [n].fcc_chunk = MAKE_MARKER ('d', 'a', 't', 'a') ; /* always data */
++ cue_points [n].chunk_start = 0 ;
++ cue_points [n].block_start = 0 ;
++ cue_points [n].sample_offset = position ;
+
+ pstr_len = (ch & 1) ? ch : ch + 1 ;
+
+@@ -841,7 +844,7 @@ aiff_read_header (SF_PRIVATE *psf, COMM_CHUNK *comm_fmt)
+
+ psf_log_printf (psf, " Name : %s\n", ubuf.scbuf) ;
+
+- psf_strlcpy (psf->cues->cue_points [n].name, sizeof (psf->cues->cue_points [n].name), ubuf.cbuf) ;
++ psf_strlcpy (cue_points [n].name, sizeof (cue_points [n].name), ubuf.cbuf) ;
+
+ paiff->markstr [n].markerID = mark_id ;
+ paiff->markstr [n].position = position ;
+@@ -940,14 +943,14 @@ aiff_read_header (SF_PRIVATE *psf, COMM_CHUNK *comm_fmt)
+
+ for (j = 0 ; j < psf->cues->cue_count - (uint32_t) (psf->instrument->loop_count * 2) ; j ++)
+ { /* This simply copies the information in cues above loop positions and writes it at current count instead */
+- psf->cues->cue_points [j].indx = psf->cues->cue_points [j + psf->instrument->loop_count * 2].indx ;
+- psf->cues->cue_points [j].position = psf->cues->cue_points [j + psf->instrument->loop_count * 2].position ;
+- psf->cues->cue_points [j].fcc_chunk = psf->cues->cue_points [j + psf->instrument->loop_count * 2].fcc_chunk ;
+- psf->cues->cue_points [j].chunk_start = psf->cues->cue_points [j + psf->instrument->loop_count * 2].chunk_start ;
+- psf->cues->cue_points [j].block_start = psf->cues->cue_points [j + psf->instrument->loop_count * 2].block_start ;
+- psf->cues->cue_points [j].sample_offset = psf->cues->cue_points [j + psf->instrument->loop_count * 2].sample_offset ;
++ cue_points [j].indx = cue_points [j + psf->instrument->loop_count * 2].indx ;
++ cue_points [j].position = cue_points [j + psf->instrument->loop_count * 2].position ;
++ cue_points [j].fcc_chunk = cue_points [j + psf->instrument->loop_count * 2].fcc_chunk ;
++ cue_points [j].chunk_start = cue_points [j + psf->instrument->loop_count * 2].chunk_start ;
++ cue_points [j].block_start = cue_points [j + psf->instrument->loop_count * 2].block_start ;
++ cue_points [j].sample_offset = cue_points [j + psf->instrument->loop_count * 2].sample_offset ;
+ for (str_index = 0 ; str_index < 256 ; str_index++)
+- psf->cues->cue_points [j].name [str_index] = psf->cues->cue_points [j + psf->instrument->loop_count * 2].name [str_index] ;
++ cue_points [j].name [str_index] = cue_points [j + psf->instrument->loop_count * 2].name [str_index] ;
+ } ;
+ psf->cues->cue_count -= psf->instrument->loop_count * 2 ;
+ } else
+@@ -1461,10 +1464,11 @@ aiff_write_header (SF_PRIVATE *psf, int calc_length)
+ { /* There are cues but no loops */
+ uint32_t idx ;
+ int totalStringLength = 0, stringLength ;
++ SF_CUE_POINT *cue_points = psf_cues_points (psf->cues) ;
+
+ /* Here we count how many bytes will the pascal strings need */
+ for (idx = 0 ; idx < psf->cues->cue_count ; idx++)
+- { stringLength = strlen (psf->cues->cue_points [idx].name) + 1 ; /* We'll count the first byte also of every pascal string */
++ { stringLength = strlen (cue_points [idx].name) + 1 ; /* We'll count the first byte also of every pascal string */
+ totalStringLength += stringLength + (stringLength % 2 == 0 ? 0 : 1) ;
+ } ;
+
+@@ -1472,7 +1476,7 @@ aiff_write_header (SF_PRIVATE *psf, int calc_length)
+ BHWm (MARK_MARKER), BHW4 (2 + psf->cues->cue_count * (2 + 4) + totalStringLength), BHW2 (psf->cues->cue_count)) ;
+
+ for (idx = 0 ; idx < psf->cues->cue_count ; idx++)
+- psf_binheader_writef (psf, "E24p", BHW2 (psf->cues->cue_points [idx].indx), BHW4 (psf->cues->cue_points [idx].sample_offset), BHWp (psf->cues->cue_points [idx].name)) ;
++ psf_binheader_writef (psf, "E24p", BHW2 (cue_points [idx].indx), BHW4 (cue_points [idx].sample_offset), BHWp (cue_points [idx].name)) ;
+ } ;
+
+ if (psf->strings.flags & SF_STR_LOCATE_START)
+diff --git a/src/common.h b/src/common.h
+index 01f6ae09..ee6844b8 100644
+--- a/src/common.h
++++ b/src/common.h
+@@ -989,6 +989,16 @@ SF_CUES * psf_cues_dup (const void * ptr, size_t datasize) ;
+ SF_CUES * psf_cues_alloc (uint32_t cue_count) ;
+ void psf_get_cues (SF_PRIVATE * psf, void * data, size_t datasize) ;
+
++/* The cue array is allocated with room for the actual cue count (see
++** psf_cues_alloc()), but the public SF_CUES type declares it with a fixed
++** length of 100. Index it through a pointer so that compilers do not flag
++** accesses to the longer, correctly allocated array (issue #832).
++*/
++static inline SF_CUE_POINT *
++psf_cues_points (SF_CUES *cues)
++{ return cues->cue_points ;
++} /* psf_cues_points */
++
+ SF_INSTRUMENT * psf_instrument_alloc (void) ;
+
+ void psf_sanitize_string (char * cptr, int len) ;
+diff --git a/src/wav.c b/src/wav.c
+index 80dda4e1..f206bc34 100644
+--- a/src/wav.c
++++ b/src/wav.c
+@@ -484,6 +484,7 @@ wav_read_header (SF_PRIVATE *psf, int *blockalign, int *framesperblock)
+
+ { uint32_t thisread, bytesread, cue_count, position, offset ;
+ int id, chunk_id, chunk_start, block_start, cue_index ;
++ SF_CUE_POINT *cue_points ;
+
+ bytesread = psf_binheader_readf (psf, "4", &cue_count) ;
+ psf_log_printf (psf, "%M : %u\n", marker, chunk_size) ;
+@@ -504,6 +505,7 @@ wav_read_header (SF_PRIVATE *psf, int *blockalign, int *framesperblock)
+ if ((psf->cues = psf_cues_alloc (cue_count)) == NULL)
+ return SFE_MALLOC_FAILED ;
+
++ cue_points = psf_cues_points (psf->cues) ;
+ cue_index = 0 ;
+
+ while (cue_count)
+@@ -521,13 +523,13 @@ wav_read_header (SF_PRIVATE *psf, int *blockalign, int *framesperblock)
+ else if (cue_index == 10)
+ psf_log_printf (psf, " (Skipping)\n") ;
+
+- psf->cues->cue_points [cue_index].indx = id ;
+- psf->cues->cue_points [cue_index].position = position ;
+- psf->cues->cue_points [cue_index].fcc_chunk = chunk_id ;
+- psf->cues->cue_points [cue_index].chunk_start = chunk_start ;
+- psf->cues->cue_points [cue_index].block_start = block_start ;
+- psf->cues->cue_points [cue_index].sample_offset = offset ;
+- psf->cues->cue_points [cue_index].name [0] = '\0' ;
++ cue_points [cue_index].indx = id ;
++ cue_points [cue_index].position = position ;
++ cue_points [cue_index].fcc_chunk = chunk_id ;
++ cue_points [cue_index].chunk_start = chunk_start ;
++ cue_points [cue_index].block_start = block_start ;
++ cue_points [cue_index].sample_offset = offset ;
++ cue_points [cue_index].name [0] = '\0' ;
+ cue_count -- ;
+ cue_index ++ ;
+ } ;
+@@ -1210,13 +1212,14 @@ wav_write_header (SF_PRIVATE *psf, int calc_length)
+
+ if (psf->cues != NULL)
+ { uint32_t k ;
++ SF_CUE_POINT *cue_points = psf_cues_points (psf->cues) ;
+
+ psf_binheader_writef (psf, "em44", BHWm (cue_MARKER), BHW4 (4 + psf->cues->cue_count * 6 * 4), BHW4 (psf->cues->cue_count)) ;
+
+ for (k = 0 ; k < psf->cues->cue_count ; k++)
+- psf_binheader_writef (psf, "e44m444", BHW4 (psf->cues->cue_points [k].indx), BHW4 (psf->cues->cue_points [k].position),
+- BHWm (psf->cues->cue_points [k].fcc_chunk), BHW4 (psf->cues->cue_points [k].chunk_start),
+- BHW4 (psf->cues->cue_points [k].block_start), BHW4 (psf->cues->cue_points [k].sample_offset)) ;
++ psf_binheader_writef (psf, "e44m444", BHW4 (cue_points [k].indx), BHW4 (cue_points [k].position),
++ BHWm (cue_points [k].fcc_chunk), BHW4 (cue_points [k].chunk_start),
++ BHW4 (cue_points [k].block_start), BHW4 (cue_points [k].sample_offset)) ;
+ } ;
+
+ if (psf->instrument != NULL)
+diff --git a/src/wavlike.c b/src/wavlike.c
+index 05691323..0c3577a8 100644
+--- a/src/wavlike.c
++++ b/src/wavlike.c
+@@ -1060,13 +1060,14 @@ wavlike_subchunk_parse (SF_PRIVATE *psf, int chunk, uint32_t chunk_length)
+
+ if (psf->cues)
+ { unsigned int i = 0 ;
++ SF_CUE_POINT *cue_points = psf_cues_points (psf->cues) ;
+
+ /* find id to store label */
+- while (i < psf->cues->cue_count && psf->cues->cue_points [i].indx != mark_id)
++ while (i < psf->cues->cue_count && cue_points [i].indx != mark_id)
+ i++ ;
+
+ if (i < psf->cues->cue_count)
+- memcpy (psf->cues->cue_points [i].name, buffer, sizeof (psf->cues->cue_points [i].name)) ;
++ memcpy (cue_points [i].name, buffer, sizeof (cue_points [i].name)) ;
+ } ;
+ } ;
+ break ;
diff --git a/meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2026-109828-02.patch b/meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2026-109828-02.patch
new file mode 100644
index 00000000000..dab12f04ace
--- /dev/null
+++ b/meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2026-109828-02.patch
@@ -0,0 +1,26 @@
+From 1ccd2a18826722c3aa9ed54122ebff20e3b92b10 Mon Sep 17 00:00:00 2001
+From: Ilias Aberkane <user.name>
+Date: Fri, 25 Sep 2026 13:38:54 +0200
+Subject: [PATCH] wavlike: copy only the labl bytes actually read into cue
+ names
+
+CVE: CVE-2026-109828
+Upstream-Status: Backport [https://github.com/libsndfile/libsndfile/commit/1ccd2a18826722c3aa9ed54122ebff20e3b92b10]
+Signed-off-by: Peter Marko <peter.marko@siemens.com>
+---
+ src/wavlike.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/wavlike.c b/src/wavlike.c
+index 0c3577a8..9d99b74a 100644
+--- a/src/wavlike.c
++++ b/src/wavlike.c
+@@ -1067,7 +1067,7 @@ wavlike_subchunk_parse (SF_PRIVATE *psf, int chunk, uint32_t chunk_length)
+ i++ ;
+
+ if (i < psf->cues->cue_count)
+- memcpy (cue_points [i].name, buffer, sizeof (cue_points [i].name)) ;
++ psf_strlcpy (cue_points [i].name, sizeof (cue_points [i].name), buffer) ;
+ } ;
+ } ;
+ break ;
diff --git a/meta/recipes-multimedia/libsndfile/libsndfile1_1.2.2.bb b/meta/recipes-multimedia/libsndfile/libsndfile1_1.2.2.bb
index 37f852d5c38..bb8c666de70 100644
--- a/meta/recipes-multimedia/libsndfile/libsndfile1_1.2.2.bb
+++ b/meta/recipes-multimedia/libsndfile/libsndfile1_1.2.2.bb
@@ -16,6 +16,8 @@ SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/libsndfile-${PV}.tar.xz \
file://CVE-2026-37555.patch \
file://CVE-2024-50613.patch \
file://CVE-2025-52194.patch \
+ file://CVE-2026-109828-01.patch \
+ file://CVE-2026-109828-02.patch \
"
GITHUB_BASE_URI = "https://github.com/libsndfile/libsndfile/releases/"
^ permalink raw reply related [flat|nested] 40+ messages in thread* [OE-core][scarthgap 22/37] ffmpeg: Fix CVE-2026-40962
2026-11-27 17:48 [OE-core][scarthgap 00/37] Patch review Yoann Congal
` (20 preceding siblings ...)
2026-11-27 17:49 ` [OE-core][scarthgap 21/37] libsndfile1: patch CVE-2026-109828 Yoann Congal
@ 2026-11-27 17:49 ` Yoann Congal
2026-11-27 17:49 ` [OE-core][scarthgap 23/37] speex: patch CVE-2026-116741 Yoann Congal
` (14 subsequent siblings)
36 siblings, 0 replies; 40+ messages in thread
From: Yoann Congal @ 2026-11-27 17:49 UTC (permalink / raw)
To: openembedded-core
From: Colin Pinnell McAllister <colin.mcallister@garmin.com>
Backports patch for CVE-2026-40962 to ffmpeg 6.1.4.
Signed-off-by: Colin Pinnell McAllister <colin.mcallister@garmin.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
.../ffmpeg/ffmpeg/CVE-2026-40962.patch | 61 +++++++++++++++++++
.../recipes-multimedia/ffmpeg/ffmpeg_6.1.4.bb | 1 +
2 files changed, 62 insertions(+)
create mode 100644 meta/recipes-multimedia/ffmpeg/ffmpeg/CVE-2026-40962.patch
diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg/CVE-2026-40962.patch b/meta/recipes-multimedia/ffmpeg/ffmpeg/CVE-2026-40962.patch
new file mode 100644
index 00000000000..608dc638ed3
--- /dev/null
+++ b/meta/recipes-multimedia/ffmpeg/ffmpeg/CVE-2026-40962.patch
@@ -0,0 +1,61 @@
+From 5d272b8c9541fa082dfb064e7e5847de4c4300ba Mon Sep 17 00:00:00 2001
+From: Michael Niedermayer <michael@niedermayer.cc>
+Date: Tue, 24 Feb 2026 03:47:15 +0100
+Subject: [PATCH] avformat/mov: use 64bit in CENC subsample bounds checks
+
+Found-by: Quang Luong <oss@engineer.ink>
+Found-by: PrymEvol
+Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
+(cherry picked from commit e392fb8c9c3949d975531d2b23c645d2465a7ebc)
+Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
+
+CVE: CVE-2026-40962
+Upstream-Status: Backport [https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/78c944bdb170d8dcece166115d92b45379b040f4]
+Signed-off-by: Colin Pinnell McAllister <colin.mcallister@garmin.com>
+---
+ libavformat/mov.c | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/libavformat/mov.c b/libavformat/mov.c
+index 7a7545c9b5..af103ad24d 100644
+--- a/libavformat/mov.c
++++ b/libavformat/mov.c
+@@ -7178,7 +7178,7 @@ static int cenc_scheme_decrypt(MOVContext *c, MOVStreamContext *sc, AVEncryption
+ }
+
+ for (i = 0; i < sample->subsample_count; i++) {
+- if (sample->subsamples[i].bytes_of_clear_data + sample->subsamples[i].bytes_of_protected_data > size) {
++ if (sample->subsamples[i].bytes_of_clear_data + (int64_t)sample->subsamples[i].bytes_of_protected_data > size) {
+ av_log(c->fc, AV_LOG_ERROR, "subsample size exceeds the packet size left\n");
+ return AVERROR_INVALIDDATA;
+ }
+@@ -7233,7 +7233,7 @@ static int cbc1_scheme_decrypt(MOVContext *c, MOVStreamContext *sc, AVEncryption
+ }
+
+ for (i = 0; i < sample->subsample_count; i++) {
+- if (sample->subsamples[i].bytes_of_clear_data + sample->subsamples[i].bytes_of_protected_data > size) {
++ if (sample->subsamples[i].bytes_of_clear_data + (int64_t)sample->subsamples[i].bytes_of_protected_data > size) {
+ av_log(c->fc, AV_LOG_ERROR, "subsample size exceeds the packet size left\n");
+ return AVERROR_INVALIDDATA;
+ }
+@@ -7295,7 +7295,7 @@ static int cens_scheme_decrypt(MOVContext *c, MOVStreamContext *sc, AVEncryption
+ }
+
+ for (i = 0; i < sample->subsample_count; i++) {
+- if (sample->subsamples[i].bytes_of_clear_data + sample->subsamples[i].bytes_of_protected_data > size) {
++ if (sample->subsamples[i].bytes_of_clear_data + (int64_t)sample->subsamples[i].bytes_of_protected_data > size) {
+ av_log(c->fc, AV_LOG_ERROR, "subsample size exceeds the packet size left\n");
+ return AVERROR_INVALIDDATA;
+ }
+@@ -7360,7 +7360,7 @@ static int cbcs_scheme_decrypt(MOVContext *c, MOVStreamContext *sc, AVEncryption
+ }
+
+ for (i = 0; i < sample->subsample_count; i++) {
+- if (sample->subsamples[i].bytes_of_clear_data + sample->subsamples[i].bytes_of_protected_data > size) {
++ if (sample->subsamples[i].bytes_of_clear_data + (int64_t)sample->subsamples[i].bytes_of_protected_data > size) {
+ av_log(c->fc, AV_LOG_ERROR, "subsample size exceeds the packet size left\n");
+ return AVERROR_INVALIDDATA;
+ }
+--
+2.56.1
+
diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_6.1.4.bb b/meta/recipes-multimedia/ffmpeg/ffmpeg_6.1.4.bb
index 849835c8493..44ad063e690 100644
--- a/meta/recipes-multimedia/ffmpeg/ffmpeg_6.1.4.bb
+++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_6.1.4.bb
@@ -32,6 +32,7 @@ SRC_URI = " \
file://CVE-2024-35369.patch \
file://CVE-2025-25473.patch \
file://CVE-2025-22921.patch \
+ file://CVE-2026-40962.patch \
"
SRC_URI[sha256sum] = "a231e3d5742c44b1cdaebfb98ad7b6200d12763e0b6db9e1e2c5891f2c083a18"
^ permalink raw reply related [flat|nested] 40+ messages in thread* [OE-core][scarthgap 23/37] speex: patch CVE-2026-116741
2026-11-27 17:48 [OE-core][scarthgap 00/37] Patch review Yoann Congal
` (21 preceding siblings ...)
2026-11-27 17:49 ` [OE-core][scarthgap 22/37] ffmpeg: Fix CVE-2026-40962 Yoann Congal
@ 2026-11-27 17:49 ` Yoann Congal
2026-11-27 17:49 ` [OE-core][scarthgap 24/37] linux-yocto/6.6: update to v6.6.162 Yoann Congal
` (13 subsequent siblings)
36 siblings, 0 replies; 40+ messages in thread
From: Yoann Congal @ 2026-11-27 17:49 UTC (permalink / raw)
To: openembedded-core
From: Peter Marko <peter.marko@siemens.com>
Pick patch from [1] linked from CVE report.
[1] https://gitlab.xiph.org/xiph/speex/-/merge_requests/32
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit acdf6b0bfcf0a2c3b858ccf2f1b385afd5b13574)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
.../speex/speex/CVE-2026-116741.patch | 29 +++++++++++++++++++
meta/recipes-multimedia/speex/speex_1.2.1.bb | 5 +++-
2 files changed, 33 insertions(+), 1 deletion(-)
create mode 100644 meta/recipes-multimedia/speex/speex/CVE-2026-116741.patch
diff --git a/meta/recipes-multimedia/speex/speex/CVE-2026-116741.patch b/meta/recipes-multimedia/speex/speex/CVE-2026-116741.patch
new file mode 100644
index 00000000000..4d71f7fa82c
--- /dev/null
+++ b/meta/recipes-multimedia/speex/speex/CVE-2026-116741.patch
@@ -0,0 +1,29 @@
+From 09b569d1b437e5edccf3406a38714ad795e46d38 Mon Sep 17 00:00:00 2001
+From: Tristan Matthews <tmatth@videolan.org>
+Date: Thu, 22 Oct 2026 09:00:44 -0400
+Subject: [PATCH] bits: fix OOB write in read_whole_bytes for non-owned buffers
+
+Fixes https://github.com/xiph/speex/issues/42
+
+Reported by HaiND (Nguyen Dinh Hai), Post and Telecommunication Institute of Technology, github.com/Haind03.
+
+CVE: CVE-2026-116741
+Upstream-Status: Backport [https://gitlab.xiph.org/xiph/speex/-/commit/09b569d1b437e5edccf3406a38714ad795e46d38]
+Signed-off-by: Peter Marko <peter.marko@siemens.com>
+---
+ libspeex/bits.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/libspeex/bits.c b/libspeex/bits.c
+index 4f457af..c5546e8 100644
+--- a/libspeex/bits.c
++++ b/libspeex/bits.c
+@@ -174,7 +174,7 @@ EXPORT void speex_bits_read_whole_bytes(SpeexBits *bits, const char *chars, int
+ }
+ } else {
+ speex_warning("Do not own input buffer: truncating oversize input");
+- nchars=bits->buf_size;
++ nchars=bits->buf_size-(bits->nbBits>>LOG2_BITS_PER_CHAR)-1;
+ }
+ }
+
diff --git a/meta/recipes-multimedia/speex/speex_1.2.1.bb b/meta/recipes-multimedia/speex/speex_1.2.1.bb
index c40198fa8f3..2a174db0aa4 100644
--- a/meta/recipes-multimedia/speex/speex_1.2.1.bb
+++ b/meta/recipes-multimedia/speex/speex_1.2.1.bb
@@ -8,7 +8,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=eff3f76350f52a99a3df5eec6b79c02a \
"
DEPENDS = "libogg speexdsp"
-SRC_URI = "http://downloads.xiph.org/releases/speex/speex-${PV}.tar.gz"
+SRC_URI = " \
+ http://downloads.xiph.org/releases/speex/speex-${PV}.tar.gz \
+ file://CVE-2026-116741.patch \
+"
UPSTREAM_CHECK_REGEX = "speex-(?P<pver>\d+(\.\d+)+)\.tar"
SRC_URI[sha256sum] = "4b44d4f2b38a370a2d98a78329fefc56a0cf93d1c1be70029217baae6628feea"
^ permalink raw reply related [flat|nested] 40+ messages in thread* [OE-core][scarthgap 24/37] linux-yocto/6.6: update to v6.6.162
2026-11-27 17:48 [OE-core][scarthgap 00/37] Patch review Yoann Congal
` (22 preceding siblings ...)
2026-11-27 17:49 ` [OE-core][scarthgap 23/37] speex: patch CVE-2026-116741 Yoann Congal
@ 2026-11-27 17:49 ` Yoann Congal
2026-11-27 17:49 ` [OE-core][scarthgap 25/37] linux-yocto/6.6: perf cs-etm: fix a compilation issue in cs_etm_decoder__set_tid() Yoann Congal
` (12 subsequent siblings)
36 siblings, 0 replies; 40+ messages in thread
From: Yoann Congal @ 2026-11-27 17:49 UTC (permalink / raw)
To: openembedded-core
From: Bruce Ashfield <bruce.ashfield@gmail.com>
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:
5139929c698c2 Linux 6.6.162
fe9ead8c5bdb7 xen-blkback: Avoid UAF when reading I/O statistics
0d515c409033c xen-netback: defer xenvif_mcast_addr_list_free()
89e534265b62c xen-netback: Fix UAF when reading statistics data
b5a1dc3ad4822 Linux 6.6.161
9ab0324f4868e pid_namespace: prevent TIF_NOTIFY_SIGNAL from interrupting the reaper
9fdbfd1a15a3e signal: allow taks to temporarily block TIF_NOTIFY_SIGNAL
4d1fdb850d016 ptrace: refuse to change the signal mask of a user worker
ec2c8af51ccd5 signal: only SIGKILL and the freezers interrupt a coredumping task
105ca21eb3356 signal: don't retarget shared signals in a dying thread group
71146c437bae5 coredump: hold RCU while releasing parked threads
0e5ff07be834a ftrace: Initialize modname and offset in print_rec()
7f0728ba89624 asymmetric_keys: reject trust keys without IDs
234d09bb3b3d8 keys/trusted_keys: return immediately after TPM unseal failure
c77401946b5bf KEYS: trusted: Fix blob allocation size in tpm2_key_decode()
19dfc37c9deef KEYS: Fix key_reject_and_link() race with keyring restriction
ff44f1b303aa7 keys: Protect the read method check against type removal
8451d4a4c4312 keys: make keyring indexes independent of kernel addresses
dddd3a1ab7d12 keys: Protect the type name while describing a key
26949c2e4c461 keys: Check the authorization payload in process keyring searches
aa03c8fb4334f keys: Avoid the owner account dereference in named keyring lookup
89f0290fc2856 io_uring/poll: don't loop on HUP with multiple references
68cd06ba918d9 io_uring/timeout: don't lose a cancel as io-wq arms a timeout
838475965e5e3 io_uring/timeout: don't flush with the sequence behind the last flush
ee081d232e8f6 io_uring/timeout: don't put a sequence target behind the last flush
41fae2e9e1fa3 io_uring/poll: avoid retry wakeup loss when dropping ownership
c276be0c83ee0 io_uring: look up the file before queueing to io-wq
c614af6826ca2 io_uring/timeout: no ABS update of multishot timeouts
ec267cd430ee4 io_uring: don't pass restart error codes to userspace
9786f24078e30 io_uring/sqpoll: let the thread sleep on disabled rings
f592e45df49c9 io_uring/timeout: keep repeat count on multishot update
93947570afbb9 io_uring/timeout: don't skip over reached sequences
07aa50be5eee5 io_uring/poll: drop stale double poll entry on rearm
9f59721eddabc io_uring/wait: look at all CQ waiters on wake up
9bb28e7740ce7 io_uring: wake ring pollers for local task_work
b23306ea31a0b io_uring/cancel: let CANCEL_ALL find parked requests
b22a4cdc0a90c io_uring/cancel: don't default to setting req->work.cancel_seq
8a9aa27d23e8d io_uring/cancel: recognize "no timeout" on 32-bit
96aaafd7baa54 io_uring/cancel: don't forget that the work was running
39a503e0981c0 io_uring/poll: don't lose a cancel as io-wq arms poll
8408964c14e53 io_uring/io-wq: let cancel find picked up hashed work
b2cfc9fa4ec05 io_uring/io-wq: don't exit with a creation pending
d2a824548aeda io_uring/io-wq: don't strand work when a worker exits
2c75ebae8a7f0 io_uring: don't flood a cancelling task with task_work
d39ebc7a583d6 io_uring/io-wq: don't hide a link from cancellations
08c42055b8f9a io_uring/io-wq: don't lose the signal that ends work
bf1d2ed84b316 io_uring/wait: don't spin on a stuck overflow list
1432d881d9958 io-wq: order the exit bit against worker creation task work
4472579bd1c83 tracing/histograms: Verify event_call identity when updating synth_event refcount
584701bf9b7a0 tracing: Fix 64-bit and signed histogram fields on 32-bit kernels
aae0ccd7326ee tracing: Unregister field variable histograms when the command fails
8b307d64a6054 tracing: Save the event file instead of the compatible histogram
b205ff58e0292 tracing: Reject incomplete event filter expressions
fabaff1c59ff2 Bluetooth: L2CAP: refuse __l2cap_chan_add if chan already has conn
7aaaca01a3f8e net_sched: codel: fix stale state for empty flows in fq_codel
95b887e3d4d7a Revert "srcu: Use irq_work to start GP in tiny SRCU"
7192633a23d6b bonding: do not set usable_slaves for broadcast mode
863303ad4caac net: bonding: update the slave array for broadcast mode
83b2e511cf9ba xfs: don't hold buffer locks across sync transaction commit in xfs_sync_sb_buf
ad33433131ebc cifs: add revalidation on FSCTL failure in smb2_duplicate_extents()
bbc154a7da4e0 dm-integrity: fix infinite loop on discard with large tag size
e265221019d20 drm/amdgpu: free the userptr ranges when a CS fails after parser_bos
4589ad76a6b10 drm/i915/dmc: Harden DMC firmware payload parsing
0c133ed517000 futex: Fix mm reuse handling for FUT_OFF_MMSHARED
9504c8b6644f3 i2c: viai2c-wmt: Fix clock leak in wmt_i2c_probe()
0254b2ffc6276 gtp: disable BH before calling udp_tunnel_xmit_skb()
0cf0ff2f728f2 ipv4: udp: Create exceptions before socket matching
f77fb90edca53 vsock/virtio: validate packet source for connected sockets
64e196a6d7173 io_uring/cancel: don't spin on local work the task can't run
762ffd4a8daff dm-integrity: require stable writes for internal hash modes
f4fcbae8b2735 tracing: Keep the predicate limit separate from program capacity
ef9342fa74336 ASoC: SOF: ipc4-topology: Fix shift-out-of-bounds for aggregated ALH capture
e8dafad7de9ed pid_namespace: make zap_pid_ns_processes() freezable
2358060edbc35 exit: move core of do_wait() into helper
74b4d2370a9e2 drm/exec: don't immediately add prelocked obj to array of locked objs
913a1876fbe9a scsi: bsg: Pass reply_len to bsg_setup_queue() to fit UFS ARPMB replies
b4b0598fad51a ext4: free the sbi after a grace period
c39150784a801 ntfs3: free the sbi after a grace period
da52e5fcb2cae watch_queue: Fix note pool publication race in watch_queue_set_size()
5e1e8702f45d1 kernel/watch_queue: Use pipe_buf() to retrieve the pipe buffer
cd7cd04be583b eventfs: fix SRCU read lock leak in eventfs_iterate()
c3b6aa73a895e perf: Track the perf mlock gift separately
00ff1128123d4 scsi: st: Fix use-after-free race between st_remove() and st_open()
98975a7172288 smb: client: fix multiuser mount with krb5
68652afb9b9ad smb: client: fix heap overflow in cifs_do_set_acl()
cff9bf34afde4 net/sched: cls_flower: validate mask pointer after nla_next()
1a35a81c302b3 ksmbd: zero the FS_OBJECT_ID_INFORMATION buffer before filling it in
e8b82184a1982 ksmbd: initialize FileSystemControlFlags in FS_CONTROL_INFORMATION
da2ec27fdd7ef ksmbd: fill in FileSysIdentifier in FS_POSIX_INFORMATION
b0db9f4ff402b net: bridge: mcast: don't truncate the port group walk on teardown
9ca91638aa027 mm, madvise: fix potential workingset node list_lru leaks
6273bfdeb248d KVM: x86/mmu: Preserve nested TDP shadow page tables if they are used as roots
25dbafda0e432 mm/huge_memory: initialise workingset state before folio split
6ae0cfcb74234 drm/amdgpu: Fix VCE 3 ring align_mask
226a974054acb ipv4: avoid divide by zero in fib_rebalance
ff31c34e921d1 s390/pci: Fix leak of uninitialized kernel data in SCLP report
977dac6cc5531 s390/ctcm: Prevent XID null dereference
ccc28e498ef1c page_pool: keep frag_offset aligned for odd-sized requests
5a7ee52589dae sctp: validate chunk length in the inqueue parser
6abd93d01b0f4 tipc: protect node reset trace dump with node lock
e84bfb0801649 xfs: fix capability check in xfs
23e7fbbdca5aa net/iucv: fix the recvmsg window update
b090c321f203d dm-ebs: fix incorrect device offset check in ebs_ctr()
056bf8322e39a dm-crypt: fix a tiny race condition in crypt_dec_pending
8433fd005c25f dm cache: fix issue with background work locking
495ef656f965f dm cache: fix demotion stats in passthrough mode
f88339e197ea9 cgroup: fix spurious SIGKILL of CLONE_INTO_CGROUP children
8d5fc9e6dc091 tcp: fix use-after-free in do_tcp_getsockopt(TCP_CC_INFO)
4b0930d66dde0 tcp: fix use-after-free in do_tcp_getsockopt(TCP_CONGESTION)
dda5245afc347 wifi: p54: validate firmware record lengths
ab320f6aa3769 tracing: Fix hist trigger timestamps for buffered events
e8cfcd7e60eaa tracing: Do not initialize tracefs work if tracing is disabled
c43c41ec62ca5 tracing: Check operator stack capacity before pushing
16d51e3ca46af tracing: Fix the shift out of bounds in the log2 histogram modifier
f9c0b333a5e44 drm/amdgpu: don't drop the runtime PM reference twice in amdgpu_gpr
13c3cbfd0d1c8 drm/amdgpu/sdma3: Work around POLL_REGMEM / FENCE hang
77134cf996bab scsi: libiscsi: Validate the task named by a management response
ebb8c5ef2aabf scsi: libiscsi: Validate the ITT reflected in a Reject PDU
6200fb2de579f scsi: libiscsi: Reject a negative task index from parse_pdu_itt
e397d4da76bed scsi: xen/scsifront: Check for a NULL shadow entry on a backend response
995350c4f4097 perf: Update cgroup time when rotating multiplexed events
fb13353f0761d i2c: qcom-cci: Fix HALT_ACK reset request being dropped
7e0d05a6234a9 tracing/histograms: Reject non-stacktrace fields for synthetic stacktrace fields
6440608024b00 tools: gpio: fix building from the top level with O=
994694a2d4611 sctp: revalidate output stream after association connect wait
1fccfbc553a63 pinctrl: amd: Clear S4 wake bits when firmware has _AEI
a2fde862b98db net: rds: fix uninitialized trans dereference in CM event handler
fde33eb9955d8 net/sched: fix use-after-free in __tcf_action_put()
5819018dc29fb eventfs: Free the eventfs_inode after an rcu grace period too
d28a460a22372 fsnotify: prevent mark additions during connector teardown
6a36b05fc5b3d KVM: nVMX: Reset MMU back to the root MMU if loading L2 state fails for !VM-Entry
5d7687b0b7160 unicode: free the map after a grace period
35c2c4f3cf140 autofs: ignore notification errors from a replaced pipe
3caf006eb731e perf: Fix perf_pmu_migrate_context() leaving events behind
b5148fad7f9f6 gpio: mxc: fix wakeup_pads bit operations
5982563c56cad gpio: mxc: use BIT() macro
15c0dd095d19d gpio: mxc: fix both_edges bit operations
1b5c5ae021815 gpio: mxc: use lock guards for the generic GPIO chip lock
e29d0a00c619a calipso: keep BIG TCP payload_len in calipso_skbuff_setattr()
2ef0ce6c84470 net/ipv6: Introduce payload_len helpers
e5aa07c62e4fd net: bcmgenet: unshare the skb before writing the control block
41a2f69f091b0 netlink: avoid hashing the network namespace pointer
6078a5369f9e8 scsi: libsas: Fix SMP IO deadlock during HA resume
219aee17dd023 tracing: probes: error if BTF is required but unavailable
94be790dd6fbe pipe: preserve existing fasync readers on writer setup failure
14d8fdf03fb71 samples: pidfd: fix userprogs typo
403669041cb77 ocfs2/dlm: Protect the recovery list during debugfs reads
57b6ebcc83afb scsi: target: iscsi: Fix race in discovery auth updates
d2c2fb020eb97 scsi: st: Save the visited block for the partition the drive is in
9761f81707440 nios2: fix __wsum type degradation in csum_fold()
174c6a8735f42 spi: tegra114: assert CS GPIO for every transfer in a message
ea0e0fc4c72f7 netlink: reset skb headers before unicast and multicast filtering
847874bdbc7bf ASoC: nau8822: Fix the 128x oversampling switch bits
1ffc03f432bb7 ASoC: wm8978: Fix the 128x oversampling switch bits
07bbe910ccc72 ASoC: max98371: Fix the Speaker DHT Min Volume bits
ba5c27c9fa751 ASoC: pcm3168a: Fix the DAC zero flag polarity bit
12d589f384c4d ASoC: cs42l52: Fix the NG Type Switch bit
677c0e9cbb19a ASoC: cs42l56: Put the Limiter Cushion control on the limiter register
4827c986f16d9 ASoC: stm32: spdifrx: fix synchronization state check
41d5c47cf7949 ASoC: Intel: avs: Reset the stream unless it is already prepared
e677eda15df7d net/rds: don't let the rdma_cm destroy an id RDS still owns on route failure
deb972c7eea8d vsock: treat TCP_CLOSING as once-established
86ef8cec3e105 pinctrl: qcom: ipq5018: replace gcc_plltest with pwm2 on gpio12
9ee4a57a9858a power: supply: generic-adc-battery: Fix temperature IIO channel conversion
2cba0c8a7b158 pinctrl: qcom: ipq5018: add missing pwm3 function on gpio13
2e5ffbf1e41ab Drivers: hv: Don't reset VMBus connection state on error/exit paths
f561392afb44a Drivers: hv: Avoid infinite retry loop in init_vp_index()
4643aead9c920 power: supply: ds2780: Fix ds2780_get_capacity() returning raw value
47469a5602b65 power: supply: Fix maintenance charge table kernel-doc
0db8fdcfad51c ext4: fallback to complex scan if aligned scan doesn't work
90a7876e83118 mptcp: move the OoO check back into __mptcp_try_fallback()
ee54f7b6cb4be blk-mq: reinsert cached request to the list
f122d9968d730 blk-mq: pop cached request if it is usable
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
.../linux/linux-yocto-rt_6.6.bb | 6 ++--
.../linux/linux-yocto-tiny_6.6.bb | 6 ++--
meta/recipes-kernel/linux/linux-yocto_6.6.bb | 28 +++++++++----------
3 files changed, 20 insertions(+), 20 deletions(-)
diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_6.6.bb b/meta/recipes-kernel/linux/linux-yocto-rt_6.6.bb
index 51a4e9703cb..eb44fdc10af 100644
--- a/meta/recipes-kernel/linux/linux-yocto-rt_6.6.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-rt_6.6.bb
@@ -14,13 +14,13 @@ python () {
raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it")
}
-SRCREV_machine ?= "bbef8f873c0872eaa717fb9b043b7b428de82c92"
-SRCREV_meta ?= "111e66d07f015c08755ae564c4a2f4a7710863ef"
+SRCREV_machine ?= "7593447608d70ada4e27630e9047fdf459b3fd6f"
+SRCREV_meta ?= "e6abd7216734dffc4233c1cba3d5ab79175d19aa"
SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine;protocol=https \
git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-6.6;destsuffix=${KMETA};protocol=https"
-LINUX_VERSION ?= "6.6.160"
+LINUX_VERSION ?= "6.6.162"
LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_6.6.bb b/meta/recipes-kernel/linux/linux-yocto-tiny_6.6.bb
index 14f0a62d797..d39247e3314 100644
--- a/meta/recipes-kernel/linux/linux-yocto-tiny_6.6.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-tiny_6.6.bb
@@ -8,7 +8,7 @@ require recipes-kernel/linux/linux-yocto.inc
# CVE exclusions
include recipes-kernel/linux/cve-exclusion_6.6.inc
-LINUX_VERSION ?= "6.6.160"
+LINUX_VERSION ?= "6.6.162"
LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}"
@@ -17,8 +17,8 @@ DEPENDS += "openssl-native util-linux-native"
KMETA = "kernel-meta"
KCONF_BSP_AUDIT_LEVEL = "2"
-SRCREV_machine ?= "ada4ee01eb1897a0f2a46b9b3ceeb94690f9e619"
-SRCREV_meta ?= "111e66d07f015c08755ae564c4a2f4a7710863ef"
+SRCREV_machine ?= "33978ed066431901d7e235059590916deb73fa28"
+SRCREV_meta ?= "e6abd7216734dffc4233c1cba3d5ab79175d19aa"
PV = "${LINUX_VERSION}+git"
diff --git a/meta/recipes-kernel/linux/linux-yocto_6.6.bb b/meta/recipes-kernel/linux/linux-yocto_6.6.bb
index 13fe981462e..2a812631ae9 100644
--- a/meta/recipes-kernel/linux/linux-yocto_6.6.bb
+++ b/meta/recipes-kernel/linux/linux-yocto_6.6.bb
@@ -18,25 +18,25 @@ KBRANCH:qemux86-64 ?= "v6.6/standard/base"
KBRANCH:qemuloongarch64 ?= "v6.6/standard/base"
KBRANCH:qemumips64 ?= "v6.6/standard/mti-malta64"
-SRCREV_machine:qemuarm ?= "e67812bab0b383dea8ae786005a5ec642e6b860a"
-SRCREV_machine:qemuarm64 ?= "dce83a630a519666f8c5599478cd8db87cf772c2"
-SRCREV_machine:qemuloongarch64 ?= "0615dc1f6a56bbd35510d527380a9e899adf8707"
-SRCREV_machine:qemumips ?= "e74bfb3fbb54e475fea2371332942c68ab7edc8e"
-SRCREV_machine:qemuppc ?= "a384bf5c01fda52c362015fb31815f41193f9e3b"
-SRCREV_machine:qemuriscv64 ?= "0615dc1f6a56bbd35510d527380a9e899adf8707"
-SRCREV_machine:qemuriscv32 ?= "0615dc1f6a56bbd35510d527380a9e899adf8707"
-SRCREV_machine:qemux86 ?= "0615dc1f6a56bbd35510d527380a9e899adf8707"
-SRCREV_machine:qemux86-64 ?= "0615dc1f6a56bbd35510d527380a9e899adf8707"
-SRCREV_machine:qemumips64 ?= "14d15eae8d97e33895da68333b4347af334e5c65"
-SRCREV_machine ?= "0615dc1f6a56bbd35510d527380a9e899adf8707"
-SRCREV_meta ?= "111e66d07f015c08755ae564c4a2f4a7710863ef"
+SRCREV_machine:qemuarm ?= "7fba77c3443f7ffb974bca08c44cd741ae422baf"
+SRCREV_machine:qemuarm64 ?= "b98967f55ff0be50f7ad0dbcc5938c76278d96b5"
+SRCREV_machine:qemuloongarch64 ?= "3ad693476cb4cc113480e15b2ae7da1e432b5262"
+SRCREV_machine:qemumips ?= "6a6d5067d6dac276c4c0d0829a0483d47b67c7de"
+SRCREV_machine:qemuppc ?= "da6b28016510be8a0c0ecdf864f48d2a1851ab71"
+SRCREV_machine:qemuriscv64 ?= "3ad693476cb4cc113480e15b2ae7da1e432b5262"
+SRCREV_machine:qemuriscv32 ?= "3ad693476cb4cc113480e15b2ae7da1e432b5262"
+SRCREV_machine:qemux86 ?= "3ad693476cb4cc113480e15b2ae7da1e432b5262"
+SRCREV_machine:qemux86-64 ?= "3ad693476cb4cc113480e15b2ae7da1e432b5262"
+SRCREV_machine:qemumips64 ?= "a1afaf058fb596aa7e7750378ccb3f9b77297256"
+SRCREV_machine ?= "3ad693476cb4cc113480e15b2ae7da1e432b5262"
+SRCREV_meta ?= "e6abd7216734dffc4233c1cba3d5ab79175d19aa"
# set your preferred provider of linux-yocto to 'linux-yocto-upstream', and you'll
# get the <version>/base branch, which is pure upstream -stable, and the same
# meta SRCREV as the linux-yocto-standard builds. Select your version using the
# normal PREFERRED_VERSION settings.
BBCLASSEXTEND = "devupstream:target"
-SRCREV_machine:class-devupstream ?= "0aebf2870d53a8d97e02a99e2103ea0b38950c1b"
+SRCREV_machine:class-devupstream ?= "5139929c698c273e07cb0635732f6a918a7b8e78"
PN:class-devupstream = "linux-yocto-upstream"
KBRANCH:class-devupstream = "v6.6/base"
@@ -44,7 +44,7 @@ SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRA
git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-6.6;destsuffix=${KMETA};protocol=https"
LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
-LINUX_VERSION ?= "6.6.160"
+LINUX_VERSION ?= "6.6.162"
PV = "${LINUX_VERSION}+git"
^ permalink raw reply related [flat|nested] 40+ messages in thread* [OE-core][scarthgap 25/37] linux-yocto/6.6: perf cs-etm: fix a compilation issue in cs_etm_decoder__set_tid()
2026-11-27 17:48 [OE-core][scarthgap 00/37] Patch review Yoann Congal
` (23 preceding siblings ...)
2026-11-27 17:49 ` [OE-core][scarthgap 24/37] linux-yocto/6.6: update to v6.6.162 Yoann Congal
@ 2026-11-27 17:49 ` Yoann Congal
2026-11-27 17:49 ` [OE-core][scarthgap 26/37] linux-yocto/6.6: update CVE exclusions (6.6.162) Yoann Congal
` (11 subsequent siblings)
36 siblings, 0 replies; 40+ messages in thread
From: Yoann Congal @ 2026-11-27 17:49 UTC (permalink / raw)
To: openembedded-core
From: Bruce Ashfield <bruce.ashfield@gmail.com>
Integrating the following commit(s) to linux-yocto/6.6:
1/1 [
Author: Valentin Caron
Email: valentin.caron@foss.st.com
Subject: perf cs-etm: fix a compilation issue in cs_etm_decoder__set_tid()
Date: Mon, 9 Nov 2026 18:14:57 +0100
When compiling coresight tool with the command:
make -C tools/perf CORESIGHT=1 all
The following build issue occurs:
util/cs-etm-decoder/cs-etm-decoder.c:551:15: error: too many arguments to
function 'cs_etm_decoder__buffer_packet'
551 | ret = cs_etm_decoder__buffer_packet(etmq, packet_queue,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fix this by removing the parameter "etmq" from function call to match its
declaration:
cs_etm_decoder__buffer_packet(struct cs_etm_packet_queue *packet_queue,
const u8 trace_chan_id,
enum cs_etm_sample_type sample_type)
Fixes: 99d324594165 ("perf cs-etm: Queue context packets for frontend")
Signed-off-by: Valentin Caron <valentin.caron@foss.st.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
.../linux/linux-yocto-rt_6.6.bb | 2 +-
.../linux/linux-yocto-tiny_6.6.bb | 2 +-
meta/recipes-kernel/linux/linux-yocto_6.6.bb | 22 +++++++++----------
3 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_6.6.bb b/meta/recipes-kernel/linux/linux-yocto-rt_6.6.bb
index eb44fdc10af..73f136c1280 100644
--- a/meta/recipes-kernel/linux/linux-yocto-rt_6.6.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-rt_6.6.bb
@@ -14,7 +14,7 @@ python () {
raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it")
}
-SRCREV_machine ?= "7593447608d70ada4e27630e9047fdf459b3fd6f"
+SRCREV_machine ?= "259b95b0821202a0da8c3f8f5d571619e5f13b11"
SRCREV_meta ?= "e6abd7216734dffc4233c1cba3d5ab79175d19aa"
SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine;protocol=https \
diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_6.6.bb b/meta/recipes-kernel/linux/linux-yocto-tiny_6.6.bb
index d39247e3314..fe975d3e425 100644
--- a/meta/recipes-kernel/linux/linux-yocto-tiny_6.6.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-tiny_6.6.bb
@@ -17,7 +17,7 @@ DEPENDS += "openssl-native util-linux-native"
KMETA = "kernel-meta"
KCONF_BSP_AUDIT_LEVEL = "2"
-SRCREV_machine ?= "33978ed066431901d7e235059590916deb73fa28"
+SRCREV_machine ?= "ad54989725c77d1d5312143337fa27111fc552b1"
SRCREV_meta ?= "e6abd7216734dffc4233c1cba3d5ab79175d19aa"
PV = "${LINUX_VERSION}+git"
diff --git a/meta/recipes-kernel/linux/linux-yocto_6.6.bb b/meta/recipes-kernel/linux/linux-yocto_6.6.bb
index 2a812631ae9..32180461f65 100644
--- a/meta/recipes-kernel/linux/linux-yocto_6.6.bb
+++ b/meta/recipes-kernel/linux/linux-yocto_6.6.bb
@@ -18,17 +18,17 @@ KBRANCH:qemux86-64 ?= "v6.6/standard/base"
KBRANCH:qemuloongarch64 ?= "v6.6/standard/base"
KBRANCH:qemumips64 ?= "v6.6/standard/mti-malta64"
-SRCREV_machine:qemuarm ?= "7fba77c3443f7ffb974bca08c44cd741ae422baf"
-SRCREV_machine:qemuarm64 ?= "b98967f55ff0be50f7ad0dbcc5938c76278d96b5"
-SRCREV_machine:qemuloongarch64 ?= "3ad693476cb4cc113480e15b2ae7da1e432b5262"
-SRCREV_machine:qemumips ?= "6a6d5067d6dac276c4c0d0829a0483d47b67c7de"
-SRCREV_machine:qemuppc ?= "da6b28016510be8a0c0ecdf864f48d2a1851ab71"
-SRCREV_machine:qemuriscv64 ?= "3ad693476cb4cc113480e15b2ae7da1e432b5262"
-SRCREV_machine:qemuriscv32 ?= "3ad693476cb4cc113480e15b2ae7da1e432b5262"
-SRCREV_machine:qemux86 ?= "3ad693476cb4cc113480e15b2ae7da1e432b5262"
-SRCREV_machine:qemux86-64 ?= "3ad693476cb4cc113480e15b2ae7da1e432b5262"
-SRCREV_machine:qemumips64 ?= "a1afaf058fb596aa7e7750378ccb3f9b77297256"
-SRCREV_machine ?= "3ad693476cb4cc113480e15b2ae7da1e432b5262"
+SRCREV_machine:qemuarm ?= "998bdbd96cbad13521429c68b3563c11e3a467bf"
+SRCREV_machine:qemuarm64 ?= "cd681556b87360f7c06f363e014ae9b45c7cdaa6"
+SRCREV_machine:qemuloongarch64 ?= "4631166882bfa8bade7427e732d9fdd64ec98c2b"
+SRCREV_machine:qemumips ?= "3bd41d59cf64bbf5148da6494cda59b9699e6552"
+SRCREV_machine:qemuppc ?= "2044f334db4be041f163eeeb1823d250910b7c34"
+SRCREV_machine:qemuriscv64 ?= "4631166882bfa8bade7427e732d9fdd64ec98c2b"
+SRCREV_machine:qemuriscv32 ?= "4631166882bfa8bade7427e732d9fdd64ec98c2b"
+SRCREV_machine:qemux86 ?= "4631166882bfa8bade7427e732d9fdd64ec98c2b"
+SRCREV_machine:qemux86-64 ?= "4631166882bfa8bade7427e732d9fdd64ec98c2b"
+SRCREV_machine:qemumips64 ?= "de116283909c1f4a20cafc24d9aaca1b2cd0f002"
+SRCREV_machine ?= "4631166882bfa8bade7427e732d9fdd64ec98c2b"
SRCREV_meta ?= "e6abd7216734dffc4233c1cba3d5ab79175d19aa"
# set your preferred provider of linux-yocto to 'linux-yocto-upstream', and you'll
^ permalink raw reply related [flat|nested] 40+ messages in thread* [OE-core][scarthgap 26/37] linux-yocto/6.6: update CVE exclusions (6.6.162)
2026-11-27 17:48 [OE-core][scarthgap 00/37] Patch review Yoann Congal
` (24 preceding siblings ...)
2026-11-27 17:49 ` [OE-core][scarthgap 25/37] linux-yocto/6.6: perf cs-etm: fix a compilation issue in cs_etm_decoder__set_tid() Yoann Congal
@ 2026-11-27 17:49 ` Yoann Congal
2026-11-27 17:49 ` [OE-core][scarthgap 27/37] gnupg: fix CVE-2026-57062 Yoann Congal
` (10 subsequent siblings)
36 siblings, 0 replies; 40+ messages in thread
From: Yoann Congal @ 2026-11-27 17:49 UTC (permalink / raw)
To: openembedded-core
From: Yoann Congal <yoann.congal@smile.fr>
$ ./meta/recipes-kernel/linux/generate-cve-exclusions.py .../cvelistV5/ 6.6.162 > meta/recipes-kernel/linux/cve-exclusion_6.6.inc
Generated at 2026-11-21 23:19:46.787108+00:00 for kernel version 6.6.162
From cvelistV5 cve_2026-11-21_2200Z-4-g2e9db7b0ebc
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
.../linux/cve-exclusion_6.6.inc | 1322 +++++++++++++++--
1 file changed, 1237 insertions(+), 85 deletions(-)
diff --git a/meta/recipes-kernel/linux/cve-exclusion_6.6.inc b/meta/recipes-kernel/linux/cve-exclusion_6.6.inc
index 24961f31688..da26078546b 100644
--- a/meta/recipes-kernel/linux/cve-exclusion_6.6.inc
+++ b/meta/recipes-kernel/linux/cve-exclusion_6.6.inc
@@ -1,11 +1,11 @@
# Auto-generated CVE metadata, DO NOT EDIT BY HAND.
-# Generated at 2026-10-29 13:34:05.293881+00:00 for kernel version 6.6.160
-# From cvelistV5 cve_2026-10-29_1300Z-1-g135f63d1c5d
+# Generated at 2026-11-21 23:19:46.787108+00:00 for kernel version 6.6.162
+# From cvelistV5 cve_2026-11-21_2200Z-4-g2e9db7b0ebc
python check_kernel_cve_status_version() {
- this_version = "6.6.160"
+ this_version = "6.6.162"
kernel_version = d.getVar("LINUX_VERSION")
if kernel_version != this_version:
bb.warn("Kernel CVE status needs updating: generated for %s but kernel is %s" % (this_version, kernel_version))
@@ -18746,7 +18746,7 @@ CVE_STATUS[CVE-2025-39963] = "fixed-version: only affects 6.10 onwards"
CVE_STATUS[CVE-2025-39964] = "cpe-stable-backport: Backported in 6.6.108"
-CVE_STATUS[CVE-2025-39965] = "fixed-version: only affects 6.15.11 onwards"
+CVE_STATUS[CVE-2025-39965] = "cpe-stable-backport: Backported in 6.6.109"
CVE_STATUS[CVE-2025-39966] = "fixed-version: only affects 6.11 onwards"
@@ -20514,6 +20514,12 @@ CVE_STATUS[CVE-2026-100078] = "cpe-stable-backport: Backported in 6.6.157"
CVE_STATUS[CVE-2026-100079] = "cpe-stable-backport: Backported in 6.6.157"
+CVE_STATUS[CVE-2026-100080] = "cpe-stable-backport: Backported in 6.6.162"
+
+CVE_STATUS[CVE-2026-100081] = "cpe-stable-backport: Backported in 6.6.162"
+
+CVE_STATUS[CVE-2026-100082] = "cpe-stable-backport: Backported in 6.6.162"
+
CVE_STATUS[CVE-2026-17523] = "fixed-version: Fixed from version 5.4"
CVE_STATUS[CVE-2026-22976] = "cpe-stable-backport: Backported in 6.6.121"
@@ -21270,7 +21276,7 @@ CVE_STATUS[CVE-2026-23353] = "fixed-version: only affects 6.19 onwards"
CVE_STATUS[CVE-2026-23354] = "fixed-version: only affects 6.9 onwards"
-CVE_STATUS[CVE-2026-23355] = "fixed-version: only affects 6.18.14 onwards"
+# CVE-2026-23355 needs backporting (fixed from 6.19.7)
CVE_STATUS[CVE-2026-23356] = "cpe-stable-backport: Backported in 6.6.130"
@@ -21462,7 +21468,7 @@ CVE_STATUS[CVE-2026-23449] = "cpe-stable-backport: Backported in 6.6.130"
CVE_STATUS[CVE-2026-23450] = "cpe-stable-backport: Backported in 6.6.130"
-CVE_STATUS[CVE-2026-23451] = "fixed-version: only affects 6.18.19 onwards"
+# CVE-2026-23451 needs backporting (fixed from 6.19.10)
CVE_STATUS[CVE-2026-23452] = "cpe-stable-backport: Backported in 6.6.130"
@@ -22524,7 +22530,7 @@ CVE_STATUS[CVE-2026-43113] = "cpe-stable-backport: Backported in 6.6.136"
CVE_STATUS[CVE-2026-43114] = "cpe-stable-backport: Backported in 6.6.136"
-CVE_STATUS[CVE-2026-43115] = "cpe-stable-backport: Backported in 6.6.160"
+# CVE-2026-43115 needs backporting (fixed from 7.0)
CVE_STATUS[CVE-2026-43116] = "cpe-stable-backport: Backported in 6.6.143"
@@ -25732,7 +25738,7 @@ CVE_STATUS[CVE-2026-64015] = "cpe-stable-backport: Backported in 6.6.142"
CVE_STATUS[CVE-2026-64016] = "fixed-version: only affects 6.18.33 onwards"
-# CVE-2026-64017 may need backporting (fixed from 6.7)
+CVE_STATUS[CVE-2026-64017] = "cpe-stable-backport: Backported in 6.6.161"
CVE_STATUS[CVE-2026-64018] = "cpe-stable-backport: Backported in 6.6.142"
@@ -28654,7 +28660,7 @@ CVE_STATUS[CVE-2026-72491] = "cpe-stable-backport: Backported in 6.6.145"
CVE_STATUS[CVE-2026-72492] = "cpe-stable-backport: Backported in 6.6.145"
-# CVE-2026-72493 needs backporting (fixed from 7.2)
+CVE_STATUS[CVE-2026-72493] = "fixed-version: only affects 6.10 onwards"
CVE_STATUS[CVE-2026-72494] = "cpe-stable-backport: Backported in 6.6.160"
@@ -30250,8 +30256,6 @@ CVE_STATUS[CVE-2026-80809] = "cpe-stable-backport: Backported in 6.6.154"
CVE_STATUS[CVE-2026-80810] = "fixed-version: only affects 6.15 onwards"
-CVE_STATUS[CVE-2026-80811] = "fixed-version: only affects 6.15 onwards"
-
CVE_STATUS[CVE-2026-80812] = "cpe-stable-backport: Backported in 6.6.154"
CVE_STATUS[CVE-2026-80813] = "fixed-version: only affects 6.13 onwards"
@@ -30468,8 +30472,6 @@ CVE_STATUS[CVE-2026-80918] = "cpe-stable-backport: Backported in 6.6.154"
CVE_STATUS[CVE-2026-80919] = "fixed-version: only affects 7.1 onwards"
-CVE_STATUS[CVE-2026-80920] = "cpe-stable-backport: Backported in 6.6.160"
-
CVE_STATUS[CVE-2026-80921] = "cpe-stable-backport: Backported in 6.6.156"
CVE_STATUS[CVE-2026-80922] = "fixed-version: only affects 6.7 onwards"
@@ -30646,10 +30648,6 @@ CVE_STATUS[CVE-2026-81007] = "cpe-stable-backport: Backported in 6.6.157"
CVE_STATUS[CVE-2026-81008] = "cpe-stable-backport: Backported in 6.6.157"
-CVE_STATUS[CVE-2026-81009] = "fixed-version: only affects 6.18 onwards"
-
-CVE_STATUS[CVE-2026-81010] = "fixed-version: only affects 6.7 onwards"
-
CVE_STATUS[CVE-2026-81011] = "cpe-stable-backport: Backported in 6.6.157"
CVE_STATUS[CVE-2026-81012] = "cpe-stable-backport: Backported in 6.6.157"
@@ -32686,7 +32684,7 @@ CVE_STATUS[CVE-2026-92489] = "cpe-stable-backport: Backported in 6.6.157"
CVE_STATUS[CVE-2026-92490] = "cpe-stable-backport: Backported in 6.6.157"
-CVE_STATUS[CVE-2026-92491] = "fixed-version: only affects 6.9 onwards"
+# CVE-2026-92491 needs backporting (fixed from 7.3)
CVE_STATUS[CVE-2026-92492] = "fixed-version: only affects 7.1 onwards"
@@ -33748,8 +33746,6 @@ CVE_STATUS[CVE-2026-97616] = "cpe-stable-backport: Backported in 6.6.160"
CVE_STATUS[CVE-2026-97617] = "fixed-version: only affects 6.10 onwards"
-CVE_STATUS[CVE-2026-97618] = "fixed-version: only affects 6.12 onwards"
-
CVE_STATUS[CVE-2026-97619] = "cpe-stable-backport: Backported in 6.6.160"
CVE_STATUS[CVE-2026-97620] = "fixed-version: only affects 6.8 onwards"
@@ -34452,7 +34448,7 @@ CVE_STATUS[CVE-2026-98247] = "cpe-stable-backport: Backported in 6.6.158"
CVE_STATUS[CVE-2026-98249] = "cpe-stable-backport: Backported in 6.6.158"
-CVE_STATUS[CVE-2026-98250] = "fixed-version: only affects 7.2 onwards"
+CVE_STATUS[CVE-2026-98250] = "fixed-version: only affects 6.18.64 onwards"
CVE_STATUS[CVE-2026-98251] = "cpe-stable-backport: Backported in 6.6.158"
@@ -36102,7 +36098,7 @@ CVE_STATUS[CVE-2026-99075] = "fixed-version: only affects 6.18 onwards"
# CVE-2026-99076 needs backporting (fixed from 7.3)
-# CVE-2026-99077 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99077] = "cpe-stable-backport: Backported in 6.6.161"
CVE_STATUS[CVE-2026-99078] = "cpe-stable-backport: Backported in 6.6.160"
@@ -36120,7 +36116,7 @@ CVE_STATUS[CVE-2026-99084] = "fixed-version: only affects 7.1 onwards"
CVE_STATUS[CVE-2026-99085] = "fixed-version: only affects 6.12 onwards"
-CVE_STATUS[CVE-2026-99086] = "fixed-version: only affects 6.18.16 onwards"
+CVE_STATUS[CVE-2026-99086] = "fixed-version: only affects 6.12.75 onwards"
# CVE-2026-99087 needs backporting (fixed from 7.3)
@@ -36148,9 +36144,9 @@ CVE_STATUS[CVE-2026-99098] = "fixed-version: only affects 6.11 onwards"
CVE_STATUS[CVE-2026-99099] = "fixed-version: only affects 6.15 onwards"
-# CVE-2026-99100 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99100] = "cpe-stable-backport: Backported in 6.6.161"
-# CVE-2026-99101 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99101] = "fixed-version: only affects 7.1 onwards"
CVE_STATUS[CVE-2026-99102] = "fixed-version: only affects 7.1 onwards"
@@ -36160,7 +36156,7 @@ CVE_STATUS[CVE-2026-99104] = "fixed-version: only affects 7.1 onwards"
CVE_STATUS[CVE-2026-99105] = "fixed-version: only affects 6.12 onwards"
-# CVE-2026-99106 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99106] = "cpe-stable-backport: Backported in 6.6.161"
CVE_STATUS[CVE-2026-99107] = "fixed-version: only affects 7.1 onwards"
@@ -36168,73 +36164,73 @@ CVE_STATUS[CVE-2026-99108] = "fixed-version: only affects 7.1 onwards"
# CVE-2026-99109 needs backporting (fixed from 7.3)
-# CVE-2026-99110 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99110] = "cpe-stable-backport: Backported in 6.6.161"
CVE_STATUS[CVE-2026-99111] = "fixed-version: only affects 6.18 onwards"
-# CVE-2026-99112 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99112] = "cpe-stable-backport: Backported in 6.6.161"
-# CVE-2026-99113 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99113] = "cpe-stable-backport: Backported in 6.6.161"
-# CVE-2026-99114 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99114] = "cpe-stable-backport: Backported in 6.6.161"
-# CVE-2026-99115 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99115] = "cpe-stable-backport: Backported in 6.6.161"
CVE_STATUS[CVE-2026-99116] = "fixed-version: only affects 6.18 onwards"
-# CVE-2026-99117 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99117] = "cpe-stable-backport: Backported in 6.6.161"
-# CVE-2026-99118 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99118] = "cpe-stable-backport: Backported in 6.6.161"
CVE_STATUS[CVE-2026-99119] = "fixed-version: only affects 7.2 onwards"
CVE_STATUS[CVE-2026-99120] = "fixed-version: only affects 6.18 onwards"
-# CVE-2026-99121 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99121] = "cpe-stable-backport: Backported in 6.6.161"
# CVE-2026-99122 needs backporting (fixed from 7.3)
-# CVE-2026-99123 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99123] = "cpe-stable-backport: Backported in 6.6.161"
-# CVE-2026-99124 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99124] = "cpe-stable-backport: Backported in 6.6.161"
CVE_STATUS[CVE-2026-99125] = "fixed-version: only affects 6.11 onwards"
-# CVE-2026-99126 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99126] = "cpe-stable-backport: Backported in 6.6.161"
-# CVE-2026-99127 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99127] = "cpe-stable-backport: Backported in 6.6.161"
-# CVE-2026-99128 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99128] = "cpe-stable-backport: Backported in 6.6.161"
CVE_STATUS[CVE-2026-99129] = "fixed-version: only affects 7.0 onwards"
-# CVE-2026-99130 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99130] = "cpe-stable-backport: Backported in 6.6.161"
-# CVE-2026-99131 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99131] = "cpe-stable-backport: Backported in 6.6.161"
-# CVE-2026-99132 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99132] = "cpe-stable-backport: Backported in 6.6.161"
-# CVE-2026-99133 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99133] = "cpe-stable-backport: Backported in 6.6.161"
CVE_STATUS[CVE-2026-99134] = "fixed-version: only affects 6.8 onwards"
-# CVE-2026-99135 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99135] = "cpe-stable-backport: Backported in 6.6.161"
-# CVE-2026-99136 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99136] = "cpe-stable-backport: Backported in 6.6.161"
CVE_STATUS[CVE-2026-99137] = "fixed-version: only affects 6.18 onwards"
-# CVE-2026-99138 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99138] = "cpe-stable-backport: Backported in 6.6.161"
-# CVE-2026-99139 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99139] = "cpe-stable-backport: Backported in 6.6.161"
-# CVE-2026-99140 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99140] = "cpe-stable-backport: Backported in 6.6.161"
CVE_STATUS[CVE-2026-99141] = "fixed-version: only affects 6.19 onwards"
-# CVE-2026-99142 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99142] = "cpe-stable-backport: Backported in 6.6.161"
-# CVE-2026-99143 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99143] = "cpe-stable-backport: Backported in 6.6.161"
CVE_STATUS[CVE-2026-99144] = "fixed-version: only affects 7.1 onwards"
@@ -36242,27 +36238,27 @@ CVE_STATUS[CVE-2026-99145] = "fixed-version: only affects 7.1 onwards"
# CVE-2026-99146 needs backporting (fixed from 7.3)
-# CVE-2026-99147 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99147] = "cpe-stable-backport: Backported in 6.6.161"
CVE_STATUS[CVE-2026-99148] = "fixed-version: only affects 6.16 onwards"
CVE_STATUS[CVE-2026-99149] = "fixed-version: only affects 6.19 onwards"
-# CVE-2026-99150 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99150] = "cpe-stable-backport: Backported in 6.6.161"
CVE_STATUS[CVE-2026-99151] = "fixed-version: only affects 7.2.9 onwards"
-# CVE-2026-99152 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99152] = "cpe-stable-backport: Backported in 6.6.161"
-# CVE-2026-99153 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99153] = "cpe-stable-backport: Backported in 6.6.161"
-# CVE-2026-99154 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99154] = "cpe-stable-backport: Backported in 6.6.161"
-# CVE-2026-99155 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99155] = "cpe-stable-backport: Backported in 6.6.161"
-# CVE-2026-99156 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99156] = "cpe-stable-backport: Backported in 6.6.161"
-# CVE-2026-99157 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99157] = "cpe-stable-backport: Backported in 6.6.161"
CVE_STATUS[CVE-2026-99158] = "fixed-version: only affects 6.10 onwards"
@@ -36270,49 +36266,49 @@ CVE_STATUS[CVE-2026-99159] = "fixed-version: only affects 6.12 onwards"
CVE_STATUS[CVE-2026-99160] = "fixed-version: only affects 6.12 onwards"
-# CVE-2026-99161 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99161] = "cpe-stable-backport: Backported in 6.6.161"
CVE_STATUS[CVE-2026-99162] = "fixed-version: only affects 6.19 onwards"
-# CVE-2026-99163 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99163] = "cpe-stable-backport: Backported in 6.6.161"
CVE_STATUS[CVE-2026-99164] = "fixed-version: only affects 7.0 onwards"
-# CVE-2026-99165 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99165] = "cpe-stable-backport: Backported in 6.6.161"
-# CVE-2026-99166 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99166] = "cpe-stable-backport: Backported in 6.6.161"
-# CVE-2026-99167 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99167] = "cpe-stable-backport: Backported in 6.6.161"
CVE_STATUS[CVE-2026-99168] = "fixed-version: only affects 6.19 onwards"
-# CVE-2026-99169 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99169] = "cpe-stable-backport: Backported in 6.6.161"
CVE_STATUS[CVE-2026-99170] = "fixed-version: only affects 7.1 onwards"
-# CVE-2026-99171 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99171] = "cpe-stable-backport: Backported in 6.6.161"
# CVE-2026-99172 needs backporting (fixed from 7.3)
-# CVE-2026-99173 may need backporting (fixed from 6.7)
+CVE_STATUS[CVE-2026-99173] = "cpe-stable-backport: Backported in 6.6.161"
-# CVE-2026-99174 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99174] = "cpe-stable-backport: Backported in 6.6.161"
-# CVE-2026-99175 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99175] = "cpe-stable-backport: Backported in 6.6.161"
-# CVE-2026-99176 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99176] = "cpe-stable-backport: Backported in 6.6.161"
CVE_STATUS[CVE-2026-99177] = "fixed-version: only affects 7.2 onwards"
# CVE-2026-99178 needs backporting (fixed from 7.3)
-# CVE-2026-99179 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99179] = "cpe-stable-backport: Backported in 6.6.161"
-# CVE-2026-99180 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99180] = "cpe-stable-backport: Backported in 6.6.161"
-# CVE-2026-99181 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99181] = "cpe-stable-backport: Backported in 6.6.161"
-# CVE-2026-99182 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99182] = "cpe-stable-backport: Backported in 6.6.161"
CVE_STATUS[CVE-2026-99183] = "fixed-version: only affects 6.18 onwards"
@@ -36322,7 +36318,7 @@ CVE_STATUS[CVE-2026-99185] = "fixed-version: only affects 6.19 onwards"
CVE_STATUS[CVE-2026-99186] = "fixed-version: only affects 6.19 onwards"
-# CVE-2026-99187 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99187] = "cpe-stable-backport: Backported in 6.6.161"
CVE_STATUS[CVE-2026-99188] = "fixed-version: only affects 6.19 onwards"
@@ -36330,9 +36326,9 @@ CVE_STATUS[CVE-2026-99188] = "fixed-version: only affects 6.19 onwards"
CVE_STATUS[CVE-2026-99190] = "fixed-version: only affects 6.12.114 onwards"
-# CVE-2026-99191 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99191] = "cpe-stable-backport: Backported in 6.6.161"
-# CVE-2026-99192 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99192] = "cpe-stable-backport: Backported in 6.6.161"
CVE_STATUS[CVE-2026-99193] = "fixed-version: only affects 7.2 onwards"
@@ -36350,17 +36346,17 @@ CVE_STATUS[CVE-2026-99199] = "fixed-version: only affects 7.2 onwards"
CVE_STATUS[CVE-2026-99200] = "fixed-version: only affects 7.2 onwards"
-# CVE-2026-99201 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99201] = "cpe-stable-backport: Backported in 6.6.161"
-CVE_STATUS[CVE-2026-99202] = "fixed-version: only affects 6.18.44 onwards"
+CVE_STATUS[CVE-2026-99202] = "cpe-stable-backport: Backported in 6.6.161"
-# CVE-2026-99203 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99203] = "cpe-stable-backport: Backported in 6.6.161"
-# CVE-2026-99204 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99204] = "cpe-stable-backport: Backported in 6.6.161"
CVE_STATUS[CVE-2026-99205] = "fixed-version: only affects 7.0 onwards"
-# CVE-2026-99206 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99206] = "cpe-stable-backport: Backported in 6.6.161"
CVE_STATUS[CVE-2026-99207] = "fixed-version: only affects 7.1 onwards"
@@ -36370,17 +36366,1173 @@ CVE_STATUS[CVE-2026-99209] = "fixed-version: only affects 6.8 onwards"
CVE_STATUS[CVE-2026-99210] = "fixed-version: only affects 6.18 onwards"
-# CVE-2026-99211 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99211] = "cpe-stable-backport: Backported in 6.6.161"
-# CVE-2026-99212 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99212] = "cpe-stable-backport: Backported in 6.6.161"
-# CVE-2026-99213 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99213] = "cpe-stable-backport: Backported in 6.6.161"
CVE_STATUS[CVE-2026-99214] = "fixed-version: only affects 6.11 onwards"
# CVE-2026-99215 needs backporting (fixed from 7.3)
-# CVE-2026-99216 needs backporting (fixed from 7.3)
+CVE_STATUS[CVE-2026-99216] = "cpe-stable-backport: Backported in 6.6.161"
+
+CVE_STATUS[CVE-2026-99218] = "cpe-stable-backport: Backported in 6.6.161"
+
+CVE_STATUS[CVE-2026-99219] = "cpe-stable-backport: Backported in 6.6.161"
+
+CVE_STATUS[CVE-2026-99220] = "cpe-stable-backport: Backported in 6.6.161"
+
+CVE_STATUS[CVE-2026-99221] = "cpe-stable-backport: Backported in 6.6.161"
+
+CVE_STATUS[CVE-2026-99222] = "cpe-stable-backport: Backported in 6.6.161"
+
+CVE_STATUS[CVE-2026-99223] = "cpe-stable-backport: Backported in 6.6.161"
+
+CVE_STATUS[CVE-2026-99224] = "cpe-stable-backport: Backported in 6.6.161"
+
+CVE_STATUS[CVE-2026-99225] = "cpe-stable-backport: Backported in 6.6.161"
+
+CVE_STATUS[CVE-2026-99226] = "cpe-stable-backport: Backported in 6.6.161"
+
+CVE_STATUS[CVE-2026-99227] = "fixed-version: only affects 6.7 onwards"
+
+CVE_STATUS[CVE-2026-99228] = "cpe-stable-backport: Backported in 6.6.161"
+
+CVE_STATUS[CVE-2026-99229] = "cpe-stable-backport: Backported in 6.6.161"
+
+CVE_STATUS[CVE-2026-99230] = "fixed-version: only affects 6.7 onwards"
+
+CVE_STATUS[CVE-2026-99231] = "fixed-version: only affects 6.12.113 onwards"
+
+CVE_STATUS[CVE-2026-99232] = "fixed-version: only affects 6.19 onwards"
+
+CVE_STATUS[CVE-2026-99233] = "cpe-stable-backport: Backported in 6.6.161"
+
+CVE_STATUS[CVE-2026-99234] = "cpe-stable-backport: Backported in 6.6.161"
+
+CVE_STATUS[CVE-2026-99235] = "cpe-stable-backport: Backported in 6.6.161"
+
+CVE_STATUS[CVE-2026-99236] = "cpe-stable-backport: Backported in 6.6.161"
+
+CVE_STATUS[CVE-2026-99237] = "fixed-version: only affects 6.16 onwards"
+
+CVE_STATUS[CVE-2026-99238] = "fixed-version: only affects 6.15 onwards"
+
+CVE_STATUS[CVE-2026-99239] = "cpe-stable-backport: Backported in 6.6.161"
+
+CVE_STATUS[CVE-2026-99240] = "fixed-version: only affects 6.17 onwards"
+
+CVE_STATUS[CVE-2026-99241] = "fixed-version: only affects 7.1 onwards"
+
+CVE_STATUS[CVE-2026-99242] = "fixed-version: only affects 7.1 onwards"
+
+CVE_STATUS[CVE-2026-99244] = "cpe-stable-backport: Backported in 6.6.161"
+
+CVE_STATUS[CVE-2026-99245] = "cpe-stable-backport: Backported in 6.6.161"
+
+CVE_STATUS[CVE-2026-99246] = "cpe-stable-backport: Backported in 6.6.161"
+
+CVE_STATUS[CVE-2026-99247] = "cpe-stable-backport: Backported in 6.6.161"
+
+CVE_STATUS[CVE-2026-99248] = "fixed-version: only affects 7.1 onwards"
+
+CVE_STATUS[CVE-2026-99249] = "cpe-stable-backport: Backported in 6.6.161"
+
+CVE_STATUS[CVE-2026-99250] = "fixed-version: only affects 6.12 onwards"
+
+CVE_STATUS[CVE-2026-99251] = "cpe-stable-backport: Backported in 6.6.161"
+
+CVE_STATUS[CVE-2026-99253] = "fixed-version: only affects 7.2 onwards"
+
+CVE_STATUS[CVE-2026-99254] = "cpe-stable-backport: Backported in 6.6.161"
+
+CVE_STATUS[CVE-2026-99255] = "cpe-stable-backport: Backported in 6.6.161"
+
+CVE_STATUS[CVE-2026-99256] = "cpe-stable-backport: Backported in 6.6.161"
+
+CVE_STATUS[CVE-2026-99257] = "fixed-version: only affects 6.19 onwards"
+
+CVE_STATUS[CVE-2026-99258] = "fixed-version: only affects 6.12.41 onwards"
+
+CVE_STATUS[CVE-2026-99259] = "fixed-version: only affects 7.2 onwards"
+
+CVE_STATUS[CVE-2026-99260] = "fixed-version: only affects 7.1 onwards"
+
+CVE_STATUS[CVE-2026-99261] = "fixed-version: only affects 7.2 onwards"
+
+CVE_STATUS[CVE-2026-99269] = "fixed-version: only affects 7.1 onwards"
+
+# CVE-2026-99270 needs backporting (fixed from 7.1)
+
+# CVE-2026-99271 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99272 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99273 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99274 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99275 needs backporting (fixed from 7.4rc1)
+
+CVE_STATUS[CVE-2026-99276] = "fixed-version: only affects 7.2.8 onwards"
+
+CVE_STATUS[CVE-2026-99277] = "fixed-version: only affects 7.2.8 onwards"
+
+CVE_STATUS[CVE-2026-99278] = "fixed-version: only affects 7.2.8 onwards"
+
+CVE_STATUS[CVE-2026-99279] = "fixed-version: only affects 7.2.8 onwards"
+
+CVE_STATUS[CVE-2026-99280] = "fixed-version: only affects 7.2.8 onwards"
+
+# CVE-2026-99281 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99282 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99283 needs backporting (fixed from 7.3)
+
+# CVE-2026-99284 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99285 may need backporting (fixed from 6.7)
+
+CVE_STATUS[CVE-2026-99286] = "fixed-version: only affects 6.12.116 onwards"
+
+# CVE-2026-99287 needs backporting (fixed from 7.4rc3)
+
+# CVE-2026-99288 needs backporting (fixed from 7.4rc2)
+
+CVE_STATUS[CVE-2026-99289] = "fixed-version: only affects 7.2 onwards"
+
+# CVE-2026-99290 may need backporting (fixed from 6.7)
+
+CVE_STATUS[CVE-2026-99291] = "fixed-version: only affects 7.2.6 onwards"
+
+# CVE-2026-99292 needs backporting (fixed from 7.4rc1)
+
+CVE_STATUS[CVE-2026-99293] = "fixed-version: only affects 6.14 onwards"
+
+# CVE-2026-99294 needs backporting (fixed from 7.1)
+
+# CVE-2026-99295 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99296 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99297 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99298 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99299 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99300 needs backporting (fixed from 7.4rc1)
+
+CVE_STATUS[CVE-2026-99301] = "fixed-version: only affects 6.9 onwards"
+
+# CVE-2026-99302 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99303 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99304 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99305 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99306 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99307 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99308 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99309 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99310 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99311 may need backporting (fixed from 6.7)
+
+# CVE-2026-99312 needs backporting (fixed from 7.4rc2)
+
+CVE_STATUS[CVE-2026-99313] = "cpe-stable-backport: Backported in 6.6.158"
+
+# CVE-2026-99314 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99315 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99316 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99317 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99318 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99319 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99320 needs backporting (fixed from 7.4rc2)
+
+CVE_STATUS[CVE-2026-99321] = "fixed-version: only affects 7.3 onwards"
+
+CVE_STATUS[CVE-2026-99322] = "fixed-version: only affects 7.2.6 onwards"
+
+# CVE-2026-99323 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99324 needs backporting (fixed from 7.4rc1)
+
+CVE_STATUS[CVE-2026-99325] = "fixed-version: only affects 7.1 onwards"
+
+CVE_STATUS[CVE-2026-99326] = "fixed-version: only affects 7.1 onwards"
+
+# CVE-2026-99327 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99328 needs backporting (fixed from 7.4rc1)
+
+CVE_STATUS[CVE-2026-99329] = "fixed-version: only affects 7.1 onwards"
+
+# CVE-2026-99330 may need backporting (fixed from 6.7)
+
+# CVE-2026-99331 needs backporting (fixed from 7.4rc1)
+
+CVE_STATUS[CVE-2026-99332] = "fixed-version: only affects 6.12.83 onwards"
+
+# CVE-2026-99333 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99334 needs backporting (fixed from 7.4rc1)
+
+CVE_STATUS[CVE-2026-99335] = "fixed-version: only affects 6.8 onwards"
+
+CVE_STATUS[CVE-2026-99336] = "fixed-version: only affects 6.12.59 onwards"
+
+CVE_STATUS[CVE-2026-99337] = "fixed-version: only affects 6.16 onwards"
+
+CVE_STATUS[CVE-2026-99338] = "fixed-version: only affects 6.16 onwards"
+
+# CVE-2026-99339 needs backporting (fixed from 7.4rc1)
+
+CVE_STATUS[CVE-2026-99340] = "fixed-version: only affects 6.7 onwards"
+
+# CVE-2026-99341 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99342 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99343 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99344 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99345 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99346 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99347 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99348 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99349 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99350 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99351 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99352 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99353 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99354 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99355 needs backporting (fixed from 7.4rc1)
+
+CVE_STATUS[CVE-2026-99356] = "fixed-version: only affects 6.12.42 onwards"
+
+# CVE-2026-99357 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99358 needs backporting (fixed from 7.4rc1)
+
+CVE_STATUS[CVE-2026-99359] = "fixed-version: only affects 6.10 onwards"
+
+# CVE-2026-99360 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99361 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99362 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99363 needs backporting (fixed from 7.4rc1)
+
+CVE_STATUS[CVE-2026-99364] = "fixed-version: only affects 6.7 onwards"
+
+# CVE-2026-99365 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99366 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99367 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99368 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99369 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99370 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99371 needs backporting (fixed from 7.4rc1)
+
+CVE_STATUS[CVE-2026-99372] = "fixed-version: only affects 6.10 onwards"
+
+CVE_STATUS[CVE-2026-99373] = "fixed-version: only affects 6.18 onwards"
+
+CVE_STATUS[CVE-2026-99374] = "fixed-version: only affects 6.18 onwards"
+
+# CVE-2026-99375 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99376 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99377 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99378 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99379 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99380 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99381 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99382 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99383 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99384 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99385 needs backporting (fixed from 7.4rc1)
+
+CVE_STATUS[CVE-2026-99386] = "fixed-version: only affects 6.12.2 onwards"
+
+# CVE-2026-99387 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99388 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99389 needs backporting (fixed from 7.4rc1)
+
+CVE_STATUS[CVE-2026-99390] = "fixed-version: only affects 6.8 onwards"
+
+CVE_STATUS[CVE-2026-99391] = "fixed-version: only affects 6.13 onwards"
+
+CVE_STATUS[CVE-2026-99392] = "fixed-version: only affects 6.8 onwards"
+
+CVE_STATUS[CVE-2026-99393] = "fixed-version: only affects 6.8 onwards"
+
+CVE_STATUS[CVE-2026-99394] = "fixed-version: only affects 6.10 onwards"
+
+# CVE-2026-99395 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99396 needs backporting (fixed from 7.4rc1)
+
+CVE_STATUS[CVE-2026-99397] = "fixed-version: only affects 6.8 onwards"
+
+CVE_STATUS[CVE-2026-99398] = "fixed-version: only affects 6.10 onwards"
+
+# CVE-2026-99399 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99400 needs backporting (fixed from 7.4rc1)
+
+CVE_STATUS[CVE-2026-99401] = "fixed-version: only affects 6.13 onwards"
+
+CVE_STATUS[CVE-2026-99402] = "fixed-version: only affects 7.3 onwards"
+
+# CVE-2026-99403 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99404 needs backporting (fixed from 7.4rc1)
+
+CVE_STATUS[CVE-2026-99405] = "fixed-version: only affects 6.10 onwards"
+
+CVE_STATUS[CVE-2026-99406] = "fixed-version: only affects 6.9 onwards"
+
+CVE_STATUS[CVE-2026-99407] = "fixed-version: only affects 6.9 onwards"
+
+CVE_STATUS[CVE-2026-99408] = "fixed-version: only affects 6.10 onwards"
+
+CVE_STATUS[CVE-2026-99409] = "fixed-version: only affects 6.10 onwards"
+
+CVE_STATUS[CVE-2026-99410] = "fixed-version: only affects 6.10 onwards"
+
+CVE_STATUS[CVE-2026-99411] = "fixed-version: only affects 6.15 onwards"
+
+CVE_STATUS[CVE-2026-99412] = "fixed-version: only affects 6.14 onwards"
+
+# CVE-2026-99413 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99414 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99415 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99416 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99417 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99418 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99419 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99420 needs backporting (fixed from 7.4rc1)
+
+CVE_STATUS[CVE-2026-99421] = "cpe-stable-backport: Backported in 6.6.73"
+
+# CVE-2026-99422 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99423 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99424 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99425 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99426 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99427 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99428 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99429 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99430 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99431 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99432 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99433 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99434 needs backporting (fixed from 7.4rc1)
+
+CVE_STATUS[CVE-2026-99435] = "fixed-version: only affects 6.12.93 onwards"
+
+CVE_STATUS[CVE-2026-99436] = "fixed-version: only affects 6.12.93 onwards"
+
+CVE_STATUS[CVE-2026-99437] = "fixed-version: only affects 6.12.93 onwards"
+
+# CVE-2026-99438 needs backporting (fixed from 7.4rc1)
+
+CVE_STATUS[CVE-2026-99439] = "fixed-version: only affects 6.12.93 onwards"
+
+CVE_STATUS[CVE-2026-99440] = "fixed-version: only affects 6.12.93 onwards"
+
+# CVE-2026-99441 needs backporting (fixed from 7.4rc1)
+
+CVE_STATUS[CVE-2026-99442] = "fixed-version: only affects 6.12.31 onwards"
+
+CVE_STATUS[CVE-2026-99443] = "fixed-version: only affects 6.14 onwards"
+
+# CVE-2026-99444 needs backporting (fixed from 7.4rc1)
+
+CVE_STATUS[CVE-2026-99445] = "fixed-version: only affects 6.19 onwards"
+
+# CVE-2026-99446 needs backporting (fixed from 7.4rc1)
+
+CVE_STATUS[CVE-2026-99447] = "fixed-version: only affects 6.9 onwards"
+
+# CVE-2026-99448 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99449 needs backporting (fixed from 7.4rc1)
+
+CVE_STATUS[CVE-2026-99450] = "fixed-version: only affects 7.0 onwards"
+
+# CVE-2026-99451 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99452 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99453 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99454 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99455 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99456 needs backporting (fixed from 7.4rc1)
+
+CVE_STATUS[CVE-2026-99457] = "fixed-version: only affects 7.1 onwards"
+
+CVE_STATUS[CVE-2026-99458] = "fixed-version: only affects 7.1 onwards"
+
+CVE_STATUS[CVE-2026-99459] = "fixed-version: only affects 6.19 onwards"
+
+# CVE-2026-99460 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99461 needs backporting (fixed from 7.4rc1)
+
+CVE_STATUS[CVE-2026-99462] = "fixed-version: only affects 6.15 onwards"
+
+CVE_STATUS[CVE-2026-99463] = "fixed-version: only affects 6.11 onwards"
+
+# CVE-2026-99464 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99465 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99466 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99467 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99468 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99469 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99470 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99471 needs backporting (fixed from 7.4rc1)
+
+CVE_STATUS[CVE-2026-99472] = "fixed-version: only affects 6.9 onwards"
+
+CVE_STATUS[CVE-2026-99473] = "fixed-version: only affects 6.8 onwards"
+
+# CVE-2026-99474 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99475 needs backporting (fixed from 7.4rc1)
+
+CVE_STATUS[CVE-2026-99476] = "fixed-version: only affects 7.0 onwards"
+
+CVE_STATUS[CVE-2026-99477] = "fixed-version: only affects 6.7 onwards"
+
+CVE_STATUS[CVE-2026-99478] = "fixed-version: only affects 6.19 onwards"
+
+# CVE-2026-99479 needs backporting (fixed from 7.4rc1)
+
+CVE_STATUS[CVE-2026-99480] = "fixed-version: only affects 6.12.114 onwards"
+
+CVE_STATUS[CVE-2026-99481] = "fixed-version: only affects 6.12.46 onwards"
+
+# CVE-2026-99482 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99483 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99484 needs backporting (fixed from 7.4rc1)
+
+CVE_STATUS[CVE-2026-99485] = "fixed-version: only affects 7.0 onwards"
+
+CVE_STATUS[CVE-2026-99486] = "fixed-version: only affects 6.16 onwards"
+
+CVE_STATUS[CVE-2026-99487] = "fixed-version: only affects 6.17 onwards"
+
+# CVE-2026-99488 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99489 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99490 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99491 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99492 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99493 may need backporting (fixed from 6.7)
+
+# CVE-2026-99494 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99495 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99496 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99497 needs backporting (fixed from 7.4rc1)
+
+CVE_STATUS[CVE-2026-99498] = "fixed-version: only affects 6.15 onwards"
+
+CVE_STATUS[CVE-2026-99499] = "fixed-version: only affects 6.19 onwards"
+
+CVE_STATUS[CVE-2026-99500] = "fixed-version: only affects 6.19 onwards"
+
+CVE_STATUS[CVE-2026-99501] = "fixed-version: only affects 6.19 onwards"
+
+CVE_STATUS[CVE-2026-99502] = "fixed-version: only affects 6.19 onwards"
+
+# CVE-2026-99503 needs backporting (fixed from 7.4rc1)
+
+CVE_STATUS[CVE-2026-99504] = "fixed-version: only affects 6.14 onwards"
+
+# CVE-2026-99505 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99506 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99507 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99508 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99509 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99510 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99511 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99512 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99513 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99514 needs backporting (fixed from 7.4rc1)
+
+CVE_STATUS[CVE-2026-99515] = "fixed-version: only affects 6.11 onwards"
+
+# CVE-2026-99516 needs backporting (fixed from 7.4rc1)
+
+CVE_STATUS[CVE-2026-99517] = "fixed-version: only affects 6.13 onwards"
+
+CVE_STATUS[CVE-2026-99518] = "fixed-version: only affects 7.0 onwards"
+
+CVE_STATUS[CVE-2026-99519] = "fixed-version: only affects 6.19 onwards"
+
+CVE_STATUS[CVE-2026-99520] = "fixed-version: only affects 6.14 onwards"
+
+# CVE-2026-99521 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99522 needs backporting (fixed from 7.4rc1)
+
+CVE_STATUS[CVE-2026-99523] = "fixed-version: only affects 7.0 onwards"
+
+CVE_STATUS[CVE-2026-99524] = "fixed-version: only affects 7.1 onwards"
+
+# CVE-2026-99525 may need backporting (fixed from 6.7)
+
+# CVE-2026-99526 needs backporting (fixed from 7.4rc1)
+
+CVE_STATUS[CVE-2026-99527] = "fixed-version: only affects 6.14 onwards"
+
+# CVE-2026-99528 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99529 needs backporting (fixed from 7.4rc1)
+
+CVE_STATUS[CVE-2026-99530] = "fixed-version: only affects 6.18 onwards"
+
+# CVE-2026-99531 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99532 needs backporting (fixed from 7.4rc1)
+
+CVE_STATUS[CVE-2026-99533] = "fixed-version: only affects 7.2 onwards"
+
+# CVE-2026-99534 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99535 needs backporting (fixed from 7.4rc1)
+
+CVE_STATUS[CVE-2026-99536] = "fixed-version: only affects 7.1.5 onwards"
+
+# CVE-2026-99537 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99538 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99539 may need backporting (fixed from 6.7)
+
+# CVE-2026-99540 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99541 may need backporting (fixed from 6.7)
+
+# CVE-2026-99542 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99543 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99544 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99545 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99546 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99547 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99548 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99549 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99550 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99551 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99552 needs backporting (fixed from 7.4rc1)
+
+CVE_STATUS[CVE-2026-99553] = "fixed-version: only affects 6.14 onwards"
+
+# CVE-2026-99554 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99555 may need backporting (fixed from 6.7)
+
+# CVE-2026-99556 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99557 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99558 needs backporting (fixed from 7.4rc1)
+
+CVE_STATUS[CVE-2026-99559] = "fixed-version: only affects 6.13 onwards"
+
+CVE_STATUS[CVE-2026-99560] = "fixed-version: only affects 7.3 onwards"
+
+# CVE-2026-99561 needs backporting (fixed from 7.4rc1)
+
+CVE_STATUS[CVE-2026-99562] = "fixed-version: only affects 7.3 onwards"
+
+CVE_STATUS[CVE-2026-99563] = "fixed-version: only affects 7.1 onwards"
+
+CVE_STATUS[CVE-2026-99564] = "fixed-version: only affects 7.1 onwards"
+
+# CVE-2026-99565 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99566 has no known resolution
+
+# CVE-2026-99567 has no known resolution
+
+# CVE-2026-99568 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99569 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99570 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99571 may need backporting (fixed from 6.7)
+
+CVE_STATUS[CVE-2026-99572] = "fixed-version: only affects 7.1 onwards"
+
+# CVE-2026-99573 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99574 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99575 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99576 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99577 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99578 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99579 needs backporting (fixed from 7.4rc2)
+
+CVE_STATUS[CVE-2026-99580] = "fixed-version: only affects 6.9 onwards"
+
+CVE_STATUS[CVE-2026-99581] = "fixed-version: only affects 6.19 onwards"
+
+# CVE-2026-99582 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99583 needs backporting (fixed from 7.4rc1)
+
+CVE_STATUS[CVE-2026-99584] = "fixed-version: only affects 6.16 onwards"
+
+CVE_STATUS[CVE-2026-99585] = "fixed-version: only affects 6.18 onwards"
+
+# CVE-2026-99586 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99587 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99588 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99589 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99590 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99591 needs backporting (fixed from 7.4rc3)
+
+CVE_STATUS[CVE-2026-99592] = "fixed-version: only affects 6.15 onwards"
+
+# CVE-2026-99593 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99594 needs backporting (fixed from 7.4rc2)
+
+CVE_STATUS[CVE-2026-99595] = "fixed-version: only affects 6.18 onwards"
+
+# CVE-2026-99596 may need backporting (fixed from 6.7)
+
+# CVE-2026-99597 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99598 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99599 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99600 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99601 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99602 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99603 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99604 needs backporting (fixed from 7.4rc2)
+
+CVE_STATUS[CVE-2026-99605] = "fixed-version: only affects 7.0 onwards"
+
+# CVE-2026-99606 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99607 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99608 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99609 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99610 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99611 needs backporting (fixed from 7.4rc2)
+
+CVE_STATUS[CVE-2026-99612] = "fixed-version: only affects 6.18.57 onwards"
+
+# CVE-2026-99613 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99614 needs backporting (fixed from 7.4rc2)
+
+CVE_STATUS[CVE-2026-99615] = "fixed-version: only affects 6.11 onwards"
+
+# CVE-2026-99616 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99617 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99618 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99619 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99620 needs backporting (fixed from 7.4rc2)
+
+CVE_STATUS[CVE-2026-99621] = "fixed-version: only affects 7.0 onwards"
+
+CVE_STATUS[CVE-2026-99622] = "fixed-version: only affects 6.7 onwards"
+
+CVE_STATUS[CVE-2026-99623] = "fixed-version: only affects 6.15 onwards"
+
+CVE_STATUS[CVE-2026-99624] = "fixed-version: only affects 6.12 onwards"
+
+# CVE-2026-99625 needs backporting (fixed from 7.4rc2)
+
+CVE_STATUS[CVE-2026-99626] = "fixed-version: only affects 6.11 onwards"
+
+CVE_STATUS[CVE-2026-99627] = "fixed-version: only affects 6.11 onwards"
+
+# CVE-2026-99628 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99629 needs backporting (fixed from 7.4rc2)
+
+CVE_STATUS[CVE-2026-99630] = "fixed-version: only affects 7.2 onwards"
+
+CVE_STATUS[CVE-2026-99631] = "fixed-version: only affects 6.16.4 onwards"
+
+# CVE-2026-99632 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99633 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99634 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99635 needs backporting (fixed from 7.4rc2)
+
+CVE_STATUS[CVE-2026-99636] = "fixed-version: only affects 6.12.114 onwards"
+
+# CVE-2026-99637 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99638 needs backporting (fixed from 7.4rc2)
+
+CVE_STATUS[CVE-2026-99639] = "fixed-version: only affects 6.19 onwards"
+
+CVE_STATUS[CVE-2026-99640] = "fixed-version: only affects 6.17 onwards"
+
+CVE_STATUS[CVE-2026-99641] = "fixed-version: only affects 6.18 onwards"
+
+CVE_STATUS[CVE-2026-99642] = "fixed-version: only affects 6.11 onwards"
+
+# CVE-2026-99643 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99644 needs backporting (fixed from 7.4rc2)
+
+CVE_STATUS[CVE-2026-99645] = "fixed-version: only affects 7.0 onwards"
+
+# CVE-2026-99646 needs backporting (fixed from 7.4rc2)
+
+CVE_STATUS[CVE-2026-99647] = "fixed-version: only affects 6.12 onwards"
+
+CVE_STATUS[CVE-2026-99648] = "fixed-version: only affects 6.15 onwards"
+
+CVE_STATUS[CVE-2026-99649] = "fixed-version: only affects 7.0 onwards"
+
+# CVE-2026-99650 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99651 needs backporting (fixed from 7.4rc2)
+
+CVE_STATUS[CVE-2026-99652] = "fixed-version: only affects 6.9 onwards"
+
+CVE_STATUS[CVE-2026-99653] = "fixed-version: only affects 6.11 onwards"
+
+# CVE-2026-99654 may need backporting (fixed from 6.7)
+
+# CVE-2026-99655 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99656 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99657 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99658 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99659 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99660 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99661 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99662 needs backporting (fixed from 7.4rc2)
+
+CVE_STATUS[CVE-2026-99663] = "fixed-version: only affects 6.11 onwards"
+
+CVE_STATUS[CVE-2026-99664] = "fixed-version: only affects 6.10 onwards"
+
+# CVE-2026-99665 needs backporting (fixed from 7.4rc2)
+
+CVE_STATUS[CVE-2026-99666] = "fixed-version: only affects 6.14 onwards"
+
+CVE_STATUS[CVE-2026-99667] = "fixed-version: only affects 6.14 onwards"
+
+CVE_STATUS[CVE-2026-99668] = "fixed-version: only affects 6.19 onwards"
+
+# CVE-2026-99669 may need backporting (fixed from 6.7)
+
+# CVE-2026-99670 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99671 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99672 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99673 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99674 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99675 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99676 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99677 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99678 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99679 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99680 needs backporting (fixed from 7.4rc2)
+
+CVE_STATUS[CVE-2026-99681] = "fixed-version: only affects 6.16.4 onwards"
+
+# CVE-2026-99682 may need backporting (fixed from 6.7)
+
+# CVE-2026-99683 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99684 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99685 needs backporting (fixed from 7.4rc2)
+
+CVE_STATUS[CVE-2026-99686] = "fixed-version: only affects 6.17 onwards"
+
+# CVE-2026-99687 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99688 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99689 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99690 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99691 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99692 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99693 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99694 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99695 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99696 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99697 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99698 needs backporting (fixed from 7.4rc2)
+
+CVE_STATUS[CVE-2026-99699] = "fixed-version: only affects 6.15 onwards"
+
+CVE_STATUS[CVE-2026-99700] = "fixed-version: only affects 6.18.51 onwards"
+
+# CVE-2026-99701 needs backporting (fixed from 7.4rc2)
+
+CVE_STATUS[CVE-2026-99702] = "fixed-version: only affects 6.19 onwards"
+
+# CVE-2026-99703 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99704 needs backporting (fixed from 7.4rc2)
+
+CVE_STATUS[CVE-2026-99705] = "fixed-version: only affects 6.14 onwards"
+
+CVE_STATUS[CVE-2026-99706] = "fixed-version: only affects 6.10 onwards"
+
+# CVE-2026-99707 needs backporting (fixed from 7.4rc2)
+
+CVE_STATUS[CVE-2026-99708] = "fixed-version: only affects 6.9 onwards"
+
+# CVE-2026-99709 may need backporting (fixed from 6.7)
+
+# CVE-2026-99710 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99711 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99712 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99713 needs backporting (fixed from 7.4rc2)
+
+CVE_STATUS[CVE-2026-99714] = "fixed-version: only affects 7.2.10 onwards"
+
+CVE_STATUS[CVE-2026-99715] = "fixed-version: only affects 7.3 onwards"
+
+CVE_STATUS[CVE-2026-99716] = "fixed-version: only affects 6.9 onwards"
+
+# CVE-2026-99717 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99718 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99719 needs backporting (fixed from 7.4rc2)
+
+CVE_STATUS[CVE-2026-99720] = "fixed-version: only affects 6.9 onwards"
+
+# CVE-2026-99721 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99722 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99723 needs backporting (fixed from 7.4rc2)
+
+CVE_STATUS[CVE-2026-99724] = "fixed-version: only affects 7.1 onwards"
+
+# CVE-2026-99725 needs backporting (fixed from 7.4rc2)
+
+CVE_STATUS[CVE-2026-99726] = "fixed-version: only affects 6.18.36 onwards"
+
+CVE_STATUS[CVE-2026-99727] = "fixed-version: only affects 6.15 onwards"
+
+CVE_STATUS[CVE-2026-99728] = "fixed-version: only affects 7.2 onwards"
+
+# CVE-2026-99729 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99730 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99731 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99732 needs backporting (fixed from 7.4rc2)
+
+CVE_STATUS[CVE-2026-99733] = "fixed-version: only affects 7.2 onwards"
+
+# CVE-2026-99734 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99735 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99736 needs backporting (fixed from 7.4rc2)
+
+CVE_STATUS[CVE-2026-99737] = "fixed-version: only affects 6.12.69 onwards"
+
+CVE_STATUS[CVE-2026-99738] = "fixed-version: only affects 6.17 onwards"
+
+CVE_STATUS[CVE-2026-99739] = "fixed-version: only affects 6.12.69 onwards"
+
+# CVE-2026-99740 may need backporting (fixed from 6.7)
+
+# CVE-2026-99741 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99742 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99743 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99744 needs backporting (fixed from 7.4rc2)
+
+CVE_STATUS[CVE-2026-99745] = "fixed-version: only affects 6.17 onwards"
+
+CVE_STATUS[CVE-2026-99746] = "fixed-version: only affects 6.15 onwards"
+
+CVE_STATUS[CVE-2026-99747] = "fixed-version: only affects 7.2.8 onwards"
+
+# CVE-2026-99748 may need backporting (fixed from 6.7)
+
+# CVE-2026-99749 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99750 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99751 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99752 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99753 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99754 needs backporting (fixed from 7.4rc2)
+
+CVE_STATUS[CVE-2026-99755] = "fixed-version: only affects 6.7 onwards"
+
+# CVE-2026-99756 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99757 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99758 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99759 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99760 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99761 needs backporting (fixed from 7.4rc2)
+
+CVE_STATUS[CVE-2026-99762] = "fixed-version: only affects 6.8 onwards"
+
+# CVE-2026-99763 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99764 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99765 needs backporting (fixed from 7.4rc2)
+
+CVE_STATUS[CVE-2026-99766] = "fixed-version: only affects 6.7 onwards"
+
+CVE_STATUS[CVE-2026-99767] = "fixed-version: only affects 6.14 onwards"
+
+# CVE-2026-99768 needs backporting (fixed from 7.4rc2)
+
+CVE_STATUS[CVE-2026-99769] = "fixed-version: only affects 6.15 onwards"
+
+# CVE-2026-99770 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99771 needs backporting (fixed from 7.4rc2)
+
+CVE_STATUS[CVE-2026-99772] = "fixed-version: only affects 7.1 onwards"
+
+# CVE-2026-99773 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99774 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99775 needs backporting (fixed from 7.4rc2)
+
+CVE_STATUS[CVE-2026-99776] = "fixed-version: only affects 6.12 onwards"
+
+CVE_STATUS[CVE-2026-99777] = "fixed-version: only affects 6.12 onwards"
+
+CVE_STATUS[CVE-2026-99778] = "fixed-version: only affects 6.12 onwards"
+
+CVE_STATUS[CVE-2026-99779] = "fixed-version: only affects 6.12 onwards"
+
+CVE_STATUS[CVE-2026-99780] = "fixed-version: only affects 6.12 onwards"
+
+CVE_STATUS[CVE-2026-99781] = "fixed-version: only affects 6.12 onwards"
+
+CVE_STATUS[CVE-2026-99782] = "fixed-version: only affects 6.12 onwards"
+
+CVE_STATUS[CVE-2026-99783] = "fixed-version: only affects 6.12 onwards"
+
+# CVE-2026-99784 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99785 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99786 needs backporting (fixed from 7.4rc2)
+
+CVE_STATUS[CVE-2026-99787] = "fixed-version: only affects 7.0 onwards"
+
+# CVE-2026-99788 needs backporting (fixed from 7.4rc1)
+
+CVE_STATUS[CVE-2026-99789] = "fixed-version: only affects 7.2.4 onwards"
+
+CVE_STATUS[CVE-2026-99790] = "fixed-version: only affects 6.10 onwards"
+
+# CVE-2026-99791 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99792 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99793 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99794 needs backporting (fixed from 7.4rc1)
+
+CVE_STATUS[CVE-2026-99795] = "fixed-version: only affects 6.15 onwards"
+
+# CVE-2026-99796 needs backporting (fixed from 7.4rc2)
+
+# CVE-2026-99797 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99798 needs backporting (fixed from 7.4rc1)
+
+# CVE-2026-99799 needs backporting (fixed from 7.4rc1)
+
+CVE_STATUS[CVE-2026-99800] = "fixed-version: only affects 6.19 onwards"
+
+CVE_STATUS[CVE-2026-99801] = "fixed-version: only affects 7.1 onwards"
+
+CVE_STATUS[CVE-2026-99802] = "fixed-version: only affects 7.0 onwards"
+
+CVE_STATUS[CVE-2026-99803] = "fixed-version: only affects 7.0 onwards"
+
+# CVE-2026-99804 needs backporting (fixed from 7.4rc1)
CVE_STATUS[CVE-2026-99999] = "cpe-stable-backport: Backported in 6.6.159"
^ permalink raw reply related [flat|nested] 40+ messages in thread* [OE-core][scarthgap 27/37] gnupg: fix CVE-2026-57062
2026-11-27 17:48 [OE-core][scarthgap 00/37] Patch review Yoann Congal
` (25 preceding siblings ...)
2026-11-27 17:49 ` [OE-core][scarthgap 26/37] linux-yocto/6.6: update CVE exclusions (6.6.162) Yoann Congal
@ 2026-11-27 17:49 ` Yoann Congal
2026-11-27 17:49 ` [OE-core][scarthgap 28/37] gnupg: fix CVE-2026-105712 Yoann Congal
` (9 subsequent siblings)
36 siblings, 0 replies; 40+ messages in thread
From: Yoann Congal @ 2026-11-27 17:49 UTC (permalink / raw)
To: openembedded-core
From: Prasanth R <ragaprasanth@gmail.com>
gpgsm accepts AES-GCM authentication tags shorter than 12 bytes.
Backport the upstream fix, as done for wrynose. It applies to 2.4.9
unchanged.
AI-Generated: Uses Claude
Signed-off-by: Prasanth R <prasanth.r@lineo.co.jp>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
.../gnupg/gnupg/CVE-2026-57062.patch | 43 +++++++++++++++++++
meta/recipes-support/gnupg/gnupg_2.4.9.bb | 1 +
2 files changed, 44 insertions(+)
create mode 100644 meta/recipes-support/gnupg/gnupg/CVE-2026-57062.patch
diff --git a/meta/recipes-support/gnupg/gnupg/CVE-2026-57062.patch b/meta/recipes-support/gnupg/gnupg/CVE-2026-57062.patch
new file mode 100644
index 00000000000..d18b9e9cb3d
--- /dev/null
+++ b/meta/recipes-support/gnupg/gnupg/CVE-2026-57062.patch
@@ -0,0 +1,43 @@
+From 09d686f5ca09f1161f1e433473968d15b563687f Mon Sep 17 00:00:00 2001
+From: Werner Koch <wk@gnupg.org>
+Date: Thu, 18 Jun 2026 10:51:34 +0200
+Subject: [PATCH] gpgsm: Require a minimum tag length for GCM decryption.
+
+* sm/decrypt.c (gpgsm_decrypt): Require a minimum authtaglen.
+--
+
+Reported-by: Thai Duong <thai@calif.io>
+This is similar to OpenSSL's
+CVE-id: CVE-2026-34182
+
+CVE: CVE-2026-57062
+Upstream-Status: Backport [https://github.com/gpg/gnupg/commit/4c7e68cf3d335328821bdbb70db309a60d0e4fd4]
+
+Signed-off-by: Roland Kovacs <roland.kovacs@est.tech>
+---
+ sm/decrypt.c | 9 ++++++++-
+ 1 file changed, 8 insertions(+), 1 deletion(-)
+
+diff --git a/sm/decrypt.c b/sm/decrypt.c
+index c4bc57657..09ed7f8a7 100644
+--- a/sm/decrypt.c
++++ b/sm/decrypt.c
+@@ -1399,7 +1399,14 @@ gpgsm_decrypt (ctrl_t ctrl, estream_t in_fp, estream_t out_fp)
+ }
+ if (DBG_CRYPTO)
+ log_printhex (authtag, authtaglen, "Authtag ...:");
+- rc = gcry_cipher_checktag (dfparm.hd, authtag, authtaglen);
++ if (authtaglen < 12)
++ {
++ log_info ("authentication tag is too short (%zu octets)\n",
++ authtaglen);
++ rc = gpg_error (GPG_ERR_CHECKSUM);
++ }
++ else
++ rc = gcry_cipher_checktag (dfparm.hd, authtag, authtaglen);
+ xfree (authtag);
+ if (rc)
+ log_error ("data is not authentic: %s\n", gpg_strerror (rc));
+--
+2.34.1
+
diff --git a/meta/recipes-support/gnupg/gnupg_2.4.9.bb b/meta/recipes-support/gnupg/gnupg_2.4.9.bb
index c85de6047fe..57f918b75f3 100644
--- a/meta/recipes-support/gnupg/gnupg_2.4.9.bb
+++ b/meta/recipes-support/gnupg/gnupg_2.4.9.bb
@@ -20,6 +20,7 @@ SRC_URI = "${GNUPG_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \
file://0001-Woverride-init-is-not-needed-with-gcc-9.patch \
file://CVE-2026-24882-0001.patch \
file://CVE-2026-24882-0002.patch \
+ file://CVE-2026-57062.patch \
"
SRC_URI:append:class-native = " file://0001-configure.ac-use-a-custom-value-for-the-location-of-.patch \
file://relocate.patch"
^ permalink raw reply related [flat|nested] 40+ messages in thread* [OE-core][scarthgap 28/37] gnupg: fix CVE-2026-105712
2026-11-27 17:48 [OE-core][scarthgap 00/37] Patch review Yoann Congal
` (26 preceding siblings ...)
2026-11-27 17:49 ` [OE-core][scarthgap 27/37] gnupg: fix CVE-2026-57062 Yoann Congal
@ 2026-11-27 17:49 ` Yoann Congal
2026-11-27 17:49 ` [OE-core][scarthgap 29/37] libxml2: Security fix for CVE-2026-74860 Yoann Congal
` (8 subsequent siblings)
36 siblings, 0 replies; 40+ messages in thread
From: Yoann Congal @ 2026-11-27 17:49 UTC (permalink / raw)
To: openembedded-core
From: Prasanth R <ragaprasanth@gmail.com>
gpgtar does not check the output directory given with --directory.
Backport the upstream fix and its follow-up, as done for wrynose. The
follow-up uses gnupg_access() since 2.4.9 lacks COMPAT_NO_DIR_CHECK.
AI-Generated: Uses Claude
Signed-off-by: Prasanth R <prasanth.r@lineo.co.jp>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
.../gnupg/CVE-2026-105712-regression.patch | 40 ++++
.../gnupg/gnupg/CVE-2026-105712.patch | 194 ++++++++++++++++++
meta/recipes-support/gnupg/gnupg_2.4.9.bb | 2 +
3 files changed, 236 insertions(+)
create mode 100644 meta/recipes-support/gnupg/gnupg/CVE-2026-105712-regression.patch
create mode 100644 meta/recipes-support/gnupg/gnupg/CVE-2026-105712.patch
diff --git a/meta/recipes-support/gnupg/gnupg/CVE-2026-105712-regression.patch b/meta/recipes-support/gnupg/gnupg/CVE-2026-105712-regression.patch
new file mode 100644
index 00000000000..d2b49b74fef
--- /dev/null
+++ b/meta/recipes-support/gnupg/gnupg/CVE-2026-105712-regression.patch
@@ -0,0 +1,40 @@
+From 1bdd1f5bb4d192d9700dd6ab2540b0a940c23dd5 Mon Sep 17 00:00:00 2001
+From: NIIBE Yutaka <gniibe@fsij.org>
+Date: Tue, 14 Apr 2026 04:32:00 +0000
+Subject: [PATCH] tools:gpgtar: Fix for a case of non existing dir with -C.
+
+* tools/gpgtar-extract.c (gpgtar_extract): Call the
+check_output_directory function only when DIRNAME exists.
+
+--
+GnuPG-bug-id: 8159
+
+CVE: CVE-2026-105712
+Upstream-Status: Backport [https://github.com/gpg/gnupg/commit/1bdd1f5bb4d192d9700dd6ab2540b0a940c23dd5]
+
+Backport Changes:
+- Used gnupg_access() for the existence check because 2.4.9 does not
+ have the upstream COMPAT_NO_DIR_CHECK compatibility flag.
+
+Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
+(cherry picked from commit 1bdd1f5bb4d192d9700dd6ab2540b0a940c23dd5)
+Signed-off-by: Deepak Rathore <deeratho@cisco.com>
+Signed-off-by: Prasanth R <prasanth.r@lineo.co.jp>
+---
+ tools/gpgtar-extract.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/tools/gpgtar-extract.c b/tools/gpgtar-extract.c
+index 5ca80cb..a5a925c 100644
+--- a/tools/gpgtar-extract.c
++++ b/tools/gpgtar-extract.c
+@@ -504,7 +504,8 @@ gpgtar_extract (const char *filename, int decrypt)
+ goto leave;
+ }
+
+- if (!check_output_directory (dirname))
++ if (gnupg_access (dirname, F_OK) == 0
++ && !check_output_directory (dirname))
+ {
+ err = gpg_error (GPG_ERR_INV_ARG);
+ goto leave;
diff --git a/meta/recipes-support/gnupg/gnupg/CVE-2026-105712.patch b/meta/recipes-support/gnupg/gnupg/CVE-2026-105712.patch
new file mode 100644
index 00000000000..9b0bc1ca663
--- /dev/null
+++ b/meta/recipes-support/gnupg/gnupg/CVE-2026-105712.patch
@@ -0,0 +1,194 @@
+From 8df56dd913f3c910c9b265691efaac6c36a007a1 Mon Sep 17 00:00:00 2001
+From: NIIBE Yutaka <gniibe@fsij.org>
+Date: Fri, 20 Mar 2026 13:33:00 +0900
+Subject: [PATCH] tool:gpgtar: Check the output directory with --directory.
+
+* doc/tools.texi (gpgtar): Clarify about the --directory option.
+* tools/gpgtar-extract.c (check_output_directory): New.
+(gpgtar_extract): Call check_output_directory.
+
+--
+
+GnuPG-bug-id: 8159
+
+CVE: CVE-2026-105712
+Upstream-Status: Backport [https://github.com/gpg/gnupg/commit/7a2692fe5e580ae3bbb2a47abc4baaf1af65aa88]
+
+Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
+(cherry picked from commit 7a2692fe5e580ae3bbb2a47abc4baaf1af65aa88)
+Signed-off-by: Deepak Rathore <deeratho@cisco.com>
+---
+ doc/tools.texi | 11 ++--
+ tools/gpgtar-extract.c | 123 ++++++++++++++++++++++++++++++++++++++++-
+ 2 files changed, 128 insertions(+), 6 deletions(-)
+
+diff --git a/doc/tools.texi b/doc/tools.texi
+index 45f3e897d..691b7dc9c 100644
+--- a/doc/tools.texi
++++ b/doc/tools.texi
+@@ -2024,11 +2024,12 @@ Do not actually output the extracted files.
+ @item --directory @var{dir}
+ @itemx -C @var{dir}
+ @opindex directory
+-Extract the files into the directory @var{dir}. The default is to
+-take the directory name from the input filename. If no input filename
+-is known a directory named @file{GPGARCH} is used. For tarball
+-creation, switch to directory @var{dir} before performing any
+-operations.
++Extract the files into the directory @var{dir}. It raises an error
++when @var{dir} is not empty, or @var{dir} is a symlink to other
++directory. When this option is not given, the default is to take the
++directory name from the input filename. If no input filename is known
++a directory, named @file{GPGARCH} is used. For tarball creation,
++switch to directory @var{dir} before performing any operations.
+
+ @item --files-from @var{file}
+ @itemx -T @var{file}
+diff --git a/tools/gpgtar-extract.c b/tools/gpgtar-extract.c
+index d23ccc579..5ca80cb89 100644
+--- a/tools/gpgtar-extract.c
++++ b/tools/gpgtar-extract.c
+@@ -24,6 +24,8 @@
+ #include <errno.h>
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <dirent.h>
++#include <fcntl.h>
+ #include <string.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+@@ -369,6 +371,112 @@ create_directory (const char *dirprefix)
+ }
+
+
++/* Check the output directory DIRNAME if it's not symlink and empty.
++ Return 1 if good, 0 otherwise. */
++static int
++check_output_directory (const char *dirname)
++{
++#ifdef HAVE_W32_SYSTEM
++#define dirent _wdirent
++#define DIR _WDIR
++#define readdir _wreaddir
++#define closedir _wclosedir
++#endif
++ DIR *d;
++ struct dirent *dent;
++ int count = 0;
++
++#ifdef HAVE_W32_SYSTEM
++ wchar_t *wdirname;
++ DWORD attr;
++
++ wdirname = utf8_to_wchar (dirname);
++ if (!wdirname)
++ return 0;
++
++ attr = GetFileAttributesW (wdirname);
++
++ if (attr == INVALID_FILE_ATTRIBUTES)
++ {
++ log_error ("error getting attributes '%s': %s\n", dirname, w32_strerror (-1));
++ xfree (wdirname);
++ return 0;
++ }
++ else if ((attr & FILE_ATTRIBUTE_REPARSE_POINT))
++ {
++ /* It's reparse point (possibly symlink), not good. */
++ log_error ("Not a regular directory (may be symlink): %s\n", dirname);
++ xfree (wdirname);
++ return 0;
++ }
++
++ d = _wopendir (wdirname);
++ xfree (wdirname);
++#else
++# if O_NOFOLLOW == 0
++ struct stat sbuf;
++
++ if (lstat (dirname, &sbuf))
++ return 0;
++
++ if (S_ISLNK (sbuf.st_mode))
++ {
++ /* It's symlink, not good. */
++ log_error ("It's symbolic link: %s\n", dirname);
++ return 0;
++ }
++
++ d = opendir (dirname);
++# else
++ int fd;
++
++ /* With O_NOFOLLOW, make sure it's not symlink. */
++ fd = open (dirname, (O_RDONLY | O_NOFOLLOW));
++ if (fd < 0)
++ {
++ log_error ("Can't open (symlink?): %s\n", dirname);
++ return 0;
++ }
++
++ d = fdopendir (fd);
++# endif
++#endif
++
++ if (d == NULL)
++ return 0;
++
++ while ((dent = readdir (d)) != NULL)
++ {
++ if (dent->d_name[0] == '.' && dent->d_name[1] == 0)
++ continue;
++
++ if (dent->d_name[0] == '.' && dent->d_name[1] == '.'
++ && dent->d_name[2] == 0)
++ continue;
++
++ count++;
++ }
++
++ /* In case of fdopendir, FD is released by closedir. */
++ closedir (d);
++
++ if (count)
++ {
++ /* It's not empty, not good. */
++ log_error ("Directory not empty: %s\n", dirname);
++ return 0;
++ }
++
++ /* Good. */
++ return 1;
++}
++
++#ifdef HAVE_W32_SYSTEM
++#undef dirent
++#undef DIR
++#undef readdir
++#undef closedir
++#endif
+ \f
+ gpg_error_t
+ gpgtar_extract (const char *filename, int decrypt)
+@@ -388,7 +496,20 @@ gpgtar_extract (const char *filename, int decrypt)
+ memset (&tarinfo_buffer, 0, sizeof tarinfo_buffer);
+
+ if (opt.directory)
+- dirname = xtrystrdup (opt.directory);
++ {
++ dirname = xtrystrdup (opt.directory);
++ if (!dirname)
++ {
++ err = gpg_error_from_syserror ();
++ goto leave;
++ }
++
++ if (!check_output_directory (dirname))
++ {
++ err = gpg_error (GPG_ERR_INV_ARG);
++ goto leave;
++ }
++ }
+ else
+ {
+ if (opt.filename)
diff --git a/meta/recipes-support/gnupg/gnupg_2.4.9.bb b/meta/recipes-support/gnupg/gnupg_2.4.9.bb
index 57f918b75f3..f211dcd2aa9 100644
--- a/meta/recipes-support/gnupg/gnupg_2.4.9.bb
+++ b/meta/recipes-support/gnupg/gnupg_2.4.9.bb
@@ -21,6 +21,8 @@ SRC_URI = "${GNUPG_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \
file://CVE-2026-24882-0001.patch \
file://CVE-2026-24882-0002.patch \
file://CVE-2026-57062.patch \
+ file://CVE-2026-105712.patch \
+ file://CVE-2026-105712-regression.patch \
"
SRC_URI:append:class-native = " file://0001-configure.ac-use-a-custom-value-for-the-location-of-.patch \
file://relocate.patch"
^ permalink raw reply related [flat|nested] 40+ messages in thread* [OE-core][scarthgap 29/37] libxml2: Security fix for CVE-2026-74860
2026-11-27 17:48 [OE-core][scarthgap 00/37] Patch review Yoann Congal
` (27 preceding siblings ...)
2026-11-27 17:49 ` [OE-core][scarthgap 28/37] gnupg: fix CVE-2026-105712 Yoann Congal
@ 2026-11-27 17:49 ` Yoann Congal
2026-11-27 17:49 ` [OE-core][scarthgap 30/37] tzdata/tzcode-native: upgrade 2026e -> 2026f Yoann Congal
` (7 subsequent siblings)
36 siblings, 0 replies; 40+ messages in thread
From: Yoann Congal @ 2026-11-27 17:49 UTC (permalink / raw)
To: openembedded-core
From: Rohini Sangam <rsangam@mvista.com>
Pick patch from [1] also mentioned at Debian tracker in [2]
[1] https://gitlab.gnome.org/GNOME/libxml2/-/commit/f41e1865781f74d1cadfe2fbdfeefed946026f12
[2] https://security-tracker.debian.org/tracker/CVE-2026-74860
Signed-off-by: Rohini Sangam <rsangam@mvista.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
[YC: fixed Upstream-Status format]
---
.../libxml/libxml2/CVE-2026-74860.patch | 35 +++++++++++++++++++
meta/recipes-core/libxml/libxml2_2.12.10.bb | 1 +
2 files changed, 36 insertions(+)
create mode 100644 meta/recipes-core/libxml/libxml2/CVE-2026-74860.patch
diff --git a/meta/recipes-core/libxml/libxml2/CVE-2026-74860.patch b/meta/recipes-core/libxml/libxml2/CVE-2026-74860.patch
new file mode 100644
index 00000000000..c08790c14d0
--- /dev/null
+++ b/meta/recipes-core/libxml/libxml2/CVE-2026-74860.patch
@@ -0,0 +1,35 @@
+From f41e1865781f74d1cadfe2fbdfeefed946026f12 Mon Sep 17 00:00:00 2001
+From: Daniel Garcia Moreno <daniel.garcia@suse.com>
+Date: Tue, 10 Mar 2026 20:30:20 +0100
+Subject: [PATCH] python: Do not decref string after adding to the list
+
+The python API PyList_SetItem function "steals" a reference to item, so
+we don't need to call Py_DECREF here.
+
+https://docs.python.org/3.13/c-api/list.html#c.PyList_SetItem
+
+Fix https://gitlab.gnome.org/GNOME/libxml2/-/issues/1076
+
+CVE: CVE-2026-74860
+Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libxml2/-/commit/f41e1865781f74d1cadfe2fbdfeefed946026f12]
+
+Signed-off-by: Rohini Sangam <rsangam@mvista.com>
+---
+ python/libxml.c | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/python/libxml.c b/python/libxml.c
+index 2bf1407..728ecbf 100644
+--- a/python/libxml.c
++++ b/python/libxml.c
+@@ -1232,7 +1232,6 @@ pythonAttributeDecl(void *user_data,
+ for (node = tree; node != NULL; node = node->next) {
+ newName = PY_IMPORT_STRING((char *) node->name);
+ PyList_SetItem(nameList, count, newName);
+- Py_DECREF(newName);
+ count++;
+ }
+ result = PyObject_CallMethod(handler, (char *) "attributeDecl",
+--
+2.44.4
+
diff --git a/meta/recipes-core/libxml/libxml2_2.12.10.bb b/meta/recipes-core/libxml/libxml2_2.12.10.bb
index 5e4cabbf5d9..387f47c3edc 100644
--- a/meta/recipes-core/libxml/libxml2_2.12.10.bb
+++ b/meta/recipes-core/libxml/libxml2_2.12.10.bb
@@ -39,6 +39,7 @@ SRC_URI += "http://www.w3.org/XML/Test/xmlts20130923.tar;subdir=${BP};name=testt
file://CVE-2026-86142.patch \
file://CVE-2026-86143.patch \
file://CVE-2026-86144.patch \
+ file://CVE-2026-74860.patch \
"
SRC_URI[archive.sha256sum] = "c3d8c0c34aa39098f66576fe51969db12a5100b956233dc56506f7a8679be995"
^ permalink raw reply related [flat|nested] 40+ messages in thread* [OE-core][scarthgap 30/37] tzdata/tzcode-native: upgrade 2026e -> 2026f
2026-11-27 17:48 [OE-core][scarthgap 00/37] Patch review Yoann Congal
` (28 preceding siblings ...)
2026-11-27 17:49 ` [OE-core][scarthgap 29/37] libxml2: Security fix for CVE-2026-74860 Yoann Congal
@ 2026-11-27 17:49 ` Yoann Congal
2026-11-27 17:49 ` [OE-core][scarthgap 31/37] python3-certifi: correct license to MPL-2.0 Yoann Congal
` (6 subsequent siblings)
36 siblings, 0 replies; 40+ messages in thread
From: Yoann Congal @ 2026-11-27 17:49 UTC (permalink / raw)
To: openembedded-core
From: Ankur Tyagi <ankur.tyagi85@gmail.com>
Changelog:
https://www.iana.org/time-zones/releases/2026f
Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a5c5781d51df60bbb3d9945c9b3ad89f4d9502f4)
Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
meta/recipes-extended/timezone/timezone.inc | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/meta/recipes-extended/timezone/timezone.inc b/meta/recipes-extended/timezone/timezone.inc
index 704d6b603f9..a3c981f8ef3 100644
--- a/meta/recipes-extended/timezone/timezone.inc
+++ b/meta/recipes-extended/timezone/timezone.inc
@@ -6,7 +6,7 @@ SECTION = "base"
LICENSE = "PD & BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=c679c9d6b02bc2757b3eaf8f53c43fba"
-PV = "2026e"
+PV = "2026f"
SRC_URI =" http://www.iana.org/time-zones/repository/releases/tzcode${PV}.tar.gz;name=tzcode;subdir=tz \
http://www.iana.org/time-zones/repository/releases/tzdata${PV}.tar.gz;name=tzdata;subdir=tz \
@@ -16,5 +16,5 @@ S = "${WORKDIR}/tz"
UPSTREAM_CHECK_URI = "http://www.iana.org/time-zones"
-SRC_URI[tzcode.sha256sum] = "cc3d27ca2a0d8399504551b920970d80af83bfb9c216e8082a15491921935d54"
-SRC_URI[tzdata.sha256sum] = "b26882805f26aac59d5b222978e6580484b834ccdc98be89df2f05a6dc53a652"
+SRC_URI[tzcode.sha256sum] = "5a18da01393679ef2559214dc687563f7f3d05691f6f58b7fbc0166f3e796cd6"
+SRC_URI[tzdata.sha256sum] = "01b4a91cec5167ed48c11e8ab78f2048cead78ce94b0cafcad0ae8c5a3044d3d"
^ permalink raw reply related [flat|nested] 40+ messages in thread* [OE-core][scarthgap 31/37] python3-certifi: correct license to MPL-2.0
2026-11-27 17:48 [OE-core][scarthgap 00/37] Patch review Yoann Congal
` (29 preceding siblings ...)
2026-11-27 17:49 ` [OE-core][scarthgap 30/37] tzdata/tzcode-native: upgrade 2026e -> 2026f Yoann Congal
@ 2026-11-27 17:49 ` Yoann Congal
2026-11-27 17:49 ` [OE-core][scarthgap 32/37] populate_sdk_ext: Fix locale error handling in SDK Yoann Congal
` (5 subsequent siblings)
36 siblings, 0 replies; 40+ messages in thread
From: Yoann Congal @ 2026-11-27 17:49 UTC (permalink / raw)
To: openembedded-core
From: Anders Heimer <anders.heimer@est.tech>
Correct the LICENSE variable to match upstreams MPL 2.0.
The LICENSE file and checksum remain the same.
License-Update: Change declared license from ISC to MPL 2.0
Reviewed-by: Henrik Nilsson <henrik.b.nilsson@est.tech>
Signed-off-by: Anders Heimer <anders.heimer@est.tech>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6b270958cab94f1fa117b5eee36157cf5b14d3cf)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
meta/recipes-devtools/python/python3-certifi_2026.10.19.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/python/python3-certifi_2026.10.19.bb b/meta/recipes-devtools/python/python3-certifi_2026.10.19.bb
index 749894f56ac..b80044b399f 100644
--- a/meta/recipes-devtools/python/python3-certifi_2026.10.19.bb
+++ b/meta/recipes-devtools/python/python3-certifi_2026.10.19.bb
@@ -4,7 +4,7 @@ Python code. This is useful for verifying HTTP requests, for example. This is t
which ships with the Requests codebase, and is derived from Mozilla Firefox's canonical set."
HOMEPAGE = "http://certifi.io/"
-LICENSE = "ISC"
+LICENSE = "MPL-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=11618cb6a975948679286b1211bd573c"
SRC_URI[sha256sum] = "035c1e85572b141bf1c3a3eff0e33a8eb74917522f2559075ff8d2fea780a1ae"
^ permalink raw reply related [flat|nested] 40+ messages in thread* [OE-core][scarthgap 32/37] populate_sdk_ext: Fix locale error handling in SDK
2026-11-27 17:48 [OE-core][scarthgap 00/37] Patch review Yoann Congal
` (30 preceding siblings ...)
2026-11-27 17:49 ` [OE-core][scarthgap 31/37] python3-certifi: correct license to MPL-2.0 Yoann Congal
@ 2026-11-27 17:49 ` Yoann Congal
2026-11-27 17:49 ` [OE-core][scarthgap 33/37] go: Fix CVE-2026-33814 Yoann Congal
` (4 subsequent siblings)
36 siblings, 0 replies; 40+ messages in thread
From: Yoann Congal @ 2026-11-27 17:49 UTC (permalink / raw)
To: openembedded-core
From: Richard Purdie <richard.purdie@linuxfoundation.org>
During automated testing we occasionally we see the error:
"ERROR: the installer requires the en_US.UTF-8 locale to be installed (but not selected), please install it first"
This is puzzling as the locale *is* installed. The use of -q with grep in
a pipeline is potentially problematic as grep can exit early and cause a
pipefail/SIGPIPE.
Tweak the code to avoid it and a few other issues (add quoting, handle the
"." correctly, match a whole line).
[YOCTO #16198]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f290e76eef3bd175f71414b7f78aafd0af5e0ce2)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
meta/classes-recipe/populate_sdk_ext.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes-recipe/populate_sdk_ext.bbclass b/meta/classes-recipe/populate_sdk_ext.bbclass
index 662cc493ce7..794832888c6 100644
--- a/meta/classes-recipe/populate_sdk_ext.bbclass
+++ b/meta/classes-recipe/populate_sdk_ext.bbclass
@@ -690,7 +690,7 @@ sdk_ext_preinst() {
fi
# Check setting of LC_ALL set above
canonicalised_locale=`echo $LC_ALL | sed 's/UTF-8/utf8/'`
- if ! locale -a | grep -q $canonicalised_locale ; then
+ if ! locale -a | grep -Fx "$canonicalised_locale" > /dev/null ; then
echo "ERROR: the installer requires the $LC_ALL locale to be installed (but not selected), please install it first"
exit 1
fi
^ permalink raw reply related [flat|nested] 40+ messages in thread* [OE-core][scarthgap 33/37] go: Fix CVE-2026-33814
2026-11-27 17:48 [OE-core][scarthgap 00/37] Patch review Yoann Congal
` (31 preceding siblings ...)
2026-11-27 17:49 ` [OE-core][scarthgap 32/37] populate_sdk_ext: Fix locale error handling in SDK Yoann Congal
@ 2026-11-27 17:49 ` Yoann Congal
2026-11-27 17:49 ` [OE-core][scarthgap 34/37] curl: Fix CVE-2026-7168 Yoann Congal
` (3 subsequent siblings)
36 siblings, 0 replies; 40+ messages in thread
From: Yoann Congal @ 2026-11-27 17:49 UTC (permalink / raw)
To: openembedded-core
From: Hetvi Thakar <hthakar@cisco.com>
This patch applies the upstream fix as referenced in [2],
using the commit shown in [1].
[1] https://github.com/golang/go/commit/9024c3f6b150fb1349d8a5dc5e9aa31d7896f67f
[2] https://pkg.go.dev/vuln/GO-2026-4918
Signed-off-by: Hetvi Thakar <hthakar@cisco.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
meta/recipes-devtools/go/go-1.22.12.inc | 1 +
.../go/go/CVE-2026-33814.patch | 44 +++++++++++++++++++
2 files changed, 45 insertions(+)
create mode 100644 meta/recipes-devtools/go/go/CVE-2026-33814.patch
diff --git a/meta/recipes-devtools/go/go-1.22.12.inc b/meta/recipes-devtools/go/go-1.22.12.inc
index cec3bbbb4ee..5695e907d96 100644
--- a/meta/recipes-devtools/go/go-1.22.12.inc
+++ b/meta/recipes-devtools/go/go-1.22.12.inc
@@ -64,6 +64,7 @@ SRC_URI += "\
file://CVE-2026-27145.patch \
file://CVE-2026-39823.patch \
file://CVE-2026-56862.patch \
+ file://CVE-2026-33814.patch \
"
SRC_URI[main.sha256sum] = "012a7e1f37f362c0918c1dfa3334458ac2da1628c4b9cf4d9ca02db986e17d71"
diff --git a/meta/recipes-devtools/go/go/CVE-2026-33814.patch b/meta/recipes-devtools/go/go/CVE-2026-33814.patch
new file mode 100644
index 00000000000..8265bf205f6
--- /dev/null
+++ b/meta/recipes-devtools/go/go/CVE-2026-33814.patch
@@ -0,0 +1,44 @@
+From 825d42a14d8ffbdbdda87a39e78795eb17e4f0f2 Mon Sep 17 00:00:00 2001
+From: Mark Freeman <mark@golang.org>
+Date: Fri, 17 Apr 2026 16:28:03 -0400
+Subject: [PATCH] [release-branch.go1.25] all: update x/net to a9171bc8
+
+Fixes #78477
+
+Change-Id: I0a4c8e25f569fc1bfb8ac39ff728bfe7300b751f
+Reviewed-on: https://go-review.googlesource.com/c/go/+/768323
+Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
+TryBot-Bypass: Dmitri Shuralyov <dmitshur@google.com>
+
+CVE: CVE-2026-33814
+Upstream-Status: Backport [https://github.com/golang/go/commit/9024c3f6b150fb1349d8a5dc5e9aa31d7896f67f]
+
+Backport Changes:
+- Omitted src/go.mod, src/go.sum, and src/vendor/modules.txt because
+ their x/net version updates are not required for this focused backport.
+- Omitted removal of the SETTINGS_ENABLE_CONNECT_PROTOCOL-specific
+ s.Valid call because Go 1.22 does not contain that setting case; validation
+ is added at the start of the settings callback instead.
+
+(cherry picked from commit 9024c3f6b150fb1349d8a5dc5e9aa31d7896f67f)
+Signed-off-by: Hetvi Thakar <hthakar@cisco.com>
+---
+ src/net/http/h2_bundle.go | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/src/net/http/h2_bundle.go b/src/net/http/h2_bundle.go
+index c1a2e76ea4d..2f5a6d3d5a2 100644
+--- a/src/net/http/h2_bundle.go
++++ b/src/net/http/h2_bundle.go
+@@ -9910,6 +9910,9 @@ func (rl *http2clientConnReadLoop) processSettingsNoWrite(f *http2SettingsFrame)
+
+ var seenMaxConcurrentStreams bool
+ err := f.ForeachSetting(func(s http2Setting) error {
++ if err := s.Valid(); err != nil {
++ return err
++ }
+ switch s.ID {
+ case http2SettingMaxFrameSize:
+ cc.maxFrameSize = s.Val
+--
+2.35.6
^ permalink raw reply related [flat|nested] 40+ messages in thread* [OE-core][scarthgap 34/37] curl: Fix CVE-2026-7168
2026-11-27 17:48 [OE-core][scarthgap 00/37] Patch review Yoann Congal
` (32 preceding siblings ...)
2026-11-27 17:49 ` [OE-core][scarthgap 33/37] go: Fix CVE-2026-33814 Yoann Congal
@ 2026-11-27 17:49 ` Yoann Congal
2026-11-27 17:49 ` [OE-core][scarthgap 35/37] rust-llvm: build and install the LLVM shared library Yoann Congal
` (2 subsequent siblings)
36 siblings, 0 replies; 40+ messages in thread
From: Yoann Congal @ 2026-11-27 17:49 UTC (permalink / raw)
To: openembedded-core
From: Devansh Patel <devanshp@cisco.com>
This patch applies the upstream fix commit as referenced in [1],
and the public CVE advisory is referenced in [2].
[1] https://github.com/curl/curl/commit/c1cfdf59acbaf9504c4578d4cf56cdd7c8594507
[2] https://curl.se/docs/CVE-2026-7168.html
[3] https://www.cve.org/CVERecord?id=CVE-2026-7168
Signed-off-by: Devansh Patel <devanshp@cisco.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
.../curl/curl/CVE-2026-7168.patch | 83 +++++++++++++++++++
meta/recipes-support/curl/curl_8.7.1.bb | 1 +
2 files changed, 84 insertions(+)
create mode 100644 meta/recipes-support/curl/curl/CVE-2026-7168.patch
diff --git a/meta/recipes-support/curl/curl/CVE-2026-7168.patch b/meta/recipes-support/curl/curl/CVE-2026-7168.patch
new file mode 100644
index 00000000000..cc12db030f3
--- /dev/null
+++ b/meta/recipes-support/curl/curl/CVE-2026-7168.patch
@@ -0,0 +1,83 @@
+From 2b1d18e42252aa09236666f0469b48a0e1f95080 Mon Sep 17 00:00:00 2001
+From: Daniel Stenberg <daniel@haxx.se>
+Date: Mon, 27 Apr 2026 09:14:51 +0200
+Subject: [PATCH] setopt: clear proxy auth properties when switching
+
+Verify with test 1588
+
+Closes #21453
+
+CVE: CVE-2026-7168
+Upstream-Status: Backport [https://github.com/curl/curl/commit/c1cfdf59acbaf9504c4578d4cf56cdd7c8594507]
+
+Backport Changes:
+- Place setproxy() beside Curl_setstropt() and call it from the old
+ Curl_vsetopt CURLOPT_PROXY case; 8.7.1 has no setopt_cptr_proxy().
+ Add CURL_DISABLE_PROXY protection because this helper is outside
+ the upstream proxy-only section in the older monolithic file.
+ Keep the upstream Digest-disabled cleanup macro in vauth/vauth.h.
+- Omit tests/data/{Makefile.am,test1588} and
+ tests/libtest/{Makefile.inc,lib1588.c}.
+
+Signed-off-by: Devansh Patel <devanshp@cisco.com>
+---
+ lib/setopt.c | 18 ++++++++++++++++--
+ lib/vauth/vauth.h | 2 ++
+ 2 files changed, 18 insertions(+), 2 deletions(-)
+
+diff --git a/lib/setopt.c b/lib/setopt.c
+index 8a5a5d7..7eaf309 100644
+--- a/lib/setopt.c
++++ b/lib/setopt.c
+@@ -51,6 +51,7 @@
+ #include "altsvc.h"
+ #include "hsts.h"
+ #include "tftp.h"
++#include "vauth/vauth.h"
+ #include "strdup.h"
+ /* The last 3 #include files should be in this order */
+ #include "curl_printf.h"
+@@ -76,6 +77,20 @@ CURLcode Curl_setstropt(char **charp, const char *s)
+ return CURLE_OK;
+ }
+
++#ifndef CURL_DISABLE_PROXY
++static CURLcode setproxy(struct Curl_easy *data, const char *proxy)
++{
++ if((data->set.str[STRING_PROXY] && proxy) &&
++ /* there was one set, is this a new one? */
++ !strcmp(data->set.str[STRING_PROXY], proxy))
++ return CURLE_OK; /* same one as before */
++
++ Curl_auth_digest_cleanup(&data->state.proxydigest);
++ memset(&data->state.authproxy, 0, sizeof(data->state.authproxy));
++ return Curl_setstropt(&data->set.str[STRING_PROXY], proxy);
++}
++#endif
++
+ CURLcode Curl_setblobopt(struct curl_blob **blobp,
+ const struct curl_blob *blob)
+ {
+@@ -1139,8 +1154,7 @@ CURLcode Curl_vsetopt(struct Curl_easy *data, CURLoption option, va_list param)
+ * Setting it to NULL, means no proxy but allows the environment variables
+ * to decide for us (if CURLOPT_SOCKS_PROXY setting it to NULL).
+ */
+- result = Curl_setstropt(&data->set.str[STRING_PROXY],
+- va_arg(param, char *));
++ result = setproxy(data, va_arg(param, char *));
+ break;
+
+ case CURLOPT_PRE_PROXY:
+diff --git a/lib/vauth/vauth.h b/lib/vauth/vauth.h
+index 9da0540..bf5c7a3 100644
+--- a/lib/vauth/vauth.h
++++ b/lib/vauth/vauth.h
+@@ -119,6 +119,8 @@ CURLcode Curl_auth_create_digest_http_message(struct Curl_easy *data,
+
+ /* This is used to clean up the digest specific data */
+ void Curl_auth_digest_cleanup(struct digestdata *digest);
++#else
++#define Curl_auth_digest_cleanup(x)
+ #endif /* !CURL_DISABLE_DIGEST_AUTH */
+
+ #ifdef USE_GSASL
diff --git a/meta/recipes-support/curl/curl_8.7.1.bb b/meta/recipes-support/curl/curl_8.7.1.bb
index 076c8756f5e..4f6ffbbed50 100644
--- a/meta/recipes-support/curl/curl_8.7.1.bb
+++ b/meta/recipes-support/curl/curl_8.7.1.bb
@@ -49,6 +49,7 @@ SRC_URI = "https://curl.se/download/${BP}.tar.xz \
file://CVE-2026-92388-1.patch \
file://CVE-2026-92388-2.patch \
file://CVE-2026-87864.patch \
+ file://CVE-2026-7168.patch \
"
SRC_URI:append:class-nativesdk = " \
^ permalink raw reply related [flat|nested] 40+ messages in thread* [OE-core][scarthgap 35/37] rust-llvm: build and install the LLVM shared library
2026-11-27 17:48 [OE-core][scarthgap 00/37] Patch review Yoann Congal
` (33 preceding siblings ...)
2026-11-27 17:49 ` [OE-core][scarthgap 34/37] curl: Fix CVE-2026-7168 Yoann Congal
@ 2026-11-27 17:49 ` Yoann Congal
2026-11-27 17:49 ` [OE-core][scarthgap 36/37] rust-llvm: Disable libedit Yoann Congal
2026-11-27 17:49 ` [OE-core][scarthgap 37/37] rust: enable dynamic LLVM linking by default Yoann Congal
36 siblings, 0 replies; 40+ messages in thread
From: Yoann Congal @ 2026-11-27 17:49 UTC (permalink / raw)
To: openembedded-core
From: Sunil Dora <sunilkumar.dora@windriver.com>
For the rustc segfault in [YOCTO #16058] rust has to link LLVM
dynamically. On master libLLVM.so comes from the llvm recipe, rust-llvm
was dropped there [1]. scarthgap still builds LLVM for rust from this
recipe and it builds only static libs. So add the shared lib here.
Need both LLVM_BUILD_LLVM_DYLIB and LLVM_LINK_LLVM_DYLIB. With only the
first one "llvm-config --link-shared --libs" gives the per component
libs (which don't exist) instead of -lLLVM-17. llvm-config and
llvm-tblgen stay static, so the native llvm-config rust uses keeps
working. master had the same two options for rust-llvm [2] when it
still had the recipe.
LLVM installs the lib as ${libdir}/llvm-rust/lib/libLLVM-17.so. Nothing
looks there at runtime, it is not a default loader path and the RUNPATH
of the rust binaries does not point there. So move it to ${libdir} and
keep a symlink behind, the -L path from llvm-config still works at link
time.
Package it as ${PN}-libllvm. Otherwise the .so goes to ${PN}-dev by the
default rules and rust would rdepend on a -dev package. Static libs are
still installed, rust without llvm-shared is not affected.
[1] https://git.openembedded.org/openembedded-core/commit/?id=c116828a876853cd5b53f7bd4607f0037fef4ee4
[2] https://git.openembedded.org/openembedded-core/commit/?id=2b6a6d4199e4eed65f20351d077a04a7cf9da460
[YOCTO #16058]
Signed-off-by: Sunil Dora <sunilkumar.dora@windriver.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
meta/recipes-devtools/rust/rust-llvm_1.75.0.bb | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/rust/rust-llvm_1.75.0.bb b/meta/recipes-devtools/rust/rust-llvm_1.75.0.bb
index cba41c739e9..76335dc0559 100644
--- a/meta/recipes-devtools/rust/rust-llvm_1.75.0.bb
+++ b/meta/recipes-devtools/rust/rust-llvm_1.75.0.bb
@@ -47,6 +47,8 @@ EXTRA_OECMAKE = " \
-DLLVM_ENABLE_LIBXML2=OFF \
-DLLVM_ENABLE_FFI=OFF \
-DLLVM_INSTALL_UTILS=ON \
+ -DLLVM_BUILD_LLVM_DYLIB=ON \
+ -DLLVM_LINK_LLVM_DYLIB=ON \
-DLLVM_BUILD_EXAMPLES=OFF \
-DLLVM_INCLUDE_EXAMPLES=OFF \
-DLLVM_BUILD_TESTS=OFF \
@@ -84,15 +86,26 @@ export YOCTO_ALTERNATE_EXE_PATH = "${STAGING_LIBDIR}/llvm-rust/bin/llvm-config"
do_install:append () {
# we don't need any of this stuff to build Rust
rm -rf "${D}/usr/lib/cmake"
+
+ # rustc links to libLLVM (llvm-shared in rust). Nothing searches
+ # llvm-rust/lib at runtime, so move the library to ${libdir} and keep
+ # a symlink for the -L path given by llvm-config.
+ for lib in ${D}${libdir}/llvm-rust/lib*/libLLVM-*.so; do
+ [ -f "$lib" ] && [ ! -L "$lib" ] || continue
+ mv "$lib" ${D}${libdir}/
+ ln -s ../../$(basename "$lib") "$lib"
+ done
}
-PACKAGES =+ "${PN}-bugpointpasses ${PN}-llvmhello ${PN}-liblto"
+PACKAGES =+ "${PN}-bugpointpasses ${PN}-llvmhello ${PN}-liblto ${PN}-libllvm"
# Add the extra locations to avoid the complaints about unpackaged files
FILES:${PN}-bugpointpasses = "${libdir}/llvm-rust/lib/BugpointPasses.so"
FILES:${PN}-llvmhello = "${libdir}/llvm-rust/lib/LLVMHello.so"
FILES:${PN}-liblto = "${libdir}/llvm-rust/lib/libLTO.so.*"
+FILES:${PN}-libllvm = "${libdir}/libLLVM-*.so"
FILES:${PN}-staticdev =+ "${libdir}/llvm-rust/*/*.a"
+RDEPENDS:${PN}-dev += "${PN}-libllvm"
FILES:${PN} += "${libdir}/libLLVM*.so.* ${libdir}/llvm-rust/lib/*.so.* ${libdir}/llvm-rust/bin"
FILES:${PN}-dev += "${datadir}/llvm ${libdir}/llvm-rust/lib/*.so ${libdir}/llvm-rust/include ${libdir}/llvm-rust/share ${libdir}/llvm-rust/lib/cmake"
^ permalink raw reply related [flat|nested] 40+ messages in thread* [OE-core][scarthgap 36/37] rust-llvm: Disable libedit
2026-11-27 17:48 [OE-core][scarthgap 00/37] Patch review Yoann Congal
` (34 preceding siblings ...)
2026-11-27 17:49 ` [OE-core][scarthgap 35/37] rust-llvm: build and install the LLVM shared library Yoann Congal
@ 2026-11-27 17:49 ` Yoann Congal
2026-11-27 17:49 ` [OE-core][scarthgap 37/37] rust: enable dynamic LLVM linking by default Yoann Congal
36 siblings, 0 replies; 40+ messages in thread
From: Yoann Congal @ 2026-11-27 17:49 UTC (permalink / raw)
To: openembedded-core
From: Richard Purdie <richard.purdie@linuxfoundation.org>
This option currently floats and is leading to non-deterministic builds. It
is used for commandline option tab completion which we don't need in our
builds in general, let alone internally within rust's llvm.
This should fix autobuilder deterministic build issues.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c31859be39c68f215576ba73b8a3d66c8ea590d3)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
meta/recipes-devtools/rust/rust-llvm_1.75.0.bb | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/recipes-devtools/rust/rust-llvm_1.75.0.bb b/meta/recipes-devtools/rust/rust-llvm_1.75.0.bb
index 76335dc0559..724ad39d714 100644
--- a/meta/recipes-devtools/rust/rust-llvm_1.75.0.bb
+++ b/meta/recipes-devtools/rust/rust-llvm_1.75.0.bb
@@ -46,6 +46,7 @@ EXTRA_OECMAKE = " \
-DLLVM_ENABLE_ZSTD=OFF \
-DLLVM_ENABLE_LIBXML2=OFF \
-DLLVM_ENABLE_FFI=OFF \
+ -DLLVM_ENABLE_LIBEDIT=OFF \
-DLLVM_INSTALL_UTILS=ON \
-DLLVM_BUILD_LLVM_DYLIB=ON \
-DLLVM_LINK_LLVM_DYLIB=ON \
^ permalink raw reply related [flat|nested] 40+ messages in thread* [OE-core][scarthgap 37/37] rust: enable dynamic LLVM linking by default
2026-11-27 17:48 [OE-core][scarthgap 00/37] Patch review Yoann Congal
` (35 preceding siblings ...)
2026-11-27 17:49 ` [OE-core][scarthgap 36/37] rust-llvm: Disable libedit Yoann Congal
@ 2026-11-27 17:49 ` Yoann Congal
36 siblings, 0 replies; 40+ messages in thread
From: Yoann Congal @ 2026-11-27 17:49 UTC (permalink / raw)
To: openembedded-core
From: Sunil Dora <sunilkumar.dora@windriver.com>
Backport of master "rust: enable dynamic LLVM linking by default" [1].
On master rust links against the llvm recipe, here against rust-llvm
which provides libLLVM-17.so now.
rustc segfaults (e.g. in llvm::X86ReadAdvanceTable) when
rust-llvm-native comes from sstate built on a host with binutils >= 2.45
and rust-native is linked on a host with an older ld.
This is binutils PR ld/32991 [2]: newer gas emits R_X86_64_GOTPCRELX for
"push foo@GOTPCREL(%rip)" and an ld without the fix rewrites the push
into a call, so the statically linked LLVM code in librustc_driver jumps
into data at runtime. scarthgap links the static rust-llvm libs the same
way master did before the fix.
With dynamic linking the host ld only sees the exported symbols of
libLLVM and does not relink any LLVM code.
Add llvm-shared PACKAGECONFIG, default on for native, nativesdk and
target like master. Native only is not enough, target rust bootstraps
its own rustc with the target settings and crashes the same way. Remove
llvm-shared to get the static build back.
Selftest image installs rust-llvm-libllvm now, the test binaries need
it (master installs llvm there).
[1] https://git.openembedded.org/openembedded-core/commit/?id=d0671c3dad87a063b3a41dd07cde89b5684e692c
[2] https://sourceware.org/bugzilla/show_bug.cgi?id=32991
[YOCTO #16058]
Signed-off-by: Sunil Dora <sunilkumar.dora@windriver.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
meta/lib/oeqa/selftest/cases/rust.py | 2 +-
meta/recipes-devtools/rust/rust_1.75.0.bb | 4 ++++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/meta/lib/oeqa/selftest/cases/rust.py b/meta/lib/oeqa/selftest/cases/rust.py
index 26f132edc4d..b2ad7c099f2 100644
--- a/meta/lib/oeqa/selftest/cases/rust.py
+++ b/meta/lib/oeqa/selftest/cases/rust.py
@@ -51,7 +51,7 @@ class RustSelfTestSystemEmulated(OESelftestTestCase, OEPTestResultTestCase):
bitbake("{} -c test_compile".format(recipe))
builddir = get_bb_var("RUSTSRC", "rust")
# build core-image-minimal with required packages
- default_installed_packages = ["libgcc", "libstdc++", "libatomic", "libgomp"]
+ default_installed_packages = ["libgcc", "libstdc++", "libatomic", "libgomp", "rust-llvm-libllvm"]
features = []
features.append('IMAGE_FEATURES += "ssh-server-dropbear"')
features.append('CORE_IMAGE_EXTRA_INSTALL += "{0}"'.format(" ".join(default_installed_packages)))
diff --git a/meta/recipes-devtools/rust/rust_1.75.0.bb b/meta/recipes-devtools/rust/rust_1.75.0.bb
index b9348bf0507..b2fac124288 100644
--- a/meta/recipes-devtools/rust/rust_1.75.0.bb
+++ b/meta/recipes-devtools/rust/rust_1.75.0.bb
@@ -20,6 +20,9 @@ DEPENDS += "rust-llvm (=${PV})"
RDEPENDS:${PN}:append:class-target = " gcc g++ binutils"
+PACKAGECONFIG ??= "llvm-shared"
+PACKAGECONFIG[llvm-shared] = ",,,"
+
# Otherwise we'll depend on what we provide
INHIBIT_DEFAULT_RUST_DEPS:class-native = "1"
# We don't need to depend on gcc-native because yocto assumes it exists
@@ -128,6 +131,7 @@ python do_configure() {
# [llvm]
config.add_section("llvm")
+ config.set("llvm", "link-shared", e(bb.utils.contains('PACKAGECONFIG', 'llvm-shared', True, False, d)))
config.set("llvm", "static-libstdcpp", e(False))
if "llvm" in (d.getVar('TC_CXX_RUNTIME') or ""):
config.set("llvm", "use-libcxx", e(True))
^ permalink raw reply related [flat|nested] 40+ messages in thread