Skip to contentSkip to conversation

Patch review

PATCH New Yoann Congal 1 participant 38 messages Nov 27 RISC-V

lore
Share & tools
lore
#0 lore raw

cover Patch review

Please review this set of changes for scarthgap and have comments back by end of day Tuesday, December 1.

This series is the last one before releasing 5.0.22.

Highlighted patches:
* dropbear: add follow-up patches for CVE-2019-6111:
This might change user-visible behavior: a Remote to local "scp -r" into an existing directory will now return an error.
* Sunil Dora (2):
rust-llvm: build and install the LLVM shared library
rust: enable dynamic LLVM linking by default
These change how LLVM is integrated into the rust compiler but this will allow us to officialy support Ubuntu 26.04 on scarthgap
See https://lore.kernel.org/openembedded-core/[email protected]/

Passed a-full on autobuilder:
https://autobuilder.yoctoproject.org/valkyrie/?#/builders/29/builds/5200
* buildtools/5105 failed on what is most likely a NFS glitch.
retried in https://autobuilder.yoctoproject.org/valkyrie/?#/builders/43/builds/5108
* oe-selftest-fedora/5159 failed with what looks like an old closed
AB-INT bug: https://bugzilla.yoctoproject.org/show_bug.cgi?id=13827
Retried in https://autobuilder.yoctoproject.org/valkyrie/?#/builders/48/builds/5162
* qemuarm64-ptest/4991 failed with 16267 – [scarthgap] AB-INT PTEST: python3 failure (test_wrong_cert_tls13) retried in https://autobuilder.yoctoproject.org/valkyrie/?#/builders/61/builds/4994
I don't think any of those are related to this series.

The following changes since commit d521a7d8364fe038ce5205003170e80de218a83a:

aspell: upgrade 0.60.8.1 -> 0.60.8.2 (2026-11-20 16:25:55 +0100)

are available in the Git repository at:

https://git.openembedded.org/openembedded-core-contrib stable/scarthgap-review
https://git.openembedded.org/openembedded-core-contrib/log/?h=stable/scarthgap-review

for you to fetch changes up to 3948efd5497c7ad5dcb71aedc47cae6dfb72d65b:

rust: enable dynamic LLVM linking by default (2026-11-27 12:00:41 +0100)

----------------------------------------------------------------

Anders Heimer (1):
python3-certifi: correct license to MPL-2.0

Ankur Tyagi (2):
aspell: upgrade 0.60.8.2 -> 0.60.8.3
tzdata/tzcode-native: upgrade 2026e -> 2026f

Arpit Patel (8):
sqlite3: fix CVE-2026-119374
sqlite3: Fix CVE-2026-119377
sqlite3: fix CVE-2026-119375
sqlite3: fix CVE-2026-119372
sqlite3: fix CVE-2026-119378
sqlite3: fix CVE-2026-119376
sqlite3: fix CVE-2026-119371
sqlite3: fix CVE-2026-119591

Bruce Ashfield (2):
linux-yocto/6.6: update to v6.6.162 linux-yocto/6.6: perf cs-etm: fix a compilation issue in

    cs_etm_decoder__set_tid()

Colin Pinnell McAllister (1):
ffmpeg: Fix CVE-2026-40962

Deepak Rathore (1):
ruby: Upgrade 3.3.10 -> 3.3.14

Devansh Patel (1):
curl: Fix CVE-2026-7168

Hetvi Thakar (1):
go: Fix CVE-2026-33814

João Marcos Costa (Schneider Electric) (3):
glibc: fix CVE-2026-84243
sqlite3: fix CVE-2026-119373
sqlite3: fix CVE-2026-119379

Peter Marko (8):
boost: patch CVE-2023-34399
popt: patch CVE-2026-18839
dropbear: add follow-up patches for CVE-2019-6111
dropbear: patch CVE-2026-35385
libsndfile1: patch CVE-2024-50613
libsndfile1: patch CVE-2025-52194
libsndfile1: patch CVE-2026-109828
speex: patch CVE-2026-116741

Prasanth R (2):
gnupg: fix CVE-2026-57062
gnupg: fix CVE-2026-105712

Richard Purdie (2):
populate_sdk_ext: Fix locale error handling in SDK
rust-llvm: Disable libedit

Rohini Sangam (1):
libxml2: Security fix for CVE-2026-74860

Sunil Dora (2):
rust-llvm: build and install the LLVM shared library
rust: enable dynamic LLVM linking by default

Yoann Congal (1):
linux-yocto/6.6: update CVE exclusions (6.6.162)

Yogita Urade (1):
bison: fix CVE-2026-56390

 meta/classes-recipe/populate_sdk_ext.bbclass  |    2 +-
 meta/lib/oeqa/selftest/cases/rust.py          |    2 +-
 ...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 +
 .../dropbear/dropbear/CVE-2026-35385.patch    |   42 +
 .../recipes-core/dropbear/dropbear_2022.83.bb |    7 +-
 .../glibc/glibc/CVE-2026-84243.patch          |  193 +++
 meta/recipes-core/glibc/glibc_2.39.bb         |    1 +
 .../libxml/libxml2/CVE-2026-74860.patch       |   35 +
 meta/recipes-core/libxml/libxml2_2.12.10.bb   |    1 +
 .../bison/bison/CVE-2026-56390.patch          |  230 +++
 meta/recipes-devtools/bison/bison_3.8.2.bb    |    1 +
 meta/recipes-devtools/go/go-1.22.12.inc       |    1 +
 .../go/go/CVE-2026-33814.patch                |   44 +
 .../python/python3-certifi_2026.10.19.bb      |    2 +-
 ...x-cross-compilation-of-external-gems.patch |   11 +-
 ...ine-REG_S1-and-REG_S2-for-musl-riscv.patch |    7 +-
 ...doc-build-reproducible-documentation.patch |   16 +-
 ...-list-of-object-files-in-generated-M.patch |    7 +-
 ...eproducible-change-fixing-784225-too.patch |    7 +-
 .../0006-Make-gemspecs-reproducible.patch     |    5 +-
 ..._rm_r_no_permissions-test-under-root.patch |    5 +-
 .../ruby/{ruby_3.3.10.bb => ruby_3.3.14.bb}   |    2 +-
 .../recipes-devtools/rust/rust-llvm_1.75.0.bb |   16 +-
 meta/recipes-devtools/rust/rust_1.75.0.bb     |    4 +
 meta/recipes-extended/timezone/timezone.inc   |    6 +-
 .../linux/cve-exclusion_6.6.inc               | 1322 +++++++++++++++--
 .../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 +-
 .../ffmpeg/ffmpeg/CVE-2026-40962.patch        |   61 +
 .../recipes-multimedia/ffmpeg/ffmpeg_6.1.4.bb |    1 +
 .../libsndfile1/CVE-2024-50613.patch          |  348 +++++
 .../libsndfile1/CVE-2025-52194.patch          |   27 +
 .../libsndfile1/CVE-2026-109828-01.patch      |  234 +++
 .../libsndfile1/CVE-2026-109828-02.patch      |   26 +
 .../libsndfile/libsndfile1_1.2.2.bb           |    4 +
 .../speex/speex/CVE-2026-116741.patch         |   29 +
 meta/recipes-multimedia/speex/speex_1.2.1.bb  |    5 +-
 ...{aspell_0.60.8.2.bb => aspell_0.60.8.3.bb} |    2 +-
 .../boost/boost/CVE-2023-34399.patch          |   35 +
 meta/recipes-support/boost/boost_1.84.0.bb    |    1 +
 .../curl/curl/CVE-2026-7168.patch             |   83 ++
 meta/recipes-support/curl/curl_8.7.1.bb       |    1 +
 .../gnupg/CVE-2026-105712-regression.patch    |   40 +
 .../gnupg/gnupg/CVE-2026-105712.patch         |  194 +++
 .../gnupg/gnupg/CVE-2026-57062.patch          |   43 +
 meta/recipes-support/gnupg/gnupg_2.4.9.bb     |    3 +
 .../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 +
 .../sqlite3/CVE-2026-119371-dependent.patch   |  109 ++
 .../sqlite/sqlite3/CVE-2026-119371.patch      |  104 ++
 .../sqlite/sqlite3/CVE-2026-119372.patch      |   56 +
 .../sqlite/sqlite3/CVE-2026-119373.patch      |   48 +
 .../sqlite/sqlite3/CVE-2026-119374.patch      |   78 +
 .../sqlite/sqlite3/CVE-2026-119375.patch      |   47 +
 .../sqlite/sqlite3/CVE-2026-119376.patch      |   75 +
 .../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 +
 .../sqlite/sqlite3/CVE-2026-119378.patch      |   52 +
 .../sqlite/sqlite3/CVE-2026-119379.patch      |   70 +
 .../sqlite/sqlite3/CVE-2026-119591.patch      |   40 +
 meta/recipes-support/sqlite/sqlite3_3.45.3.bb |   14 +
 69 files changed, 4931 insertions(+), 150 deletions(-)
 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
 create mode 100644 meta/recipes-core/dropbear/dropbear/CVE-2026-35385.patch
 create mode 100644 meta/recipes-core/glibc/glibc/CVE-2026-84243.patch
 create mode 100644 meta/recipes-core/libxml/libxml2/CVE-2026-74860.patch
 create mode 100644 meta/recipes-devtools/bison/bison/CVE-2026-56390.patch
 create mode 100644 meta/recipes-devtools/go/go/CVE-2026-33814.patch
 rename meta/recipes-devtools/ruby/{ruby_3.3.10.bb => ruby_3.3.14.bb} (98%)
 create mode 100644 meta/recipes-multimedia/ffmpeg/ffmpeg/CVE-2026-40962.patch
 create mode 100644 meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2024-50613.patch
 create mode 100644 meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2025-52194.patch
 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
 create mode 100644 meta/recipes-multimedia/speex/speex/CVE-2026-116741.patch
 rename meta/recipes-support/aspell/{aspell_0.60.8.2.bb => aspell_0.60.8.3.bb} (93%)
 create mode 100644 meta/recipes-support/boost/boost/CVE-2023-34399.patch
 create mode 100644 meta/recipes-support/curl/curl/CVE-2026-7168.patch
 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
 create mode 100644 meta/recipes-support/gnupg/gnupg/CVE-2026-57062.patch
 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
 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
 create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119372.patch
 create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119373.patch
 create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119374.patch
 create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119375.patch
 create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119376.patch
 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
 create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119378.patch
 create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119379.patch
 create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119591.patch
#1 lore raw

PATCH 1/37 bison: fix CVE-2026-56390

From: Yogita Urade <[email protected]>

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

(cherry picked from commit eefec9cde464081f5943f4ad5c3cb688a87eff1f)
---
 .../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
meta/recipes-devtools/bison/bison/CVE-2026-56390.patch new file +230 -0
new file mode 100644
index 00000000000..f0c895c5d48
@@ -0,0 +1,230 @@
+From 7172ade933921ccaac7403750c90756b0db8ada4 Mon Sep 17 00:00:00 2001
+From: Paul Eggert <[email protected]>
+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 <[email protected]>
+---
+ 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         [email protected]
+ Michael Felt              [email protected]
+ Michael Hayes             [email protected]
+ Michael Raskin            [email protected]
++Michał Majchrowicz        [email protected]
+ Michel d'Hooge            [email protected]
+ Michiel De Wilde          [email protected]
+ Mickael Labau             [email protected]
+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);
+     }
meta/recipes-devtools/bison/bison_3.8.2.bb +1 -0
index 9808a96e993..08962ae1336 100644
@@ -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"
 
#2 lore raw

PATCH 2/37 boost: patch CVE-2023-34399

In reply to Yoann Congal

From: Peter Marko <[email protected]>

Pick patch referencing this CVE.

(cherry picked from commit ba56fd3e9258e2351c31a402d63ac470d43c8d54)
---
 .../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
meta/recipes-support/boost/boost/CVE-2023-34399.patch new file +35 -0
new file mode 100644
index 00000000000..f2dbccd67e9
@@ -0,0 +1,35 @@
+From d772add4873bb2501d67554190c4272294d659f9 Mon Sep 17 00:00:00 2001
+From: Johnathan <[email protected]>
+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 <[email protected]>
+---
+ 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;
+     }
meta/recipes-support/boost/boost_1.84.0.bb +1 -0
index 4b580d078be..c66f182384d 100644
@@ -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 \
            "
#3 lore raw

PATCH 3/37 glibc: fix CVE-2026-84243

In reply to Yoann Congal

From: João Marcos Costa (Schneider Electric) <[email protected]>

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

---
 .../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
meta/recipes-core/glibc/glibc/CVE-2026-84243.patch new file +193 -0
new file mode 100644
index 00000000000..640a166c08d
@@ -0,0 +1,193 @@
+From 02449c3a9751f801d49a41952291a6c09a24de15 Mon Sep 17 00:00:00 2001
+From: Avinal Kumar <[email protected]>
+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 <[email protected]>
+Signed-off-by: Avinal Kumar <[email protected]>
+Reviewed-by: Adhemerval Zanella <[email protected]>
+
+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) <[email protected]>
+---
+ 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>
meta/recipes-core/glibc/glibc_2.39.bb +1 -0
index 1598249b7b3..d306e7b0a7c 100644
@@ -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}"
#4 lore raw

PATCH 4/37 sqlite3: fix CVE-2026-119373

In reply to Yoann Congal

From: João Marcos Costa (Schneider Electric) <[email protected]>

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

---
 .../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
meta/recipes-support/sqlite/sqlite3/CVE-2026-119373.patch new file +48 -0
new file mode 100644
index 00000000000..ff89746e6c2
@@ -0,0 +1,48 @@
+From ab37658e91b4a19923eb930a9e2ee62b561a4ec6 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Jo=C3=A3o=20Marcos=20Costa?= <[email protected]>
+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 <[email protected]>
+---
+ 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);
meta/recipes-support/sqlite/sqlite3_3.45.3.bb +2 -1
index 975f3bdab84..e7c5bcdac4e 100644
@@ -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"
 
#5 lore raw

PATCH 5/37 sqlite3: fix CVE-2026-119374

In reply to Yoann Congal

From: Arpit Patel <[email protected]>

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

---
 .../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
meta/recipes-support/sqlite/sqlite3/CVE-2026-119374.patch new file +78 -0
new file mode 100644
index 00000000000..cf4dd9cb322
@@ -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 <[email protected]>
+---
+ 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
+
meta/recipes-support/sqlite/sqlite3_3.45.3.bb +1 -0
index e7c5bcdac4e..c1e2006a6fe 100644
@@ -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"
 
#6 lore raw

PATCH 6/37 sqlite3: fix CVE-2026-119379

In reply to Yoann Congal

From: João Marcos Costa (Schneider Electric) <[email protected]>

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

---
 .../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
meta/recipes-support/sqlite/sqlite3/CVE-2026-119379.patch new file +70 -0
new file mode 100644
index 00000000000..4ecf5386902
@@ -0,0 +1,70 @@
+From 7ced15a861a05e25f5a8ad29d0dca95806af3a9e Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Jo=C3=A3o=20Marcos=20Costa?= <[email protected]>
+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 <[email protected]>
+---
+ 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);
+       }
+     }
+ 
meta/recipes-support/sqlite/sqlite3_3.45.3.bb +1 -0
index c1e2006a6fe..926f8223fd0 100644
@@ -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"
 
#7 lore raw

PATCH 7/37 sqlite3: Fix CVE-2026-119377

In reply to Yoann Congal

From: Arpit Patel <[email protected]>

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

---
 .../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
meta/recipes-support/sqlite/sqlite3/CVE-2026-119377-dependent_p1.patch new file +86 -0
new file mode 100644
index 00000000000..bdeb32da04b
@@ -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 <[email protected]>
+---
+ 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
+
meta/recipes-support/sqlite/sqlite3/CVE-2026-119377-dependent_p2.patch new file +59 -0

59 lines not on this page · raw message

meta/recipes-support/sqlite/sqlite3/CVE-2026-119377_p1.patch new file +52 -0

52 lines not on this page · raw message

meta/recipes-support/sqlite/sqlite3/CVE-2026-119377_p2.patch new file +51 -0

51 lines not on this page · raw message

meta/recipes-support/sqlite/sqlite3_3.45.3.bb +5 -1
index 926f8223fd0..84d67ce977f 100644
@@ -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"
 
#8 lore raw

PATCH 8/37 sqlite3: fix CVE-2026-119375

In reply to Yoann Congal

From: Arpit Patel <[email protected]>

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

---
 .../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
meta/recipes-support/sqlite/sqlite3/CVE-2026-119375.patch new file +47 -0
new file mode 100644
index 00000000000..390a3f5234b
@@ -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 <[email protected]>
+---
+ 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
+
meta/recipes-support/sqlite/sqlite3_3.45.3.bb +3 -0
index 84d67ce977f..d5d5f101b0a 100644
@@ -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"
 
#9 lore raw

PATCH 9/37 sqlite3: fix CVE-2026-119372

In reply to Yoann Congal

From: Arpit Patel <[email protected]>

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

---
 .../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
meta/recipes-support/sqlite/sqlite3/CVE-2026-119372.patch new file +56 -0
new file mode 100644
index 00000000000..96a9fdab6cc
@@ -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 <[email protected]>
+---
+ 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
+
meta/recipes-support/sqlite/sqlite3_3.45.3.bb +1 -2
index d5d5f101b0a..378903944bb 100644
@@ -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"
 
#10 lore raw

PATCH 10/37 sqlite3: fix CVE-2026-119378

In reply to Yoann Congal

From: Arpit Patel <[email protected]>

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

---
 .../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
meta/recipes-support/sqlite/sqlite3/CVE-2026-119378.patch new file +52 -0
new file mode 100644
index 00000000000..98937c7bc91
@@ -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 <[email protected]>
+---
+ 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
+
meta/recipes-support/sqlite/sqlite3_3.45.3.bb +1 -0
index 378903944bb..8a8456567ec 100644
@@ -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"
 
#11 lore raw

PATCH 11/37 sqlite3: fix CVE-2026-119376

In reply to Yoann Congal

From: Arpit Patel <[email protected]>

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

---
 .../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
meta/recipes-support/sqlite/sqlite3/CVE-2026-119376.patch new file +75 -0
new file mode 100644
index 00000000000..975054e843f
@@ -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 <[email protected]>
+---
+ 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
+
meta/recipes-support/sqlite/sqlite3_3.45.3.bb +1 -0
index 8a8456567ec..480f597b662 100644
@@ -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"
 
#12 lore raw

PATCH 12/37 sqlite3: fix CVE-2026-119371

In reply to Yoann Congal

From: Arpit Patel <[email protected]>

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

---
 .../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
meta/recipes-support/sqlite/sqlite3/CVE-2026-119371-dependent.patch new file +109 -0
new file mode 100644
index 00000000000..6f06da3d741
@@ -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 <[email protected]>
+---
+ 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
+
meta/recipes-support/sqlite/sqlite3/CVE-2026-119371.patch new file +104 -0

104 lines not on this page · raw message

meta/recipes-support/sqlite/sqlite3_3.45.3.bb +2 -0
index 480f597b662..464d1cf9b03 100644
@@ -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"
 
#13 lore raw

PATCH 13/37 sqlite3: fix CVE-2026-119591

In reply to Yoann Congal

From: Arpit Patel <[email protected]>

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

---
 .../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
meta/recipes-support/sqlite/sqlite3/CVE-2026-119591.patch new file +40 -0
new file mode 100644
index 00000000000..3162d7af45d
@@ -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 <[email protected]>
+---
+ 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
+
meta/recipes-support/sqlite/sqlite3_3.45.3.bb +1 -0
index 464d1cf9b03..3befa41c1ca 100644
@@ -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"
 
#14 lore raw

PATCH 14/37 popt: patch CVE-2026-18839

In reply to Yoann Congal

From: Peter Marko <[email protected]>

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

(cherry picked from commit a522f7f1d73e21745699243f6ca4fc89351fb91a)
---
 .../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
meta/recipes-support/popt/popt/CVE-2026-18839-01.patch new file +89 -0
new file mode 100644
index 00000000000..c3cb7e319c8
@@ -0,0 +1,89 @@
+From 4f5a070cd98aade2767677de22661f4854d4a195 Mon Sep 17 00:00:00 2001
+From: Panu Matilainen <[email protected]>
+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 <[email protected]>
+---
+ 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
meta/recipes-support/popt/popt/CVE-2026-18839-02.patch new file +419 -0

419 lines not on this page · raw message

meta/recipes-support/popt/popt_1.19.bb +2 -0
index 18cc4f2867d..33f07552a6e 100644
@@ -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"
 
#15 lore raw

PATCH 15/37 aspell: upgrade 0.60.8.2 -> 0.60.8.3

In reply to Yoann Congal

From: Ankur Tyagi <[email protected]>

- 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.

(From OE-Core rev: 05baab915b146a19776cd292962e2cf4edfc6f20)

---
 .../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%)
meta/recipes-support/aspell/aspell_0.60.8.3.bb renamed from meta/recipes-support/aspell/aspell_0.60.8.2.bb +1 -1
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
@@ -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"
#16 lore raw

PATCH 16/37 dropbear: add follow-up patches for CVE-2019-6111

In reply to Yoann Congal

From: Peter Marko <[email protected]>

Pick additional patches referencing this CVE from 2026.90 or 2026.91 releases.

[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
meta/recipes-core/dropbear/dropbear/CVE-2019-6111-01.patch renamed from meta/recipes-core/dropbear/dropbear/CVE-2019-6111.patch +0 -0
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
meta/recipes-core/dropbear/dropbear/CVE-2019-6111-02.patch new file +364 -0

364 lines not on this page · raw message

meta/recipes-core/dropbear/dropbear/CVE-2019-6111-03.patch new file +43 -0

43 lines not on this page · raw message

meta/recipes-core/dropbear/dropbear/CVE-2019-6111-04.patch new file +34 -0
new file mode 100644
index 00000000000..b718afc8c41
@@ -0,0 +1,34 @@
+From 0c5629a5d543ef5e4eff43345b1eedf2afef84ca Mon Sep 17 00:00:00 2001
+From: Matt Johnston <[email protected]>
+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 <[email protected]>
+---
+ 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)++;
meta/recipes-core/dropbear/dropbear/CVE-2019-6111-05.patch new file +43 -0

43 lines not on this page · raw message

meta/recipes-core/dropbear/dropbear_2022.83.bb +5 -1
index 93563aa3b47..d06bbd3a6db 100644
@@ -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"
#17 lore raw

PATCH 17/37 dropbear: patch CVE-2026-35385

In reply to Yoann Congal

From: Peter Marko <[email protected]>

Pick patch referencing this CVE from 2026.90 release.

---
 .../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
meta/recipes-core/dropbear/dropbear/CVE-2026-35385.patch new file +42 -0
new file mode 100644
index 00000000000..773ed196107
@@ -0,0 +1,42 @@
+From 443ccc1fd1b9a4e3747f6b5cd644b7af49064308 Mon Sep 17 00:00:00 2001
+From: Matt Johnston <[email protected]>
+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 <[email protected]>
+---
+ 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);
meta/recipes-core/dropbear/dropbear_2022.83.bb +1 -0
index d06bbd3a6db..65dfddbca72 100644
@@ -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"
#18 lore raw

PATCH 18/37 ruby: Upgrade 3.3.10 -> 3.3.14

In reply to Yoann Congal

From: Deepak Rathore <[email protected]>

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/

[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%)
meta/recipes-devtools/ruby/ruby/0001-extmk-fix-cross-compilation-of-external-gems.patch +4 -7
index 2e3156880ef..366e5084840 100644
@@ -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?= <[email protected]>
 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 <[email protected]>
  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
-
meta/recipes-devtools/ruby/ruby/0001-vm_dump.c-Define-REG_S1-and-REG_S2-for-musl-riscv.patch +2 -5
index f7b7adb3fdb..e512b57c200 100644
@@ -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 <[email protected]>
 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 <[email protected]>
  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
-
meta/recipes-devtools/ruby/ruby/0003-rdoc-build-reproducible-documentation.patch +9 -7
index f92f0e1ba68..731aace31e2 100644
@@ -1,6 +1,7 @@
+From 9a945f194e50cbd93ea7b08bd85560a748a4a293 Mon Sep 17 00:00:00 2001
 From: Christian Hofstaedtler <[email protected]>
 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 <[email protected]>
 Signed-off-by: Christian Hofstaedtler <[email protected]>
 ---
  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
meta/recipes-devtools/ruby/ruby/0004-lib-mkmf.rb-sort-list-of-object-files-in-generated-M.patch +5 -2
index e0aca0dcfc1..031f89bf17e 100644
@@ -1,6 +1,7 @@
+From 732263f3623216fbb79560baaf5bc3014e9f7f18 Mon Sep 17 00:00:00 2001
 From: Reiner Herrmann <[email protected]>
 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 <[email protected]>
  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(' ')}
meta/recipes-devtools/ruby/ruby/0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch +2 -5
index 0902a201eca..5e8f9f583c7 100644
@@ -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 <[email protected]>
 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
-
meta/recipes-devtools/ruby/ruby/0006-Make-gemspecs-reproducible.patch +1 -4
index d32e2091292..949f7c144d5 100644
@@ -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 <[email protected]>
 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
-
meta/recipes-devtools/ruby/ruby/0007-Skip-test_rm_r_no_permissions-test-under-root.patch +1 -4
index dc06891bbc2..92af032d182 100644
@@ -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 <[email protected]>
 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
-
meta/recipes-devtools/ruby/ruby_3.3.14.bb renamed from meta/recipes-devtools/ruby/ruby_3.3.10.bb +1 -1
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
@@ -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)}"
#19 lore raw

PATCH 19/37 libsndfile1: patch CVE-2024-50613

In reply to Yoann Congal

From: Peter Marko <[email protected]>

Pick patch from [1] which linked this CVE.

[1] https://github.com/libsndfile/libsndfile/pull/1198

(cherry picked from commit e56fdd1720050fbd2107ff48bb8d24e24dff72b9)
---
 .../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
meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2024-50613.patch new file +348 -0
new file mode 100644
index 00000000000..9b7302b2316
@@ -0,0 +1,348 @@
+From ecbccc2f23de6cefd2d97842fc0333bb742a0625 Mon Sep 17 00:00:00 2001
+From: Capsize Security <[email protected]>
+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 <[email protected]>
+
+CVE: CVE-2024-50613
+Upstream-Status: Backport [https://github.com/libsndfile/libsndfile/commit/ecbccc2f23de6cefd2d97842fc0333bb742a0625]
+Signed-off-by: Peter Marko <[email protected]>
+---
+ 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) ;
+ 		}
meta/recipes-multimedia/libsndfile/libsndfile1_1.2.2.bb +1 -0
index 5d2a2c256b0..b22f5b1e503 100644
@@ -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/"
 
#20 lore raw

PATCH 20/37 libsndfile1: patch CVE-2025-52194

In reply to Yoann Congal

From: Peter Marko <[email protected]>

Pick patch references by [1] references in CVE report.

[1] https://github.com/libsndfile/libsndfile/issues/1082#issuecomment-6442050313

(cherry picked from commit cc20c00e9261011c175d4bb92c99f02b5773b419)
---
 .../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
meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2025-52194.patch new file +27 -0
new file mode 100644
index 00000000000..ec5da0b731e
@@ -0,0 +1,27 @@
+From 7ff854d1e0bd9a751a9ff52ed980c62afced91fe Mon Sep 17 00:00:00 2001
+From: Saddam <[email protected]>
+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 <[email protected]>
+---
+ 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"
meta/recipes-multimedia/libsndfile/libsndfile1_1.2.2.bb +1 -0
index b22f5b1e503..37f852d5c38 100644
@@ -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/"
 
#21 lore raw

PATCH 21/37 libsndfile1: patch CVE-2026-109828

In reply to Yoann Congal

From: Peter Marko <[email protected]>

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

(cherry picked from commit 6c80a8917e6c815cea297d2aa6c7d715f07c57d9)
---
 .../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
meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2026-109828-01.patch new file +234 -0
new file mode 100644
index 00000000000..61acc37c2dc
@@ -0,0 +1,234 @@
+From 59babedce8fa8eb1000ecb3c87a5dd4a1190ad9e Mon Sep 17 00:00:00 2001
+From: iceray-Li <[email protected]>
+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 <[email protected]>
+---
+ 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 ;
meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2026-109828-02.patch new file +26 -0
new file mode 100644
index 00000000000..dab12f04ace
@@ -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 <[email protected]>
+---
+ 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 ;
meta/recipes-multimedia/libsndfile/libsndfile1_1.2.2.bb +2 -0
index 37f852d5c38..bb8c666de70 100644
@@ -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/"
 
#22 lore raw

PATCH 22/37 ffmpeg: Fix CVE-2026-40962

In reply to Yoann Congal

From: Colin Pinnell McAllister <[email protected]>

Backports patch for CVE-2026-40962 to ffmpeg 6.1.4.

---
 .../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
meta/recipes-multimedia/ffmpeg/ffmpeg/CVE-2026-40962.patch new file +61 -0
new file mode 100644
index 00000000000..608dc638ed3
@@ -0,0 +1,61 @@
+From 5d272b8c9541fa082dfb064e7e5847de4c4300ba Mon Sep 17 00:00:00 2001
+From: Michael Niedermayer <[email protected]>
+Date: Tue, 24 Feb 2026 03:47:15 +0100
+Subject: [PATCH] avformat/mov: use 64bit in CENC subsample bounds checks
+
+Found-by: Quang Luong <[email protected]>
+Found-by: PrymEvol
+Signed-off-by: Michael Niedermayer <[email protected]>
+(cherry picked from commit e392fb8c9c3949d975531d2b23c645d2465a7ebc)
+Signed-off-by: Michael Niedermayer <[email protected]>
+
+CVE: CVE-2026-40962
+Upstream-Status: Backport [https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/78c944bdb170d8dcece166115d92b45379b040f4]
+Signed-off-by: Colin Pinnell McAllister <[email protected]>
+---
+ 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
+
meta/recipes-multimedia/ffmpeg/ffmpeg_6.1.4.bb +1 -0
index 849835c8493..44ad063e690 100644
@@ -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"
#23 lore raw

PATCH 23/37 speex: patch CVE-2026-116741

In reply to Yoann Congal

From: Peter Marko <[email protected]>

Pick patch from [1] linked from CVE report.

[1] https://gitlab.xiph.org/xiph/speex/-/merge_requests/32

(cherry picked from commit acdf6b0bfcf0a2c3b858ccf2f1b385afd5b13574)
---
 .../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
meta/recipes-multimedia/speex/speex/CVE-2026-116741.patch new file +29 -0
new file mode 100644
index 00000000000..4d71f7fa82c
@@ -0,0 +1,29 @@
+From 09b569d1b437e5edccf3406a38714ad795e46d38 Mon Sep 17 00:00:00 2001
+From: Tristan Matthews <[email protected]>
+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 <[email protected]>
+---
+ 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;
+       }
+    }
+ 
meta/recipes-multimedia/speex/speex_1.2.1.bb +4 -1
index c40198fa8f3..2a174db0aa4 100644
@@ -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"
#24 lore raw

PATCH 24/37 linux-yocto/6.6: update to v6.6.162

In reply to Yoann Congal

From: Bruce Ashfield <[email protected]>

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

---
 .../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(-)
meta/recipes-kernel/linux/linux-yocto-rt_6.6.bb +3 -3
index 51a4e9703cb..eb44fdc10af 100644
@@ -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"
 
meta/recipes-kernel/linux/linux-yocto-tiny_6.6.bb +3 -3
index 14f0a62d797..d39247e3314 100644
@@ -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"
 
meta/recipes-kernel/linux/linux-yocto_6.6.bb +14 -14
index 13fe981462e..2a812631ae9 100644
@@ -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"
 
#25 lore raw

PATCH 25/37 linux-yocto/6.6: perf cs-etm: fix a compilation issue in cs_etm_decoder__set_tid()

In reply to Yoann Congal

From: Bruce Ashfield <[email protected]>

Integrating the following commit(s) to linux-yocto/6.6:

1/1 [
Author: Valentin Caron
Email: [email protected]
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")

]

---
 .../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(-)
meta/recipes-kernel/linux/linux-yocto-rt_6.6.bb +1 -1
index eb44fdc10af..73f136c1280 100644
@@ -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 \
meta/recipes-kernel/linux/linux-yocto-tiny_6.6.bb +1 -1
index d39247e3314..fe975d3e425 100644
@@ -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"
meta/recipes-kernel/linux/linux-yocto_6.6.bb +11 -11
index 2a812631ae9..32180461f65 100644
@@ -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
#26 lore raw

PATCH 26/37 linux-yocto/6.6: update CVE exclusions (6.6.162)

In reply to Yoann Congal

From: Yoann Congal <[email protected]>

$ ./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

---
 .../linux/cve-exclusion_6.6.inc               | 1322 +++++++++++++++--
 1 file changed, 1237 insertions(+), 85 deletions(-)
meta/recipes-kernel/linux/cve-exclusion_6.6.inc +1237 -85
index 24961f31688..da26078546b 100644
@@ -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"
 
#27 lore raw

PATCH 27/37 gnupg: fix CVE-2026-57062

In reply to Yoann Congal

From: Prasanth R <[email protected]>

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

---
 .../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
meta/recipes-support/gnupg/gnupg/CVE-2026-57062.patch new file +43 -0
new file mode 100644
index 00000000000..d18b9e9cb3d
@@ -0,0 +1,43 @@
+From 09d686f5ca09f1161f1e433473968d15b563687f Mon Sep 17 00:00:00 2001
+From: Werner Koch <[email protected]>
+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 <[email protected]>
+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 <[email protected]>
+---
+ 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
+
meta/recipes-support/gnupg/gnupg_2.4.9.bb +1 -0
index c85de6047fe..57f918b75f3 100644
@@ -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"
#28 lore raw

PATCH 28/37 gnupg: fix CVE-2026-105712

In reply to Yoann Congal

From: Prasanth R <[email protected]>

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

---
 .../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
meta/recipes-support/gnupg/gnupg/CVE-2026-105712-regression.patch new file +40 -0
new file mode 100644
index 00000000000..d2b49b74fef
@@ -0,0 +1,40 @@
+From 1bdd1f5bb4d192d9700dd6ab2540b0a940c23dd5 Mon Sep 17 00:00:00 2001
+From: NIIBE Yutaka <[email protected]>
+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 <[email protected]>
+(cherry picked from commit 1bdd1f5bb4d192d9700dd6ab2540b0a940c23dd5)
+Signed-off-by: Deepak Rathore <[email protected]>
+Signed-off-by: Prasanth R <[email protected]>
+---
+ 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;
meta/recipes-support/gnupg/gnupg/CVE-2026-105712.patch new file +194 -0

194 lines not on this page · raw message

meta/recipes-support/gnupg/gnupg_2.4.9.bb +2 -0
index 57f918b75f3..f211dcd2aa9 100644
@@ -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"
#29 lore raw

PATCH 29/37 libxml2: Security fix for CVE-2026-74860

In reply to Yoann Congal

From: Rohini Sangam <[email protected]>

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

[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
meta/recipes-core/libxml/libxml2/CVE-2026-74860.patch new file +35 -0
new file mode 100644
index 00000000000..c08790c14d0
@@ -0,0 +1,35 @@
+From f41e1865781f74d1cadfe2fbdfeefed946026f12 Mon Sep 17 00:00:00 2001
+From: Daniel Garcia Moreno <[email protected]>
+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 <[email protected]>
+---
+ 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
+
meta/recipes-core/libxml/libxml2_2.12.10.bb +1 -0
index 5e4cabbf5d9..387f47c3edc 100644
@@ -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"
#30 lore raw

PATCH 30/37 tzdata/tzcode-native: upgrade 2026e -> 2026f

In reply to Yoann Congal

From: Ankur Tyagi <[email protected]>

Changelog:
https://www.iana.org/time-zones/releases/2026f

(cherry picked from commit a5c5781d51df60bbb3d9945c9b3ad89f4d9502f4)
---
 meta/recipes-extended/timezone/timezone.inc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
meta/recipes-extended/timezone/timezone.inc +3 -3
index 704d6b603f9..a3c981f8ef3 100644
@@ -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"
#31 lore raw

PATCH 31/37 python3-certifi: correct license to MPL-2.0

In reply to Yoann Congal

From: Anders Heimer <[email protected]>

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

(cherry picked from commit 6b270958cab94f1fa117b5eee36157cf5b14d3cf)
---
 meta/recipes-devtools/python/python3-certifi_2026.10.19.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/python/python3-certifi_2026.10.19.bb +1 -1
index 749894f56ac..b80044b399f 100644
@@ -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"
#32 lore raw

PATCH 32/37 populate_sdk_ext: Fix locale error handling in SDK

In reply to Yoann Congal

From: Richard Purdie <[email protected]>

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]

(cherry picked from commit f290e76eef3bd175f71414b7f78aafd0af5e0ce2)
---
 meta/classes-recipe/populate_sdk_ext.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes-recipe/populate_sdk_ext.bbclass +1 -1
index 662cc493ce7..794832888c6 100644
@@ -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
#33 lore raw

PATCH 33/37 go: Fix CVE-2026-33814

In reply to Yoann Congal

From: Hetvi Thakar <[email protected]>

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

---
 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
meta/recipes-devtools/go/go-1.22.12.inc +1 -0
index cec3bbbb4ee..5695e907d96 100644
@@ -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"
 
meta/recipes-devtools/go/go/CVE-2026-33814.patch new file +44 -0

44 lines not on this page · raw message

#34 lore raw

PATCH 34/37 curl: Fix CVE-2026-7168

In reply to Yoann Congal

From: Devansh Patel <[email protected]>

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

---
 .../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
meta/recipes-support/curl/curl/CVE-2026-7168.patch new file +83 -0
new file mode 100644
index 00000000000..cc12db030f3
@@ -0,0 +1,83 @@
+From 2b1d18e42252aa09236666f0469b48a0e1f95080 Mon Sep 17 00:00:00 2001
+From: Daniel Stenberg <[email protected]>
+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 <[email protected]>
+---
+ 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
meta/recipes-support/curl/curl_8.7.1.bb +1 -0
index 076c8756f5e..4f6ffbbed50 100644
@@ -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 = " \
#35 lore raw

PATCH 35/37 rust-llvm: build and install the LLVM shared library

In reply to Yoann Congal

From: Sunil Dora <[email protected]>

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]

---
 meta/recipes-devtools/rust/rust-llvm_1.75.0.bb | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)
meta/recipes-devtools/rust/rust-llvm_1.75.0.bb +14 -1
index cba41c739e9..76335dc0559 100644
@@ -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"
 
#36 lore raw

PATCH 36/37 rust-llvm: Disable libedit

In reply to Yoann Congal

From: Richard Purdie <[email protected]>

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.

(cherry picked from commit c31859be39c68f215576ba73b8a3d66c8ea590d3)
---
 meta/recipes-devtools/rust/rust-llvm_1.75.0.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-devtools/rust/rust-llvm_1.75.0.bb +1 -0
index 76335dc0559..724ad39d714 100644
@@ -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 \
#37 lore raw

PATCH 37/37 rust: enable dynamic LLVM linking by default

In reply to Yoann Congal

From: Sunil Dora <[email protected]>

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]

---
 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(-)
meta/lib/oeqa/selftest/cases/rust.py +1 -1
index 26f132edc4d..b2ad7c099f2 100644
@@ -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)))
meta/recipes-devtools/rust/rust_1.75.0.bb +4 -0
index b9348bf0507..b2fac124288 100644
@@ -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))