From patchwork Fri Nov 27 17:48:44 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Yoann Congal X-Patchwork-Id: 106135 X-Patchwork-Delegate: yoann.congal@smile.fr Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1528.1795801776549511229 for ; Fri, 27 Nov 2026 09:49:36 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@smile.fr header.s=google2 header.b=Uskgk/GD; spf=pass (domain: smile.fr, ip: 209.85.221.51, mailfrom: yoann.congal@smile.fr) Received: by mail-wr1-f51.google.com with SMTP id ffacd0b85a97d-4ac08f4a0b2so5934543f8f.3 for ; Fri, 27 Nov 2026 09:49:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile.fr; s=google2; t=1795801775; x=1796406575; darn=lists.openembedded.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=226+VZ+Xi4o1/6UhU+6S+ZPwJLhLZNVKLCJvdOa7zxQ=; b=Uskgk/GDc89j+pcQGQmEJHZTGQ1d58SvxrqCl+ezIuMvRHSGVnCOhFcxiTGhTs1o1r QtKxjFJLouSTTKXW/1k1gLgTkMo/DyiR0kgHFVlulf+gACSyjAH00PTkqVWe40q1PhDN rBLSxOdaxlXuH29f6inE6PII9HUFr0Q/i01im03HHbEsfPpZIPZVxQH4xjl0omDfi2Uc JDIIGbERFR4KYKrdzfbytBqF/GZ/sGzxVb/Z+U+HmiFU+dV99obrr6xPEcK8Zei08QM9 OJxbpuVG0S/GbZ6i6gJOKAmTATE5DQ0UGep1UvthhPRdX4fnXrnEZttqt95Ad8zahF8J vMzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795801775; x=1796406575; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=226+VZ+Xi4o1/6UhU+6S+ZPwJLhLZNVKLCJvdOa7zxQ=; b=MPAddixXf5IDGLWGPyZpRVdl+WTt+28lUUPK+ozXLjM4CGtI9JSwx3x1gpCYyeX6Z1 Mdm8He8XloR1D5DNTAUWHaVUHAcG62771UmwxD4Xju/FHHftvQMYSSbmyQ3fTQMSNAHP So5Pz3HfQsloRi/7HzlDTz7RPo0DzWj7X0HQfIJG6vBQvtFH7kOylEAlmt8y7hgD1CDn qMaPnjW/1N0jRs7DPB5hJlKahTsj7NqF1x1o2PkyrwrTzd1PSAlGvH6xCwYFI1EBTIp+ jY7OwZxKH2kAZGpxnYvEsZLq9JNqG4n7LWFPuJlauOqbmeWTf+qIygKlA29UVXzUWwt/ 4F9w== X-Gm-Message-State: APuU4Z+IfHL1csF5MnIv/ec6k/LM6k+mr8pfyj0DzlGJV0k9Bd12IYJX 80Hzo2g9dQ805xzx2BKK62wRToC7Cyw3p4OGQsdmoW3oMkcBCPydCZxTOx/AgzrVIxRYZYkc7I4 mAQXeHUQ= X-Gm-Gg: AZFdTZffdGUZMB+op9HXR1O5jeV7ab1KjoAhLS00J4JqWT6g33SiRCgZkmZMO6E5W/F bzK/pRVPj8rP9EPZMXgq1c1ceXLtNh7IL+2R07PPk7eQSVv1aCkN811Xi5nJLBSb356zFdX1PlJ sfibsRT7Bmt54zBYffwOe7jcQtIHz1PWF1hDs8Ddbj3ZbLc6v+UGNKMY+f4GHtzqtrmBIQu5Yqb ZqbW8CJv5YM/mSOgoRcsScaDnDA2IyTCzNmef38QmI/daS5/3t2yOlhPIuovR95GzjoA7sHrbJv tqteMQ1ZKndr1n9bNLvtKp/SB2mWnBY4XTEjmPQQlwloE7PyouEoYWCFrVHH+TRyAtBKIXa3RgG UQUYElEiCwgONsl8mPsw6Fm9i/laW212hrRofCxXvAPV3nHqy04WGmxHZHdtUOtVTWPleFz9QEj oMvAVFvaTooQZdUEJnlSBoYw/+0DmGr6O42LnU6H4QNGP3Vwon8XevNAXei0OECWKzgwBt9y7mJ UWHqo07KQEeR1W+qkcR9EQBUXoaE4sBqIgwr5jIxUK02EgxLH8DJQszFUam2m2Vng5zAaApOJaE 1k67aONh2erercW20+66KCD/z65R0NFXzl28p61DUmTzBajLvaAR4RvLYdUnYZLDMoLAgvpe4FQ fmTPFNpdOdf7WAvlRuweMadLc8Z3b X-Received: by 2002:a05:600c:5487:b0:4bb:5de1:e92c with SMTP id 5b1f17b1804b1-4bb88813157mr513539725e9.26.1795801774582; Fri, 27 Nov 2026 09:49:34 -0800 (PST) Return-Path: Received: from FRSMI25-LASER.home (2a01cb001331aa00a2e4fb7b0d887544.ipv6.abo.wanadoo.fr. [2a01:cb00:1331:aa00:a2e4:fb7b:d88:7544]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab69bf630esm49374624f8f.16.2026.11.27.09.49.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Nov 2026 09:49:34 -0800 (PST) From: Yoann Congal To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 01/37] bison: fix CVE-2026-56390 Date: Fri, 27 Nov 2026 18:48:44 +0100 Message-ID: X-Mailer: git-send-email 2.55.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 27 Nov 2026 17:49:41 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251407 From: Yogita Urade This patch applies the upstream fix as referenced in [2], using the commit shown in [1]. [1] https://cgit.git.savannah.gnu.org/cgit/bison.git/commit/?id=8d101c19d4d9aaedf83a448c925513742d4efcf0 [2] https://nvd.nist.gov/vuln/detail/CVE-2026-56390 Signed-off-by: Yogita Urade Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie (cherry picked from commit eefec9cde464081f5943f4ad5c3cb688a87eff1f) Signed-off-by: Yoann Congal --- .../bison/bison/CVE-2026-56390.patch | 230 ++++++++++++++++++ meta/recipes-devtools/bison/bison_3.8.2.bb | 1 + 2 files changed, 231 insertions(+) create mode 100644 meta/recipes-devtools/bison/bison/CVE-2026-56390.patch diff --git a/meta/recipes-devtools/bison/bison/CVE-2026-56390.patch b/meta/recipes-devtools/bison/bison/CVE-2026-56390.patch new file mode 100644 index 00000000000..f0c895c5d48 --- /dev/null +++ b/meta/recipes-devtools/bison/bison/CVE-2026-56390.patch @@ -0,0 +1,230 @@ +From 7172ade933921ccaac7403750c90756b0db8ada4 Mon Sep 17 00:00:00 2001 +From: Paul Eggert +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 +--- + THANKS | 1 + + doc/bison.texi | 2 ++ + src/parse-gram.c | 56 ++++++++++++++++++++++++++++++++---------------- + src/parse-gram.y | 31 ++++++++++++++++++++++----- + 4 files changed, 67 insertions(+), 23 deletions(-) + +diff --git a/THANKS b/THANKS +index be743a23..0e481561 100644 +--- a/THANKS ++++ b/THANKS +@@ -128,6 +128,7 @@ Michael Catanzaro mcatanzaro@gnome.org + Michael Felt mamfelt@gmail.com + Michael Hayes m.hayes@elec.canterbury.ac.nz + Michael Raskin 7c6f434c@mail.ru ++Michał Majchrowicz mmajchrowicz@afine.com + Michel d'Hooge michel.dhooge@gmail.com + Michiel De Wilde mdewilde.agilent@gmail.com + Mickael Labau labau_m@epita.fr +diff --git a/doc/bison.texi b/doc/bison.texi +index a559649c..44a4e159 100644 +--- a/doc/bison.texi ++++ b/doc/bison.texi +@@ -5973,6 +5973,7 @@ Introduced in Bison 3.8. + + @deffn {Directive} %header @var{header-file} + Same as above, but save in the file @file{@var{header-file}}. ++The @var{header-file} name should not contain slashes. + @end deffn + + @deffn {Directive} %language "@var{language}" +@@ -6026,6 +6027,7 @@ file, treating it as an independent source file in its own right. + + @deffn {Directive} %output "@var{file}" + Generate the parser implementation in @file{@var{file}}. ++The @var{file} name should not contain slashes. + @end deffn + + @deffn {Directive} %pure-parser +diff --git a/src/parse-gram.y b/src/parse-gram.y +index 15180cb5..114c5c44 100644 +--- a/src/parse-gram.y ++++ b/src/parse-gram.y +@@ -95,8 +95,11 @@ + string from the scanner (should be CODE). */ + static char const *translate_code_braceless (char *code, location loc); + ++ /* Is FILE a valid output file name? */ ++ static bool valid_output_file_name (char const *file); ++ + /* Handle a %header directive. */ +- static void handle_header (char const *value); ++ static void handle_header (location const *loc, char const *value); + + /* Handle a %error-verbose directive. */ + static void handle_error_verbose (location const *loc, char const *directive); +@@ -337,7 +340,7 @@ prologue_declaration: + muscle_percent_define_insert ($2, @$, $3.kind, $3.chars, + MUSCLE_PERCENT_DEFINE_GRAMMAR_FILE); + } +-| "%header" string.opt { handle_header ($2); } ++| "%header" string.opt { handle_header (&@2, $2); } + | "%error-verbose" { handle_error_verbose (&@$, $1); } + | "%expect" INT_LITERAL { expected_sr_conflicts = $2; } + | "%expect-rr" INT_LITERAL { expected_rr_conflicts = $2; } +@@ -356,7 +359,15 @@ prologue_declaration: + | "%name-prefix" STRING { handle_name_prefix (&@$, $1, $2); } + | "%no-lines" { no_lines_flag = true; } + | "%nondeterministic-parser" { nondeterministic_parser = true; } +-| "%output" STRING { spec_outfile = unquote ($2); gram_scanner_last_string_free (); } ++| "%output" STRING ++ { ++ char *file = unquote ($2); ++ if (valid_output_file_name (file)) ++ spec_outfile = file; ++ else ++ complain (&@2, complaint, _("invalid %%output file name ignored")); ++ gram_scanner_last_string_free (); ++ } + | "%param" { current_param = $1; } params { current_param = param_none; } + | "%pure-parser" { handle_pure_parser (&@$, $1); } + | "%require" STRING { handle_require (&@2, $2); } +@@ -952,14 +963,24 @@ add_param (param_type type, char *decl, location loc) + } + + ++static bool ++valid_output_file_name (char const *file) ++{ ++ return !strchr (file, '/'); ++} ++ ++ + static void +-handle_header (char const *value) ++handle_header (location const *loc, char const *value) + { + header_flag = true; + if (value) + { + char *file = unquote (value); +- spec_header_file = xstrdup (file); ++ if (valid_output_file_name (file)) ++ spec_header_file = xstrdup (file); ++ else ++ complain (loc, complaint, _("invalid %%header file name ignored")); + gram_scanner_last_string_free (); + unquote_free (file); + } +diff --git a/src/parse-gram.c b/src/parse-gram.c +index 3c1d8229..a62f2d6c 100644 +--- a/src/parse-gram.c ++++ b/src/parse-gram.c +@@ -276,8 +276,11 @@ typedef enum yysymbol_kind_t yysymbol_kind_t; + string from the scanner (should be CODE). */ + static char const *translate_code_braceless (char *code, location loc); + ++ /* Is FILE a valid output file name? */ ++ static bool valid_output_file_name (char const *file); ++ + /* Handle a %header directive. */ +- static void handle_header (char const *value); ++ static void handle_header (location const *loc, char const *value); + + /* Handle a %error-verbose directive. */ + static void handle_error_verbose (location const *loc, char const *directive); +@@ -663,19 +666,19 @@ union yyalloc + /* YYRLINE[YYN] -- Source line where rule number YYN was defined. */ + static const yytype_int16 yyrline[] = + { +- 0, 310, 310, 319, 320, 324, 325, 331, 335, 340, +- 341, 342, 343, 344, 345, 350, 355, 356, 357, 358, +- 359, 360, 360, 361, 362, 363, 364, 365, 366, 367, +- 368, 372, 373, 382, 383, 387, 398, 402, 406, 414, +- 424, 425, 435, 436, 442, 455, 455, 460, 460, 465, +- 465, 470, 480, 481, 482, 483, 488, 489, 493, 494, +- 499, 500, 504, 505, 509, 510, 511, 524, 533, 537, +- 541, 549, 550, 554, 567, 568, 573, 574, 575, 593, +- 597, 601, 609, 611, 616, 623, 633, 637, 641, 649, +- 655, 668, 669, 675, 676, 677, 684, 684, 692, 693, +- 694, 699, 702, 704, 706, 708, 710, 712, 714, 716, +- 718, 723, 724, 733, 757, 758, 759, 760, 772, 774, +- 798, 803, 804, 809, 817, 818 ++ 0, 314, 314, 323, 324, 328, 329, 335, 339, 344, ++ 345, 346, 347, 348, 349, 354, 359, 360, 361, 362, ++ 363, 372, 372, 373, 374, 375, 376, 377, 378, 379, ++ 380, 384, 385, 394, 395, 399, 410, 414, 418, 426, ++ 436, 437, 447, 448, 454, 467, 467, 472, 472, 477, ++ 477, 482, 492, 493, 494, 495, 500, 501, 505, 506, ++ 511, 512, 516, 517, 521, 522, 523, 536, 545, 549, ++ 553, 561, 562, 566, 579, 580, 585, 586, 587, 605, ++ 609, 613, 621, 623, 628, 635, 645, 649, 653, 661, ++ 667, 680, 681, 687, 688, 689, 696, 696, 704, 705, ++ 706, 711, 714, 716, 718, 720, 722, 724, 726, 728, ++ 730, 735, 736, 745, 769, 770, 771, 772, 784, 786, ++ 810, 815, 816, 821, 829, 830 + }; + #endif + +@@ -2217,7 +2220,7 @@ yyreduce: + + case 9: /* prologue_declaration: "%header" string.opt */ + #line 340 "src/parse-gram.y" +- { handle_header ((yyvsp[0].yykind_75)); } ++ { handle_header (&(yylsp[0]), (yyvsp[0].yykind_75)); } + #line 2222 "src/parse-gram.c" + break; + +@@ -2289,7 +2292,14 @@ yyreduce: + + case 20: /* prologue_declaration: "%output" "string" */ + #line 359 "src/parse-gram.y" +- { spec_outfile = unquote ((yyvsp[0].STRING)); gram_scanner_last_string_free (); } ++ { ++ char *file = unquote ((yyvsp[0].STRING)); ++ if (valid_output_file_name (file)) ++ spec_outfile = file; ++ else ++ complain (&(yylsp[0]), complaint, _("invalid %%output file name ignored")); ++ gram_scanner_last_string_free (); ++ } + #line 2294 "src/parse-gram.c" + break; + +@@ -3290,14 +3300,24 @@ add_param (param_type type, char *decl, location loc) + } + + ++static bool ++valid_output_file_name (char const *file) ++{ ++ return !strchr (file, '/'); ++} ++ ++ + static void +-handle_header (char const *value) ++handle_header (location const *loc, char const *value) + { + header_flag = true; + if (value) + { + char *file = unquote (value); +- spec_header_file = xstrdup (file); ++ if (valid_output_file_name (file)) ++ spec_header_file = xstrdup (file); ++ else ++ complain (loc, complaint, _("invalid %%header file name ignored")); + gram_scanner_last_string_free (); + unquote_free (file); + } diff --git a/meta/recipes-devtools/bison/bison_3.8.2.bb b/meta/recipes-devtools/bison/bison_3.8.2.bb index 9808a96e993..08962ae1336 100644 --- a/meta/recipes-devtools/bison/bison_3.8.2.bb +++ b/meta/recipes-devtools/bison/bison_3.8.2.bb @@ -13,6 +13,7 @@ SRC_URI = "${GNU_MIRROR}/bison/bison-${PV}.tar.xz \ file://autoconf-2.73.patch \ file://add-with-bisonlocaledir.patch \ file://CVE-2026-56389.patch \ + file://CVE-2026-56390.patch \ " SRC_URI[sha256sum] = "9bba0214ccf7f1079c5d59210045227bcf619519840ebfa80cd3849cff5a5bf2" From patchwork Fri Nov 27 17:48:45 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoann Congal X-Patchwork-Id: 106137 X-Patchwork-Delegate: yoann.congal@smile.fr Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1529.1795801776917061748 for ; Fri, 27 Nov 2026 09:49:37 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@smile.fr header.s=google2 header.b=Z8XfZ1f9; spf=pass (domain: smile.fr, ip: 209.85.128.41, mailfrom: yoann.congal@smile.fr) Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-4bb77a462c6so67413775e9.1 for ; Fri, 27 Nov 2026 09:49:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile.fr; s=google2; t=1795801775; x=1796406575; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=+yFtZ7f/8nUbxETlaiRZgIzl5UgTriJG572+eceFqcc=; b=Z8XfZ1f99X6nuIyVinUWDy7W5itca0IuHU1GoSytGxxv+OXGfHci0yOY+5YLsyk5zZ MkuDLGm8GMh2mZkKU7uKkY0W8VHpod9Qr9T316ANHyjTx8AOEvwylQ0BeSVDN+P2uNto pMh0r1xKUILQi9USAt9P7/wYA7pELFlgn/ZlGDgQdvFXf0/TLLkRvaCjGrLHB+OE08iA bleDBur5phX+SCYgfDD/gthhU7tTL+V47Rz95JMXfXQskOvlsNU18qAraTumcUQfcn30 xTx+Jsz+cl2zr4ixMoTETYY2qXrGABkANYTPGbNwDuo04fZEavur+yX8Yqg4W3RI8E7h c1uA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795801775; x=1796406575; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=+yFtZ7f/8nUbxETlaiRZgIzl5UgTriJG572+eceFqcc=; b=IxYEc9IEnOEzTzXBNY/3KTzt+jbblyofrBylB4zuH/8A3ayJAz5x0jMPIjuv8V+SkT 3txfThM9CUXZqsKaLdTN60VPFTUj/N8B+wJ91Zprs3mfikz4hCD2wGPINoeA6+kcvp38 EBCz1kS6qwYGHOE/trhHZg/nQgF8cE77FJOWgr9Ybjx3oQgoC8y6vKCDa8dSR73k0ynK P+Wh9igmFmZ97es5PD3U8JoaxRXq7lJk6ibCQHYfhQTx7xRiaO58AbIxeALceVT12GpN 9V1NQGC0OW0GNG8MIit88Av8Ji+1EvDZEZx0qxEfCq7ahlUH0LFS9DrCF8z06i70uyml qdfw== X-Gm-Message-State: APuU4Z/kn+9WoI5eIm7QQltRWI27JINmfpng53sV/KRLFm6oweNVlEM0 5O8ABDDyG95joHwetISYPk23OCIIMKeg5kTgfxczq0meQQ3tiL5OdMy4qlAbo32a+5M/rXL2d9I OXKj6/CY= X-Gm-Gg: AZFdTZdkN9eaXhq+xIgq7/M5c2GF5CTy+C1LhTILVWAVmpxh9vWVyKFuh3DbmPW6zkI mW0llke9V6wLSuQEZJZo1+OF1HsqERbdu6VY9IQ0y0fzknWizFzTGHPZLzrXAwSXP0lw7GsQndv l4IzEscLyGezS7EwfroCghrAUj6FWkEGLrr/LNaTUiGoqg7IpACp4EqWy5PoMMLhZtozl0M3Cem 2aoOZPRcyzDEru4U4b8MbiWhfZST4r/+N+WPxg5gPh3DwW7CUC7lBGStJnoueaeLx6LulpD3GGQ KWXqWyl4Z9N8L7uVHQm+i7/llr2CbngmlFwVstD98DZOZ1JL2RXXebqK3uhrlgSioTfBEzzdODA DatGmEdmcSL4Q0MCHSQi0Z4WhJQp7FUverf2DJtsn/hUkyJCosGWU4vOtWwzyPiMiMQ8cjoKCT/ w2tCtkrtaouTPAuKV6PI1Rpv4oBi7OUiApWWYQMuKJOkhWpctCPC57mVeVACLehJMWfWgRuliP9 /3aG+iULTf5Apy7iXLzOemO1llxcjQ9J9S4pctVzGISctb8ksGzOeBizwwILfs0Ub474I7UUt8x sxsN7fRI7aWWD733/JFo2uDmYfsbxySXpppMxxaKP9foFnbvyg3V62cW7wFeL+de6dH4hQoUcp0 CnQCWCLCgQUn5Cwev5DmD0Q3JHmiLKQ== X-Received: by 2002:a7b:cbc8:0:b0:4a1:d49e:9ce with SMTP id 5b1f17b1804b1-4bb860f6ae9mr423649445e9.2.1795801774996; Fri, 27 Nov 2026 09:49:34 -0800 (PST) Return-Path: Received: from FRSMI25-LASER.home (2a01cb001331aa00a2e4fb7b0d887544.ipv6.abo.wanadoo.fr. [2a01:cb00:1331:aa00:a2e4:fb7b:d88:7544]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab69bf630esm49374624f8f.16.2026.11.27.09.49.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Nov 2026 09:49:34 -0800 (PST) From: Yoann Congal To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 02/37] boost: patch CVE-2023-34399 Date: Fri, 27 Nov 2026 18:48:45 +0100 Message-ID: X-Mailer: git-send-email 2.55.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 27 Nov 2026 17:49:41 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251408 From: Peter Marko Pick patch referencing this CVE. Signed-off-by: Peter Marko Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie (cherry picked from commit ba56fd3e9258e2351c31a402d63ac470d43c8d54) Signed-off-by: Yoann Congal --- .../boost/boost/CVE-2023-34399.patch | 35 +++++++++++++++++++ meta/recipes-support/boost/boost_1.84.0.bb | 1 + 2 files changed, 36 insertions(+) create mode 100644 meta/recipes-support/boost/boost/CVE-2023-34399.patch diff --git a/meta/recipes-support/boost/boost/CVE-2023-34399.patch b/meta/recipes-support/boost/boost/CVE-2023-34399.patch new file mode 100644 index 00000000000..f2dbccd67e9 --- /dev/null +++ b/meta/recipes-support/boost/boost/CVE-2023-34399.patch @@ -0,0 +1,35 @@ +From d772add4873bb2501d67554190c4272294d659f9 Mon Sep 17 00:00:00 2001 +From: Johnathan <39648915+TrebledJ@users.noreply.github.com> +Date: Wed, 19 Aug 2026 16:50:08 +0200 +Subject: [PATCH] Reject a negative class id when loading a pointer (#332) + +A pointer carries the class id of what it points at, and a null pointer +carries -1. On the way back in, only -1 was recognised as the null tag, +and the id then indexed the class table with an upper bound check but no +lower bound one, so an archive carrying any other negative id read that +table at an offset of its own choosing. This is CVE-2023-34399. + +Treat every negative id as the null tag. No archive a released version +ever wrote carries one other than -1, so nothing that used to load stops +loading. + +CVE: CVE-2023-34399 +Upstream-Status: Backport [https://github.com/boostorg/serialization/commit/d772add4873bb2501d67554190c4272294d659f9] +Signed-off-by: Peter Marko +--- + libs/serialization/src/basic_iarchive.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libs/serialization/src/basic_iarchive.cpp b/libs/serialization/src/basic_iarchive.cpp +index 1c6eb2047..b5c63c9ad 100644 +--- a/libs/serialization/src/basic_iarchive.cpp ++++ b/libs/serialization/src/basic_iarchive.cpp +@@ -427,7 +427,7 @@ basic_iarchive_impl::load_pointer( + class_id_type cid; + load(ar, cid); + +- if(BOOST_SERIALIZATION_NULL_POINTER_TAG == cid){ ++ if(/* BOOST_SERIALIZATION_NULL_POINTER_TAG */ cid < 0){ + t = NULL; + return bpis_ptr; + } diff --git a/meta/recipes-support/boost/boost_1.84.0.bb b/meta/recipes-support/boost/boost_1.84.0.bb index 4b580d078be..c66f182384d 100644 --- a/meta/recipes-support/boost/boost_1.84.0.bb +++ b/meta/recipes-support/boost/boost_1.84.0.bb @@ -4,4 +4,5 @@ require boost.inc SRC_URI += "file://boost-math-disable-pch-for-gcc.patch \ file://0001-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch \ file://0001-dont-setup-compiler-flags-m32-m64.patch \ + file://CVE-2023-34399.patch \ " From patchwork Fri Nov 27 17:48:46 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Yoann Congal X-Patchwork-Id: 106138 X-Patchwork-Delegate: yoann.congal@smile.fr Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1530.1795801777288907782 for ; Fri, 27 Nov 2026 09:49:37 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@smile.fr header.s=google2 header.b=YLfbcE3i; spf=pass (domain: smile.fr, ip: 209.85.221.53, mailfrom: yoann.congal@smile.fr) Received: by mail-wr1-f53.google.com with SMTP id ffacd0b85a97d-4a7b8abe209so6526686f8f.0 for ; Fri, 27 Nov 2026 09:49:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile.fr; s=google2; t=1795801775; x=1796406575; darn=lists.openembedded.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=WpVDyfAF8K6k1M6fjeq1CSPMgAmipusF1jqBKzXj8XE=; b=YLfbcE3i9qiwljTZ1tKPurkYkXvGhZrVDRPwC/PGUP/mVQ7v5YBHTJV2lp4+s9IdxE bIZspkum0OzuAEtHi+/kmCiA0LXI0M1qyr9OiTU56IfqZ555DXoy2CPvHIKthNMd52PQ S3J0n6rbDq6dutapL5DNff/2lpn6n4Eu/Ookb74X1n3GFLBNlilII3oq526FLk8FEDOC VjIEBo5swz9N2795LIDhfVEIIFHiSbQKjMEp/RsoSWQVVIS3FIHlRSb0RhtSTNZ+UdV8 NzYX7018yEmaSomHOXWdmdPgE6B+qWnYOSz80SYJhLy9nAMOnECwn/t53k2lQj3JgzG+ 3vhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795801775; x=1796406575; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=WpVDyfAF8K6k1M6fjeq1CSPMgAmipusF1jqBKzXj8XE=; b=njaLv8MEXyVtAWXCEWQJavKVLTEF5UikXg7gWM9Ori2UCft62YmhXTM5BmYouo2hO+ qJkdInScfhaVen/4bSgUNu88NfdrFc16gmvDHP2bq76WNAHJzoSJJGRTuYeUYTsV5f+b 6Wai13PaBnVFjDUGMUk7rnRq+OOPljRa8Z3zAinKFzmhDXp+CsYdoC/po5U5GAy9GtYf E0UQRMuGZuu4VHJc21sHByrakCy5pU8LUruP7eoosp9sJufChNCwuvGzsH6M0wmrblid GrENdggfjkWlCOmhPXku7FJBS7cQmMadfkYJpmFwBw0FxhEOVIu3B6qS+hosFl/Smnwf upbQ== X-Gm-Message-State: APuU4Z8jdrLvwJUzrRp1qS7kQuU1BhvHF/yRmK8co+V30Gn0KOyJeDVv 1Z5AjNvTvykyxSpPF7iJ6JDthXWNd66mcxl6TvRuecJpKvoJ5m7tSaMmKbRCaBuWKpYEpmfI0+8 qPVc97lw= X-Gm-Gg: AZFdTZeYt7U/jpsEAGFxbabAVCkoXEce4k6a9ibDSefxNs9/FD7XjMSkWbFGdaKEM/8 pgiU/8Ew29hRqsU5swE39JUa1EpDYXrqoIBgHsqrTvupJzOTi9yRIXrQCpfUrpoYJ6UEFkRK6xt ArlXsQmms7g0hgGo3KO8zP/29iSpOYoeSU/IdduoEquf7fsZuJ3r1+c44gtYDBhPHwBi0aJS/Sp hk8Ee164EHQracFkmULuz8VDalWPMhCVR4HWOl6jclna2+ueyLX55ULr4sEQdDHyLTiTa/RulK2 uP5JjFzZrgh8X7NfMwflr8FK3fg+vvoWh7zpgcKf5yv2YAvcW7RQ9fnzfpKx30Fmk7W+nIT0Tv/ D9UbueMcXpj2VMUoHbpmuUZ9lyies6jQ5//zbZZ+tm8vqi6hwPDrpHAKpUDhLRbYi9Hrk2x/YeW CHRF/dn1MFzuY5AP6C4AUjr7yS2Uxw1s8J3tcZKI5bqiOPbKcdXl4fxp3ZtPmAXAvVU73r3PV2e nezzhp51Boydkbb36bDJKADw5DB38vV1dIFKy8fXutnNhwLxAkDgSu8TwV6vznK+KbOpj2QHkCz K+WnquZtbBOv2w9M1Ovyr1f6LjWOO3SA2OghlWOKlCwiJ6c8ny+erjY/ZcgZNiG2gp6f9L4whXX WfrWD+N0YfUp2D2iYlV0RKRG0gsJ2 X-Received: by 2002:a05:6000:4908:b0:4bc:38c7:aad6 with SMTP id ffacd0b85a97d-4be43dbd129mr7806883f8f.36.1795801775453; Fri, 27 Nov 2026 09:49:35 -0800 (PST) Return-Path: Received: from FRSMI25-LASER.home (2a01cb001331aa00a2e4fb7b0d887544.ipv6.abo.wanadoo.fr. [2a01:cb00:1331:aa00:a2e4:fb7b:d88:7544]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab69bf630esm49374624f8f.16.2026.11.27.09.49.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Nov 2026 09:49:35 -0800 (PST) From: Yoann Congal To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 03/37] glibc: fix CVE-2026-84243 Date: Fri, 27 Nov 2026 18:48:46 +0100 Message-ID: <8cbce6eaece54ab617cde5663a929d33dd9e203f.1795798718.git.yoann.congal@smile.fr> X-Mailer: git-send-email 2.55.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 27 Nov 2026 17:49:41 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251409 From: João Marcos Costa (Schneider Electric) This vulnerability, marked as High [1], was fixed upstream [2] since 2.45. Backport the fix to glibc v2.39. The only changes not included in the backport are the ones in NEWS file. [1] https://nvd.nist.gov/vuln/detail/cve-2026-84243 [2] https://sourceware.org/bugzilla/show_bug.cgi?id=17142 Signed-off-by: João Marcos Costa (Schneider Electric) Signed-off-by: Bastien Jauny Signed-off-by: Yoann Congal --- .../glibc/glibc/CVE-2026-84243.patch | 193 ++++++++++++++++++ meta/recipes-core/glibc/glibc_2.39.bb | 1 + 2 files changed, 194 insertions(+) create mode 100644 meta/recipes-core/glibc/glibc/CVE-2026-84243.patch diff --git a/meta/recipes-core/glibc/glibc/CVE-2026-84243.patch b/meta/recipes-core/glibc/glibc/CVE-2026-84243.patch new file mode 100644 index 00000000000..640a166c08d --- /dev/null +++ b/meta/recipes-core/glibc/glibc/CVE-2026-84243.patch @@ -0,0 +1,193 @@ +From 02449c3a9751f801d49a41952291a6c09a24de15 Mon Sep 17 00:00:00 2001 +From: Avinal Kumar +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 +Signed-off-by: Avinal Kumar +Reviewed-by: Adhemerval Zanella + +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) +--- + 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 ++ . */ ++ ++#include ++#include ++#include ++#include ++#include ++ ++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.". ++ 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 diff --git a/meta/recipes-core/glibc/glibc_2.39.bb b/meta/recipes-core/glibc/glibc_2.39.bb index 1598249b7b3..d306e7b0a7c 100644 --- a/meta/recipes-core/glibc/glibc_2.39.bb +++ b/meta/recipes-core/glibc/glibc_2.39.bb @@ -78,6 +78,7 @@ SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \ file://0047-CVE-2026-89092.patch \ file://0048-CVE-2026-97399.patch \ file://0049-CVE-2026-86805-CVE-2026-95818.patch \ + file://CVE-2026-84243.patch \ " S = "${WORKDIR}/git" B = "${WORKDIR}/build-${TARGET_SYS}" From patchwork Fri Nov 27 17:48:47 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Yoann Congal X-Patchwork-Id: 106139 X-Patchwork-Delegate: yoann.congal@smile.fr Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.1453.1795801777595138642 for ; Fri, 27 Nov 2026 09:49:37 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@smile.fr header.s=google2 header.b=OUcWyz58; spf=pass (domain: smile.fr, ip: 209.85.128.51, mailfrom: yoann.congal@smile.fr) Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-4bb6057b333so41172995e9.3 for ; Fri, 27 Nov 2026 09:49:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile.fr; s=google2; t=1795801776; x=1796406576; darn=lists.openembedded.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=jEZciIYleNtI1A9J/PQcUzczSZfINYVuoSwStHsLTX4=; b=OUcWyz58fZWFmBJM1PBtizSX3RmNjZz646EluYaVE8OjWTDNSbA/oMpToeOOrhMGa9 p2sRpb+b5zksRaJrQTxIBJnmCLWyBDn/QtoqTRa4e9d6G21cKbJwAP6VVhxAiCFiSiKa Fo1jtFor5cGrUCqzgzUSrLTfrMWBhFGFV0HFg+dtcbUwtxV8ljz1OvNTUlmH9OqR/fTa MJ6NcKedo4dRsoVwbV7ChOoYnDv9ArsQWZstaTWzh2Rr/zYzd6JLJNZo0Ioszr1r2+Bm 9VmLUTvj3QZTBTA9N5EpS02PE4VPSZ9V6htUhDtzH9VrnNuXQTqWmu1CAX2/gC7ad4Xs TW+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795801776; x=1796406576; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=jEZciIYleNtI1A9J/PQcUzczSZfINYVuoSwStHsLTX4=; b=ugw1MPctKZfR+hOovN5Zf3lGa3GSuJU3mEORYG5+sGi0v7+0Wn+up7LAe5S1T+mSrL C5UhhUbe68XLEbJIp3WEDdNie0aZl10Q9qIkGlymRCPABlCQIRoQH4y7KwqxNiWK/tqs q73VRkl+m7U3cteOL7Wkh6j9G83+83sFEmbtdInVb9m+b6o8w9ALjn26W7BWP0caJnhs 5iJIP8lN4VEQgjQdyGnxYKt3yUD9/O2miNetzwIfaqAdrC/hULNK5PYAJi3T1PEyEcP+ hpvXkP6tnCZ9yqW/7bALYmfJe5V1KUtua9ixqmueCeE34m+3fORMsUL+/M/7kr0PlezC 8ZAQ== X-Gm-Message-State: APuU4Z+FzJT1bsMrrylKEK3+k8lDSbO1aHMlroQSBaDfH6hF0kSV/Qld tXb2QJfcupRlv4hdMkWdD53AjqbTP1WttNWHSkjNPW2XtAnWBX+eUPC3I73KAb0qhZP6hgiAlV0 5mrZ7aRM= X-Gm-Gg: AZFdTZePKQMD5I+ogDiJfE3mC/iXI4IMC+xzgDVSoZsYv3ObCuPellKQ3/gIb3qh/D0 qZby/fiCyh4RL4Bv4M2iHqrj+VhcCNTB97av+AH5GZkgvq4shB1ySXxygcfj6mreorrTuPuw6uZ Y/c1d1Ewo3Y4k+kXzTo00odwxSqdsi+4ECcvPD+r3wzVaXfmNGHT3nY5kbzHrv0/1F7NueZLVnY zL/rTLcECK5d52gDt0CzpP8gMxUXwNl/YYXPPRyW8RAnmvFchE9S83t3ujnhHFTl0KGYo/sP+82 zuoS3LEJIiSY1sm4WGxNBmCEkomPiSrJtaE4rLwgyJ8eCRlE0tMYjvyEk97SNlqll8jXwxAPTIu IREY3MJ6bXMkix7WC4vb3I1VnSIw3d1/9Km2XLUc9xpiQZ8m/I9TO1TkeO0SlVOLpi4cmjfD5Ma B3BG1Vxm9ueCEqm5ToMBnWvv3KTii/HCrc59iAs4ESTDCV/KfuyIFW7AUSwq2Axd2bd0dDGRpWU vLJOnH/TgUIojpJpz7ZGvQe64nu5wFcK8wg0fuDMXFgpi4NEL2xwUTgo5pHvBFZv82GO2a70a05 SdtWFPLIKOgOiaH3vroVtoFQhDbkWuQ5qqasyClMMak91WRu7PoAao/yQ6rIkfeSYtRYeC32qXp 57pgMu+szcNcNi59OY+IcFF9TUsM4 X-Received: by 2002:a05:600c:1d0a:b0:4a2:59:f568 with SMTP id 5b1f17b1804b1-4bb8880ef6amr546314765e9.14.1795801775817; Fri, 27 Nov 2026 09:49:35 -0800 (PST) Return-Path: Received: from FRSMI25-LASER.home (2a01cb001331aa00a2e4fb7b0d887544.ipv6.abo.wanadoo.fr. [2a01:cb00:1331:aa00:a2e4:fb7b:d88:7544]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab69bf630esm49374624f8f.16.2026.11.27.09.49.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Nov 2026 09:49:35 -0800 (PST) From: Yoann Congal To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 04/37] sqlite3: fix CVE-2026-119373 Date: Fri, 27 Nov 2026 18:48:47 +0100 Message-ID: <107ffa6bb98cbb394bb881f60ebafdffee797922.1795798718.git.yoann.congal@smile.fr> X-Mailer: git-send-email 2.55.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 27 Nov 2026 17:49:41 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251410 From: João Marcos Costa (Schneider Electric) This vulnerability, marked as High [1], was fixed upstream [2] since 3.54.0. Backport the fix to sqlite v3.45.3. [1] https://nvd.nist.gov/vuln/detail/cve-2026-119373 [2] https://github.com/sqlite/sqlite/commit/e1c9934f9f11a499029abb020ea715a08970da80 Signed-off-by: João Marcos Costa (Schneider Electric) Signed-off-by: Bastien Jauny Signed-off-by: Yoann Congal --- .../sqlite/sqlite3/CVE-2026-119373.patch | 48 +++++++++++++++++++ meta/recipes-support/sqlite/sqlite3_3.45.3.bb | 3 +- 2 files changed, 50 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119373.patch diff --git a/meta/recipes-support/sqlite/sqlite3/CVE-2026-119373.patch b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119373.patch new file mode 100644 index 00000000000..ff89746e6c2 --- /dev/null +++ b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119373.patch @@ -0,0 +1,48 @@ +From ab37658e91b4a19923eb930a9e2ee62b561a4ec6 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Jo=C3=A3o=20Marcos=20Costa?= +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 +--- + 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 || iRowid1iOut ); +- fts5BufferSafeAppendVarint(&out, iRowid1 - iOut); ++ fts5BufferSafeAppendVarint(&out, (u64)iRowid1 - (u64)iOut); + iOut = iRowid1; + fts5NextRowid(p1, &i1, &iRowid1); + }else{ + assert( iOut==0 || iRowid2>iOut ); +- fts5BufferSafeAppendVarint(&out, iRowid2 - iOut); ++ fts5BufferSafeAppendVarint(&out, (u64)iRowid2 - (u64)iOut); + iOut = iRowid2; + if( i1>=0 && iRowid1==iRowid2 ){ + fts5NextRowid(p1, &i1, &iRowid1); diff --git a/meta/recipes-support/sqlite/sqlite3_3.45.3.bb b/meta/recipes-support/sqlite/sqlite3_3.45.3.bb index 975f3bdab84..e7c5bcdac4e 100644 --- a/meta/recipes-support/sqlite/sqlite3_3.45.3.bb +++ b/meta/recipes-support/sqlite/sqlite3_3.45.3.bb @@ -10,6 +10,7 @@ SRC_URI = "http://www.sqlite.org/2024/sqlite-autoconf-${SQLITE_PV}.tar.gz \ file://CVE-2025-7709.patch \ file://CVE-2025-70873.patch \ file://CVE-2026-11822_CVE-2026-11824.patch \ - " + file://CVE-2026-119373.patch \ +" SRC_URI[sha256sum] = "b2809ca53124c19c60f42bf627736eae011afdcc205bb48270a5ee9a38191531" From patchwork Fri Nov 27 17:48:48 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoann Congal X-Patchwork-Id: 106136 X-Patchwork-Delegate: yoann.congal@smile.fr Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.1454.1795801777981853658 for ; Fri, 27 Nov 2026 09:49:38 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@smile.fr header.s=google2 header.b=jS4gDIFU; spf=pass (domain: smile.fr, ip: 209.85.221.44, mailfrom: yoann.congal@smile.fr) Received: by mail-wr1-f44.google.com with SMTP id ffacd0b85a97d-492f0a1b685so5990811f8f.0 for ; Fri, 27 Nov 2026 09:49:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile.fr; s=google2; t=1795801776; x=1796406576; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=Qze8TGD39EwA/ZSc30P7g6YCamVIHrEvXqJ+djnkIkc=; b=jS4gDIFUVwTl5W77QiYeo7R4RL6W+zcSySwwgOkZV8rKAnccagYDNoEZws5Icd4XTf d1/nv4RF6phwru9wfvdUoDnuAMaOrxJVbKYmGe5OBu0wyC8QCZsW6jYVTLNdhB3fQZvc v2YLtpXBVhk/4i884oMseNFyeSChPrZQETrs90shWatH4V/zp2CYtI8uBQ2jzQPLkgzi ErWpfWCnaS0FpblOCYC6Cosj2cKvVIq1fYCaK0ZJOXwWqnX1PyeogReul+IR9QkNhpMX Mf4gCmymbH/TgS5QPkTL1Za/VQYKmti3oGQFHbSJCpkUlQ/sTDkQvzIneEZhIJ7PXXeU 3dCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795801776; x=1796406576; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=Qze8TGD39EwA/ZSc30P7g6YCamVIHrEvXqJ+djnkIkc=; b=fnOi5NlFP2XOH0i/xk9jt1Xr5NFk0eQtO01Fe38gE6seXfQwknKCtHOC7YmxpvoIcg KrQX5C+W0yXcY6utNQKacTnSc7usrDaIWvLjBgUpfAT/9SFRBW7IR/uD5VFG8dmSEW2V vLDBYv3tQYA2bzekGOhp3SsjdUOD3cBtixvezHeAaq+/YtIRUAJMIf9PRUmRR+/Br+og y0MVwPK2aqCRX2wbGBxg6ET8DEhxDdSWnHbVUcEUvvYWhAX8yUoEdya5OKgu1K/S8EGj hKwWJQka3WB0rJ9p1XsrM37UiwWKbZGg/FVC+q1rRt8J61l9k1S6A5gftdgaVzjDOTxZ qUog== X-Gm-Message-State: APuU4Z+TixS6tVTn+MCK78IAilNDfW5FQK0km3kK3akP1ffRdDTpMZeV 6t0pd91GRzkk2YtmFE5oQmVjwQoQbIxNa/c4oHPFrfDV0HrBDIw/ux0AIlqZo4WyES1hOorBXv/ We/2HeoA= X-Gm-Gg: AZFdTZe7g99HTWb+1guQdHMo9oYJ5258cIfVJGE68h5zqGmY+Z12noCN32Hu3RK/5ZL hZZDnXcSBOUvWqs4rRyNZSWE+cJg8w5o+JRcqGEqcYKeD8zfGADba1oqStRMOf4UxVNy34S9eu9 FT73x8us0Ax66pgz0fHtS/QEl7L8yG3xGReGrGSBrKMdtMEfdQ4MVeeysf4Xl5wsGUUrNQieiv5 jHHINAlPRsz3nOgsd/mziv71/nHISbg5ILakZ8u3ZZG6Kem6Y8KsmG9LnwrpH4bvsbZV+zoeHaD QvcUlU9TId1PQXZPyiqX4SESOqpszfXqH69l9+SsAd7BMVv087wJOu0gOCkVl6MxIlep8xCUxqL AoKfkgdGebvAS/xPGP96Fug0M63KfZWuSVyJNNBV/QACCFbrZbA/Ql+C3rh56kAjMIM6KCUALDz t9oD+dSat6weWoNk2PT4VJaLuCwHzjOGYS7wcKb0CLzv7qQaa8RGcsMJkcSiCPsWszayiJ50T+S aW1/T1E3kndmVfisEuvDfcp/xZes+BIDJE4CX+UOogBaPFRqf5s2pV//82zLIekdT5jqiYJpzF0 4sFxp1WJ1ZWdqUKzGlGHYJau/ggeZPYnqhOKZULXX7T4XQ5qwbF+A7zSpHePdpbfukRPEepyD9r aOL+sJlzZeU8cddgMkxlU0FlLFF3FPg== X-Received: by 2002:a05:6000:2c05:b0:4a9:df02:6040 with SMTP id ffacd0b85a97d-4abaac57bf5mr47230783f8f.3.1795801776191; Fri, 27 Nov 2026 09:49:36 -0800 (PST) Return-Path: Received: from FRSMI25-LASER.home (2a01cb001331aa00a2e4fb7b0d887544.ipv6.abo.wanadoo.fr. [2a01:cb00:1331:aa00:a2e4:fb7b:d88:7544]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab69bf630esm49374624f8f.16.2026.11.27.09.49.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Nov 2026 09:49:35 -0800 (PST) From: Yoann Congal To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 05/37] sqlite3: fix CVE-2026-119374 Date: Fri, 27 Nov 2026 18:48:48 +0100 Message-ID: X-Mailer: git-send-email 2.55.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 27 Nov 2026 17:49:41 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251411 From: Arpit Patel This patch applies the upstream fix [1], which addresses an FTS5 secure-delete buffer overrun when handling a corrupted database. The GitHub mirror commit [1] corresponds to the SQLite Fossil check-in shown in [2]. [1] https://github.com/sqlite/sqlite/commit/d9de6eedbe918c074c7556400fa21df5960704d9 [2] https://sqlite.org/src/info/9cd4f9e920 Reference: https://nvd.nist.gov/vuln/detail/CVE-2026-119374 Signed-off-by: Arpit Patel Signed-off-by: Yoann Congal --- .../sqlite/sqlite3/CVE-2026-119374.patch | 78 +++++++++++++++++++ meta/recipes-support/sqlite/sqlite3_3.45.3.bb | 1 + 2 files changed, 79 insertions(+) create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119374.patch diff --git a/meta/recipes-support/sqlite/sqlite3/CVE-2026-119374.patch b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119374.patch new file mode 100644 index 00000000000..cf4dd9cb322 --- /dev/null +++ b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119374.patch @@ -0,0 +1,78 @@ +From 6875e24f0c0612feccb97ab4c3f92c8444833373 Mon Sep 17 00:00:00 2001 +From: dan +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 +--- + 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; iIdxnPg ){ ++ p->rc = FTS5_CORRUPT; ++ break; ++ } + if( iKeyIn!=iDelKeyOff ){ + int iKeyOut = (iKeyIn - (iKeyIn>iOff ? nShift : 0)); +- nPg += sqlite3Fts5PutVarint(&aPg[nPg], iKeyOut - iPrevKeyOut); ++ nNewPg += sqlite3Fts5PutVarint(&aPg[nNewPg], iKeyOut - iPrevKeyOut); + iPrevKeyOut = iKeyOut; + } + } + +- if( iPgIdx==nPg && nIdx>0 && pSeg->iLeafPgno!=1 ){ ++ if( p->rc==SQLITE_OK && iPgIdx==nNewPg && nIdx>0 && pSeg->iLeafPgno!=1 ){ + fts5SecureDeleteIdxEntry(p, iSegid, pSeg->iLeafPgno); + } + +- assert_nc( nPg>4 || fts5GetU16(aPg)==0 ); +- fts5DataWrite(p, FTS5_SEGMENT_ROWID(iSegid,pSeg->iLeafPgno), aPg, nPg); ++ assert_nc( nNewPg>4 || fts5GetU16(aPg)==0 ); ++ fts5DataWrite(p, FTS5_SEGMENT_ROWID(iSegid,pSeg->iLeafPgno), aPg, nNewPg); + } + sqlite3_free(aIdx); + } +-- +2.35.6 + diff --git a/meta/recipes-support/sqlite/sqlite3_3.45.3.bb b/meta/recipes-support/sqlite/sqlite3_3.45.3.bb index e7c5bcdac4e..c1e2006a6fe 100644 --- a/meta/recipes-support/sqlite/sqlite3_3.45.3.bb +++ b/meta/recipes-support/sqlite/sqlite3_3.45.3.bb @@ -11,6 +11,7 @@ SRC_URI = "http://www.sqlite.org/2024/sqlite-autoconf-${SQLITE_PV}.tar.gz \ file://CVE-2025-70873.patch \ file://CVE-2026-11822_CVE-2026-11824.patch \ file://CVE-2026-119373.patch \ + file://CVE-2026-119374.patch \ " SRC_URI[sha256sum] = "b2809ca53124c19c60f42bf627736eae011afdcc205bb48270a5ee9a38191531" From patchwork Fri Nov 27 17:48:49 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Yoann Congal X-Patchwork-Id: 106140 X-Patchwork-Delegate: yoann.congal@smile.fr Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.1455.1795801778323227647 for ; Fri, 27 Nov 2026 09:49:38 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@smile.fr header.s=google2 header.b=ksbZEuEY; spf=pass (domain: smile.fr, ip: 209.85.221.42, mailfrom: yoann.congal@smile.fr) Received: by mail-wr1-f42.google.com with SMTP id ffacd0b85a97d-4acb44dcd7bso7510399f8f.0 for ; Fri, 27 Nov 2026 09:49:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile.fr; s=google2; t=1795801776; x=1796406576; darn=lists.openembedded.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=aurjlxDFALYfR99B4VqnwQuYJcSUaMcgF6JT42IDlc0=; b=ksbZEuEY+8F+lsteCH6bDoWQezTaW7ARMqqNivSkRT2meuugkgKKc2FDh3wfRGgLyQ z2TqJXWx7PO94Rn6gL3mO18DPXU0+5HEMis5H616kcodorPTS9ElzDLEdWo5ZTtG8niE yRGPOYnVoym/+CKkTranzKoRyTFDu1l9oT5MYfnmWALjiz3t2HP7EntS04EbbqwOwUKE U03dXZ/FftnPt7iNQXgvs4tIgqdtq+Rcwxh9nUh9m5zHXYGX1w3bRTgd9GuJrWr/AaGE 13ovqIX2tGuAXWuJZSo7QeWUxyDkvNJIoT09gXLmb1W8XHp0pN9Exi3FJrRXFzorRvDU 4UJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795801776; x=1796406576; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=aurjlxDFALYfR99B4VqnwQuYJcSUaMcgF6JT42IDlc0=; b=isaCJpr6LOF3CjXRgfbOScMise5WtimZqlNTBQ/gfdpy5jwE+RSU9egEy+3Qz4j+f6 ko1KyF1TvmKEuZ/iuXS74xo6eJlsZIObhAplNWkgeLi3ZFOXQOl2myQ/TvhKC8JBy8Y7 1OPSaOoRCw5wQukki5lQ32fBeY5TZ7PX5MXtIhXeSk86g6snBWGSzutnawOHkFMm/r5Y kXDRQAfjjcyEJjqX+yjgSjaLWpo4J2R/Kyvy+vQZOLEOMfIN2m9ZwqlcRpSw6uDO/+qM Xu1tZ1LdD0CgYD0jXPwHJ7V7YD6DL+JezuClj4RBno3usIDS991SbsqeDOJei2N/bxsE TaBw== X-Gm-Message-State: APuU4Z/HGoeRPcysk79aA2s/Wa9QG3Lsev+X6/9dcTlCs7Hf5+KbTE1f c0fTV31ShuqvJcZwvOnCRRphrRTJqyBACX9Y4wr8kx1sMOD5DBRjbWMro+GvWYCsoyPxqZ4VzCO I4WkCg34= X-Gm-Gg: AZFdTZc+oYlA45UoIlRLFH3mRRPwBN761m8MRLN/fstR6KH0LXXKBcpAfSmkqHsw2KZ bwcPQa6yu8x25mz6FvLngR7lOHgmQroTQkShp8AHUH1jRkndP0EWs82+lpgB+jUevmxpKCl3NF9 TnrPw0g703l33vPc9pSQiRN/qOwEQFnmplvtyN3fwktkjGxKZlYjw7gawNRcrsMmoT6Ny0Gxfkv IGoPUXFvhOVLy0Ry9uKHPoXf1qnI45df2Euyqc8NEYX2TuV6SjlIQ9mMML7StxtrJSg8vPEpay6 fmZEmVhcC/XadCBFcvdfnLAjNw8wqjyskZtYWIrjQxoxu5Ogp8wZAb2V0YanvjbWg8WDUaNnfS0 ypslOy8J+7L0h7JoAR0Amm7owPOVT5zPuMZqw3v1bUlKu7Ecqm2FbNByir7SCowuso4z1AOYWsF 37u1M5UrUxIQJfLYWUvscZsfpjY0A40ZuRXFNz5wU00ZWpu+S90+2SwH/5n0aFAtSV3BKXrOz12 pYwBubhNHCxrSo2j7dOXQgbCKqU41p/MCPPWbJ4Wcd33+P8BR23LHnplWQOs7aCFXdttp6MRl0a IVum2WfQMXjwzSgMFLypiIxfzcGJsnvagbQdgL3al93mhGIxTxRRFY3CHV4ysezcyWLM4AOePvP tr5T3h8hSgsCLnC8oBrkL2wac/J2M X-Received: by 2002:adf:e011:0:10b0:48d:f99d:a0d2 with SMTP id ffacd0b85a97d-4abb2168f53mr36548620f8f.15.1795801776542; Fri, 27 Nov 2026 09:49:36 -0800 (PST) Return-Path: Received: from FRSMI25-LASER.home (2a01cb001331aa00a2e4fb7b0d887544.ipv6.abo.wanadoo.fr. [2a01:cb00:1331:aa00:a2e4:fb7b:d88:7544]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab69bf630esm49374624f8f.16.2026.11.27.09.49.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Nov 2026 09:49:36 -0800 (PST) From: Yoann Congal To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 06/37] sqlite3: fix CVE-2026-119379 Date: Fri, 27 Nov 2026 18:48:49 +0100 Message-ID: <7c6abe1b033d6e1239a2761b8d1dbf757cca6e39.1795798718.git.yoann.congal@smile.fr> X-Mailer: git-send-email 2.55.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 27 Nov 2026 17:49:42 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251412 From: João Marcos Costa (Schneider Electric) This vulnerability, marked as High [1], was fixed upstream [2] since 3.54.0. Backport the fix to sqlite v3.45.3. [1] https://nvd.nist.gov/vuln/detail/cve-2026-119379 [2] https://github.com/sqlite/sqlite/commit/64459c87cc702d600704fb77ee40ca1782398a52 Signed-off-by: João Marcos Costa (Schneider Electric) Signed-off-by: Bastien Jauny Signed-off-by: Yoann Congal --- .../sqlite/sqlite3/CVE-2026-119379.patch | 70 +++++++++++++++++++ meta/recipes-support/sqlite/sqlite3_3.45.3.bb | 1 + 2 files changed, 71 insertions(+) create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119379.patch diff --git a/meta/recipes-support/sqlite/sqlite3/CVE-2026-119379.patch b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119379.patch new file mode 100644 index 00000000000..4ecf5386902 --- /dev/null +++ b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119379.patch @@ -0,0 +1,70 @@ +From 7ced15a861a05e25f5a8ad29d0dca95806af3a9e Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Jo=C3=A3o=20Marcos=20Costa?= +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 +--- + sqlite3.c | 9 ++++----- + 1 file changed, 4 insertions(+), 5 deletions(-) + +diff --git a/sqlite3.c b/sqlite3.c +index 3ba2e27..9f4fe9d 100644 +--- a/sqlite3.c ++++ b/sqlite3.c +@@ -228393,9 +228393,9 @@ static int sessionChangesetApply( + int schemaMismatch = 0; + int rc = SQLITE_OK; /* Return code */ + const char *zTab = 0; /* Name of current table */ +- int nTab = 0; /* Result of sqlite3Strlen30(zTab) */ + SessionApplyCtx sApply; /* changeset_apply() context object */ + int bPatchset; ++ int bNew = 0; /* True for first entry of new table */ + + assert( xConflict!=0 ); + +@@ -228411,15 +228411,16 @@ static int sessionChangesetApply( + if( rc==SQLITE_OK ){ + rc = sqlite3_exec(db, "PRAGMA defer_foreign_keys = 1", 0, 0, 0); + } +- while( rc==SQLITE_OK && SQLITE_ROW==sqlite3changeset_next(pIter) ){ ++ while( rc==SQLITE_OK && SQLITE_ROW==sessionChangesetNext(pIter, 0, 0,&bNew) ){ + int nCol; + int op; + const char *zNew; + + sqlite3changeset_op(pIter, &zNew, &nCol, &op, 0); + +- if( zTab==0 || sqlite3_strnicmp(zNew, zTab, nTab+1) ){ ++ if( bNew ){ + u8 *abPK; ++ bNew = 0; + + rc = sessionRetryConstraints( + db, pIter->bPatchset, zTab, &sApply, xConflict, pCtx +@@ -228454,7 +228455,6 @@ static int sessionChangesetApply( + rc = SQLITE_NOMEM; + break; + } +- nTab = (int)strlen(zTab); + sApply.azCol = (const char **)zTab; + }else{ + int nMinCol = 0; +@@ -228506,7 +228506,6 @@ static int sessionChangesetApply( + sApply.bStat1 = 0; + } + } +- nTab = sqlite3Strlen30(zTab); + } + } + diff --git a/meta/recipes-support/sqlite/sqlite3_3.45.3.bb b/meta/recipes-support/sqlite/sqlite3_3.45.3.bb index c1e2006a6fe..926f8223fd0 100644 --- a/meta/recipes-support/sqlite/sqlite3_3.45.3.bb +++ b/meta/recipes-support/sqlite/sqlite3_3.45.3.bb @@ -12,6 +12,7 @@ SRC_URI = "http://www.sqlite.org/2024/sqlite-autoconf-${SQLITE_PV}.tar.gz \ file://CVE-2026-11822_CVE-2026-11824.patch \ file://CVE-2026-119373.patch \ file://CVE-2026-119374.patch \ + file://CVE-2026-119379.patch \ " SRC_URI[sha256sum] = "b2809ca53124c19c60f42bf627736eae011afdcc205bb48270a5ee9a38191531" From patchwork Fri Nov 27 17:48:50 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoann Congal X-Patchwork-Id: 106141 X-Patchwork-Delegate: yoann.congal@smile.fr Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.1456.1795801778987880699 for ; Fri, 27 Nov 2026 09:49:39 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@smile.fr header.s=google2 header.b=MtlmMiit; spf=pass (domain: smile.fr, ip: 209.85.221.44, mailfrom: yoann.congal@smile.fr) Received: by mail-wr1-f44.google.com with SMTP id ffacd0b85a97d-4a32576da88so4855070f8f.3 for ; Fri, 27 Nov 2026 09:49:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile.fr; s=google2; t=1795801777; x=1796406577; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=vxIToHsxGfj9Y5r8Ok6vi54SqL+tDnIZtx2f0+UeqfA=; b=MtlmMiiteNlJz+0aOhXXRlgTNPo/kKdNoWYWIUVRho6Be6alCkqoSbZEYErhSFgTuX iZFDmj8i6DQL7UjzqEBZfgZjbWq+C3M6uHTmnD4mzJZz95M6gbCR8REkV8g3mwIwzDhF 62DXKavkghXwlBkcdGUd9V8haNM3AENXBg42/lgoai/G3HUrQZ8gHk3Wd7NHS/Xb6iDc PM+yYmwJ3b6/dEx4AZRVb2ngRw5T9AllJiX/XN3/gfFLAJhb4XQB6kwilKI1irUa9um2 lzedEfZ7dEilZlUUPqkyRP55eqKq9kXwqgQe+fegpRp6EUzSIqogJqRYVFRnyD8ulpva u9KA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795801777; x=1796406577; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=vxIToHsxGfj9Y5r8Ok6vi54SqL+tDnIZtx2f0+UeqfA=; b=hsg7TRjDyfmGytr+pZ7SYDnR3pnlLEExTPddaYHD/D44i5ojgbT3pH2EplGHXHd8O2 SMlXFvjqbE+LS+Auqx1e/+Kr49rdVa40aN5w12gz9XyE3bqty3RADtTsOB5ep/9Goefd CR7YoXJ4DKMuVVcNoHqyPKfBZYaCPw1yLSaDyPuF5ZtAdJCkULXdtI9jWLO7CazZIhnR 5q8hrRRT8ng3YKbCcMYpOZVo5Ym+kjXKzbPL8KqnqISDT4COe3c/i4cUN0r/v5a4w5tK xn/3B4i8RA80gQ8IdHEna2e4I46jZRIcjmCRAWpSbFUCnPYK4DKp1rYPfxAOejf173x1 j7cQ== X-Gm-Message-State: APuU4Z9A4kHIraoSoTDDvP5OeiMB7IpetsSGmJNkFnf3hws7HZYINus8 cB7i5JHm2PW9gx9qxnv/OM2vzfLNBQgAPt0+d+08wRRNrZBg4nebt3ION2HD8AnxaWNkuAFib9C TVhWyXSk= X-Gm-Gg: AZFdTZdib3h2GW5j/OkzMdJEoG6WNiML2+bi7tQVo2aJVcHIjwnW3yGz2KVxkKYHoow dgJfW8z37wC1L+mcFtg/LSNDmVO4N5km0RhW/0u3ImgbJWu3kzjB83MYEQo2L2UhMjyF/UAU5N5 dN0aJdTnWCOAcgeUlNx8kWQQv7L4eSF6lOATp+LlXtKiNQOEqsWvIMl8mtnDuGBkg4PqSYRI/eh zBDCiOP3WMtdCHidutwZ+fM0OBhY86t7RaFPusuEKsfemlBs65huICJ0KQCBLiW8jwBnJRnZMD2 Zp3TT4efjzJ+Pw2SCd7xN1s0humVXCwEcdfmva0oQSlIIB2TziN2I3bQwZ1dd7O1CqzaQXpnbs2 13dSmk1C66qnljPXjtBljUQ8/9sXdcQ1yoxl2jFAD02gOem3v5mEz0a6iwJVDUUhzoAiQ3jllH9 8xrkhuvfBI5yyBj41S6j6cYxFp9ACRUeFAGhLQaSpSISYSWiH9ULjTuxqoCla4l8nf/ER05pcqn Naz3lUzsf7LLF1wvzZPvmsmSiRIpaSD/pMmerZUFehayi1+hhfgYjn22jVe6SBHNrefPiWoMvqq 0P+hNztCXba7Y1XAHJ3Kst6pAWN4F2i48oakADNkqz2InrXeeYxBZuHgd9oFo1JFNUcBbSSIGxt mH/bapewZ3f6SbqSe0nuwUkeaOoX2xdcWyPb9Gupky81Df70HUg== X-Received: by 2002:a5d:5d82:0:b0:4ac:7595:6f68 with SMTP id ffacd0b85a97d-4ac75957253mr43342518f8f.36.1795801777087; Fri, 27 Nov 2026 09:49:37 -0800 (PST) Return-Path: Received: from FRSMI25-LASER.home (2a01cb001331aa00a2e4fb7b0d887544.ipv6.abo.wanadoo.fr. [2a01:cb00:1331:aa00:a2e4:fb7b:d88:7544]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab69bf630esm49374624f8f.16.2026.11.27.09.49.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Nov 2026 09:49:36 -0800 (PST) From: Yoann Congal To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 07/37] sqlite3: Fix CVE-2026-119377 Date: Fri, 27 Nov 2026 18:48:50 +0100 Message-ID: X-Mailer: git-send-email 2.55.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 27 Nov 2026 17:49:42 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251413 From: Arpit Patel This patch applies the upstream fix series [1], [3], [5], and [7] for the authorizer bypass. Commits [1] and [3] are dependent commits. Commit [5] adds authorizer checks for RIGHT JOIN USING terms, and commit [7] corrects the loop so every term is checked. The GitHub mirror commits correspond to the SQLite Fossil check-ins shown in [2], [4], [6], and [8], respectively. [1] https://github.com/sqlite/sqlite/commit/c70fbd39f9c130bbe1cc45269c3b490dfdf7f259 [2] https://sqlite.org/src/info/625f78a630bb [3] https://github.com/sqlite/sqlite/commit/ddea119f825bf07f145c55f623022286bc644664 [4] https://sqlite.org/src/info/4ef88a36f9d9 [5] https://github.com/sqlite/sqlite/commit/7ff247c5b9ead3ad8a69c26d3fd264878e127237 [6] https://sqlite.org/src/info/bbd69ce27462 [7] https://github.com/sqlite/sqlite/commit/5694c3bb2a6a40770ecd2f65910eea756734dfd8 [8] https://sqlite.org/src/info/2cb228776836 Reference: https://nvd.nist.gov/vuln/detail/CVE-2026-119377 Signed-off-by: Arpit Patel Signed-off-by: Bastien Jauny Signed-off-by: Yoann Congal --- .../CVE-2026-119377-dependent_p1.patch | 86 +++++++++++++++++++ .../CVE-2026-119377-dependent_p2.patch | 59 +++++++++++++ .../sqlite/sqlite3/CVE-2026-119377_p1.patch | 52 +++++++++++ .../sqlite/sqlite3/CVE-2026-119377_p2.patch | 51 +++++++++++ meta/recipes-support/sqlite/sqlite3_3.45.3.bb | 6 +- 5 files changed, 253 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119377-dependent_p1.patch create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119377-dependent_p2.patch create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119377_p1.patch create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119377_p2.patch diff --git a/meta/recipes-support/sqlite/sqlite3/CVE-2026-119377-dependent_p1.patch b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119377-dependent_p1.patch new file mode 100644 index 00000000000..bdeb32da04b --- /dev/null +++ b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119377-dependent_p1.patch @@ -0,0 +1,86 @@ +From c3cab0322ae36fe6ca21df300c670af379c0a423 Mon Sep 17 00:00:00 2001 +From: drh <> +Date: Sat, 2 May 2026 17:30:33 +0000 +Subject: [PATCH] Minor optimization to the authorizer. + +FossilOrigin-Name: 625f78a630bbf897f945065f1b85a92fe26e426302c8f6edc4d26a817ff62358 + +CVE: CVE-2026-119377 +Upstream-Status: Backport [https://github.com/sqlite/sqlite/commit/c70fbd39f9c130bbe1cc45269c3b490dfdf7f259] + +Backport Changes: +- Applied the src/auth.c and src/resolve.c changes to sqlite3.c because + the Yocto sqlite-autoconf source uses the amalgamated SQLite layout. +- Kept SQLITE_PRIVATE on sqlite3AuthCheck() to match the amalgamated + source. +- Omitted manifest and manifest.uuid because they are repository + metadata and are not needed for this sqlite3.c backport. + +Signed-off-by: Arpit Patel +--- + sqlite3.c | 27 ++++++++++++++++++++++----- + 1 file changed, 22 insertions(+), 5 deletions(-) + +diff --git a/sqlite3.c b/sqlite3.c +index 6acf46a5b5..3bab6d7638 100644 +--- a/sqlite3.c ++++ b/sqlite3.c +@@ -107075,9 +107075,7 @@ lookupname_end: + if( cnt==1 ){ + assert( pNC!=0 ); + #ifndef SQLITE_OMIT_AUTHORIZATION +- if( pParse->db->xAuth +- && (pExpr->op==TK_COLUMN || pExpr->op==TK_TRIGGER) +- ){ ++ if( db->xAuth && (pExpr->op==TK_COLUMN || pExpr->op==TK_TRIGGER) ){ + sqlite3AuthRead(pParse, pExpr, pSchema, pNC->pSrcList); + } + #endif +@@ -120685,8 +120683,14 @@ SQLITE_PRIVATE void sqlite3AuthRead( + ** either SQLITE_OK (zero) or SQLITE_IGNORE or SQLITE_DENY. If SQLITE_DENY + ** is returned, then the error count and error message in pParse are + ** modified appropriately. ++** ++** Divided into two routines. realAuthCheck() does the work. The ++** sqlite3AuthCheck() routine is usually a fast no-op but invokes ++** realAuthCheck() (and spends time doing some stack pushes and pops ++** as a result) in the uncommon case where an authorization check is ++** actually needed. + */ +-SQLITE_PRIVATE int sqlite3AuthCheck( ++static int SQLITE_NOINLINE realAuthCheck( + Parse *pParse, + int code, + const char *zArg1, +@@ -120700,7 +120704,7 @@ SQLITE_PRIVATE int sqlite3AuthCheck( + ** or if the parser is being invoked from within sqlite3_declare_vtab. + */ + assert( !IN_RENAME_OBJECT || db->xAuth==0 ); +- if( db->xAuth==0 || db->init.busy || IN_SPECIAL_PARSE ){ ++ if( IN_SPECIAL_PARSE ){ + return SQLITE_OK; + } + +@@ -120729,6 +120733,19 @@ SQLITE_PRIVATE int sqlite3AuthCheck( + } + return rc; + } ++SQLITE_PRIVATE int sqlite3AuthCheck( ++ Parse *pParse, ++ int code, ++ const char *zArg1, ++ const char *zArg2, ++ const char *zArg3 ++){ ++ if( pParse->db->xAuth!=0 && pParse->db->init.busy==0 ){ ++ return realAuthCheck(pParse,code,zArg1,zArg2,zArg3); ++ }else{ ++ return SQLITE_OK; ++ } ++} + + /* + ** Push an authorization context. After this routine is called, the +-- +2.35.6 + diff --git a/meta/recipes-support/sqlite/sqlite3/CVE-2026-119377-dependent_p2.patch b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119377-dependent_p2.patch new file mode 100644 index 00000000000..e8a89898d4a --- /dev/null +++ b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119377-dependent_p2.patch @@ -0,0 +1,59 @@ +From 7606a5f5a1ce6f38eb5e98514583c711120ad694 Mon Sep 17 00:00:00 2001 +From: drh <> +Date: Mon, 1 Jun 2026 16:49:39 +0000 +Subject: [PATCH] Make sure the authenticator is called for columns that are + part of a USING in a FULL JOIN. [bugs:/info/2026-05-31T02:00:37Z|Bug + 2026-05-31T02:00:37Z]. + +FossilOrigin-Name: 4ef88a36f9d9669b0d74c58f79ad497803885ff6078e5f9685f13c96eab397cc + +CVE: CVE-2026-119377 +Upstream-Status: Backport [https://github.com/sqlite/sqlite/commit/ddea119f825bf07f145c55f623022286bc644664] + +Backport Changes: +- Applied the src/resolve.c change to sqlite3.c because this recipe + uses the amalgamated SQLite source. +- Omitted manifest and manifest.uuid updates because they are Fossil + repository metadata and are not needed in this backport. + +Signed-off-by: Arpit Patel +--- + sqlite3.c | 15 ++++++++++++--- + 1 file changed, 12 insertions(+), 3 deletions(-) + +diff --git a/sqlite3.c b/sqlite3.c +index 3bab6d7638..903af8baa8 100644 +--- a/sqlite3.c ++++ b/sqlite3.c +@@ -107001,7 +107001,7 @@ static int lookupName( + ** cnt>1 means there were two or more matches. + ** + ** cnt==0 is always an error. cnt>1 is often an error, but might +- ** be multiple matches for a NATURAL LEFT JOIN or a LEFT JOIN USING. ++ ** be multiple matches for a NATURAL OUTER JOIN or a OUTER JOIN USING. + */ + assert( pFJMatch==0 || cnt>0 ); + assert( !ExprHasProperty(pExpr, EP_xIsSelect|EP_IntValue) ); +@@ -107075,8 +107075,17 @@ lookupname_end: + if( cnt==1 ){ + assert( pNC!=0 ); + #ifndef SQLITE_OMIT_AUTHORIZATION +- if( db->xAuth && (pExpr->op==TK_COLUMN || pExpr->op==TK_TRIGGER) ){ +- sqlite3AuthRead(pParse, pExpr, pSchema, pNC->pSrcList); ++ if( db->xAuth ){ ++ if( pFJMatch ){ ++ assert( pExpr->op==TK_FUNCTION ); ++ assert( sqlite3_stricmp(pExpr->u.zToken,"coalesce")==0 ); ++ assert( pExpr->x.pList==pFJMatch ); ++ assert( pFJMatch->nExpr>0 ); ++ pExpr = pFJMatch->a[0].pExpr; ++ } ++ if( pExpr->op==TK_COLUMN || pExpr->op==TK_TRIGGER ){ ++ sqlite3AuthRead(pParse, pExpr, pSchema, pNC->pSrcList); ++ } + } + #endif + /* Increment the nRef value on all name contexts from TopNC up to +-- +2.35.6 + diff --git a/meta/recipes-support/sqlite/sqlite3/CVE-2026-119377_p1.patch b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119377_p1.patch new file mode 100644 index 00000000000..7dd0f76b6b5 --- /dev/null +++ b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119377_p1.patch @@ -0,0 +1,52 @@ +From 7e76b79f06869f46def99a3ec08d9dfb53a346b1 Mon Sep 17 00:00:00 2001 +From: drh <> +Date: Sun, 5 Jul 2026 16:06:33 +0000 +Subject: [PATCH] Be sure to invoke the authorizer callback on all terms of the + USING clause in a RIGHT JOIN. [bugs:/info/2026-07-05T08:15:45Z|Bug + 2026-07-05T08:15:45Z] + +FossilOrigin-Name: bbd69ce27462000873af053bfebdd305c53deac85c426b1e7dbd927b5f17d622 + +CVE: CVE-2026-119377 +Upstream-Status: Backport [https://github.com/sqlite/sqlite/commit/7ff247c5b9ead3ad8a69c26d3fd264878e127237] + +Backport Changes: +- Applied the src/resolve.c change in sqlite3.c because the Yocto + sqlite-autoconf source uses the amalgamated layout. +- Omitted test/auth.test because the extracted recipe source lacks the + upstream Tcl test tree. +- Omitted manifest and manifest.uuid because they are repository + metadata and are not needed in this source patch. + +Signed-off-by: Arpit Patel +--- + sqlite3.c | 9 ++++++--- + 1 file changed, 6 insertions(+), 3 deletions(-) + +diff --git a/sqlite3.c b/sqlite3.c +index d777811056..9338328be5 100644 +--- a/sqlite3.c ++++ b/sqlite3.c +@@ -107077,13 +107077,16 @@ lookupname_end: + #ifndef SQLITE_OMIT_AUTHORIZATION + if( db->xAuth ){ + if( pFJMatch ){ ++ int ii; + assert( pExpr->op==TK_FUNCTION ); + assert( sqlite3_stricmp(pExpr->u.zToken,"coalesce")==0 ); + assert( pExpr->x.pList==pFJMatch ); + assert( pFJMatch->nExpr>0 ); +- pExpr = pFJMatch->a[0].pExpr; +- } +- if( pExpr->op==TK_COLUMN || pExpr->op==TK_TRIGGER ){ ++ for(ii=0; iinExpr; ii++){ ++ assert( pFJMatch->a[0].pExpr->op==TK_COLUMN ); ++ sqlite3AuthRead(pParse, pFJMatch->a[0].pExpr, pSchema, pNC->pSrcList); ++ } ++ }else if( pExpr->op==TK_COLUMN || pExpr->op==TK_TRIGGER ){ + sqlite3AuthRead(pParse, pExpr, pSchema, pNC->pSrcList); + } + } +-- +2.35.6 + diff --git a/meta/recipes-support/sqlite/sqlite3/CVE-2026-119377_p2.patch b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119377_p2.patch new file mode 100644 index 00000000000..b67cb32b8c6 --- /dev/null +++ b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119377_p2.patch @@ -0,0 +1,51 @@ +From a98f25c8a88d1e0e24f677279ac90b30567f93ee Mon Sep 17 00:00:00 2001 +From: drh <> +Date: Fri, 24 Jul 2026 14:53:59 +0000 +Subject: [PATCH] Fix a bug in the check-in [bbd69ce274620008] causing that + bug-fix check-in to fail to completely fix the original bug. This fix is in + response to the follow-up report at [bugs:/info/2026-07-24T02:52:08Z|Bug + 2026-07-24T02:52:08Z]. + +FossilOrigin-Name: 2cb22877683680c1f89bcc9edb47bd1a4a8755d4a6b846a1a20136a657dacdcc + +CVE: CVE-2026-119377 +Upstream-Status: Backport [https://github.com/sqlite/sqlite/commit/5694c3bb2a6a40770ecd2f65910eea756734dfd8] + +Backport Changes: +- Applied the src/resolve.c correction to sqlite3.c because the Yocto + recipe source uses the amalgamated SQLite layout. +- Omitted test/auth.test because the extracted recipe source lacks the + upstream Tcl test tree. +- Omitted manifest and manifest.uuid because they are Fossil + repository metadata and are not needed in the source patch. + +Signed-off-by: Arpit Patel +--- + sqlite3.c | 7 +++---- + 1 file changed, 3 insertions(+), 4 deletions(-) + +diff --git a/sqlite3.c b/sqlite3.c +index 9338328be5..7761d83d08 100644 +--- a/sqlite3.c ++++ b/sqlite3.c +@@ -107077,14 +107077,13 @@ lookupname_end: + #ifndef SQLITE_OMIT_AUTHORIZATION + if( db->xAuth ){ + if( pFJMatch ){ +- int ii; + assert( pExpr->op==TK_FUNCTION ); + assert( sqlite3_stricmp(pExpr->u.zToken,"coalesce")==0 ); + assert( pExpr->x.pList==pFJMatch ); + assert( pFJMatch->nExpr>0 ); +- for(ii=0; iinExpr; ii++){ +- assert( pFJMatch->a[0].pExpr->op==TK_COLUMN ); +- sqlite3AuthRead(pParse, pFJMatch->a[0].pExpr, pSchema, pNC->pSrcList); ++ for(i=0; inExpr; i++){ ++ assert( pFJMatch->a[i].pExpr->op==TK_COLUMN ); ++ sqlite3AuthRead(pParse,pFJMatch->a[i].pExpr,pSchema,pNC->pSrcList); + } + }else if( pExpr->op==TK_COLUMN || pExpr->op==TK_TRIGGER ){ + sqlite3AuthRead(pParse, pExpr, pSchema, pNC->pSrcList); +-- +2.35.6 + diff --git a/meta/recipes-support/sqlite/sqlite3_3.45.3.bb b/meta/recipes-support/sqlite/sqlite3_3.45.3.bb index 926f8223fd0..84d67ce977f 100644 --- a/meta/recipes-support/sqlite/sqlite3_3.45.3.bb +++ b/meta/recipes-support/sqlite/sqlite3_3.45.3.bb @@ -13,6 +13,10 @@ SRC_URI = "http://www.sqlite.org/2024/sqlite-autoconf-${SQLITE_PV}.tar.gz \ file://CVE-2026-119373.patch \ file://CVE-2026-119374.patch \ file://CVE-2026-119379.patch \ -" + file://CVE-2026-119377-dependent_p1.patch \ + file://CVE-2026-119377-dependent_p2.patch \ + file://CVE-2026-119377_p1.patch \ + file://CVE-2026-119377_p2.patch \ + " SRC_URI[sha256sum] = "b2809ca53124c19c60f42bf627736eae011afdcc205bb48270a5ee9a38191531" From patchwork Fri Nov 27 17:48:51 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoann Congal X-Patchwork-Id: 106133 X-Patchwork-Delegate: yoann.congal@smile.fr Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.1457.1795801779591701480 for ; Fri, 27 Nov 2026 09:49:39 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@smile.fr header.s=google2 header.b=WhuAuK6T; spf=pass (domain: smile.fr, ip: 209.85.221.43, mailfrom: yoann.congal@smile.fr) Received: by mail-wr1-f43.google.com with SMTP id ffacd0b85a97d-492fcbfaa88so5707550f8f.3 for ; Fri, 27 Nov 2026 09:49:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile.fr; s=google2; t=1795801778; x=1796406578; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=QeiR33halZP+z4o5YxfcQeiN3mXpVz0IIa+5cl7oweg=; b=WhuAuK6T/a8lrTZfmUJRaW+ZXc2P4vZY35nC/1Dmhm9SYGR6/FEBFQpb7EWRYZV7uC 2bJctN0kEJCbXSidiMcB1n4pvuhLiqBmVLwvWXOxJQoMWR1IweBFINAejr/l65LEiV6l wCf0+ICg7P6LdRAin4QmD2hO8Ji/Ai91ZcxuL8CzMZZIPqZ1qSd48pKP1Gv73w5lPXKX Y/A7qR0G6M4SH3hvL9d56LC6ujc9v3rlebPwPziIW3Mj82okBvDKI9f0kQE4q7B+/HQW +hVEWEyDrzn5dth97tXGcGNLDhsvJIni3z6KsMN2D3XXK1nKOgjukKZ8G0mysa6P4hX3 Qstg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795801778; x=1796406578; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=QeiR33halZP+z4o5YxfcQeiN3mXpVz0IIa+5cl7oweg=; b=onDGQueuPt9HJCeZi2aCu3NYtGODHXJmoFKJTJiAYtCfHLkk4YdeIxWCyKMnhGNlhI ClKSMSpiT9jff+7v8RTpEBfJ3kyxs0aXvyWCFpzqNEhST1PYWa1AnXC5RE33wkvl273S UKEGvEIM/ZqXVen19Np8IeU9SX16hzMunyyHtwZf13XidRzIH5McpuWyT3KNsB4ANrOU dOkx76F54TjBdIAd+atrLSKsWoslEatOSIuvD1TBM7J4lpBrQej6RiD0zp8pfGcQBYGE u4pMpjfzkaQgSJBV4cFYxWM4RZOyc3hiXaIQnMkZFXa9pDf0o5NQ2rmt6Bt31ts+aWnw qebg== X-Gm-Message-State: APuU4Z93z+OdLMDColF+IxBZEUDTVr9bq2K8cblVk/AvgSSOfb/Pyg9T bQX+XlAZyhyda1JgHgEGvornS2B4+pxPuZbMfknh9SxppjBbX4jKBT/vgha9PCevFu13SYrF74h hoD7a0U0= X-Gm-Gg: AZFdTZfQmi7EPHDJc4xJyVd6D3ZUpyxg9TF2IIQ6ffkyu7NoFHZxfAs0QAxPnXhdJam 980gB0ftAHRZm4xpdiBf5a9LzQedWFHUDvxT5fHjw7UXF1PxKi24pGkECplY+YKYI1NH6SBECyx awqblpeMW6ibzG3Ty4H7CILGoHfY00G/THaMHg1TKSawLJ6EAGJ5o76Yhj0/oUizC06UILNajx4 bp4eDAfNx1pOZAmb9bDd3nTcL4Tx1gAlIxTv8LfH0Ve1e00zhNIbmH2cDo0vNdC6IbBnKyxl4A0 H9IpexHmx5u9Zj6V8CQs7wl19LcRzgyjzYw86KEwAmKFlBEmwTOgbcdGB8ekqHL3Ny0u2PXRT0a J5dqjJsrNndILofpB+NLgpphGcejwxXShUpMxOElIknYOCc6CDtRzl3ReOcZYotbLGCfVF5o+yQ Nx58+aBXru+QgC/ekmRz64+oEjscxRuNxRMZFdQY56MCMUPCNiZBciZjAzopUXgLLoE1TjpFDca b5SAhWv+1WUSgJvwigiUkW83yVjIYn5qU6pzoXK5ExzkNEHAWFLIH2JyBzEJTsiLAvkob8b2KUB DpDyaLQ+nX4l5vCNwoMkkJ07Pi6q8IbbSpQG/V59uZIyUck164oyiDoYb4mpY9+LY/UoEBgx+nT 3eR3L4ZEES8yNeFrRGf/qGJxKjpPv X-Received: by 2002:a05:6000:4705:b0:48d:f851:ee5f with SMTP id ffacd0b85a97d-4abb225e5f9mr51749941f8f.24.1795801777801; Fri, 27 Nov 2026 09:49:37 -0800 (PST) Return-Path: Received: from FRSMI25-LASER.home (2a01cb001331aa00a2e4fb7b0d887544.ipv6.abo.wanadoo.fr. [2a01:cb00:1331:aa00:a2e4:fb7b:d88:7544]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab69bf630esm49374624f8f.16.2026.11.27.09.49.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Nov 2026 09:49:37 -0800 (PST) From: Yoann Congal To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 08/37] sqlite3: fix CVE-2026-119375 Date: Fri, 27 Nov 2026 18:48:51 +0100 Message-ID: <993996e8219dd868818edd4a790d0c4f1baf903e.1795798718.git.yoann.congal@smile.fr> X-Mailer: git-send-email 2.55.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 27 Nov 2026 17:49:40 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251414 From: Arpit Patel This patch applies the upstream fix [1], which fully initializes the page read when the WAL and database page sizes differ, preventing disclosure of uninitialized page data. The GitHub mirror commit [1] corresponds to the SQLite Fossil check-in shown in [2]. [1] https://github.com/sqlite/sqlite/commit/e5bf119821f25be1d7f10ef0a2edbe175289166e [2] https://sqlite.org/src/info/f9b4ee369557c36c Reference: https://nvd.nist.gov/vuln/detail/CVE-2026-119375 Signed-off-by: Arpit Patel Signed-off-by: Bastien Jauny Signed-off-by: Yoann Congal --- .../sqlite/sqlite3/CVE-2026-119375.patch | 47 +++++++++++++++++++ meta/recipes-support/sqlite/sqlite3_3.45.3.bb | 3 ++ 2 files changed, 50 insertions(+) create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119375.patch diff --git a/meta/recipes-support/sqlite/sqlite3/CVE-2026-119375.patch b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119375.patch new file mode 100644 index 00000000000..390a3f5234b --- /dev/null +++ b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119375.patch @@ -0,0 +1,47 @@ +From c9e05db641c387aad309081b35afa3e703aa075d Mon Sep 17 00:00:00 2001 +From: drh <> +Date: Sun, 16 Aug 2026 10:49:39 +0000 +Subject: [PATCH] When reading a frame from a WAL file where the WAL pagesize + and the database pagesize disagree, be sure to fully initialize the page that + is read. + +FossilOrigin-Name: f9b4ee369557c36c606666bd7e6d8dc4685d87531993d3ce4e7a718aa814a5ac + +CVE: CVE-2026-119375 +Upstream-Status: Backport [https://github.com/sqlite/sqlite/commit/e5bf119821f25be1d7f10ef0a2edbe175289166e] + +Backport Changes: +- Applied the src/wal.c change to sqlite3.c because the recipe source + uses the amalgamated SQLite layout. +- Omitted manifest and manifest.uuid because they are Fossil + repository metadata and are not needed in this source patch. + +Signed-off-by: Arpit Patel +--- + sqlite3.c | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +diff --git a/sqlite3.c b/sqlite3.c +index a397e4d36b..afcf2b1969 100644 +--- a/sqlite3.c ++++ b/sqlite3.c +@@ -68201,11 +68201,15 @@ SQLITE_PRIVATE int sqlite3WalReadFrame( + i64 iOffset; + sz = pWal->hdr.szPage; + sz = (sz&0xfe00) + ((sz&0x0001)<<16); ++ if( nOut>sz ){ ++ memset(pOut+sz, 0, nOut-sz); ++ nOut = sz; ++ } + testcase( sz<=32768 ); + testcase( sz>=65536 ); + iOffset = walFrameOffset(iRead, sz) + WAL_FRAME_HDRSIZE; + /* testcase( IS_BIG_INT(iOffset) ); // requires a 4GiB WAL */ +- return sqlite3OsRead(pWal->pWalFd, pOut, (nOut>sz ? sz : nOut), iOffset); ++ return sqlite3OsRead(pWal->pWalFd, pOut, nOut, iOffset); + } + + /* +-- +2.35.6 + diff --git a/meta/recipes-support/sqlite/sqlite3_3.45.3.bb b/meta/recipes-support/sqlite/sqlite3_3.45.3.bb index 84d67ce977f..d5d5f101b0a 100644 --- a/meta/recipes-support/sqlite/sqlite3_3.45.3.bb +++ b/meta/recipes-support/sqlite/sqlite3_3.45.3.bb @@ -17,6 +17,9 @@ SRC_URI = "http://www.sqlite.org/2024/sqlite-autoconf-${SQLITE_PV}.tar.gz \ file://CVE-2026-119377-dependent_p2.patch \ file://CVE-2026-119377_p1.patch \ file://CVE-2026-119377_p2.patch \ + file://CVE-2026-119373.patch \ + file://CVE-2026-119374.patch \ + file://CVE-2026-119375.patch \ " SRC_URI[sha256sum] = "b2809ca53124c19c60f42bf627736eae011afdcc205bb48270a5ee9a38191531" From patchwork Fri Nov 27 17:48:52 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoann Congal X-Patchwork-Id: 106142 X-Patchwork-Delegate: yoann.congal@smile.fr Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1531.1795801780194954370 for ; Fri, 27 Nov 2026 09:49:40 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@smile.fr header.s=google2 header.b=V6eXWi8u; spf=pass (domain: smile.fr, ip: 209.85.221.49, mailfrom: yoann.congal@smile.fr) Received: by mail-wr1-f49.google.com with SMTP id ffacd0b85a97d-497614c95f0so4779760f8f.1 for ; Fri, 27 Nov 2026 09:49:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile.fr; s=google2; t=1795801778; x=1796406578; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=S6OzZg2G3Ta5Ty+VO3qbqy5T/L1RyDjpXe3CTqPFwh8=; b=V6eXWi8uJIkgsB236scHPqx2/+UUgyC2nj4wXRZV3ADxriwvQcQ4jTwW8k5296e5UH EhiiycbDNMUosJFYYmVYFemNyh8W/vp1zrt0TxNOOtKswmgJCSGu0B+yMxYYk5jQV0ac NOtiG+fxjkW8v+DQ2VThtImWAtKaSFG3bV/O25BvV6dVW8PAGqtjW7w0CDhHCJfd2iTp 5uYU8tyTj96N0oipDqyl42dzouU9x2Hk0X/u5ZzfyZsZiGwj0Bu0fHrCCjAFjGyqdemb xpsP/2ZfWHqkqZv0jPHbdzwXF+Bxejv43ue13H+7+GpqO6bxqnMvdRLvFw6dvMt/usKB f9IQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795801778; x=1796406578; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=S6OzZg2G3Ta5Ty+VO3qbqy5T/L1RyDjpXe3CTqPFwh8=; b=krBzeJvSdO45S4N3w60qScG5SrkQK9NCSNCLUyLS5b38P8XshVDeoxeZaYxrcc7II/ VHg7AD5rxYwH0QRjJj4BAXD666Dtr6OMzfKqHoLWoyFkL51UoWnrAK2s7XXr/wAaXZeI cRLcylLfhwLg//Nu+3UAjmQsJnBdMacPgNMbygJI/d1u+vK7vyJ6tpr+L6s24CT/e4Jh 5nsrw5c5/CpNHA767qB3OlZLCxWC6WMndvO5V7HjRgj/Zt3r83ZzPceOm5OT8zStGScO aY3AC1Z5sSFwYM6jfDeXXt9t6radinFgks0NeqoP8ewQ0VegDaVPIrEet4Cn1DBypOjA lECQ== X-Gm-Message-State: APuU4Z9dZtZqaARWWTr8VqrCEstvIjS9qNT8ZfPMM7pAOVmuuxJGvtZ+ NQvt8ZkxJ+VMwnNy/mcWPbwy+Wn1ze+j58zKErRnjzJ56+LmGQpRvi7pmoDjbmX0Rmr4E3ODWWe S6CvlmGM= X-Gm-Gg: AZFdTZdK2aLOXDloqbzfGQVN9M6c3ttuQbvBt0tsi+F+Fr8HiV/nw/BY1QRk87jqZfM Xj+Qowi1HG1m6BSpFE1xJ9UVWXYNXkBpWu5l+zxcgYCTdMbGMBa+I1wB17emrSbRhLnDjuY1+Da WzZbdtaEHYh5i1Cy9z1MbCmhLjHPTJ2UC0oGAol50DEnYV3Tx/BBPqqezjA96+kUwBJ5Itey3ay GSoN2F4eimBwqRIBXhTMqnPJkhJxPGa3/9TpXbTLoXI11QWHlOl8zYZpzpm5fMBXrfkiAj1rC8j UkCVrSdc75pe4AR4K/ErbLBcHbJlsai9RwEZ2EtYkHXAEshMt30GfUq3LEU4SXmym6vJw0I0DZJ OLC6aJbXpPvt8GcMRaa+iYXLDb6hpnAd861V1CKhDL1hR1xJhqzMYVDYz0X3IPJ2FcYJGFYo6fy f2fZuRvXmtig0PNHMn+mj0ozuDTeP+QExCUn7AIftX76zZzwYElcGe1hBSogJIG1QVQKEdlkZ0z TUrg3wqkBIw8UdQ9+9mJsN0POkRVHg9vncmGdqgFvr0UHbWSdcPdRc9zysm70fNdW9sivS+2Zrt cCH1XyLiCGNRmx7Elt3gyLJ2rztEoGq44Um5zybXdHzoiBGskgcT9z7tpWW6nCeNsIc68UaRkg/ SRuv2ku9MZfE/JoQGENrxBaw8rrRY X-Received: by 2002:a05:6000:29ce:b0:492:820d:1e with SMTP id ffacd0b85a97d-4abb0f3c464mr33317461f8f.11.1795801778462; Fri, 27 Nov 2026 09:49:38 -0800 (PST) Return-Path: Received: from FRSMI25-LASER.home (2a01cb001331aa00a2e4fb7b0d887544.ipv6.abo.wanadoo.fr. [2a01:cb00:1331:aa00:a2e4:fb7b:d88:7544]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab69bf630esm49374624f8f.16.2026.11.27.09.49.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Nov 2026 09:49:37 -0800 (PST) From: Yoann Congal To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 09/37] sqlite3: fix CVE-2026-119372 Date: Fri, 27 Nov 2026 18:48:52 +0100 Message-ID: X-Mailer: git-send-email 2.55.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 27 Nov 2026 17:49:42 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251415 From: Arpit Patel This patch applies the upstream fix [1], which prevents a use-after-free in FTS3 snippet() processing. The GitHub mirror commit [1] corresponds to the SQLite Fossil check-in shown in [2]. [1] https://github.com/sqlite/sqlite/commit/a87bd2471a9c0606e78d3c3678bcd9cecaa0e731 [2] https://sqlite.org/src/info/e4635c41536a Reference: https://nvd.nist.gov/vuln/detail/CVE-2026-119372 Signed-off-by: Arpit Patel Signed-off-by: Bastien Jauny Signed-off-by: Yoann Congal --- .../sqlite/sqlite3/CVE-2026-119372.patch | 56 +++++++++++++++++++ meta/recipes-support/sqlite/sqlite3_3.45.3.bb | 3 +- 2 files changed, 57 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119372.patch diff --git a/meta/recipes-support/sqlite/sqlite3/CVE-2026-119372.patch b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119372.patch new file mode 100644 index 00000000000..96a9fdab6cc --- /dev/null +++ b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119372.patch @@ -0,0 +1,56 @@ +From a5fe767d0ba12d3082bd22b3c5341fdb6cc6ef95 Mon Sep 17 00:00:00 2001 +From: dan +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 +--- + sqlite3.c | 10 +++++++--- + 1 file changed, 7 insertions(+), 3 deletions(-) + +diff --git a/sqlite3.c b/sqlite3.c +index 8cbe1d3ec7..62a8d5128b 100644 +--- a/sqlite3.c ++++ b/sqlite3.c +@@ -201458,6 +201458,7 @@ static int fts3BestSnippet( + sqlite3_int64 nByte; /* Number of bytes of space to allocate */ + int iBestScore = -1; /* Best snippet score found so far */ + int i; /* Loop counter */ ++ Fts3Expr *pExpr = pCsr->pExpr; + + memset(&sIter, 0, sizeof(sIter)); + +@@ -201486,9 +201487,12 @@ static int fts3BestSnippet( + sIter.nSnippet = nSnippet; + sIter.nPhrase = nList; + sIter.iCurrent = -1; +- rc = sqlite3Fts3ExprIterate( +- pCsr->pExpr, fts3SnippetFindPositions, (void*)&sIter +- ); ++ rc = sqlite3Fts3ExprIterate(pExpr, fts3SnippetFindPositions, (void*)&sIter); ++ if( rc==SQLITE_OK ){ ++ /* Iterate through the expression twice, in case pointers garnered during ++ ** the first iteration are invalidated by a call to fts5EvalRestart(). */ ++ rc = sqlite3Fts3ExprIterate(pExpr, fts3SnippetFindPositions, (void*)&sIter); ++ } + if( rc==SQLITE_OK ){ + + /* Set the *pmSeen output variable. */ +-- +2.35.6 + diff --git a/meta/recipes-support/sqlite/sqlite3_3.45.3.bb b/meta/recipes-support/sqlite/sqlite3_3.45.3.bb index d5d5f101b0a..378903944bb 100644 --- a/meta/recipes-support/sqlite/sqlite3_3.45.3.bb +++ b/meta/recipes-support/sqlite/sqlite3_3.45.3.bb @@ -17,9 +17,8 @@ SRC_URI = "http://www.sqlite.org/2024/sqlite-autoconf-${SQLITE_PV}.tar.gz \ file://CVE-2026-119377-dependent_p2.patch \ file://CVE-2026-119377_p1.patch \ file://CVE-2026-119377_p2.patch \ - file://CVE-2026-119373.patch \ - file://CVE-2026-119374.patch \ file://CVE-2026-119375.patch \ + file://CVE-2026-119372.patch \ " SRC_URI[sha256sum] = "b2809ca53124c19c60f42bf627736eae011afdcc205bb48270a5ee9a38191531" From patchwork Fri Nov 27 17:48:53 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoann Congal X-Patchwork-Id: 106143 X-Patchwork-Delegate: yoann.congal@smile.fr Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.1459.1795801780983245857 for ; Fri, 27 Nov 2026 09:49:41 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@smile.fr header.s=google2 header.b=Y0a+Dvmk; spf=pass (domain: smile.fr, ip: 209.85.221.48, mailfrom: yoann.congal@smile.fr) Received: by mail-wr1-f48.google.com with SMTP id ffacd0b85a97d-48e47347279so5123195f8f.1 for ; Fri, 27 Nov 2026 09:49:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile.fr; s=google2; t=1795801779; x=1796406579; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=30l1pg8BbFdGgTu6YtqLqpW4fpV5Flrv4r8v9Of03+s=; b=Y0a+DvmkIi1bQcWHSVI6yU+jtWBSr/WSw64Gr3KNL/FVKsu60wy4Kg5atbZbZe9aQx TXHGco6PkmdAMVxWy9QHCHriKLvA1eJ5mOh1dU1me6orqI0iAiB5uIJ6eSRGSPD/tx8y p0BVG4w4DCnVkuda1J2nlYvJliJL5psl7vjWzcHpTXeWdajcQdBbbGQHOwNrMxpFmXhO aaM24HzwlutsZU4hZ7YRY1N2FxwegGLEskyTYxaa9ICk9/NJUCfAlEBVEJuNFS4kBMGa VPMiO79XxmDWBVB6g85vgcPxDEd5mYMcvhJ/q45mkWNCSOurB6W4RND2wP06kNSdbGXX O/7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795801779; x=1796406579; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=30l1pg8BbFdGgTu6YtqLqpW4fpV5Flrv4r8v9Of03+s=; b=vXU5qyZOTNw/tz1FG+JdoBWs74EzQ6yJmNYVERszFNaAkAlUUjUAHJxt2S4g7IEhmd wVVSJf1wT2SnO0cqtTHraTrFz6SK44QemeCMFgZ937VqC3hmNhPNAj4fzcmd8+t0zvE5 ZfwCljNDUT7kUMpjyi7Ibfn+NZ77hGsnAns2elh1G5KqOwPp/XhZ4ZcNfDKZeIuJwoZz 5qhE8PW3/Cw6WT4BGxeonLrVsLiEdtPVXUEQ6E8rGWP+pDv4wK8FgNMx6DJGgoKd8vAP cO/UoSBdt2+Xe5IdlXBSLh49NOE/t9ZklltDyyosjuCflITerbPnUtXy/fHKE/tsDarY BDXw== X-Gm-Message-State: APuU4Z/q1dXVDK+Ux1WnDiiOEP0zRJDuBfnHoeI/vT16YSYehzVLDTGP QccRE4BPin+BNqyWjn6DZwA/H5xqwdH3MoDRTp/Lt3ojF6YMGWyNkAgtrkrrXi4l0vlHJ8i+5CQ ijZbrqug= X-Gm-Gg: AZFdTZe6KnOa5JW6vjWgrKNmIlgZCWXpMn2V+FSAfSJk6KnS8ramJxKd++cSif7k9Da AVdQRWkWEqVGi+yAT9XGqA+o3pXD1zhlBjecviZP63OMpsk3eQ1uyGyjDMb38EQ3sivkOXzPcpH IiEStnkll4C1ft2TO0ccVp0n0BXBZKw6BGqRO2JtrjrLpoQNGS9Lj9xuL3qSFbulzDXzgGM1+aK loP9Wy7/7Qiy3Od3JwvO7xfyFE8pUvE+xYcouy7OT4mScu7NHIYR19kLVxPxnIIYUg71xJnr3hX 0KgCWTMMlGlcJQn6onnUwd/zpb2AVAga/UxlQio/s9u6neUQExaODmh5gXbrlRnUCV7zOA84VTJ 21GQ4+l3y8FoIVT6DgmUNrnEFKmnSzewmNphUtVh7d4ocd8GGuUvRQZrpf/YWgbfY7f8W7n1DlE U9Y2CGdc2tXVYh4xVtxb3vnEzf3Wx4I2PT5JpkQ7YtnmzidaxV7odT4ZmOK9GHnk/34opA9HGaa F8HsxMLxcOWaRaexp4TxID9N8AGXTyJ5ZkYIrx69uwvNN1yGOAt/KXgZRDUQZANXmMHt6/dLy+W BM4ur1znZniZboGjnq0m/ZPXic/0QfhQ90OuQso0PIX/pEFoVTdwfsV3JH/eOn1hSk73Qv76pCk Krkp8k3zCVd1I/a0AwUZ/9B71MrHxIerELIKLMZ5FmlVeKxlsZg== X-Received: by 2002:a05:6000:184d:b0:48c:7386:af18 with SMTP id ffacd0b85a97d-4abacfea55cmr54373761f8f.8.1795801779171; Fri, 27 Nov 2026 09:49:39 -0800 (PST) Return-Path: Received: from FRSMI25-LASER.home (2a01cb001331aa00a2e4fb7b0d887544.ipv6.abo.wanadoo.fr. [2a01:cb00:1331:aa00:a2e4:fb7b:d88:7544]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab69bf630esm49374624f8f.16.2026.11.27.09.49.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Nov 2026 09:49:38 -0800 (PST) From: Yoann Congal To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 10/37] sqlite3: fix CVE-2026-119378 Date: Fri, 27 Nov 2026 18:48:53 +0100 Message-ID: X-Mailer: git-send-email 2.55.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 27 Nov 2026 17:49:42 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251416 From: Arpit Patel This patch applies the upstream fix [1], which prevents a use-after-free in R-Tree when a manipulated shadow-table schema causes sqlite3_last_insert_rowid() to return 0. The GitHub mirror commit [1] corresponds to the SQLite Fossil check-in shown in [2]. [1] https://github.com/sqlite/sqlite/commit/d21bd37c7cfc1b85b17a6703555f0926b6236e04 [2] https://sqlite.org/src/info/6a9e1415659f9e75 Reference: https://nvd.nist.gov/vuln/detail/CVE-2026-119378 Signed-off-by: Arpit Patel Signed-off-by: Bastien Jauny Signed-off-by: Yoann Congal --- .../sqlite/sqlite3/CVE-2026-119378.patch | 52 +++++++++++++++++++ meta/recipes-support/sqlite/sqlite3_3.45.3.bb | 1 + 2 files changed, 53 insertions(+) create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119378.patch diff --git a/meta/recipes-support/sqlite/sqlite3/CVE-2026-119378.patch b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119378.patch new file mode 100644 index 00000000000..98937c7bc91 --- /dev/null +++ b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119378.patch @@ -0,0 +1,52 @@ +From 347b0263ce597345446fcfd259d063ef86228191 Mon Sep 17 00:00:00 2001 +From: dan +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 +--- + sqlite3.c | 12 +++++++++++- + 1 file changed, 11 insertions(+), 1 deletion(-) + +diff --git a/sqlite3.c b/sqlite3.c +index 62a8d5128b..4b1c310fd6 100644 +--- a/sqlite3.c ++++ b/sqlite3.c +@@ -209661,7 +209661,17 @@ static int nodeWrite(Rtree *pRtree, RtreeNode *pNode){ + sqlite3_bind_null(p, 2); + if( pNode->iNode==0 && rc==SQLITE_OK ){ + pNode->iNode = sqlite3_last_insert_rowid(pRtree->db); +- nodeHashInsert(pRtree, pNode); ++ if( pNode->iNode==0 ){ ++ /* If the SQL statement has succeeded but sqlite3_last_insert_rowid() ++ ** returns 0, then the shadow table schema has been corrupted somehow ++ ** (e.g. the %_node table has been replaced by a WITHOUT ROWID table). ++ ** It would be dangerous to continue in this case as the hash table ++ ** implementation assumes iNode==0 means that the node is not part ++ ** of the hash table. */ ++ rc = SQLITE_CORRUPT_VTAB; ++ }else{ ++ nodeHashInsert(pRtree, pNode); ++ } + } + } + return rc; +-- +2.35.6 + diff --git a/meta/recipes-support/sqlite/sqlite3_3.45.3.bb b/meta/recipes-support/sqlite/sqlite3_3.45.3.bb index 378903944bb..8a8456567ec 100644 --- a/meta/recipes-support/sqlite/sqlite3_3.45.3.bb +++ b/meta/recipes-support/sqlite/sqlite3_3.45.3.bb @@ -19,6 +19,7 @@ SRC_URI = "http://www.sqlite.org/2024/sqlite-autoconf-${SQLITE_PV}.tar.gz \ file://CVE-2026-119377_p2.patch \ file://CVE-2026-119375.patch \ file://CVE-2026-119372.patch \ + file://CVE-2026-119378.patch \ " SRC_URI[sha256sum] = "b2809ca53124c19c60f42bf627736eae011afdcc205bb48270a5ee9a38191531" From patchwork Fri Nov 27 17:48:54 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoann Congal X-Patchwork-Id: 106144 X-Patchwork-Delegate: yoann.congal@smile.fr Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1533.1795801781761498079 for ; Fri, 27 Nov 2026 09:49:42 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@smile.fr header.s=google2 header.b=GsyuuvD1; spf=pass (domain: smile.fr, ip: 209.85.221.48, mailfrom: yoann.congal@smile.fr) Received: by mail-wr1-f48.google.com with SMTP id ffacd0b85a97d-4a32576da88so4855098f8f.3 for ; Fri, 27 Nov 2026 09:49:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile.fr; s=google2; t=1795801780; x=1796406580; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=MRRI44DQGwWdxh9ICgDAZ/YqvTwGH86ml0vn203aHx4=; b=GsyuuvD1rHlG7D4lXfI66k+ufcWTpGwayyi6JPmwE3dSTOqgfaG5LJYegp02TI6i1u D3vU9VcE+RHxVGJ83Ds7+NDgnH3EL6Srb43yRhKOhIlaXlqs5dTQcSp4qB11voKG8y/l XjXQP38OxHTMQTS+k5IdueFkSIFIR/LMiDcjuRWNAon05pAlqO3LMG2tnbLXXPgpepqk ya9BRys2B7wQmG+VPxAAJ+7+9KHTHXfoRKpgz3ThG1b0cc6PSJ3HKHP3a+AI1HjLUfKh dBaA9leqK3vP0j3SZKuH9/FtyBIFbHeUnq6pHBVjPeKJ/uhd0LTTPh5P2zGoQVYrHqKM ncrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795801780; x=1796406580; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=MRRI44DQGwWdxh9ICgDAZ/YqvTwGH86ml0vn203aHx4=; b=uv2H/721Wq0JcwnnAgjGi0JCglR2Gky0mSd2dT21SAusnsa4TpnQPtSdAR/qsIxJ8Y Vs/sBTI7blbkOBTxRaNSRe8zp7FvFAc2FqAA0jb4B//UfHiEdCnqQfMdkuFeN8Ows6w8 PkS+xp7ChgUnVsFojh8Eblc73NlIOtA4VeU/JWSGEmXt8MdtqvVVz3bNmq3szn/aQRbB hGyzEFuwVlhs3r2u8+pZuddsM4pjgH0fli4NJgPMG1sjL38yumjrgdi3b+OoUzyWeIJ5 LWj9rESS7N4JvThUC6iUiP1tvdKL6YGEWTaukZbcxmrkQKJisp3UwjvJCJ8xc7vwsdqD TaqQ== X-Gm-Message-State: APuU4Z/iRTMhtCghOAtOFfUTii4ozjH5PpAKHz6pKfkH7oSCNGSO1XbG G4KlOEJdDyOS+CkbEA1/ZZrsYwQSDfd3tY28NyeTpgnoDk2CR3hQlNyA+vrxkrz2jOwDqb62O0I Iq+WOMWg= X-Gm-Gg: AZFdTZfSvs1jGPeue/zrmzdqCdmqaIynhzmj8UkQP+HLyVsXMcQlkPgYHDvbnxtXnGn 2kIE2tIo9i64vjU8T8pgzWC6Tns3YknFGiK+H3I78viI6uydjOnzRNpMp+nX1RX/vrd/NtztOZH Z1LOypvL98Jld4vtBrdnDsvho3NS5NLqZyQGCUA5NbRf7+Q9EGwBCBYsinXUPrVjqOghCV9sXNQ fAbzIyhzlX24DIuJp7//5hzK1V8TBHaX+JY1894bPQUnuRpVzqBn55s9vqmas9jaCcwKJTpUKgE bMFE+AQzhRofw8EAU7R4my4do108d2dnMHEb1C5B5H70tn4QsleH5kIryVklas5JNRekQG6K2Gr +PF2vvADiMi3BWoJOtatv0OinYv19zbcLxKrzQVRqeU+TLbhjZobGCfiMnFS7zdfal2LfAqI+ng wtjsJgmFFenF5sli36CAJNdpdsEQ5ckTOiajY5WQ6jnxTggyTCjATwxw/r6Az0l++pHLDuKHDXR QGtOTly/p0MdAGQE3H55A79MKkkW25XiuEPPbY2XcVUprHbpe4PTrY23Yg0eObMw+OZDz0WYmNV zv+MfsNSesTWjDe7eF6tliBpbYabczQ7GEI65lvbP98qmqKw+xUeJuLpUzoKSXn5AXA3VHvO3OK 7N9Vj5qwBv4QLD58ntNqS2xbYKlUce1HHXDHN5GMNMm8k6KOVonM= X-Received: by 2002:a05:6000:2c10:b0:4a8:a1fe:ea94 with SMTP id ffacd0b85a97d-4abacfea54fmr49204920f8f.3.1795801779926; Fri, 27 Nov 2026 09:49:39 -0800 (PST) Return-Path: Received: from FRSMI25-LASER.home (2a01cb001331aa00a2e4fb7b0d887544.ipv6.abo.wanadoo.fr. [2a01:cb00:1331:aa00:a2e4:fb7b:d88:7544]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab69bf630esm49374624f8f.16.2026.11.27.09.49.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Nov 2026 09:49:39 -0800 (PST) From: Yoann Congal To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 11/37] sqlite3: fix CVE-2026-119376 Date: Fri, 27 Nov 2026 18:48:54 +0100 Message-ID: X-Mailer: git-send-email 2.55.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 27 Nov 2026 17:49:43 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251417 From: Arpit Patel This patch applies the upstream fix [1], which includes COLLATE expressions in expression tree depth calculations and prevents bypass of the expression depth limit. The GitHub mirror commit [1] corresponds to the SQLite Fossil check-in shown in [2]. [1] https://github.com/sqlite/sqlite/commit/d54522a5b832422ab893a1e9fa7a99ab314ea4e2 [2] https://sqlite.org/src/info/252c0b7bf5a727d2 Reference: https://nvd.nist.gov/vuln/detail/CVE-2026-119376 Signed-off-by: Arpit Patel Signed-off-by: Bastien Jauny Signed-off-by: Yoann Congal --- .../sqlite/sqlite3/CVE-2026-119376.patch | 75 +++++++++++++++++++ meta/recipes-support/sqlite/sqlite3_3.45.3.bb | 1 + 2 files changed, 76 insertions(+) create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119376.patch diff --git a/meta/recipes-support/sqlite/sqlite3/CVE-2026-119376.patch b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119376.patch new file mode 100644 index 00000000000..975054e843f --- /dev/null +++ b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119376.patch @@ -0,0 +1,75 @@ +From 2af844923ba3e32fb16b06adab4e4ad3b2f4da49 Mon Sep 17 00:00:00 2001 +From: drh <> +Date: Sun, 4 Oct 2026 21:54:17 +0000 +Subject: [PATCH] Fix expression tree depth calculations for COLLATE. + [bugs:/info/2026-10-04T04:50:56Z|Bug 2026-10-04T04:50:56Z] + +FossilOrigin-Name: 252c0b7bf5a727d29605672bb58e06c758173c276671df3e388a68294998b4d3 + +CVE: CVE-2026-119376 +Upstream-Status: Backport [https://github.com/sqlite/sqlite/commit/d54522a5b832422ab893a1e9fa7a99ab314ea4e2] + +Backport Changes: +- Ported the src/expr.c and src/sqliteInt.h changes into sqlite3.c + because the recipe source uses the amalgamated SQLite layout. +- Omitted test/sqllimits1.test because the extracted source does not + include the upstream test tree. +- Omitted manifest and manifest.uuid because they are Fossil + repository metadata and are not needed for this source patch. + +Signed-off-by: Arpit Patel +--- + sqlite3.c | 16 +++++++++++----- + 1 file changed, 11 insertions(+), 5 deletions(-) + +diff --git a/sqlite3.c b/sqlite3.c +index 4b1c310fd6..7385344f84 100644 +--- a/sqlite3.c ++++ b/sqlite3.c +@@ -21204,8 +21204,8 @@ SQLITE_PRIVATE void sqlite3SetTextEncoding(sqlite3 *db, u8); + SQLITE_PRIVATE CollSeq *sqlite3ExprCollSeq(Parse *pParse, const Expr *pExpr); + SQLITE_PRIVATE CollSeq *sqlite3ExprNNCollSeq(Parse *pParse, const Expr *pExpr); + SQLITE_PRIVATE int sqlite3ExprCollSeqMatch(Parse*,const Expr*,const Expr*); +-SQLITE_PRIVATE Expr *sqlite3ExprAddCollateToken(const Parse *pParse, Expr*, const Token*, int); +-SQLITE_PRIVATE Expr *sqlite3ExprAddCollateString(const Parse*,Expr*,const char*); ++SQLITE_PRIVATE Expr *sqlite3ExprAddCollateToken(Parse *pParse, Expr*, const Token*, int); ++SQLITE_PRIVATE Expr *sqlite3ExprAddCollateString(Parse*,Expr*,const char*); + SQLITE_PRIVATE Expr *sqlite3ExprSkipCollate(Expr*); + SQLITE_PRIVATE Expr *sqlite3ExprSkipCollateAndLikely(Expr*); + SQLITE_PRIVATE int sqlite3CheckCollSeq(Parse *, CollSeq *); +@@ -108701,23 +108701,29 @@ SQLITE_PRIVATE int sqlite3ExprDataType(const Expr *pExpr){ + ** and the pExpr parameter is returned unchanged. + */ + SQLITE_PRIVATE Expr *sqlite3ExprAddCollateToken( +- const Parse *pParse, /* Parsing context */ ++ Parse *pParse, /* Parsing context */ + Expr *pExpr, /* Add the "COLLATE" clause to this expression */ + const Token *pCollName, /* Name of collating sequence */ + int dequote /* True to dequote pCollName */ + ){ +- if( pCollName->n>0 ){ ++ if( pCollName->n>0 && pParse->nErr==0 ){ + Expr *pNew = sqlite3ExprAlloc(pParse->db, TK_COLLATE, pCollName, dequote); ++ assert( pExpr!=0 ); + if( pNew ){ + pNew->pLeft = pExpr; + pNew->flags |= EP_Collate|EP_Skip; ++#if SQLITE_MAX_EXPR_DEPTH>0 ++ pNew->nHeight = pExpr->nHeight+1; ++ sqlite3ExprCheckHeight(pParse, pNew->nHeight); ++ testcase( pParse->nErr>0 ); ++#endif + pExpr = pNew; + } + } + return pExpr; + } + SQLITE_PRIVATE Expr *sqlite3ExprAddCollateString( +- const Parse *pParse, /* Parsing context */ ++ Parse *pParse, /* Parsing context */ + Expr *pExpr, /* Add the "COLLATE" clause to this expression */ + const char *zC /* The collating sequence name */ + ){ +-- +2.35.6 + diff --git a/meta/recipes-support/sqlite/sqlite3_3.45.3.bb b/meta/recipes-support/sqlite/sqlite3_3.45.3.bb index 8a8456567ec..480f597b662 100644 --- a/meta/recipes-support/sqlite/sqlite3_3.45.3.bb +++ b/meta/recipes-support/sqlite/sqlite3_3.45.3.bb @@ -20,6 +20,7 @@ SRC_URI = "http://www.sqlite.org/2024/sqlite-autoconf-${SQLITE_PV}.tar.gz \ file://CVE-2026-119375.patch \ file://CVE-2026-119372.patch \ file://CVE-2026-119378.patch \ + file://CVE-2026-119376.patch \ " SRC_URI[sha256sum] = "b2809ca53124c19c60f42bf627736eae011afdcc205bb48270a5ee9a38191531" From patchwork Fri Nov 27 17:48:55 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoann Congal X-Patchwork-Id: 106145 X-Patchwork-Delegate: yoann.congal@smile.fr Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.1460.1795801782336926983 for ; Fri, 27 Nov 2026 09:49:42 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@smile.fr header.s=google2 header.b=lNBOcW0X; spf=pass (domain: smile.fr, ip: 209.85.221.53, mailfrom: yoann.congal@smile.fr) Received: by mail-wr1-f53.google.com with SMTP id ffacd0b85a97d-48e09aa5264so4900023f8f.2 for ; Fri, 27 Nov 2026 09:49:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile.fr; s=google2; t=1795801780; x=1796406580; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=qQNk4JAOvU9moEn/r0fAiC1l52hZIWi6MEn6IAn7Bmw=; b=lNBOcW0Xg5h0brzT9GKZR1zvae0dv88rW3SwtET2oFPCw2pApQqWA7GRXxwxvd4L+u aaeoyGzJY1hYQEA2/Y/0Rc9pa9JWAT90bw1ArRv9Q82i6nq0ZDcTQHXb56LdcO5hzwCu ry9JxEbkdFj26EqYlqGKYWDaE98ktCltQxjjtoQGoBWV3gud7PxdFdM6eKBjOpPYgXwO RvdxVI/2RblZ+vo66y8qBxiskC4F9u4A9kR567VyeBxmfGmpbGc1I/2LspzVZ7pEsPPG hE+Ey167yo4ycOqrxzEGv+5PrgwIT8HrZ33/zZ6qWDqF+v+kgiNlpFMBwLwAoWNw500f LCgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795801780; x=1796406580; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=qQNk4JAOvU9moEn/r0fAiC1l52hZIWi6MEn6IAn7Bmw=; b=NTmEKGGJ+XFiplp0mH4xa+EQaCw/HwZkDg1UAQxfbxy+zvd+ZYgS3xbhTz8fGaABRm cbcRJHTapWYlzoZmWj8UF0ayhhFwHcGCbMP5seRkm38xomB514zgfKFeKQz94KoOmpyx aMibxQr+Qs6kh8A1m5tGTCl9RfmZuKAk9diQ1ahXZgPQ1dzoQLIiXX6DuAeekxRpJjX6 tiOjhrpnQ0h8oUkluKCMscYajbp21qLX+ajLSjHrdumihBiB7cqsmuZZfIMJ0BIjWox4 TEuZeLNF5x4KFEYsKSN+2dXhlKkDAnrjZIi2qUz93lhx5LLiBHM8+C40kVCDPfPHwINk FcJA== X-Gm-Message-State: APuU4Z9fxEJFoCo9L9dkOCxveXdarqTxZaOfqWOK41f4Hu050hbXFgb3 7lzriFBMOFWBnbI1U14MfQxHVgeSXI9n8xf3aoVi1jWAQ4LU2pG/OJGGGdJ49K7PfetF8sR4/m3 UCMfGv6Y= X-Gm-Gg: AZFdTZc6KKHFYYrZt6gt03SBRGHz++yMynThkYNvzBNKMZubKTYHPUu1ZJ54g+l54ZJ yEhnNXzmHzft8sqGiQK3RFBFLD/Tzc9vm5NYHGcQMkwP0eBSR4nruawVoxOLVQOM03ZfzQChKGc plfiLxbVk+izfhm43aS9h17Axd9HUdIX3vjy8TGWY3mjdxo5eh8EZq88xG98g1Ez4s5VP8y9aDz TZvkyf4X3LvXmcYw2bBFwg62J552ELQ6kXVinZyfptBHowOuEUxf9hoEpGFwmY/0GGF+U56rpcu heSTbfv2bhzhxMYVCUej420JmteoJhOQtS5Onj3cLQ2dVHVTXteEd/OvX44gKpUnmtl70mjynjt +JuvKeANwI8No/uQoaOwKcHbq8JxJwuCqCgAOx13n5YcUtgpEtA4LtBzGTmOZNU64zGXYV99ewI m7BBcU5BubOARYx42yIZYTXz7B++W3amewtU3GMuPSwg3EKaJfax51ppsAIhUpd2jOiREPAvUDU 2egpqetEQ4KRYVn5kx/dqcsFF9M/jsLw9i+PkDFAlxSx+Cvcz64AGh0Vit7bI17B7QhzLThVhPx d3cpgs+TGs8+BmUEIu9GZSp22+YQYPMySsX8p9zg9t8FfzVHv51oQhqynBBa3Jyqnxp/aNZivb3 di5HojYfRshfD7Vf/WTHQH91DLVk19Q== X-Received: by 2002:a05:6000:200e:b0:4aa:76ce:4b9f with SMTP id ffacd0b85a97d-4abb6746af3mr49600559f8f.56.1795801780475; Fri, 27 Nov 2026 09:49:40 -0800 (PST) Return-Path: Received: from FRSMI25-LASER.home (2a01cb001331aa00a2e4fb7b0d887544.ipv6.abo.wanadoo.fr. [2a01:cb00:1331:aa00:a2e4:fb7b:d88:7544]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab69bf630esm49374624f8f.16.2026.11.27.09.49.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Nov 2026 09:49:40 -0800 (PST) From: Yoann Congal To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 12/37] sqlite3: fix CVE-2026-119371 Date: Fri, 27 Nov 2026 18:48:55 +0100 Message-ID: <090e2804c6e6111ac544d17763cf7555f5804c0e.1795798718.git.yoann.congal@smile.fr> X-Mailer: git-send-email 2.55.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 27 Nov 2026 17:49:43 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251418 From: Arpit Patel This patch series applies the upstream prerequisite [1] and CTE recursion fix [3]. Commit [1] adds VIEW and subquery nesting tracking; commit [3] uses that counter to limit recursive CTE depth. The GitHub commits [1] and [3] correspond to SQLite Fossil check-ins [2] and [4], respectively. [1] https://github.com/sqlite/sqlite/commit/9fb225190c3ac0e51f11a7fddab0d4cc960417ad [2] https://sqlite.org/src/info/3f3fb9b638f59ad9 [3] https://github.com/sqlite/sqlite/commit/e6ff280c839fdfc7418fd5add12e8f32702a17fb [4] https://sqlite.org/src/info/f54730871303e655 Reference: https://nvd.nist.gov/vuln/detail/CVE-2026-119371 Signed-off-by: Arpit Patel Signed-off-by: Bastien Jauny Signed-off-by: Yoann Congal --- .../sqlite3/CVE-2026-119371-dependent.patch | 109 ++++++++++++++++++ .../sqlite/sqlite3/CVE-2026-119371.patch | 104 +++++++++++++++++ meta/recipes-support/sqlite/sqlite3_3.45.3.bb | 2 + 3 files changed, 215 insertions(+) create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119371-dependent.patch create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119371.patch diff --git a/meta/recipes-support/sqlite/sqlite3/CVE-2026-119371-dependent.patch b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119371-dependent.patch new file mode 100644 index 00000000000..6f06da3d741 --- /dev/null +++ b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119371-dependent.patch @@ -0,0 +1,109 @@ +From fcea662407384de099367f4eded9dae4ac16b7eb Mon Sep 17 00:00:00 2001 +From: drh <> +Date: Tue, 16 Jun 2026 13:43:08 +0000 +Subject: [PATCH] Limit VIEW recursion depth to SQLITE_LIMIT_EXPR_DEPTH to + prevent static overflow in malicious schemas with tens of thousands of levels + of recursive views. [bugs:/info/2026-06-16T04:21:51Z|Bug + 2026-06-16T04:21:51Z] + +FossilOrigin-Name: 3f3fb9b638f59ad982beafb7c117f24ddd3da612e62c862510805fa672ffae06 + +CVE: CVE-2026-119371 +Upstream-Status: Backport [https://github.com/sqlite/sqlite/commit/9fb225190c3ac0e51f11a7fddab0d4cc960417ad] + +Backport Changes: +- Ported src/select.c and src/sqliteInt.h code into the amalgamated + sqlite3.c source file. +- Updated limit documentation in sqlite3.c and sqlite3.h. +- Omitted test/view.test because the extracted source lacks the upstream + test tree. +- Omitted manifest and manifest.uuid because they are Fossil metadata. + +Signed-off-by: Arpit Patel +--- + 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.)^ + ** + ** [[SQLITE_LIMIT_EXPR_DEPTH]] ^(
SQLITE_LIMIT_EXPR_DEPTH
+-**
The maximum depth of the parse tree on any expression.
)^ ++**
The maximum depth of the parse tree on any expression and ++** the maximum nesting depth for subqueries and VIEWs
)^ + ** + ** [[SQLITE_LIMIT_COMPOUND_SELECT]] ^(
SQLITE_LIMIT_COMPOUND_SELECT
+ **
The maximum number of terms in a compound SELECT statement.
)^ +@@ -4445,7 +4446,8 @@ SQLITE_API int sqlite3_limit(sqlite3*, int id, int newVal); + **
The maximum index number of any [parameter] in an SQL statement.)^ + ** + ** [[SQLITE_LIMIT_TRIGGER_DEPTH]] ^(
SQLITE_LIMIT_TRIGGER_DEPTH
+-**
The maximum depth of recursion for triggers.
)^ ++**
The maximum depth of recursion for triggers, and the maximum ++** nesting depth for separate triggers.
)^ + ** + ** [[SQLITE_LIMIT_WORKER_THREADS]] ^(
SQLITE_LIMIT_WORKER_THREADS
+ **
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.
)^ + ** + ** [[SQLITE_LIMIT_EXPR_DEPTH]] ^(
SQLITE_LIMIT_EXPR_DEPTH
+-**
The maximum depth of the parse tree on any expression.
)^ ++**
The maximum depth of the parse tree on any expression and ++** the maximum nesting depth for subqueries and VIEWs
)^ + ** + ** [[SQLITE_LIMIT_COMPOUND_SELECT]] ^(
SQLITE_LIMIT_COMPOUND_SELECT
+ **
The maximum number of terms in a compound SELECT statement.
)^ +@@ -4154,7 +4155,8 @@ SQLITE_API int sqlite3_limit(sqlite3*, int id, int newVal); + **
The maximum index number of any [parameter] in an SQL statement.)^ + ** + ** [[SQLITE_LIMIT_TRIGGER_DEPTH]] ^(
SQLITE_LIMIT_TRIGGER_DEPTH
+-**
The maximum depth of recursion for triggers.
)^ ++**
The maximum depth of recursion for triggers, and the maximum ++** nesting depth for separate triggers.
)^ + ** + ** [[SQLITE_LIMIT_WORKER_THREADS]] ^(
SQLITE_LIMIT_WORKER_THREADS
+ **
The maximum number of auxiliary worker threads that a single +-- +2.35.6 + diff --git a/meta/recipes-support/sqlite/sqlite3/CVE-2026-119371.patch b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119371.patch new file mode 100644 index 00000000000..03588c983ba --- /dev/null +++ b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119371.patch @@ -0,0 +1,104 @@ +From 15f41e88d9729b80cf61f1d4893e166a61be10bb Mon Sep 17 00:00:00 2001 +From: drh <> +Date: Mon, 5 Oct 2026 09:32:24 +0000 +Subject: [PATCH] Limit the depth of recursion for CTEs using + SQLITE_LIMIT_EXPR_DEPTH. [bugs:/info/2026-10-04T04:58:58Z|Bug + 2026-10-04T04:58:58Z]. + +FossilOrigin-Name: f54730871303e655a70f3167ce1a39dcd4e53fcf017d225f429e2bb67ad96604 + +CVE: CVE-2026-119371 +Upstream-Status: Backport [https://github.com/sqlite/sqlite/commit/e6ff280c839fdfc7418fd5add12e8f32702a17fb] + +Backport Changes: +- Ported src/select.c changes into the amalgamated sqlite3.c file. +- Kept pFrom->pTab in the comment, as used in the current version. +- Omitted test/with2.test because the extracted source lacks the + upstream test tree. +- Omitted manifest and manifest.uuid because they are Fossil metadata. + +Signed-off-by: Arpit Patel +--- + sqlite3.c | 36 ++++++++++++++++++++++++------------ + 1 file changed, 24 insertions(+), 12 deletions(-) + +diff --git a/sqlite3.c b/sqlite3.c +index 13c687dde4..27b3bff8ea 100644 +--- a/sqlite3.c ++++ b/sqlite3.c +@@ -144378,6 +144378,20 @@ SQLITE_PRIVATE void sqlite3SubqueryColumnTypes( + pTab->szTabRow = 1; /* Any non-zero value works */ + } + ++/* ++** Check the current subquery nesting depth. Return true and set an ++** error if it has gone too deep. ++*/ ++static int checkSubqueryNestingDepth(Parse *pParse){ ++#if SQLITE_MAX_EXPR_DEPTH>0 ++ if( pParse->nNestSel >= pParse->db->aLimit[SQLITE_LIMIT_EXPR_DEPTH] ){ ++ sqlite3ErrorMsg(pParse, "VIEWs and/or subqueries nested too deep"); ++ return 1; ++ } ++#endif ++ return 0; ++} ++ + /* + ** Given a SELECT statement, generate a Table structure that describes + ** the result set of that SELECT. +@@ -144388,12 +144402,7 @@ SQLITE_PRIVATE Table *sqlite3ResultSetOfSelect(Parse *pParse, Select *pSelect, c + u64 savedFlags; + + pParse->nNestSel++; +-#if SQLITE_MAX_EXPR_DEPTH>0 +- if( pParse->nNestSel >= db->aLimit[SQLITE_LIMIT_EXPR_DEPTH] ){ +- sqlite3ErrorMsg(pParse, "VIEWs and/or subqueries nested too deep"); +- return 0; +- } +-#endif ++ if( checkSubqueryNestingDepth(pParse) ) return 0; + savedFlags = db->flags; + db->flags &= ~(u64)SQLITE_FullColNames; + db->flags |= SQLITE_ShortColNames; +@@ -147651,14 +147660,13 @@ SQLITE_PRIVATE With *sqlite3WithPush(Parse *pParse, With *pWith, u8 bFree){ + } + + /* +-** This function checks if argument pFrom refers to a CTE declared by ++** This function checks to see if argument pFrom refers to a CTE declared by + ** a WITH clause on the stack currently maintained by the parser (on the +-** pParse->pWith linked list). And if currently processing a CTE +-** CTE expression, through routine checks to see if the reference is +-** a recursive reference to the CTE. ++** pParse->pWith linked list). And if currently processing a CTE expression, ++** it also checks to see if the reference is a recursive reference to the CTE. + ** +-** If pFrom matches a CTE according to either of these two above, pFrom->pTab +-** and other fields are populated accordingly. ++** If pFrom matches a CTE, pFrom->pTab and other fields are populated ++** accordingly. + ** + ** Return 0 if no match is found. + ** Return 1 if a match is found. +@@ -147781,6 +147789,8 @@ static int resolveFromTermToCte( + pRecTerm = pRecTerm->pPrior; + } + ++ pParse->nNestSel++; ++ if( checkSubqueryNestingDepth(pParse) ) return 2; + pCte->zCteErr = "circular reference: %s"; + pSavedWith = pParse->pWith; + pParse->pWith = pWith; +@@ -147805,6 +147815,8 @@ static int resolveFromTermToCte( + } + } + pParse->pWith = pWith; ++ pParse->nNestSel--; ++ assert( pParse->nNestSel>=0 ); + + for(pLeft=pSel; pLeft->pPrior; pLeft=pLeft->pPrior); + pEList = pLeft->pEList; +-- +2.35.6 + diff --git a/meta/recipes-support/sqlite/sqlite3_3.45.3.bb b/meta/recipes-support/sqlite/sqlite3_3.45.3.bb index 480f597b662..464d1cf9b03 100644 --- a/meta/recipes-support/sqlite/sqlite3_3.45.3.bb +++ b/meta/recipes-support/sqlite/sqlite3_3.45.3.bb @@ -21,6 +21,8 @@ SRC_URI = "http://www.sqlite.org/2024/sqlite-autoconf-${SQLITE_PV}.tar.gz \ file://CVE-2026-119372.patch \ file://CVE-2026-119378.patch \ file://CVE-2026-119376.patch \ + file://CVE-2026-119371-dependent.patch \ + file://CVE-2026-119371.patch \ " SRC_URI[sha256sum] = "b2809ca53124c19c60f42bf627736eae011afdcc205bb48270a5ee9a38191531" From patchwork Fri Nov 27 17:48:56 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoann Congal X-Patchwork-Id: 106146 X-Patchwork-Delegate: yoann.congal@smile.fr Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.1461.1795801782871559888 for ; Fri, 27 Nov 2026 09:49:43 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@smile.fr header.s=google2 header.b=ixo2VHW7; spf=pass (domain: smile.fr, ip: 209.85.221.54, mailfrom: yoann.congal@smile.fr) Received: by mail-wr1-f54.google.com with SMTP id ffacd0b85a97d-497614c95f0so4779798f8f.1 for ; Fri, 27 Nov 2026 09:49:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile.fr; s=google2; t=1795801781; x=1796406581; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=71GsGBGN1M4Bw1UD5oYJEAxZVC0DwtGHum5KI7fzTpg=; b=ixo2VHW7eo69pzWcA0cw1kSUsJAsxspDl3QtoNXDNTkrRQYxQaK/sJhp0UQ0TIHxIF u9hmxEB8DsiOImUsLgkKlEovs1XQlICYKODoBBGEpmticP0RcSgWMBK3FMsJsSWpelhe vg3GnEJZiCoGUId+hpX96WS9H4a/ZA3aJiTkhnr0Uz+A7FjFI3XORJ71cXZHRKjg9a+l irM4Bg2ZDydJHbEL8PQ7GBk8SXGbkstXPBukn3qBN1UWVk4rS9vPmJ8N6UjYiEO21JuW Y2/5bA8r17f5mIykeg5P+z2ro9BX4+bdy3NXV+z9YjvNu0QAs4mOFJj7SqORdCzG1MB4 s4tQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795801781; x=1796406581; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=71GsGBGN1M4Bw1UD5oYJEAxZVC0DwtGHum5KI7fzTpg=; b=i5LUbFveqpJn6Zln36wq8dYinAYhKVPaDHkej624zlWarxpZzbzt6iLsfXdPu2OrDa oyVvQEAlR81C2ajnku5dXxvQYZBx4aOuLv2K9j6nbDj1VPfk/LVLAHlS5l3QQzRpPWYL l9Q04uuo8d+rgL8Lu78tER8WqcjXtT4Rktct2lTOzRWPeRusc5gL9SoYUBpZYMA9b+Wu dQHf8ZcPIE+EqxwGqRe7owp1ljaIQTLcU3D8V7ewQN4LO/trMkQpccTz27RObmaAHMPi 3wGApunvs4+VXU6R1KGi3BdMVp6Jai/VKABpJtGF4lat7AH1uucJv54Jk7a8FihNt0Ew AP4Q== X-Gm-Message-State: APuU4Z89C5Oj0r8bGtRAuabD1vYqYp42vrWWUxL5iFJuv6LlBkrbTkDx WWSu1BHnYzhq94JKPtaxcBwiN/Lf1E9AAQ+L3juFReJD8haF7xF1dz8iIJZBXyodWJBrg+yk1uZ vix1p3Qo= X-Gm-Gg: AZFdTZcwXJJimfogMUHP4RIi7MfUDKKUyAdGqutr4waL20cNDCJTN5fRgwP4j6jWEac +FqorSB5RNn8w9ZUUdShsQO7pDsolUePgL08etyPeGKj6XUd2pJg3XS+GLkCEbcFqDZwS1JkEKS BO5SVJkImMuYwilP9+qNVjUITFvWAbCtE2vutlBSRp9EApUeSlQODJJ3cxgbhnUG+iQYTVFx4iU sJaahVlN5vc1QFrgq6Noa2LzzyTWbzLxlQBhizlWXiJs9qqYhxXgt1I9wQxEhC7hc4V5psYgRTw dpTnJ0VzRzcBmJ+TuYz8WaImR7B5rbdeiki6feWtcNhXTqOSj7AxlJAJf2Nd43fAbBxCjvhwVP/ WsKHzz0BpkVLkOr8CV2SniZcxEFsmpAnymUL/Mgf/fVZ2nXiZHi91C8/Cb296ulDgl8YRQBRYsR oZLUEzrLBSBRJvzXVJKk+Ozq30TJF1+qigl48Es+7qTjQjYpVQbz4gwe5dd0BlMnbg6YFjOpmXp qLX71N5YPpP3Qgd1KSjGwupnaORkKzMm3sK3k7VLFIcCrdAZgH4Nrm0xMmBwm3khc0olij4acw8 I625RMbX05B5NI4I2IXhHb0NvRK/StLChKJhicAm5BKbmkR1dM127YSDqPvao6Q2yj9bnaMy4d3 NmxgndGkirgbaKH9J+JjNRFYLyREo X-Received: by 2002:adf:e197:0:b0:492:b5d9:feb9 with SMTP id ffacd0b85a97d-4abb3a4d8f7mr44968823f8f.30.1795801781074; Fri, 27 Nov 2026 09:49:41 -0800 (PST) Return-Path: Received: from FRSMI25-LASER.home (2a01cb001331aa00a2e4fb7b0d887544.ipv6.abo.wanadoo.fr. [2a01:cb00:1331:aa00:a2e4:fb7b:d88:7544]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab69bf630esm49374624f8f.16.2026.11.27.09.49.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Nov 2026 09:49:40 -0800 (PST) From: Yoann Congal To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 13/37] sqlite3: fix CVE-2026-119591 Date: Fri, 27 Nov 2026 18:48:56 +0100 Message-ID: <1e3870474c1d4a054916c49bae19d02fc7e04b80.1795798718.git.yoann.congal@smile.fr> X-Mailer: git-send-email 2.55.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 27 Nov 2026 17:49:43 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251419 From: Arpit Patel This patch applies the upstream fix [1] for stack exhaustion in the count-of-view optimization. The GitHub mirror commit [1] corresponds to the SQLite Fossil check-in shown in [2]. [1] https://github.com/sqlite/sqlite/commit/eff50a067c55f972909e7780e506e91382d08de2 [2] https://sqlite.org/src/info/ab621a3e11ee4acc Reference: https://nvd.nist.gov/vuln/detail/CVE-2026-119591 Signed-off-by: Arpit Patel Signed-off-by: Bastien Jauny Signed-off-by: Yoann Congal --- .../sqlite/sqlite3/CVE-2026-119591.patch | 40 +++++++++++++++++++ meta/recipes-support/sqlite/sqlite3_3.45.3.bb | 1 + 2 files changed, 41 insertions(+) create mode 100644 meta/recipes-support/sqlite/sqlite3/CVE-2026-119591.patch diff --git a/meta/recipes-support/sqlite/sqlite3/CVE-2026-119591.patch b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119591.patch new file mode 100644 index 00000000000..3162d7af45d --- /dev/null +++ b/meta/recipes-support/sqlite/sqlite3/CVE-2026-119591.patch @@ -0,0 +1,40 @@ +From 5dbe255431ad2b935db31e8e3c2c66284e2709ef Mon Sep 17 00:00:00 2001 +From: drh <> +Date: Mon, 5 Oct 2026 12:18:23 +0000 +Subject: [PATCH] Prevent the expression generated by the count-of-view + optimization from getting too deep and causing a CPU stack overflow. + [bugs:/info/2026-10-04T05:34:47Z|Bug 2026-10-04T05:34:47Z] + +FossilOrigin-Name: ab621a3e11ee4accce14bf6c90a7cc273d9c25a7c3d9dd2466f2bdc2bbbf8084 + +CVE: CVE-2026-119591 +Upstream-Status: Backport [https://github.com/sqlite/sqlite/commit/eff50a067c55f972909e7780e506e91382d08de2] + +Backport Changes: +- Ported the src/select.c change into the amalgamated sqlite3.c. +- Omitted manifest and manifest.uuid because they are Fossil metadata + and are not needed for this source layout. + +Signed-off-by: Arpit Patel +--- + sqlite3.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/sqlite3.c b/sqlite3.c +index 27b3bff8ea..788e23a839 100644 +--- a/sqlite3.c ++++ b/sqlite3.c +@@ -149172,6 +149172,10 @@ static int countOfViewOptimization(Parse *pParse, Select *p){ + }else{ + pExpr = sqlite3PExpr(pParse, TK_PLUS, pTerm, pExpr); + } ++ if( pParse->nErr ){ ++ sqlite3ExprDelete(db, pExpr); ++ pExpr = 0; ++ } + pSub = pPrior; + } + p->pEList->a[0].pExpr = pExpr; +-- +2.35.6 + diff --git a/meta/recipes-support/sqlite/sqlite3_3.45.3.bb b/meta/recipes-support/sqlite/sqlite3_3.45.3.bb index 464d1cf9b03..3befa41c1ca 100644 --- a/meta/recipes-support/sqlite/sqlite3_3.45.3.bb +++ b/meta/recipes-support/sqlite/sqlite3_3.45.3.bb @@ -23,6 +23,7 @@ SRC_URI = "http://www.sqlite.org/2024/sqlite-autoconf-${SQLITE_PV}.tar.gz \ file://CVE-2026-119376.patch \ file://CVE-2026-119371-dependent.patch \ file://CVE-2026-119371.patch \ + file://CVE-2026-119591.patch \ " SRC_URI[sha256sum] = "b2809ca53124c19c60f42bf627736eae011afdcc205bb48270a5ee9a38191531" From patchwork Fri Nov 27 17:48:57 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoann Congal X-Patchwork-Id: 106148 X-Patchwork-Delegate: yoann.congal@smile.fr Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1534.1795801783872918220 for ; Fri, 27 Nov 2026 09:49:44 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@smile.fr header.s=google2 header.b=Dq4GB59+; spf=pass (domain: smile.fr, ip: 209.85.221.45, mailfrom: yoann.congal@smile.fr) Received: by mail-wr1-f45.google.com with SMTP id ffacd0b85a97d-48e47347279so5123215f8f.1 for ; Fri, 27 Nov 2026 09:49:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile.fr; s=google2; t=1795801782; x=1796406582; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=gvgbx6Mf+zGQH/DKTMm8Zp2irFEGn/+cFPLCFIrWuA4=; b=Dq4GB59+FoWmNxHWjaJARIB94jZndBGARwMLgmewMYRhAng0xzctW8uz9I9WeckihE 8IXq8CoJA0PGygAkMBOFKgfiVuEsjzELWgQ+COLUbX2/bets3Y7iZefAmvtRT+MwY0+T DeJrIsDEX65N010Forkr+qNTk5o8rSN4ukKFIwXYHnVQYbwhB2E8l4ifiUOp3xxcz8Q9 SAeJpVAv9yTRmLYDsBg6N6y2tEzV9rnVPmuEb1h/ILiBNT0VBr328HJjqG7G7CsT0oCS /U4Z0DM2fl4bpgb4wZTWL89qtMy5+yoLZPj1g3sucLLm4SSugibTd1W2wjibCIQ0/ohZ QR+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795801782; x=1796406582; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=gvgbx6Mf+zGQH/DKTMm8Zp2irFEGn/+cFPLCFIrWuA4=; b=16dg/1u3wUrAPAIPezvzwWkKwx/k/ZiyH6YQB9y/UY53LAcnXxJkOitHXHu7uI3aak mJmLIntb2f3MoeZlMmwdm+Ev6jbd8YWUMiR/SDwT9Zj8eL0Sg4s7KplqIB1XdRvJXmuE raXcPOGEc/2/hkOYVVrQxBjXVyXzg7j+uqd9K1Kvsqn735kLN0YGwayTn+x58fisUcU/ I91OtTNcP1nb7HFNa13hWBifzZjtbK9FO8vYtzSDjDpVre2CsC2BSUvS72NSFChuC877 o6xxoPFX2K7F5X/ds0mtpkcAZbgVBAE9XiymTtoPESAtg24tNiExi74cZRybiXT7W4fM IDZA== X-Gm-Message-State: APuU4Z97QJ356DO6kSghf0D8mY5S+5meO1rj7VgKtaT+0Xwbgg9rKzoc XxFVPh/+lHDvcGFNBmcI3PDYGsiwc3EQu3ThkiQRw7xlT6k2b68o9NN0xwXgoxFmAzoy/J9l16p mTOCqN/g= X-Gm-Gg: AZFdTZdxTDyb1BGMs9OWRyl78GgMxrOCFGcZFNe4eRjx5p7DIUTX9rFzuM5pa2zOmDn yiXbfmoVi4l1DXbV2pJXice/Zo0HIPu203WT3rwQE3dlq+M6RwFizmKTR3gEww2D4BKl4zQi8m3 x2Jouu/0qS2aXsChMlJ9Ty/o8ecH28uu9a9yDbLlVhXEDiFnPqu3PNXDxja8ucb7u/R0Av3ZYXo 7kKMMM/QN0PT/eV/8YBVd9cexUVP2LDwZaiTEnqq8ssW8eA7oG1UKWgGolS4nTM7zuPuVBm3Dyd ye52T6ILJHccOvo4PkoRNARLSEc6U4hWgDe2bcl2VzaChNLJyFvpMAhwfSO1j6CRHlIWOtCAUZe 1PwAxx9pYNDaRE4KR2hnqtYH0thV/lfapSyMljdumvLOnkg90eWuoW5Cs3MuMjkQRaHW/oXJBGv tPfTDX3KlDF3PNjTMVxmnW9XGUzZ2kkE+OicmsGBlNyrSnEaZ9tF/7v0ua9iuyfP6hU2SD5fslJ GsA1kkQEMhNMwAlet+1lhetfmlhssMCovjRPZCH+a28ypPvijuDksE4wQooUP2uG4sfwBndeW1w mnlLkgo6GYk5Cb2giUexDeYVfvuRRpwT90prHUFivNhSQWlh5WPqgNswkpaZN2LF3xJiaDNd/h5 cdqEio/k3AAoseBM70UsOr0fCR31jAjtVzIzeJwtPvcs7mpcneA== X-Received: by 2002:a5d:64c5:0:b0:4ab:c3f8:9f65 with SMTP id ffacd0b85a97d-4abc3f8a051mr46776494f8f.26.1795801781887; Fri, 27 Nov 2026 09:49:41 -0800 (PST) Return-Path: Received: from FRSMI25-LASER.home (2a01cb001331aa00a2e4fb7b0d887544.ipv6.abo.wanadoo.fr. [2a01:cb00:1331:aa00:a2e4:fb7b:d88:7544]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab69bf630esm49374624f8f.16.2026.11.27.09.49.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Nov 2026 09:49:41 -0800 (PST) From: Yoann Congal To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 14/37] popt: patch CVE-2026-18839 Date: Fri, 27 Nov 2026 18:48:57 +0100 Message-ID: <0452da1b47e6ba31c1e3fc3e143116cdc1f5663c.1795798718.git.yoann.congal@smile.fr> X-Mailer: git-send-email 2.55.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 27 Nov 2026 17:49:53 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251420 From: Peter Marko Pick commits from PR [1] referencing this CVE. Modify the patch by converting cmake change to autotools. [1] https://github.com/rpm-software-management/popt/pull/142 Signed-off-by: Peter Marko Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie (cherry picked from commit a522f7f1d73e21745699243f6ca4fc89351fb91a) Signed-off-by: Yoann Congal --- .../popt/popt/CVE-2026-18839-01.patch | 89 ++++ .../popt/popt/CVE-2026-18839-02.patch | 419 ++++++++++++++++++ meta/recipes-support/popt/popt_1.19.bb | 2 + 3 files changed, 510 insertions(+) create mode 100644 meta/recipes-support/popt/popt/CVE-2026-18839-01.patch create mode 100644 meta/recipes-support/popt/popt/CVE-2026-18839-02.patch diff --git a/meta/recipes-support/popt/popt/CVE-2026-18839-01.patch b/meta/recipes-support/popt/popt/CVE-2026-18839-01.patch new file mode 100644 index 00000000000..c3cb7e319c8 --- /dev/null +++ b/meta/recipes-support/popt/popt/CVE-2026-18839-01.patch @@ -0,0 +1,89 @@ +From 4f5a070cd98aade2767677de22661f4854d4a195 Mon Sep 17 00:00:00 2001 +From: Panu Matilainen +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 +--- + 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 ++#include + + /** + * 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 + #endif diff --git a/meta/recipes-support/popt/popt/CVE-2026-18839-02.patch b/meta/recipes-support/popt/popt/CVE-2026-18839-02.patch new file mode 100644 index 00000000000..702403c2b3a --- /dev/null +++ b/meta/recipes-support/popt/popt/CVE-2026-18839-02.patch @@ -0,0 +1,419 @@ +From af6f19e5968d48608a062d6d92d28b7fd248f8ea Mon Sep 17 00:00:00 2001 +From: Panu Matilainen +Date: Thu, 20 Aug 2026 14:28:11 +0300 +Subject: [PATCH] Fix a bucketful of buffer overflows in popt --help printing + +singleOptionDefaultValue() based the default value string output buffer +size on the available line length, without any sort of bounds checking +for most data. This was trivial to overflow with longer option names. + +There was also this baffling ellipsizing of long string arguments, done +done based on the rather arbitrary buffer size instead of screen limits. +Ellipsizing of long values might be totally reasonable but that belongs +to the display code that does all manner of formatting too. + +Just use our newly introduced allocating sprintf() to get it right for +good. Drop the line length argument entirely, it was only used for +a bad estimation of the needed buffer size. + +At the other end, make sure the indent length stays below available +columns to avoid the underflow from help printing. + +Annoyingly we need multiple different test programs for this because +the various crashes are quite sensitive to the max length of a single +option in the table. There are more broken cases than these, but we +can't test everything and these cover the CVE-2026-18839 case. +Update the ellipsis test a bit because it no longer makes sense. + +Note: this depends on the previous commit. + +Fixes: CVE-2026-18839 + +CVE: CVE-2026-18839 +Upstream-Status: Backport [https://github.com/rpm-software-management/popt/commit/af6f19e5968d48608a062d6d92d28b7fd248f8ea] +Convert cmake change to autotools. +Signed-off-by: Peter Marko +--- + src/popthelp.c | 55 ++++++++++++++++------------------------------- + tests/Makefile.am | 10 ++++++++- + tests/test1.c | 2 +- + tests/test4-1.c | 33 ++++++++++++++++++++++++++++ + tests/test4-2.c | 33 ++++++++++++++++++++++++++++ + tests/test4-3.c | 33 ++++++++++++++++++++++++++++ + tests/test4-4.c | 33 ++++++++++++++++++++++++++++ + tests/testit.sh | 36 +++++++++++++++++++++++++++++-- + 8 files changed, 195 insertions(+), 40 deletions(-) + create mode 100644 tests/test4-1.c + create mode 100644 tests/test4-2.c + create mode 100644 tests/test4-3.c + create mode 100644 tests/test4-4.c + +diff --git a/src/popthelp.c b/src/popthelp.c +index fa31901..3950975 100644 +--- a/src/popthelp.c ++++ b/src/popthelp.c +@@ -197,79 +197,60 @@ getArgDescrip(const struct poptOption * opt, + + /** + * Display default value for an option. +- * @param lineLength display positions remaining + * @param opt option(s) + * @param translation_domain translation domain + * @return + */ + static char * +-singleOptionDefaultValue(size_t lineLength, ++singleOptionDefaultValue( + const struct poptOption * opt, + /* FIX: i18n macros disabled with lclint */ + const char * translation_domain) + { + const char * defstr = D_(translation_domain, "default"); +- char * le = malloc(4*lineLength + 1); +- char * l = le; ++ char * l = NULL; + +- if (le == NULL) return NULL; /* XXX can't happen */ +- *le = '\0'; +- *le++ = '('; +- le = stpcpy(le, defstr); +- *le++ = ':'; +- *le++ = ' '; + if (opt->arg) { /* XXX programmer error */ + poptArg arg = { .ptr = opt->arg }; + switch (poptArgType(opt)) { + case POPT_ARG_VAL: + case POPT_ARG_INT: +- le += sprintf(le, "%d", arg.intp[0]); ++ POPT_asprintf(&l, "(%s: %d)", defstr, arg.intp[0]); + break; + case POPT_ARG_SHORT: +- le += sprintf(le, "%hd", arg.shortp[0]); ++ POPT_asprintf(&l, "(%s: %hd)", defstr, arg.shortp[0]); + break; + case POPT_ARG_LONG: +- le += sprintf(le, "%ld", arg.longp[0]); ++ POPT_asprintf(&l, "(%s: %ld)", defstr, arg.longp[0]); + break; + case POPT_ARG_LONGLONG: +- le += sprintf(le, "%lld", arg.longlongp[0]); ++ POPT_asprintf(&l, "(%s: %lld)", defstr, arg.longlongp[0]); + break; + case POPT_ARG_FLOAT: + { double aDouble = (double) arg.floatp[0]; +- le += sprintf(le, "%g", aDouble); ++ POPT_asprintf(&l, "(%s: %g)", defstr, aDouble); + } break; + case POPT_ARG_DOUBLE: +- le += sprintf(le, "%g", arg.doublep[0]); ++ POPT_asprintf(&l, "(%s: %g)", defstr, arg.doublep[0]); + break; + case POPT_ARG_MAINCALL: +- le += sprintf(le, "%p", opt->arg); ++ POPT_asprintf(&l, "(%s: %p)", defstr, opt->arg); + break; + case POPT_ARG_ARGV: +- le += sprintf(le, "%p", opt->arg); ++ POPT_asprintf(&l, "(%s: %p)", defstr, opt->arg); + break; + case POPT_ARG_STRING: +- { const char * s = arg.argv[0]; +- if (s == NULL) +- le = stpcpy(le, "null"); +- else { +- size_t limit = 4*lineLength - (le - l) - sizeof("\"\")"); +- size_t slen; +- *le++ = '"'; +- strncpy(le, s, limit); le[limit] = '\0'; le += (slen = strlen(le)); +- if (slen == limit && s[limit]) +- le[-1] = le[-2] = le[-3] = '.'; +- *le++ = '"'; +- } +- } break; ++ if (arg.argv[0]) ++ POPT_asprintf(&l, "(%s: \"%s\")", defstr, arg.argv[0]); ++ else ++ POPT_asprintf(&l, "(%s: %s)", defstr, "null"); ++ break; + case POPT_ARG_NONE: + default: +- l = _free(l); + return NULL; + break; + } + } +- *le++ = ')'; +- *le = '\0'; + + return l; + } +@@ -286,7 +267,9 @@ static void singleOptionHelp(FILE * fp, columns_t columns, + const char * translation_domain) + { + size_t maxLeftCol = columns->cur; +- size_t indentLength = maxLeftCol + 5; ++ size_t indentLength = maxLeftCol + 5 < columns->max ? ++ maxLeftCol + 5 : ++ columns->max - (maxLeftCol % columns->max) - 1; + size_t lineLength = columns->max - indentLength; + const char * help = D_(translation_domain, opt->descrip); + const char * argDescrip = getArgDescrip(opt, translation_domain); +@@ -347,7 +330,7 @@ static void singleOptionHelp(FILE * fp, columns_t columns, + + /* Choose type of output */ + if (F_ISSET(opt, SHOW_DEFAULT)) { +- defs = singleOptionDefaultValue(lineLength, opt, translation_domain); ++ defs = singleOptionDefaultValue(opt, translation_domain); + if (defs) { + char * t = malloc((help ? strlen(help) : 0) + + strlen(defs) + sizeof(" ")); +diff --git a/tests/Makefile.am b/tests/Makefile.am +index 99fbf64..dfc60e7 100644 +--- a/tests/Makefile.am ++++ b/tests/Makefile.am +@@ -11,7 +11,7 @@ EXTRA_DIST = testit.sh \ + + AM_CPPFLAGS = -I. -I$(top_srcdir)/src + +-noinst_PROGRAMS = test1 test2 tdict test3 tstuff ++noinst_PROGRAMS = test1 test2 tdict test3 tstuff test4-1 test4-2 test4-3 test4-4 + tstuff_SOURCES = tstuff.c + tstuff_LDFLAGS = + tstuff_LDADD = $(top_builddir)/src/libpopt.la +@@ -24,6 +24,14 @@ test2_LDADD = $(top_builddir)/src/libpopt.la + test3_SOURCES = test3.c + test3_LDFLAGS = + test3_LDADD = $(top_builddir)/src/libpopt.la ++test4_1_SOURCES = test4-1.c ++test4_1_LDADD = $(top_builddir)/src/libpopt.la ++test4_2_SOURCES = test4-2.c ++test4_2_LDADD = $(top_builddir)/src/libpopt.la ++test4_3_SOURCES = test4-3.c ++test4_3_LDADD = $(top_builddir)/src/libpopt.la ++test4_4_SOURCES = test4-4.c ++test4_4_LDADD = $(top_builddir)/src/libpopt.la + tdict_SOURCES = tdict.c + tdict_LDFLAGS = + tdict_LDADD = $(top_builddir)/src/libpopt.la +diff --git a/tests/test1.c b/tests/test1.c +index 7a3e663..3007f27 100644 +--- a/tests/test1.c ++++ b/tests/test1.c +@@ -49,7 +49,7 @@ static char * oStr = (char *) -1; + static int singleDash = 0; + + static const char * lStr = +-"This tests default strings and exceeds the ... limit. " ++"This tests default strings and exceeds the former ... limit. " + "123456789+123456789+123456789+123456789+123456789+ " + "123456789+123456789+123456789+123456789+123456789+ " + "123456789+123456789+123456789+123456789+123456789+ " +diff --git a/tests/test4-1.c b/tests/test4-1.c +new file mode 100644 +index 0000000..2a0f094 +--- /dev/null ++++ b/tests/test4-1.c +@@ -0,0 +1,33 @@ ++#include ++#include ++ ++static char *arg2 = "meh"; ++ ++static struct poptOption options[] = { ++ { "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaargh", ++ '\0', POPT_ARG_STRING | POPT_ARGFLAG_SHOW_DEFAULT, ++ &arg2, 0, "Second", NULL }, ++ ++ POPT_AUTOALIAS ++ POPT_AUTOHELP ++ POPT_TABLEEND ++}; ++ ++int main(int argc, const char *argv[]) ++{ ++ poptContext optCon = poptGetContext("test4", argc, argv, options, 0); ++ ++ poptReadDefaultConfig(optCon, 0); ++ ++ int rc = poptGetNextOpt(optCon); ++ ++ if (rc < -1) { ++ fprintf(stderr, "%s: bad argument %s: %s\n", ++ argv[0], poptBadOption(optCon, POPT_BADOPTION_NOALIAS), ++ poptStrerror(rc)); ++ goto exit; ++ } ++ ++exit: ++ poptFreeContext(optCon); ++} +diff --git a/tests/test4-2.c b/tests/test4-2.c +new file mode 100644 +index 0000000..f9cd13d +--- /dev/null ++++ b/tests/test4-2.c +@@ -0,0 +1,33 @@ ++#include ++#include ++ ++static char *arg3 = NULL; ++ ++static struct poptOption options[] = { ++ { "brrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrgh", ++ '\0', POPT_ARG_STRING | POPT_ARGFLAG_SHOW_DEFAULT, ++ &arg3, 0, "Third", NULL }, ++ ++ POPT_AUTOALIAS ++ POPT_AUTOHELP ++ POPT_TABLEEND ++}; ++ ++int main(int argc, const char *argv[]) ++{ ++ poptContext optCon = poptGetContext("test4", argc, argv, options, 0); ++ ++ poptReadDefaultConfig(optCon, 0); ++ ++ int rc = poptGetNextOpt(optCon); ++ ++ if (rc < -1) { ++ fprintf(stderr, "%s: bad argument %s: %s\n", ++ argv[0], poptBadOption(optCon, POPT_BADOPTION_NOALIAS), ++ poptStrerror(rc)); ++ goto exit; ++ } ++ ++exit: ++ poptFreeContext(optCon); ++} +diff --git a/tests/test4-3.c b/tests/test4-3.c +new file mode 100644 +index 0000000..a29f359 +--- /dev/null ++++ b/tests/test4-3.c +@@ -0,0 +1,33 @@ ++#include ++#include ++ ++static char *arg2 = NULL; ++ ++static struct poptOption options[] = { ++ { "aarrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrggggggh", ++ '\0', POPT_ARG_STRING, ++ &arg2, 0, "xxxxx", NULL }, ++ ++ POPT_AUTOALIAS ++ POPT_AUTOHELP ++ POPT_TABLEEND ++}; ++ ++int main(int argc, const char *argv[]) ++{ ++ poptContext optCon = poptGetContext("test4", argc, argv, options, 0); ++ ++ poptReadDefaultConfig(optCon, 0); ++ ++ int rc = poptGetNextOpt(optCon); ++ ++ if (rc < -1) { ++ fprintf(stderr, "%s: bad argument %s: %s\n", ++ argv[0], poptBadOption(optCon, POPT_BADOPTION_NOALIAS), ++ poptStrerror(rc)); ++ goto exit; ++ } ++ ++exit: ++ poptFreeContext(optCon); ++} +diff --git a/tests/test4-4.c b/tests/test4-4.c +new file mode 100644 +index 0000000..b1b1322 +--- /dev/null ++++ b/tests/test4-4.c +@@ -0,0 +1,33 @@ ++#include ++#include ++ ++static char *arg2 = NULL; ++ ++static struct poptOption options[] = { ++ { "aarrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrgggggghyyyyy", ++ '\0', POPT_ARG_STRING, ++ &arg2, 0, "xxxxx", NULL }, ++ ++ POPT_AUTOALIAS ++ POPT_AUTOHELP ++ POPT_TABLEEND ++}; ++ ++int main(int argc, const char *argv[]) ++{ ++ poptContext optCon = poptGetContext("test4", argc, argv, options, 0); ++ ++ poptReadDefaultConfig(optCon, 0); ++ ++ int rc = poptGetNextOpt(optCon); ++ ++ if (rc < -1) { ++ fprintf(stderr, "%s: bad argument %s: %s\n", ++ argv[0], poptBadOption(optCon, POPT_BADOPTION_NOALIAS), ++ poptStrerror(rc)); ++ goto exit; ++ } ++ ++exit: ++ poptFreeContext(optCon); ++} +diff --git a/tests/testit.sh b/tests/testit.sh +index d26be3a..b8357c8 100755 +--- a/tests/testit.sh ++++ b/tests/testit.sh +@@ -149,8 +149,8 @@ Usage: test1 [OPTION...] + --nstr=STRING POPT_ARG_STRING: (null) (default: null) + --lstr=STRING POPT_ARG_STRING: \"123456789...\" (default: + \"This tests default strings and exceeds the +- ... limit. +- 123456789+123456789+123456789+123456789+123456789+ 123456789+123456789+123456789+123456789+123456789+ 1234567...\") ++ former ... limit. ++ 123456789+123456789+123456789+123456789+123456789+ 123456789+123456789+123456789+123456789+123456789+ 123456789+123456789+123456789+123456789+123456789+ 123456789+123456789+123456789+123456789+123456789+ \") + + arg for cb2 + -c, --cb2=STRING Test argument callbacks +@@ -183,5 +183,37 @@ run_diff test3 "test3 - 2" test3-data/02.input test3-data/02.answer + run_diff test3 "test3 - 3" test3-data/03.input test3-data/03.answer + run_diff test3 "test3 - 5" test3-data/05.input test3-data/05.answer + ++run test4-1 "test 4-1 - 63" "\ ++Usage: test4-1 [OPTION...] ++ --aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaargh=STRING Second (default: \"meh\") ++ ++Help options: ++ -?, --help Show this help message ++ --usage Display brief usage message" --help ++ ++run test4-2 "test 4-2 - 64" "\ ++Usage: test4-2 [OPTION...] ++ --brrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrgh=STRING Third (default: null) ++ ++Help options: ++ -?, --help Show this help message ++ --usage Display brief usage message" --help ++ ++run test4-3 "test 4-3 - 65" "\ ++Usage: test4-3 [OPTION...] ++ --aarrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrggggggh=STRING xxxxx ++ ++Help options: ++ -?, --help Show this help message ++ --usage Display brief usage message" --help ++ ++run test4-4 "test 4-4 - 66" "\ ++Usage: test4-4 [OPTION...] ++ --aarrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrgggggghyyyyy=STRING xxxxx ++ ++Help options: ++ -?, --help Show this help message ++ --usage Display brief usage message" --help ++ + echo "" + echo "Passed." diff --git a/meta/recipes-support/popt/popt_1.19.bb b/meta/recipes-support/popt/popt_1.19.bb index 18cc4f2867d..33f07552a6e 100644 --- a/meta/recipes-support/popt/popt_1.19.bb +++ b/meta/recipes-support/popt/popt_1.19.bb @@ -12,6 +12,8 @@ SRC_URI = "http://ftp.rpm.org/popt/releases/popt-1.x/${BP}.tar.gz \ file://run-ptest \ file://CVE-2026-18743.patch \ file://CVE-2026-18739.patch \ + file://CVE-2026-18839-01.patch \ + file://CVE-2026-18839-02.patch \ " SRC_URI[sha256sum] = "c25a4838fc8e4c1c8aacb8bd620edb3084a3d63bf8987fdad3ca2758c63240f9" From patchwork Fri Nov 27 17:48:58 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoann Congal X-Patchwork-Id: 106156 X-Patchwork-Delegate: yoann.congal@smile.fr Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1535.1795801784424049121 for ; Fri, 27 Nov 2026 09:49:44 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@smile.fr header.s=google2 header.b=SrzCNx0w; spf=pass (domain: smile.fr, ip: 209.85.221.46, mailfrom: yoann.congal@smile.fr) Received: by mail-wr1-f46.google.com with SMTP id ffacd0b85a97d-492fcbfaa88so5707609f8f.3 for ; Fri, 27 Nov 2026 09:49:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile.fr; s=google2; t=1795801783; x=1796406583; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=TquP3LS4C9Y+uC3J8C+p63AmpZstWe8gvcKOq5CzlPI=; b=SrzCNx0w9Vl7eeRAKoINLNrFoOGBIi2gd4hj/mQZC/T4Z6iw4+bd4aNJJ34Yq4YDHO P22TGv64D+jzeuZmN9jJZxBJUx6L6VIdEeuxnPk19z8+tJBdRZxAjbHYCFIeSwbjPShj 38pUUIOSUzcf8FGHwEO7pI6kOQk2cXVXUR8zS9UwrsLZ6PSeb6WvZI+m5nLJV5PLbeaN KKo6Svi2CgA9SRLSIK++dRccTcA38VUiA/br5w6EtD6rp4WorXQ9L6VYvNFKzJt7HvZR 44X7Oci7/JX7ejJncGi+uVuw0+LWtQlW0Xcx3ckL2AAgGXpJ4hJTsWfokv83Eo2cnIA+ 8OHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795801783; x=1796406583; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=TquP3LS4C9Y+uC3J8C+p63AmpZstWe8gvcKOq5CzlPI=; b=u7V4v9LILxIw6F3MxVzCyU7IDmY5G1UFlkRXRnQ0ejezbs+qNLaccx/UN4PHLTvUSx aP51Lj0OLex2ct5va3BOXy5aBPOZmseFI9nnUzsD4/6j9n6K2vt3xKCPGq8PhPdcuixA SZR3WWfiFpwF6tABEpkOLzThJ90or1V+xIONfEfABbpA18Uc1qit/O4Av5cGT0Ys2V0q hMnuYnU9/2Vyd1qkwLKOSiyof4WDmHkT4tB8IqvR/k/+qYOYAL7HC2QRMMyzbi701PIo CBoeV/mYHfOQwQeZOqLbSmwRJFgJEiPp5EVfTF0fNj3BRwPGw9jzs77kgO4pDqXqQG2U gX+g== X-Gm-Message-State: APuU4Z+i5pzJBBAv3v5hlkCpiN5X/iAy1ibpsEwf4dKrT9Wg/S/Rf2sa Sb9+GqXDBktVdf0qhHc4sYETBGfTStDHjrmmBJ9Y/MsGkbNkpjgKeFBge23MP2+zeJ038NX3HQE 13MaE0/M= X-Gm-Gg: AZFdTZe911Rlf5z5VhuiO781M3ko9ofEmQku5RhMi7aQkPg9D2A2vmngQVmiG4+CzhG wNaB26SYG2bllyqNxg0rxCzpV1fA7AOw7yfzAuW5wzfWEO149zc6vBI4KWGfWoa2qnPgfjHpI+9 fI592TTM1uBxmKFaHzujURr3J325ZHucXUlZVsivCAj2ZBYxvj6UtCWuL1AU29NYuJGK+F5fpj0 tDLKmHpTYo1eJHWNnZovhv5DeG0VbJKpDUnAt5MbWcOO6Ja/WYCUkHbA2AvSHnlyuJBrWNXtbpq OlXRuSyr2BVw9CQK7dQ5Ugxccg7t5GKL94eYjYv1CQh4v18hrt0rElzE3/33MF9YVLVelwTERRV O15cNiLhnJMH6tiyqQ5oZNKid+tMenjl8T6Dii4eIA/wjuy68FhLX5ZmcqqHyegcP3BEUWLZs3q RQuS1oxiiMhNWfHoAg1ec3h9lE0h8tHC5h65DhE/ALvRQk4MoMA3JqaxVYuao9UydXSUkO836ib 6EUz/Yf5TvkSHIkiETHqBNEkjxvVnaco1ilPhcgYB+X07JdXyQwofaQNZ7kIQCNSxExchnceSOy Dbez9oT9+7pbffeRmzrUizdLriM+AjygEWaPSJcNOwI/sOSc90nOg1zirdOMW5wI2uOVfAh8Gng tmLShHcZs3adSLG2oGOxxApQmLCk1 X-Received: by 2002:a05:6000:461a:b0:491:1e3f:a427 with SMTP id ffacd0b85a97d-4abb4b84d2cmr47537610f8f.42.1795801782694; Fri, 27 Nov 2026 09:49:42 -0800 (PST) Return-Path: Received: from FRSMI25-LASER.home (2a01cb001331aa00a2e4fb7b0d887544.ipv6.abo.wanadoo.fr. [2a01:cb00:1331:aa00:a2e4:fb7b:d88:7544]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab69bf630esm49374624f8f.16.2026.11.27.09.49.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Nov 2026 09:49:42 -0800 (PST) From: Yoann Congal To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 15/37] aspell: upgrade 0.60.8.2 -> 0.60.8.3 Date: Fri, 27 Nov 2026 18:48:58 +0100 Message-ID: <27ff53c5d4a32bea0acca55fde2528137f839af4.1795798718.git.yoann.congal@smile.fr> X-Mailer: git-send-email 2.55.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 27 Nov 2026 17:49:54 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251421 From: Ankur Tyagi - Fix CVE-2026-75818, CVE-2026-75819, CVE-2026-75820 and CVE-2026-103658. - Fix various other memory problems. - Fix various typos in documentation. - Remove unused MySpell example code. Signed-off-by: Ankur Tyagi Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie (From OE-Core rev: 05baab915b146a19776cd292962e2cf4edfc6f20) Signed-off-by: Peter Marko Signed-off-by: Yoann Congal --- .../aspell/{aspell_0.60.8.2.bb => aspell_0.60.8.3.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-support/aspell/{aspell_0.60.8.2.bb => aspell_0.60.8.3.bb} (93%) diff --git a/meta/recipes-support/aspell/aspell_0.60.8.2.bb b/meta/recipes-support/aspell/aspell_0.60.8.3.bb similarity index 93% rename from meta/recipes-support/aspell/aspell_0.60.8.2.bb rename to meta/recipes-support/aspell/aspell_0.60.8.3.bb index 5b4fab7c354..6ac547887b0 100644 --- a/meta/recipes-support/aspell/aspell_0.60.8.2.bb +++ b/meta/recipes-support/aspell/aspell_0.60.8.3.bb @@ -14,7 +14,7 @@ LICENSE = "LGPL-2.0-only | LGPL-2.1-only" LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34" SRC_URI = "${GNU_MIRROR}/aspell/aspell-${PV}.tar.gz" -SRC_URI[sha256sum] = "57fe4863eae6048f72245a8575b44b718fb85ca14b9f8c0afc41b254dfd76919" +SRC_URI[sha256sum] = "0534eae11132405120d11e46bf595bd5dd189bc124ba77a5dd6aae861b48a162" PACKAGECONFIG ??= "" PACKAGECONFIG[curses] = "--enable-curses,--disable-curses,ncurses" From patchwork Fri Nov 27 17:48:59 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoann Congal X-Patchwork-Id: 106158 X-Patchwork-Delegate: yoann.congal@smile.fr Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.1464.1795801785414809352 for ; Fri, 27 Nov 2026 09:49:45 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@smile.fr header.s=google2 header.b=SRk0RjBg; spf=pass (domain: smile.fr, ip: 209.85.221.54, mailfrom: yoann.congal@smile.fr) Received: by mail-wr1-f54.google.com with SMTP id ffacd0b85a97d-4a2f4ca0dcfso4805758f8f.1 for ; Fri, 27 Nov 2026 09:49:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile.fr; s=google2; t=1795801784; x=1796406584; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=U3zdXl246ZAeqhmsJPKbcVVJh4PcW5otftcz8YhOfPc=; b=SRk0RjBgHK+GejCClfl1ycQuBVYtkixnB8wyDy23BYZEnIO4gntyoBS2UGygkKh4e2 3kmHcU+/VcpQepDoe2BUC1KNwgl7XIgXx023TLQ2R2GhMxofNnW12vmcZ2awBqvp70MI dZ2vy71wQnl7d9uToAZpZCZOV7I/Nq2eJebcaVOD9gakDL32+YnCWvrROtuTAg8d4ZAw C+Uu5ldaEbRvZ4iazOcVJ9eZHYa/ZtEnCza0KLfRuY9QZiU6/U69j+WBh+e9izy5jcD+ 0AKSR3Z4wiLQsOHePCOcS4kI+P4wiIveNPnCcSrP92EU/ulTHUs5CcMyvZByPQYtsxDj QgMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795801784; x=1796406584; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=U3zdXl246ZAeqhmsJPKbcVVJh4PcW5otftcz8YhOfPc=; b=aetofijYJYmW6X1o1KD5r/flzK2pavbKTOcdn5vxd75dZBZBlpbyOeGd78nT7pz6Yt MqYYqNRIC8x/fb6IX4grK9atlP8pbUHf1JTeGWEv0M0OTpeykprpZF+ERF+vdWrLcmsu JONq/biHrC9y4oq2yePbAjipsfbNbf5Uf0OnVtX5aCmvvhA/FQuEdswahMnk2sRR7uYv jb1r3yDI6InLfLAeVnQL5gZWOkQLie8nWwMbT3+yzcCb4eCXNJsX2r/+C3v+HZ6Uyplm O50XGwecv/4rtEdfEtFIuC75rGvt7gwqBqW601p5dZ5CvAxT0B90oJpyhv2LGnLovnTP ZPgw== X-Gm-Message-State: APuU4Z+nWiyDPYu0QpbOthUarqC4JFzbVl4LRgoRXmu/xCs6RgO4CjK+ ZIOoys7uvAvvrtuWZrOZKbT5OhC3h2FKZZp4c+zgdbKTpymFxdjdHZDGEw0kNLlP+hQ15ehoUbY kAwpNlQ8= X-Gm-Gg: AZFdTZf7zWMp2j5APP0P5N4KwaIZSvmg3BXwlA+PjDsQxnyKD4sRC63V1bIQ2M76yZ1 mJikE2JpQVH6W823cHFNuiS1KlQrby1mWQ7wZ+BIZWa1tMmZmEbEY+/zFiooSkFREVldsSfac6D qUZZ9b0bSe7iJnXAkuKIEQzRPPsSNfYikYhYwWqviEdrpk3ktSjtJythi6gojz+9b8tAaCBWbRF Rk5pGGcdS91tSH6IKPd4e126+uj4EM2Gu/C91Vv00IAzp777ogRFvDapP/DKVZpEJ/FwteOp6SV rCVtRd5W0Wi2NpEVFClzAYf/jieotUVlSUY6JDt81CM+J0u8NLubVe74C6xsqOTsUgeEYt0K6Wv LlrJB0jrxEfM8FtJyQEoQlEjcUYB7p/D0eMdm/tx0PS2DewJrYrKSBJeqPYCgXv3bLIZSetDj0t wRz4anu75VpXAoAuIsyeMOuZeossygRwPYDD/2cNB2Il1r4Rf+0p9+YD/WfDmHSIX6SBTNXCsTk fb+kcJrN71JkpxwUosZxKzfag35KeO0d1Q4B34GfdqxzpVRgcaV9J35Kkk5iv9gr7UQfmHQB7+5 wV97kcmipOTO1a6nFokqQ8xm1PrMa9Q9cag9Y5vayB+zqWpboM+T6IkcjBQB2WKBMmn5S5ssMQT bnRG2TIRh0RgFCV4RoElb5KXY/Kfc X-Received: by 2002:a05:6000:4704:b0:4a8:5a5b:3b7d with SMTP id ffacd0b85a97d-4abb5eacf4fmr51125702f8f.56.1795801783337; Fri, 27 Nov 2026 09:49:43 -0800 (PST) Return-Path: Received: from FRSMI25-LASER.home (2a01cb001331aa00a2e4fb7b0d887544.ipv6.abo.wanadoo.fr. [2a01:cb00:1331:aa00:a2e4:fb7b:d88:7544]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab69bf630esm49374624f8f.16.2026.11.27.09.49.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Nov 2026 09:49:42 -0800 (PST) From: Yoann Congal To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 16/37] dropbear: add follow-up patches for CVE-2019-6111 Date: Fri, 27 Nov 2026 18:48:59 +0100 Message-ID: <9e1988bd3789d2bfaf32265559770f296cc0f604.1795798718.git.yoann.congal@smile.fr> X-Mailer: git-send-email 2.55.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 27 Nov 2026 17:49:55 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251422 From: Peter Marko Pick additional patches referencing this CVE from 2026.90 or 2026.91 releases. Signed-off-by: Peter Marko Signed-off-by: Yoann Congal [YC: Note: this might change user-visible behavior: a Remote to local "scp -r" into an existing directory will now return an error. ] --- ...2019-6111.patch => CVE-2019-6111-01.patch} | 0 .../dropbear/dropbear/CVE-2019-6111-02.patch | 364 ++++++++++++++++++ .../dropbear/dropbear/CVE-2019-6111-03.patch | 43 +++ .../dropbear/dropbear/CVE-2019-6111-04.patch | 34 ++ .../dropbear/dropbear/CVE-2019-6111-05.patch | 43 +++ .../recipes-core/dropbear/dropbear_2022.83.bb | 6 +- 6 files changed, 489 insertions(+), 1 deletion(-) rename meta/recipes-core/dropbear/dropbear/{CVE-2019-6111.patch => CVE-2019-6111-01.patch} (100%) create mode 100644 meta/recipes-core/dropbear/dropbear/CVE-2019-6111-02.patch create mode 100644 meta/recipes-core/dropbear/dropbear/CVE-2019-6111-03.patch create mode 100644 meta/recipes-core/dropbear/dropbear/CVE-2019-6111-04.patch create mode 100644 meta/recipes-core/dropbear/dropbear/CVE-2019-6111-05.patch diff --git a/meta/recipes-core/dropbear/dropbear/CVE-2019-6111.patch b/meta/recipes-core/dropbear/dropbear/CVE-2019-6111-01.patch similarity index 100% rename from meta/recipes-core/dropbear/dropbear/CVE-2019-6111.patch rename to meta/recipes-core/dropbear/dropbear/CVE-2019-6111-01.patch diff --git a/meta/recipes-core/dropbear/dropbear/CVE-2019-6111-02.patch b/meta/recipes-core/dropbear/dropbear/CVE-2019-6111-02.patch new file mode 100644 index 00000000000..3b73659d1da --- /dev/null +++ b/meta/recipes-core/dropbear/dropbear/CVE-2019-6111-02.patch @@ -0,0 +1,364 @@ +From 143291baca6ebb3407a0c25c85bd53bf041a6ab7 Mon Sep 17 00:00:00 2001 +From: Matt Johnston +Date: Mon, 20 Apr 2026 20:57:11 +0800 +Subject: [PATCH] scp: more CVE-2019-6111 fix + +Cherrypicked from OpenSSH portable + +commit 3d896c157c722bc47adca51a58dca859225b5874 +djm Sun Feb 10 11:15:52 2019 +0000 + +upstream: when checking that filenames sent by the server side + +match what the client requested, be prepared to handle shell-style brace +alternations, e.g. "{foo,bar}". + +"looks good to me" millert@ + in snaps for the last week courtesy +deraadt@ + +CVE: CVE-2019-6111 +Upstream-Status: Backport [https://github.com/mkj/dropbear/commit/143291baca6ebb3407a0c25c85bd53bf041a6ab7] +Signed-off-by: Peter Marko +--- + scp.c | 281 +++++++++++++++++++++++++++++++++++++++++++++++++++++++--- + 1 file changed, 269 insertions(+), 12 deletions(-) + +diff --git a/scp.c b/scp.c +index bf98986c..d151587c 100644 +--- a/scp.c ++++ b/scp.c +@@ -74,7 +74,6 @@ + */ + + #include "includes.h" +-/*RCSID("$OpenBSD: scp.c,v 1.130 2006/01/31 10:35:43 djm Exp $");*/ + + #include + +@@ -600,6 +599,253 @@ tolocal(int argc, char **argv) + } + } + ++/* Appends a string to an array; returns 0 on success, -1 on alloc failure */ ++static int ++append(char *cp, char ***ap, size_t *np) ++{ ++ char **tmp; ++ ++ if ((tmp = reallocarray(*ap, *np + 1, sizeof(*tmp))) == NULL) ++ return -1; ++ tmp[(*np)] = cp; ++ (*np)++; ++ *ap = tmp; ++ return 0; ++} ++ ++/* ++ * Finds the start and end of the first brace pair in the pattern. ++ * returns 0 on success or -1 for invalid patterns. ++ */ ++static int ++find_brace(const char *pattern, int *startp, int *endp) ++{ ++ int i; ++ int in_bracket, brace_level; ++ ++ *startp = *endp = -1; ++ in_bracket = brace_level = 0; ++ for (i = 0; i < INT_MAX && *endp < 0 && pattern[i] != '\0'; i++) { ++ switch (pattern[i]) { ++ case '\\': ++ /* skip next character */ ++ if (pattern[i + 1] != '\0') ++ i++; ++ break; ++ case '[': ++ in_bracket = 1; ++ break; ++ case ']': ++ in_bracket = 0; ++ break; ++ case '{': ++ if (in_bracket) ++ break; ++ if (pattern[i + 1] == '}') { ++ /* Protect a single {}, for find(1), like csh */ ++ i++; /* skip */ ++ break; ++ } ++ if (*startp == -1) ++ *startp = i; ++ brace_level++; ++ break; ++ case '}': ++ if (in_bracket) ++ break; ++ if (*startp < 0) { ++ /* Unbalanced brace */ ++ return -1; ++ } ++ if (--brace_level <= 0) ++ *endp = i; ++ break; ++ } ++ } ++ /* unbalanced brackets/braces */ ++ if (*endp < 0 && (*startp >= 0 || in_bracket)) ++ return -1; ++ return 0; ++} ++ ++/* ++ * Assembles and records a successfully-expanded pattern, returns -1 on ++ * alloc failure. ++ */ ++static int ++emit_expansion(const char *pattern, int brace_start, int brace_end, ++ int sel_start, int sel_end, char ***patternsp, size_t *npatternsp) ++{ ++ char *cp; ++ int o = 0, tail_len = strlen(pattern + brace_end + 1); ++ ++ if ((cp = malloc(brace_start + (sel_end - sel_start) + ++ tail_len + 1)) == NULL) ++ return -1; ++ ++ /* Pattern before initial brace */ ++ if (brace_start > 0) { ++ memcpy(cp, pattern, brace_start); ++ o = brace_start; ++ } ++ /* Current braced selection */ ++ if (sel_end - sel_start > 0) { ++ memcpy(cp + o, pattern + sel_start, ++ sel_end - sel_start); ++ o += sel_end - sel_start; ++ } ++ /* Remainder of pattern after closing brace */ ++ if (tail_len > 0) { ++ memcpy(cp + o, pattern + brace_end + 1, tail_len); ++ o += tail_len; ++ } ++ cp[o] = '\0'; ++ if (append(cp, patternsp, npatternsp) != 0) { ++ free(cp); ++ return -1; ++ } ++ return 0; ++} ++ ++/* ++ * Expand the first encountered brace in pattern, appending the expanded ++ * patterns it yielded to the *patternsp array. ++ * ++ * Returns 0 on success or -1 on allocation failure. ++ * ++ * Signals whether expansion was performed via *expanded and whether ++ * pattern was invalid via *invalid. ++ */ ++static int ++brace_expand_one(const char *pattern, char ***patternsp, size_t *npatternsp, ++ int *expanded, int *invalid) ++{ ++ int i; ++ int in_bracket, brace_start, brace_end, brace_level; ++ int sel_start, sel_end; ++ ++ *invalid = *expanded = 0; ++ ++ if (find_brace(pattern, &brace_start, &brace_end) != 0) { ++ *invalid = 1; ++ return 0; ++ } else if (brace_start == -1) ++ return 0; ++ ++ in_bracket = brace_level = 0; ++ for (i = sel_start = brace_start + 1; i < brace_end; i++) { ++ switch (pattern[i]) { ++ case '{': ++ if (in_bracket) ++ break; ++ brace_level++; ++ break; ++ case '}': ++ if (in_bracket) ++ break; ++ brace_level--; ++ break; ++ case '[': ++ in_bracket = 1; ++ break; ++ case ']': ++ in_bracket = 0; ++ break; ++ case '\\': ++ if (i < brace_end - 1) ++ i++; /* skip */ ++ break; ++ } ++ if (pattern[i] == ',' || i == brace_end - 1) { ++ if (in_bracket || brace_level > 0) ++ continue; ++ /* End of a selection, emit an expanded pattern */ ++ ++ /* Adjust end index for last selection */ ++ sel_end = (i == brace_end - 1) ? brace_end : i; ++ if (emit_expansion(pattern, brace_start, brace_end, ++ sel_start, sel_end, patternsp, npatternsp) != 0) ++ return -1; ++ /* move on to the next selection */ ++ sel_start = i + 1; ++ continue; ++ } ++ } ++ if (in_bracket || brace_level > 0) { ++ *invalid = 1; ++ return 0; ++ } ++ /* success */ ++ *expanded = 1; ++ return 0; ++} ++ ++/* Expand braces from pattern. Returns 0 on success, -1 on failure */ ++static int ++brace_expand(const char *pattern, char ***patternsp, size_t *npatternsp) ++{ ++ char *cp, *cp2, **active = NULL, **done = NULL; ++ size_t i, nactive = 0, ndone = 0; ++ int ret = -1, invalid = 0, expanded = 0; ++ ++ *patternsp = NULL; ++ *npatternsp = 0; ++ ++ /* Start the worklist with the original pattern */ ++ if ((cp = strdup(pattern)) == NULL) ++ return -1; ++ if (append(cp, &active, &nactive) != 0) { ++ free(cp); ++ return -1; ++ } ++ while (nactive > 0) { ++ cp = active[nactive - 1]; ++ nactive--; ++ if (brace_expand_one(cp, &active, &nactive, ++ &expanded, &invalid) == -1) { ++ free(cp); ++ goto fail; ++ } ++ if (invalid) ++ fatal("%s: invalid brace pattern \"%s\"", __func__, cp); ++ if (expanded) { ++ /* ++ * Current entry expanded to new entries on the ++ * active list; discard the progenitor pattern. ++ */ ++ free(cp); ++ continue; ++ } ++ /* ++ * Pattern did not expand; append the finename component to ++ * the completed list ++ */ ++ if ((cp2 = strrchr(cp, '/')) != NULL) ++ *cp2++ = '\0'; ++ else ++ cp2 = cp; ++ if (append(xstrdup(cp2), &done, &ndone) != 0) { ++ free(cp); ++ goto fail; ++ } ++ free(cp); ++ } ++ /* success */ ++ *patternsp = done; ++ *npatternsp = ndone; ++ done = NULL; ++ ndone = 0; ++ ret = 0; ++ fail: ++ for (i = 0; i < nactive; i++) ++ free(active[i]); ++ free(active); ++ for (i = 0; i < ndone; i++) ++ free(done[i]); ++ free(done); ++ return ret; ++} ++ + void + source(int argc, char **argv) + { +@@ -841,7 +1087,8 @@ sink(int argc, char **argv, const char *src) + off_t size, statbytes; + int setimes, targisdir, wrerrno = 0; + char ch, *cp, *np, *targ, *why, *vect[1], buf[2048]; +- char *src_copy = NULL, *restrict_pattern = NULL; ++ char **patterns = NULL; ++ size_t n, npatterns = 0; + struct timeval tv[2]; + + #define atime tv[0] +@@ -868,16 +1115,13 @@ sink(int argc, char **argv, const char *src) + * Prepare to try to restrict incoming filenames to match + * the requested destination file glob. + */ +- if ((src_copy = strdup(src)) == NULL) +- fatal("strdup failed"); +- if ((restrict_pattern = strrchr(src_copy, '/')) != NULL) { +- *restrict_pattern++ = '\0'; +- } ++ if (brace_expand(src, &patterns, &npatterns) != 0) ++ fatal("%s: could not expand pattern", __func__); + } + for (first = 1;; first = 0) { + cp = buf; + if (atomicio(read, remin, cp, 1) != 1) +- return; ++ goto done; + if (*cp++ == '\n') + SCREWUP("unexpected "); + do { +@@ -900,7 +1144,7 @@ sink(int argc, char **argv, const char *src) + } + if (buf[0] == 'E') { + (void) atomicio(vwrite, remout, "", 1); +- return; ++ goto done; + } + if (ch == '\n') + *--cp = 0; +@@ -956,9 +1200,14 @@ sink(int argc, char **argv, const char *src) + run_err("error: unexpected filename: %s", cp); + exit(1); + } +- if (restrict_pattern != NULL && +- fnmatch(restrict_pattern, cp, 0) != 0) +- SCREWUP("filename does not match request"); ++ if (npatterns > 0) { ++ for (n = 0; n < npatterns; n++) { ++ if (fnmatch(patterns[n], cp, 0) == 0) ++ break; ++ } ++ if (n >= npatterns) ++ SCREWUP("filename does not match request"); ++ } + if (targisdir) { + static char *namebuf = NULL; + static size_t cursize = 0; +@@ -1122,7 +1371,15 @@ bad: run_err("%s: %s", np, strerror(errno)); + break; + } + } ++done: ++ for (n = 0; n < npatterns; n++) ++ free(patterns[n]); ++ free(patterns); ++ return; + screwup: ++ for (n = 0; n < npatterns; n++) ++ free(patterns[n]); ++ free(patterns); + run_err("protocol error: %s", why); + exit(1); + } diff --git a/meta/recipes-core/dropbear/dropbear/CVE-2019-6111-03.patch b/meta/recipes-core/dropbear/dropbear/CVE-2019-6111-03.patch new file mode 100644 index 00000000000..1e0cd68b07d --- /dev/null +++ b/meta/recipes-core/dropbear/dropbear/CVE-2019-6111-03.patch @@ -0,0 +1,43 @@ +From 61bd0e3e6573277de17359763aa5827a189c8d7f Mon Sep 17 00:00:00 2001 +From: Matt Johnston +Date: Sat, 2 May 2026 08:43:26 +0800 +Subject: [PATCH] scp: Disallow -r to an existing directory + +Checks of received paths don't catch all cases in -r recursive mode, so +disallow -r when the destination directory exists. This mitigates +CVE-2019-6111, where unexpected files would be accepted from a malicious +scp server. + +Alternatives like rsync could be used in that case. + +The new error message may be misleading if parent path components of the +destination are also missing, though the command would have failed +regardless. + +CVE: CVE-2019-6111 +Upstream-Status: Backport [https://github.com/mkj/dropbear/commit/61bd0e3e6573277de17359763aa5827a189c8d7f] +Signed-off-by: Peter Marko +--- + scp.c | 9 +++++++++ + 1 file changed, 9 insertions(+) + +diff --git a/scp.c b/scp.c +index d151587c..09297a5b 100644 +--- a/scp.c ++++ b/scp.c +@@ -583,6 +583,15 @@ tolocal(int argc, char **argv) + if (*suser == '\0') + suser = NULL; + } ++ ++ char *dest = *(argv + argc - 1); ++ if (!(access(dest, F_OK) == 0 && errno == ENOENT)) { ++ /* paths sent from the server in recursive mode aren't adequately ++ * checked that they match the requested files, so disallow this */ ++ fprintf(stderr, "-r destination \"%s\" must not already exist\n", dest); ++ exit(1); ++ } ++ + host = cleanhostname(host); + len = strlen(src) + CMDNEEDS + 20; + bp = xmalloc(len); diff --git a/meta/recipes-core/dropbear/dropbear/CVE-2019-6111-04.patch b/meta/recipes-core/dropbear/dropbear/CVE-2019-6111-04.patch new file mode 100644 index 00000000000..b718afc8c41 --- /dev/null +++ b/meta/recipes-core/dropbear/dropbear/CVE-2019-6111-04.patch @@ -0,0 +1,34 @@ +From 0c5629a5d543ef5e4eff43345b1eedf2afef84ca Mon Sep 17 00:00:00 2001 +From: Matt Johnston +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 +--- + scp.c | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +diff --git a/scp.c b/scp.c +index e5ce4e2f..2f7a6279 100644 +--- a/scp.c ++++ b/scp.c +@@ -614,7 +614,12 @@ append(char *cp, char ***ap, size_t *np) + { + char **tmp; + +- if ((tmp = reallocarray(*ap, *np + 1, sizeof(*tmp))) == NULL) ++ if (*np + 1 > (SIZE_MAX / sizeof(*tmp))) { ++ /* overflow */ ++ return -1; ++ } ++ ++ if ((tmp = realloc(*ap, (*np + 1) * sizeof(*tmp))) == NULL) + return -1; + tmp[(*np)] = cp; + (*np)++; diff --git a/meta/recipes-core/dropbear/dropbear/CVE-2019-6111-05.patch b/meta/recipes-core/dropbear/dropbear/CVE-2019-6111-05.patch new file mode 100644 index 00000000000..5e27c0ca44e --- /dev/null +++ b/meta/recipes-core/dropbear/dropbear/CVE-2019-6111-05.patch @@ -0,0 +1,43 @@ +From 16ce059ed8e914e210af67e199041943ec747034 Mon Sep 17 00:00:00 2001 +From: Matt Johnston +Date: Mon, 4 May 2026 21:36:41 +0800 +Subject: [PATCH] scp: fix recursive overwrite check + +Non-recursive transfers were incorrectly disallowed to an existing +destination. + +In addition, the destination check logic was wrong. + +Fixes: 61bd0e3e6573 ("scp: Disallow -r to an existing directory") + +CVE: CVE-2019-6111 +Upstream-Status: Backport [https://github.com/mkj/dropbear/commit/16ce059ed8e914e210af67e199041943ec747034] +Signed-off-by: Peter Marko +--- + scp.c | 13 ++++++++----- + 1 file changed, 8 insertions(+), 5 deletions(-) + +diff --git a/scp.c b/scp.c +index 2f7a6279..4b4990ea 100644 +--- a/scp.c ++++ b/scp.c +@@ -585,11 +585,14 @@ tolocal(int argc, char **argv) + } + + char *dest = *(argv + argc - 1); +- if (!(access(dest, F_OK) == 0 && errno == ENOENT)) { +- /* paths sent from the server in recursive mode aren't adequately +- * checked that they match the requested files, so disallow this */ +- fprintf(stderr, "-r destination \"%s\" must not already exist\n", dest); +- exit(1); ++ if (iamrecursive) { ++ /* Destination must not exist */ ++ if (!(access(dest, F_OK) == -1 && errno == ENOENT)) { ++ /* paths sent from the server in recursive mode aren't adequately ++ * checked that they match the requested files, so disallow this */ ++ fprintf(stderr, "-r destination \"%s\" must not already exist\n", dest); ++ exit(1); ++ } + } + + host = cleanhostname(host); diff --git a/meta/recipes-core/dropbear/dropbear_2022.83.bb b/meta/recipes-core/dropbear/dropbear_2022.83.bb index 93563aa3b47..d06bbd3a6db 100644 --- a/meta/recipes-core/dropbear/dropbear_2022.83.bb +++ b/meta/recipes-core/dropbear/dropbear_2022.83.bb @@ -29,7 +29,11 @@ SRC_URI = "http://matt.ucc.asn.au/dropbear/releases/dropbear-${PV}.tar.bz2 \ file://0001-cli-runopts.c-add-missing-DROPBEAR_CLI_PUBKEY_AUTH.patch \ file://0001-Avoid-unused-variable-with-DROPBEAR_CLI_PUBKEY_AUTH-.patch \ file://CVE-2025-47203.patch \ - file://CVE-2019-6111.patch \ + file://CVE-2019-6111-01.patch \ + file://CVE-2019-6111-02.patch \ + file://CVE-2019-6111-03.patch \ + file://CVE-2019-6111-04.patch \ + file://CVE-2019-6111-05.patch \ " SRC_URI[sha256sum] = "bc5a121ffbc94b5171ad5ebe01be42746d50aa797c9549a4639894a16749443b" From patchwork Fri Nov 27 17:49:00 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoann Congal X-Patchwork-Id: 106159 X-Patchwork-Delegate: yoann.congal@smile.fr Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1536.1795801785687625679 for ; Fri, 27 Nov 2026 09:49:45 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@smile.fr header.s=google2 header.b=IKKrAxvR; spf=pass (domain: smile.fr, ip: 209.85.221.53, mailfrom: yoann.congal@smile.fr) Received: by mail-wr1-f53.google.com with SMTP id ffacd0b85a97d-490d59c3edaso5695844f8f.1 for ; Fri, 27 Nov 2026 09:49:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile.fr; s=google2; t=1795801784; x=1796406584; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=hz2cjnGToR0WoC6wbbRGe5eqPKbaoy3b3n3NdX2czms=; b=IKKrAxvRgTm4gqFEZlXUu+wxUGgyQyDVb4OncPH3KEzoG/suqjk+VSTFrGfOBLY7GZ 1PSWl9HSiZeWW9qmQugiB1a7OMJdArcek2SfFN6kguCNaA4axBycajCFCF2kk5fxRYnG NRyMcJNv0ux9d3WQATa+Vi58o62IRssV3G8+1qall7P48ndQX28Hg7kaa2mUzz1ZKsOU cATwpl/TDYPtTtH7+vO6D7mgeGCP6kUfPDZ2kwAQxRiQRnMhBzhJhxL6AwREzplo70/u Mi2o/3rcTOBweSaoyRAXiEofWpqxnu9h37MfvYBADOAwbZTm012G1ThwhoLN8RhuPRc5 Q9Yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795801784; x=1796406584; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=hz2cjnGToR0WoC6wbbRGe5eqPKbaoy3b3n3NdX2czms=; b=FBKQKFLir4Sbxh9hpeIsXYdYVkDNtwVUzcklvAxfimPDV71/o42NvlKEGjjHojsoFD 87g/3kjEkHss57RbUQMaOIzG0GSP0msjNomdDtWY1Y57KAm8nvt+FvsBda9vu3TO8QiX rUNRZYKags81hg1+n4juGy9VuNoIGr7Nwf9DK9CGEXz3i1AuHfs8BGhiRylXBRWmYMyF yEYOnr4dev9m970/UMReeoPtHM0RsdVb0tiSevGxsguqo4UmXl9q3fZ9IsTV+BbYsp/i 5w22Cn0Q14DN5xjS9yD4s7VFX7Zk2f8bvqNjZh50ppI0LEdZwS0EaJ13en+yQUsz38vG TNPg== X-Gm-Message-State: APuU4Z+FBPzh+yt7TB93I6mRyrbQlK6Dbp2TrPKUsRU4sigNqJGvhwxw ++rdOZ/KX11MGRxTGsc3DfL1X1NJ8LQh6JHjjOjzm09XPCLmrg96L0onj5hjYfshk9hHPBNm71I dRJOpbPY= X-Gm-Gg: AZFdTZd3DlnaRbr9CuIzXe3d+agSsi5KWwETUcuLPAUYZPvu87uuMcmmf7AzF2bEwWP 2Bz5QQ4S8m9KYw12Q64b89aYo0cnDBq4exuaM5eqSJIyoBkBR56mRraf93U70LPYgKIeN3aafB3 1+OfB/r47Y4UNge+gaRgrQPaMjnC6rDV3nqrfEH5cOHK7ysadyrFF/bw+aEEF/h+SXor5L+BxgG ysPXGFPeMMtN/dutTzZTwesJLLdCxNZt1KlB/gSo+UobFA2mbnsfqvXlXLquUt5dnRtukPfPiCt 29ncP1mexPRv58wtsRh6lCbQmlByQSGukmU6PFrnoDvHHSgR0QIdPlWEhCaFbJnTKaAeO5HOVQJ mvawFexUISO5KtMzr2uCIBEF2D0kJoPp9PE01r5M8v/8BcRv/qlcGCeJa9ifc8NKSuuiCjoW2bU JRGNz2mTPEgkJ7U7OXI5H3QLlPjcNuffOQvNTeJcARVeulDs6Mb7GX+XrSRJNcAwgerQQVUpWhJ ERGhCHdZY6HKuxP/5rCxFYPmCWALNf/GSw4u+940bxObzPiPOek4FVphqPwm17660sZ7ZxIoM+z /iHv5VRKQtmFKcd+iRUqvlptgxbXGaLKPeJYBWPimBA+1Q+QarjcqmBrZKV0deEp89g9WglVfKX 2R5bMww+pqUiLA/WHI5TPZ5CFKHDVfw== X-Received: by 2002:a05:6000:2382:b0:4a7:1fca:e537 with SMTP id ffacd0b85a97d-4abb0886cbamr51104779f8f.9.1795801783864; Fri, 27 Nov 2026 09:49:43 -0800 (PST) Return-Path: Received: from FRSMI25-LASER.home (2a01cb001331aa00a2e4fb7b0d887544.ipv6.abo.wanadoo.fr. [2a01:cb00:1331:aa00:a2e4:fb7b:d88:7544]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab69bf630esm49374624f8f.16.2026.11.27.09.49.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Nov 2026 09:49:43 -0800 (PST) From: Yoann Congal To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 17/37] dropbear: patch CVE-2026-35385 Date: Fri, 27 Nov 2026 18:49:00 +0100 Message-ID: <3cc206f321ea3aa303092c840647b9e1fafb8a4f.1795798718.git.yoann.congal@smile.fr> X-Mailer: git-send-email 2.55.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 27 Nov 2026 17:49:55 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251423 From: Peter Marko Pick patch referencing this CVE from 2026.90 release. Signed-off-by: Peter Marko Signed-off-by: Yoann Congal --- .../dropbear/dropbear/CVE-2026-35385.patch | 42 +++++++++++++++++++ .../recipes-core/dropbear/dropbear_2022.83.bb | 1 + 2 files changed, 43 insertions(+) create mode 100644 meta/recipes-core/dropbear/dropbear/CVE-2026-35385.patch diff --git a/meta/recipes-core/dropbear/dropbear/CVE-2026-35385.patch b/meta/recipes-core/dropbear/dropbear/CVE-2026-35385.patch new file mode 100644 index 00000000000..773ed196107 --- /dev/null +++ b/meta/recipes-core/dropbear/dropbear/CVE-2026-35385.patch @@ -0,0 +1,42 @@ +From 443ccc1fd1b9a4e3747f6b5cd644b7af49064308 Mon Sep 17 00:00:00 2001 +From: Matt Johnston +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 +--- + scp.c | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/scp.c b/scp.c +index 09297a5b..79b0a12d 100644 +--- a/scp.c ++++ b/scp.c +@@ -1114,8 +1114,10 @@ sink(int argc, char **argv, const char *src) + + setimes = targisdir = 0; + mask = umask(0); +- if (!pflag) ++ if (!pflag) { ++ mask |= 07000; + (void) umask(mask); ++ } + if (argc != 1) { + run_err("ambiguous target"); + exit(1); diff --git a/meta/recipes-core/dropbear/dropbear_2022.83.bb b/meta/recipes-core/dropbear/dropbear_2022.83.bb index d06bbd3a6db..65dfddbca72 100644 --- a/meta/recipes-core/dropbear/dropbear_2022.83.bb +++ b/meta/recipes-core/dropbear/dropbear_2022.83.bb @@ -34,6 +34,7 @@ SRC_URI = "http://matt.ucc.asn.au/dropbear/releases/dropbear-${PV}.tar.bz2 \ file://CVE-2019-6111-03.patch \ file://CVE-2019-6111-04.patch \ file://CVE-2019-6111-05.patch \ + file://CVE-2026-35385.patch \ " SRC_URI[sha256sum] = "bc5a121ffbc94b5171ad5ebe01be42746d50aa797c9549a4639894a16749443b" From patchwork Fri Nov 27 17:49:01 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Yoann Congal X-Patchwork-Id: 106160 X-Patchwork-Delegate: yoann.congal@smile.fr Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.1465.1795801786176411955 for ; Fri, 27 Nov 2026 09:49:46 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@smile.fr header.s=google2 header.b=gcmZXVSn; spf=pass (domain: smile.fr, ip: 209.85.221.49, mailfrom: yoann.congal@smile.fr) Received: by mail-wr1-f49.google.com with SMTP id ffacd0b85a97d-4a32576da88so4855139f8f.3 for ; Fri, 27 Nov 2026 09:49:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile.fr; s=google2; t=1795801784; x=1796406584; darn=lists.openembedded.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=a/CSlpyTgoz7PkSHhtRwY3WlsMXPpMG8CFdGYKBP1kg=; b=gcmZXVSnzoGX+Yl/VEmmaJ3Ww982jApURjb5zJOcJFTs6IbvPUF4Ynp+GY6G2qnE1S f/P0SIdQe49SuvPMcr7Y0S4WxkzKyEhImE6sYMwR62K4m9EhKxt3wtwGRPsqrH2OixZB NlSIMv9WDKdnrSPAZrqXtAyPYXvvGeVBmK9FsfIPiTuoZQ02nhSZfI2QGqu8vAFgXJ4a sVtbGLJtx3QGZKLHoas+iTbZ7++tfU4n0oFpEAzUZ27LdEyhSTcEP6W3ZYkqUwhiYvCp ACMKcP/PJNfdHTfVFH2jJWOXdHBF1WRGqHpvfEkGD3eXoCT23JP0LQyFjSecNfTHTtNv YIHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795801784; x=1796406584; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=a/CSlpyTgoz7PkSHhtRwY3WlsMXPpMG8CFdGYKBP1kg=; b=UBdYrDp1Sn1dmSKVw+P83ACx8Z8AM33HZiW73d7gtBrynynDOLcMXpj0golbBJ+lpw ASziuKtVaX7xEH3hBgoZfaHiVAtfFXbOrwG8REEc+HFRCcMXExQBYAl17g8ZAq4ARYaa 104iwM+Y76cGQQKwmm2S4cuyEUkbkN5zv8e+Iz25ytlau3QceGfaIy5BwMhDhxQXVhM2 OWOPMb1UZ5JKOCBqz2XIlHoUew5Hl1MHF6/zozqTq+5vuBl0wyPrxPuE0dApF+1qgWcI lI0IPTp8fAhS6m3dq9pKgcBuXkw9NUD9kuIVWmZ8Ntf2jw3q8IHa0DMI1TBi1o2Tw5N6 4XFg== X-Gm-Message-State: APuU4Z/JjwObyoTrf19FQx38Xju12LDSqSXvw2bgIbp60Yar0hNlh1Si K5sFBUg2/b/AFG1cr2giPt8a7TfeqwhW+kSTpKBWxH1SRaPXIpiYgyR/HA72Qmm/6U5jN8UNx4b i+eDoRHI= X-Gm-Gg: AZFdTZeBVxAMdlxppU+b7hDlTFNApbJpSItCaZ435EZvH7Uu2NE6/5693IyRKF308cJ 1+I8cuZaEwixhv+Ih0I82VY1cq2pcZBLpvZNsCg6bFYYOinIyABNfLE4idL3nn2CO9HKculK96+ RFp8qhrbkTM4rMyPS3vZynf22Lp//pvkB+RohSoVezyqcJ+qFGQy5j5kynnhhtg0ujUcPphD+iL Hm/CY6yugOShNlOPXU2yWjah6qHTeFGOFN7QYwMOwnCa+MuJLqTMdHTlj4xNrXIf4uedVBvqVNy Y0IhtlWoPAYK0Dt5xdREz6ajUbA/sKzEQbt28E4P8levsyBU6GQbjnFFW1RVTwaTrgjl5sOf7AP o7NCJnEO4MivT1vqORxyBSxXoGSrZQcbkeqx+zQPTSXwDuLdShMKs0g7dmkgi+CzXrKGL1sO5mx 1W/XulPj6BJKtVbCMBKuVGHjSng4Uyox4LZEFTy0meD1RvPFFSoMJBoXSjpjyHVqb39QkQ7UNI+ o+CX+AoIq5eKg+CTSc9YMuFmVt6uty0pjM3JLgsQz+MRoc0nmF/0oKSp3dpE8EOtSX/7NyhUW6t G6H2Ap4pJ+qrZQf1zzWfzTJsNC3cjwONL3cPsuVCxQz2VP5A5Jz7ZtxPwEvnN1kurzHIp6o9j9Y UhdOUyDyEHnDMcQrm33IyZ9abn6tDZA== X-Received: by 2002:a05:6000:26d0:b0:4a6:8012:197 with SMTP id ffacd0b85a97d-4ad5d5f9320mr50146747f8f.2.1795801784350; Fri, 27 Nov 2026 09:49:44 -0800 (PST) Return-Path: Received: from FRSMI25-LASER.home (2a01cb001331aa00a2e4fb7b0d887544.ipv6.abo.wanadoo.fr. [2a01:cb00:1331:aa00:a2e4:fb7b:d88:7544]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab69bf630esm49374624f8f.16.2026.11.27.09.49.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Nov 2026 09:49:44 -0800 (PST) From: Yoann Congal To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 18/37] ruby: Upgrade 3.3.10 -> 3.3.14 Date: Fri, 27 Nov 2026 18:49:01 +0100 Message-ID: <6aebb5433ab7095e47fe26434618bb437ded8c35.1795798718.git.yoann.congal@smile.fr> X-Mailer: git-send-email 2.55.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 27 Nov 2026 17:49:55 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251424 From: Deepak Rathore Per Ruby's maintenance policy [1], upgrade to the latest release in the 3.3 series, 3.3.14. It includes fixes for multiple security issues [2], including the regexp compilation issues associated with CVE-2026-97229 [3]. Ruby 3.3.14 begins the upstream legacy maintenance phase, which includes selected bug fixes in addition to security fixes [2]. The update remains within the 3.3 stable series. [1] https://www.ruby-lang.org/en/downloads/branches/ [2] https://www.ruby-lang.org/en/news/2026/11/18/ruby-3-3-14-released/ [3] https://www.ruby-lang.org/en/news/2026/10/23/regexp-fixes-for-gitlab-cves/ Signed-off-by: Deepak Rathore Signed-off-by: Yoann Congal [YC: Changelogs: https://github.com/ruby/ruby/releases/tag/v3_3_11 https://github.com/ruby/ruby/releases/tag/v3_3_12 https://github.com/ruby/ruby/releases/tag/v3_3_13 https://github.com/ruby/ruby/releases/tag/v3_3_14 ] --- ...-fix-cross-compilation-of-external-gems.patch | 11 ++++------- ...Define-REG_S1-and-REG_S2-for-musl-riscv.patch | 7 ++----- ...3-rdoc-build-reproducible-documentation.patch | 16 +++++++++------- ...ort-list-of-object-files-in-generated-M.patch | 7 +++++-- ...c-reproducible-change-fixing-784225-too.patch | 7 ++----- .../ruby/0006-Make-gemspecs-reproducible.patch | 5 +---- ...est_rm_r_no_permissions-test-under-root.patch | 5 +---- .../ruby/{ruby_3.3.10.bb => ruby_3.3.14.bb} | 2 +- 8 files changed, 25 insertions(+), 35 deletions(-) rename meta/recipes-devtools/ruby/{ruby_3.3.10.bb => ruby_3.3.14.bb} (98%) diff --git a/meta/recipes-devtools/ruby/ruby/0001-extmk-fix-cross-compilation-of-external-gems.patch b/meta/recipes-devtools/ruby/ruby/0001-extmk-fix-cross-compilation-of-external-gems.patch index 2e3156880ef..366e5084840 100644 --- a/meta/recipes-devtools/ruby/ruby/0001-extmk-fix-cross-compilation-of-external-gems.patch +++ b/meta/recipes-devtools/ruby/ruby/0001-extmk-fix-cross-compilation-of-external-gems.patch @@ -1,7 +1,7 @@ -From a6e12b25a54d112c899b70c89c0bec9c5e5ebf3c Mon Sep 17 00:00:00 2001 +From cdd2867757f14690309567fa5bb5ae223ee004a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Draszik?= 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 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/extmk.rb b/ext/extmk.rb -index 1389dc4117..e4d923d7a7 100755 +index 1f8e59f..631459d 100755 --- a/ext/extmk.rb +++ b/ext/extmk.rb -@@ -413,8 +413,8 @@ def $mflags.defined?(var) +@@ -428,8 +428,8 @@ else end $ruby = [$ruby] $ruby << "-I'$(topdir)'" @@ -29,6 +29,3 @@ index 1389dc4117..e4d923d7a7 100755 $ruby << "-I'$(extout)/$(arch)'" << "-I'$(extout)/common'" if $extout ENV["RUBYLIB"] = "-" end --- -2.23.0.rc1 - diff --git a/meta/recipes-devtools/ruby/ruby/0001-vm_dump.c-Define-REG_S1-and-REG_S2-for-musl-riscv.patch b/meta/recipes-devtools/ruby/ruby/0001-vm_dump.c-Define-REG_S1-and-REG_S2-for-musl-riscv.patch index f7b7adb3fdb..e512b57c200 100644 --- a/meta/recipes-devtools/ruby/ruby/0001-vm_dump.c-Define-REG_S1-and-REG_S2-for-musl-riscv.patch +++ b/meta/recipes-devtools/ruby/ruby/0001-vm_dump.c-Define-REG_S1-and-REG_S2-for-musl-riscv.patch @@ -1,4 +1,4 @@ -From dfb22e4d6662bf72879eda806eaa78c7b52b519e Mon Sep 17 00:00:00 2001 +From fa1eac6cf67c9d594884940d2f46d3042f489883 Mon Sep 17 00:00:00 2001 From: Khem Raj 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 1 file changed, 5 insertions(+) diff --git a/vm_dump.c b/vm_dump.c -index a98f5aa..957b785 100644 +index 2771264..7995e12 100644 --- a/vm_dump.c +++ b/vm_dump.c @@ -39,6 +39,11 @@ @@ -29,6 +29,3 @@ index a98f5aa..957b785 100644 #define VM_CFP_CNT(ec, cfp) \ ((rb_control_frame_t *)((ec)->vm_stack + (ec)->vm_stack_size) - \ (rb_control_frame_t *)(cfp)) --- -2.35.0 - diff --git a/meta/recipes-devtools/ruby/ruby/0003-rdoc-build-reproducible-documentation.patch b/meta/recipes-devtools/ruby/ruby/0003-rdoc-build-reproducible-documentation.patch index f92f0e1ba68..731aace31e2 100644 --- a/meta/recipes-devtools/ruby/ruby/0003-rdoc-build-reproducible-documentation.patch +++ b/meta/recipes-devtools/ruby/ruby/0003-rdoc-build-reproducible-documentation.patch @@ -1,6 +1,7 @@ +From 9a945f194e50cbd93ea7b08bd85560a748a4a293 Mon Sep 17 00:00:00 2001 From: Christian Hofstaedtler 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 Signed-off-by: Christian Hofstaedtler --- lib/rdoc/generator/json_index.rb | 4 ++-- - lib/rdoc/rdoc.rb | 2 +- - 2 files changed, 3 insertions(+), 3 deletions(-) + 1 file changed, 2 insertions(+), 2 deletions(-) +diff --git a/lib/rdoc/generator/json_index.rb b/lib/rdoc/generator/json_index.rb +index c454910..24feab0 100644 --- a/lib/rdoc/generator/json_index.rb +++ b/lib/rdoc/generator/json_index.rb -@@ -178,7 +178,7 @@ +@@ -178,7 +178,7 @@ class RDoc::Generator::JsonIndex debug_msg "Writing gzipped search index to %s" % outfile - + Zlib::GzipWriter.open(outfile) do |gz| - gz.mtime = File.mtime(search_index_file) + gz.mtime = -1 gz.orig_name = search_index_file.basename.to_s gz.write search_index gz.close -@@ -196,7 +196,7 @@ +@@ -196,7 +196,7 @@ class RDoc::Generator::JsonIndex debug_msg "Writing gzipped file to %s" % outfile - + Zlib::GzipWriter.open(outfile) do |gz| - gz.mtime = File.mtime(dest) + gz.mtime = -1 diff --git a/meta/recipes-devtools/ruby/ruby/0004-lib-mkmf.rb-sort-list-of-object-files-in-generated-M.patch b/meta/recipes-devtools/ruby/ruby/0004-lib-mkmf.rb-sort-list-of-object-files-in-generated-M.patch index e0aca0dcfc1..031f89bf17e 100644 --- a/meta/recipes-devtools/ruby/ruby/0004-lib-mkmf.rb-sort-list-of-object-files-in-generated-M.patch +++ b/meta/recipes-devtools/ruby/ruby/0004-lib-mkmf.rb-sort-list-of-object-files-in-generated-M.patch @@ -1,6 +1,7 @@ +From 732263f3623216fbb79560baaf5bc3014e9f7f18 Mon Sep 17 00:00:00 2001 From: Reiner Herrmann 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 lib/mkmf.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) +diff --git a/lib/mkmf.rb b/lib/mkmf.rb +index 51585b1..e6ba142 100644 --- a/lib/mkmf.rb +++ b/lib/mkmf.rb -@@ -2315,7 +2315,7 @@ +@@ -2368,7 +2368,7 @@ LOCAL_LIBS = #{$LOCAL_LIBS} LIBS = #{$LIBRUBYARG} #{$libs} #{$LIBS} ORIG_SRCS = #{orig_srcs.collect(&File.method(:basename)).join(' ')} SRCS = $(ORIG_SRCS) #{(srcs - orig_srcs).collect(&File.method(:basename)).join(' ')} diff --git a/meta/recipes-devtools/ruby/ruby/0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch b/meta/recipes-devtools/ruby/ruby/0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch index 0902a201eca..5e8f9f583c7 100644 --- a/meta/recipes-devtools/ruby/ruby/0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch +++ b/meta/recipes-devtools/ruby/ruby/0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch @@ -1,4 +1,4 @@ -From 6e1dc610724a7aa8368cbcddf4bbe21cccc0f731 Mon Sep 17 00:00:00 2001 +From 96b6b0a02214b129c349fdb00b755b24131bc181 Mon Sep 17 00:00:00 2001 From: Lucas Kanashiro Date: Fri, 1 Nov 2019 15:25:17 -0300 Subject: [PATCH] Make gemspecs reproducible @@ -12,7 +12,7 @@ Upstream-Status: Backport [debian] 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/rubygems/specification.rb b/lib/rubygems/specification.rb -index d6eac7f..4b2e95e 100644 +index e438669..3ce9af8 100644 --- a/lib/rubygems/specification.rb +++ b/lib/rubygems/specification.rb @@ -1707,7 +1707,9 @@ class Gem::Specification < Gem::BasicSpecification @@ -26,6 +26,3 @@ index d6eac7f..4b2e95e 100644 Time.utc(date.year, date.month, date.day) else TODAY --- -2.40.0 - diff --git a/meta/recipes-devtools/ruby/ruby/0006-Make-gemspecs-reproducible.patch b/meta/recipes-devtools/ruby/ruby/0006-Make-gemspecs-reproducible.patch index d32e2091292..949f7c144d5 100644 --- a/meta/recipes-devtools/ruby/ruby/0006-Make-gemspecs-reproducible.patch +++ b/meta/recipes-devtools/ruby/ruby/0006-Make-gemspecs-reproducible.patch @@ -1,4 +1,4 @@ -From 3f60710bc29c1b08e128314d40101e87b7d2c9a1 Mon Sep 17 00:00:00 2001 +From 11d6a3b19cd729900f93a8f04a01ab3d569d5572 Mon Sep 17 00:00:00 2001 From: Lucas Kanashiro Date: Fri, 1 Nov 2019 15:25:17 -0300 Subject: [PATCH] Make gemspecs reproducible @@ -75,6 +75,3 @@ index 93a281c..cc5c155 100644 s.version = RDoc::VERSION s.authors = [ --- -2.40.0 - diff --git a/meta/recipes-devtools/ruby/ruby/0007-Skip-test_rm_r_no_permissions-test-under-root.patch b/meta/recipes-devtools/ruby/ruby/0007-Skip-test_rm_r_no_permissions-test-under-root.patch index dc06891bbc2..92af032d182 100644 --- a/meta/recipes-devtools/ruby/ruby/0007-Skip-test_rm_r_no_permissions-test-under-root.patch +++ b/meta/recipes-devtools/ruby/ruby/0007-Skip-test_rm_r_no_permissions-test-under-root.patch @@ -1,4 +1,4 @@ -From cc5e563f0fa5212e4a624b954fbc97cc6d8900d4 Mon Sep 17 00:00:00 2001 +From 42ef19cec8a34847538bfc62d37e842837025337 Mon Sep 17 00:00:00 2001 From: Jiaying Song Date: Mon, 25 Aug 2025 16:31:18 +0800 Subject: [PATCH] Skip test_rm_r_no_permissions test under root @@ -25,6 +25,3 @@ index 481f913..a2ed414 100644 mkdir 'tmpdatadir' touch 'tmpdatadir/tmpdata' --- -2.34.1 - diff --git a/meta/recipes-devtools/ruby/ruby_3.3.10.bb b/meta/recipes-devtools/ruby/ruby_3.3.14.bb similarity index 98% rename from meta/recipes-devtools/ruby/ruby_3.3.10.bb rename to meta/recipes-devtools/ruby/ruby_3.3.14.bb index 936bc73e32f..791b8072ffe 100644 --- a/meta/recipes-devtools/ruby/ruby_3.3.10.bb +++ b/meta/recipes-devtools/ruby/ruby_3.3.14.bb @@ -47,7 +47,7 @@ do_configure:prepend() { DEPENDS:append:libc-musl = " libucontext" -SRC_URI[sha256sum] = "b555baa467a306cfc8e6c6ed24d0d27b27e9a1bed1d91d95509859eac6b0e928" +SRC_URI[sha256sum] = "d0438ee291b0cacaf97c7a71df4c939d7f3265c8c2d1b8ffe27311f71fc680b0" PACKAGECONFIG ??= "" PACKAGECONFIG += "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" From patchwork Fri Nov 27 17:49:02 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoann Congal X-Patchwork-Id: 106157 X-Patchwork-Delegate: yoann.congal@smile.fr Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1537.1795801786845820744 for ; Fri, 27 Nov 2026 09:49:47 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@smile.fr header.s=google2 header.b=PtR66235; spf=pass (domain: smile.fr, ip: 209.85.128.52, mailfrom: yoann.congal@smile.fr) Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-4ba013938d7so79124655e9.2 for ; Fri, 27 Nov 2026 09:49:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile.fr; s=google2; t=1795801785; x=1796406585; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=tpcfcrqshWZGzOLyNaN1+lnwIUycqwQ4MNhmFFMb98A=; b=PtR66235n25bpJ3+Lu77MkfVeQZdReT01k2PfErgxWoQkYpx3OkDEL2wv9VzFHebJt QVd5dhtz+TwfgxE80b32VMFxKJxbBDcW+/y4ptnbkfNSZmDdE9qDk7Gd7tdU4bQA9cu0 tGHMOuM9bBXkMD7sK8nru5R5GJ7asrj8RNzVSu3uD4NyDYWELbgPEyNi8tUwGhHHrNKH hDs1D5WLoAjo2sp/xNP3D54WStQbzkakmuhG29JOm2u+KT0FJtfBcIcq8Mwt2TvZgeY9 ZtPHcnkArxkYl2Y4RSgIVECs2V6pcrl4BkmFhTzO8teBgWHTyDtMS3TzaiR4kB/c4sMX xqbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795801785; x=1796406585; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=tpcfcrqshWZGzOLyNaN1+lnwIUycqwQ4MNhmFFMb98A=; b=iSOEv6eYTnKynlHpWFevV9XANQHXSNNI457lDajdPbRFjTAm7Or/VeuuPvaApT+Vzg c17yT/bNmk0gR+4jub1mcIfcaTkhyepoaChi1UCQkb/WUvwztcbug1ri1m+JiSW8B5/S 16m1UsU8He8mcUXYQyGmXcPaCLMDfxExNXhCG90Oobza2Ak/XRAu1Kz5VWFViEReOP53 64kPmjAOSN2rqcvoQgBBSYdBM2FnJIqTsIIy1HTS4RoFLwDbbCip/F7RXUB7Lr1A5QDB Elgl2UxKobequs7JwyDwygyv0u1mM6JL67BzKbHWu0pwVR1ft5nGhovWPJYm0rHNBRn4 2tmQ== X-Gm-Message-State: APuU4Z8iqhjzSYiFWKtPyGikMOWjDPf85sZhZ4lKppF1wPReKcMdMcrD yLpWBmnXhzMSAc+cSbKjf3nI7rCN/V7IxxK/MsqNPxEG6Q5YuMaWyg3/YA6DgSpWErwiNuE5HMT O6gZmO44= X-Gm-Gg: AZFdTZdvKyCmngDarZwdrFfB4xHE7VHDLYcDvp5EW3TgE9NZTxY+ABHXTGR+eCok7VQ RyRqy3qtUWXDPETnqhEf/aoq5zbios4CL1h5xCJAR8oeYvGSbzGHJVy19n41JcDd97ALhXQK8ps K8+/m2ycDzLJX9vLXMox+PuUYg/acy0CXTive/ljoLzLDim0yV4cqGt3sUlsBDIiJnGt+mLpxzo By9fntQQlTh5OPKObqtVrXUgfaptkc1j0ObJIP/1FsqEDSU2xdPNCY8fn6oNXEhV4GKOEqg1Hxq EuauQ92WHf/O7rhSdHTVoxySMTvJcOYsEigb+EuvyYHyeeLMql3TZkyl30WDsYYKQNMYqQmHaIq ZGmIVBxAOT64mTLY9r+/0Q6gfRxApEr8IZ0d4xvLTZo0Nn9mC+TN/dWFC4kX3U10+WeO6d39BmS yjrp169oAD+opi9jDBYoJxWIao/1SbFszAUXz97BJ+uCgvf6DTo+/kbakcPZS/0GX91YZ5uTGhX ZbU8N1+uvGU7V5a4QTaA8T+PaUhKDlKw969z9dBJlMISDpVF4yP3GZZrYt0/ZC2rHgDrlXj7FKq XAHJs+yqNlDkC0N6QLi8fAePSD3Dx7IxzEGZmFynMr5pChoW6QmxWbA+JYMUy5rqvlkzUMsWOwg LsdIxgYYKVcO9JtLlcFR5qIE4SVNU X-Received: by 2002:a05:600c:a08e:b0:4a1:fae5:f2e2 with SMTP id 5b1f17b1804b1-4bb887e0682mr520918965e9.4.1795801784896; Fri, 27 Nov 2026 09:49:44 -0800 (PST) Return-Path: Received: from FRSMI25-LASER.home (2a01cb001331aa00a2e4fb7b0d887544.ipv6.abo.wanadoo.fr. [2a01:cb00:1331:aa00:a2e4:fb7b:d88:7544]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab69bf630esm49374624f8f.16.2026.11.27.09.49.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Nov 2026 09:49:44 -0800 (PST) From: Yoann Congal To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 19/37] libsndfile1: patch CVE-2024-50613 Date: Fri, 27 Nov 2026 18:49:02 +0100 Message-ID: <0a710aa4c7e39ea5e711c065368907f8c6330af2.1795798718.git.yoann.congal@smile.fr> X-Mailer: git-send-email 2.55.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 27 Nov 2026 17:49:55 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251425 From: Peter Marko Pick patch from [1] which linked this CVE. [1] https://github.com/libsndfile/libsndfile/pull/1198 Signed-off-by: Peter Marko Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie (cherry picked from commit e56fdd1720050fbd2107ff48bb8d24e24dff72b9) Signed-off-by: Yoann Congal --- .../libsndfile1/CVE-2024-50613.patch | 348 ++++++++++++++++++ .../libsndfile/libsndfile1_1.2.2.bb | 1 + 2 files changed, 349 insertions(+) create mode 100644 meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2024-50613.patch diff --git a/meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2024-50613.patch b/meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2024-50613.patch new file mode 100644 index 00000000000..9b7302b2316 --- /dev/null +++ b/meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2024-50613.patch @@ -0,0 +1,348 @@ +From ecbccc2f23de6cefd2d97842fc0333bb742a0625 Mon Sep 17 00:00:00 2001 +From: Capsize Security +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 + +CVE: CVE-2024-50613 +Upstream-Status: Backport [https://github.com/libsndfile/libsndfile/commit/ecbccc2f23de6cefd2d97842fc0333bb742a0625] +Signed-off-by: Peter Marko +--- + src/mpeg_l3_encode.c | 91 ++++++++++++++++++------- + tests/mpeg_test.c | 158 +++++++++++++++++++++++++++++++++++++++++++ + 2 files changed, 226 insertions(+), 23 deletions(-) + +diff --git a/src/mpeg_l3_encode.c b/src/mpeg_l3_encode.c +index aba22394..c712e6e7 100644 +--- a/src/mpeg_l3_encode.c ++++ b/src/mpeg_l3_encode.c +@@ -596,22 +596,77 @@ mpeg_l3_encode_write_int_stereo (SF_PRIVATE *psf, const int *ptr, sf_count_t len + } + + ++/* LAME's ieee_float / ieee_double entry points require input samples in the ++** range [-1.0, +1.0] ("data must be scaled to +/- 1 full scale", lame/lame.h). ++** Crafted input files can deliver NaNs, infinities, or huge finite values ++** through the public sf_writef_float / sf_writef_double API ; passing those ++** straight to LAME trips assertions inside LAME (psymodel.c : calc_energy : ++** `el >= 0') and aborts the host application (CVE-2024-50613, ++** https://github.com/libsndfile/libsndfile/issues/1034). Clamp here so the ++** encoder only ever sees in-contract input. Samples already in range pass ++** through unchanged. ++*/ ++ ++static inline float ++sanitize_float_sample (float x) ++{ if (!isfinite (x)) ++ return 0.0f ; ++ if (x > 1.0f) ++ return 1.0f ; ++ if (x < -1.0f) ++ return -1.0f ; ++ return x ; ++} /* sanitize_float_sample */ ++ ++static inline double ++sanitize_double_sample (double x) ++{ if (!isfinite (x)) ++ return 0.0 ; ++ if (x > 1.0) ++ return 1.0 ; ++ if (x < -1.0) ++ return -1.0 ; ++ return x ; ++} /* sanitize_double_sample */ ++ ++static inline void ++normalize_float (float *dest, const float *src, sf_count_t count, float norm_fact) ++{ while (--count >= 0) ++ dest [count] = sanitize_float_sample (src [count] * norm_fact) ; ++} /* normalize_float */ ++ ++static inline void ++normalize_double (double *dest, const double *src, sf_count_t count, double norm_fact) ++{ while (--count >= 0) ++ dest [count] = sanitize_double_sample (src [count] * norm_fact) ; ++} /* normalize_double */ ++ ++ + static sf_count_t + mpeg_l3_encode_write_float_mono (SF_PRIVATE *psf, const float *ptr, sf_count_t len) +-{ MPEG_L3_ENC_PRIVATE *pmpeg = (MPEG_L3_ENC_PRIVATE*) psf->codec_data ; ++{ BUF_UNION ubuf ; ++ MPEG_L3_ENC_PRIVATE *pmpeg = (MPEG_L3_ENC_PRIVATE*) psf->codec_data ; + sf_count_t total = 0 ; + int nbytes, writecount, writen ; + + if ((psf->error = mpeg_l3_encoder_construct (psf))) + return 0 ; + ++ const sf_count_t max_samples = SF_MIN (ARRAY_LEN (ubuf.fbuf), pmpeg->frame_samples) ; + while (len) +- { writecount = SF_MIN (len, (sf_count_t) pmpeg->frame_samples) ; ++ { writecount = SF_MIN (len, max_samples) ; + + if (psf->norm_float) +- nbytes = lame_encode_buffer_ieee_float (pmpeg->lamef, ptr + total, NULL, writecount, pmpeg->block, pmpeg->block_len) ; ++ { normalize_float (ubuf.fbuf, ptr + total, writecount, 1.0f) ; ++ nbytes = lame_encode_buffer_ieee_float (pmpeg->lamef, ubuf.fbuf, NULL, writecount, pmpeg->block, pmpeg->block_len) ; ++ } + else +- nbytes = lame_encode_buffer_float (pmpeg->lamef, ptr + total, NULL, writecount, pmpeg->block, pmpeg->block_len) ; ++ { /* Lame lacks a non-normalized mono float write, so scale to ++ ** ieee full scale here, mirroring the stereo path below. ++ */ ++ normalize_float (ubuf.fbuf, ptr + total, writecount, 1.0 / (float) 0x8000) ; ++ nbytes = lame_encode_buffer_ieee_float (pmpeg->lamef, ubuf.fbuf, NULL, writecount, pmpeg->block, pmpeg->block_len) ; ++ } + if (nbytes < 0) + { psf_log_printf (psf, "lame_encode_buffer returned %d\n", nbytes) ; + break ; +@@ -632,14 +687,6 @@ mpeg_l3_encode_write_float_mono (SF_PRIVATE *psf, const float *ptr, sf_count_t l + } + + +-static inline void +-normalize_float (float *dest, const float *src, sf_count_t count, float norm_fact) +-{ while (--count >= 0) +- { dest [count] = src [count] * norm_fact ; +- } ; +-} +- +- + static sf_count_t + mpeg_l3_encode_write_float_stereo (SF_PRIVATE *psf, const float *ptr, sf_count_t len) + { BUF_UNION ubuf ; +@@ -655,7 +702,9 @@ mpeg_l3_encode_write_float_stereo (SF_PRIVATE *psf, const float *ptr, sf_count_t + { writecount = SF_MIN (len, max_samples) ; + + if (psf->norm_float) +- nbytes = lame_encode_buffer_interleaved_ieee_float (pmpeg->lamef, ptr + total, writecount / 2, pmpeg->block, pmpeg->block_len) ; ++ { normalize_float (ubuf.fbuf, ptr + total, writecount, 1.0f) ; ++ nbytes = lame_encode_buffer_interleaved_ieee_float (pmpeg->lamef, ubuf.fbuf, writecount / 2, pmpeg->block, pmpeg->block_len) ; ++ } + else + { /* Lame lacks a non-normalized interleaved float write. Bummer. */ + normalize_float (ubuf.fbuf, ptr + total, writecount, 1.0 / (float) 0x8000) ; +@@ -682,14 +731,6 @@ mpeg_l3_encode_write_float_stereo (SF_PRIVATE *psf, const float *ptr, sf_count_t + } + + +-static inline void +-normalize_double (double *dest, const double *src, sf_count_t count, double norm_fact) +-{ while (--count >= 0) +- { dest [count] = src [count] * norm_fact ; +- } ; +-} +- +- + static sf_count_t + mpeg_l3_encode_write_double_mono (SF_PRIVATE *psf, const double *ptr, sf_count_t len) + { BUF_UNION ubuf ; +@@ -705,7 +746,9 @@ mpeg_l3_encode_write_double_mono (SF_PRIVATE *psf, const double *ptr, sf_count_t + { writecount = SF_MIN (len, max_samples) ; + + if (psf->norm_double) +- nbytes = lame_encode_buffer_ieee_double (pmpeg->lamef, ptr + total, NULL, writecount, pmpeg->block, pmpeg->block_len) ; ++ { normalize_double (ubuf.dbuf, ptr + total, writecount, 1.0) ; ++ nbytes = lame_encode_buffer_ieee_double (pmpeg->lamef, ubuf.dbuf, NULL, writecount, pmpeg->block, pmpeg->block_len) ; ++ } + else + { /* Lame lacks non-normalized double writing */ + normalize_double (ubuf.dbuf, ptr + total, writecount, 1.0 / (double) 0x8000) ; +@@ -747,7 +790,9 @@ mpeg_l3_encode_write_double_stereo (SF_PRIVATE *psf, const double *ptr, sf_count + { writecount = SF_MIN (len, max_samples) ; + + if (psf->norm_double) +- nbytes = lame_encode_buffer_interleaved_ieee_double (pmpeg->lamef, ptr + total, writecount / 2, pmpeg->block, pmpeg->block_len) ; ++ { normalize_double (ubuf.dbuf, ptr + total, writecount, 1.0) ; ++ nbytes = lame_encode_buffer_interleaved_ieee_double (pmpeg->lamef, ubuf.dbuf, writecount / 2, pmpeg->block, pmpeg->block_len) ; ++ } + else + { /* Lame lacks interleaved non-normalized double writing */ + normalize_double (ubuf.dbuf, ptr + total, writecount, 1.0 / (double) 0x8000) ; +diff --git a/tests/mpeg_test.c b/tests/mpeg_test.c +index fe7f53d1..87adf2ac 100644 +--- a/tests/mpeg_test.c ++++ b/tests/mpeg_test.c +@@ -258,6 +258,162 @@ mpeg_double_test (void) + unlink (filename) ; + } /* mpeg_double_test */ + ++/* Hostile input (CVE-2024-50613) : NaNs, infinities and huge finite values ++** must be sanitized before reaching LAME, not abort it. One helper covers ++** mono and stereo (channels == 2 exercises the interleaved_ieee paths), ++** with float normalization on or off. ++*/ ++static void ++mpeg_hostile_float_case (int channels, int normalize) ++{ char filename [64] ; ++ SNDFILE * file ; ++ SF_INFO sfinfo ; ++ unsigned k ; ++ size_t samples = ARRAY_LEN (data_out.f) ; ++ ++ snprintf (filename, sizeof (filename), "mpeg_hostile_float_%dch_%s.mp3", ++ channels, normalize ? "norm" : "nonorm") ; ++ ++ print_test_name ("mpeg_hostile_float_test", filename) ; ++ ++ if (channels == 1) ++ { gen_windowed_sine_float (data_out.f, samples, normalize ? 0.95 : 1.0 * 0x7F00) ; ++ } ++ else ++ { /* Interleave two mirrored channels. data_in.f is scratch here ; ++ ** it is overwritten by the read-back below. ++ */ ++ gen_windowed_sine_float (data_in.f, samples / 2, normalize ? 0.95 : 1.0 * 0x7F00) ; ++ for (k = 0 ; k < samples / 2 ; k++) ++ { data_out.f [2 * k] = data_in.f [k] ; ++ data_out.f [2 * k + 1] = data_in.f [samples / 2 - k - 1] ; ++ } ; ++ } ; ++ ++ data_out.f [0] = NAN ; ++ data_out.f [1] = INFINITY ; ++ data_out.f [2] = -INFINITY ; ++ data_out.f [3] = 1.0e30f ; ++ data_out.f [4] = -1.0e30f ; ++ ++ memset (&sfinfo, 0, sizeof (sfinfo)) ; ++ ++ /* Set up output file type. */ ++ sfinfo.format = SF_FORMAT_MPEG | SF_FORMAT_MPEG_LAYER_III ; ++ sfinfo.channels = channels ; ++ sfinfo.samplerate = SAMPLE_RATE ; ++ ++ /* Write the output file. */ ++ file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, SF_FALSE, __LINE__) ; ++ if (! normalize) ++ sf_command (file, SFC_SET_NORM_FLOAT, NULL, SF_FALSE) ; ++ test_write_float_or_die (file, 0, data_out.f, samples, __LINE__) ; ++ sf_close (file) ; ++ ++ /* Read the file in again. */ ++ memset (&sfinfo, 0, sizeof (sfinfo)) ; ++ ++ file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ; ++ test_read_float_or_die (file, 0, data_in.f, samples, __LINE__) ; ++ sf_close (file) ; ++ ++ /* The decoded output must be finite and within a sane range. MP3 is ++ ** lossy so decoded peaks may overshoot the encoder's +/-1 clamp ++ ** slightly ; a generous bound catches scale errors without ++ ** false-failing on codec noise. Explicit checks (no assert.h ++ ** dependency) match the surrounding test style. ++ */ ++ for (k = 0 ; k < samples ; k++) ++ if (! isfinite (data_in.f [k]) || fabsf (data_in.f [k]) > 4.0f) ++ { printf ("\n\nLine %d : bad decoded sample at index %u : %f.\n\n", __LINE__, k, data_in.f [k]) ; ++ exit (1) ; ++ } ; ++ ++ puts ("ok") ; ++ ++ unlink (filename) ; ++} /* mpeg_hostile_float_case */ ++ ++static void ++mpeg_hostile_float_test (void) ++{ mpeg_hostile_float_case (1, SF_TRUE) ; ++ mpeg_hostile_float_case (1, SF_FALSE) ; ++ mpeg_hostile_float_case (2, SF_TRUE) ; ++ mpeg_hostile_float_case (2, SF_FALSE) ; ++} /* mpeg_hostile_float_test */ ++ ++/* Double-precision version of the helper above. */ ++static void ++mpeg_hostile_double_case (int channels, int normalize) ++{ char filename [64] ; ++ SNDFILE * file ; ++ SF_INFO sfinfo ; ++ unsigned k ; ++ size_t samples = ARRAY_LEN (data_out.d) ; ++ ++ snprintf (filename, sizeof (filename), "mpeg_hostile_double_%dch_%s.mp3", ++ channels, normalize ? "norm" : "nonorm") ; ++ ++ print_test_name ("mpeg_hostile_double_test", filename) ; ++ ++ if (channels == 1) ++ { gen_windowed_sine_double (data_out.d, samples, normalize ? 0.95 : 1.0 * 0x7F00) ; ++ } ++ else ++ { gen_windowed_sine_double (data_in.d, samples / 2, normalize ? 0.95 : 1.0 * 0x7F00) ; ++ for (k = 0 ; k < samples / 2 ; k++) ++ { data_out.d [2 * k] = data_in.d [k] ; ++ data_out.d [2 * k + 1] = data_in.d [samples / 2 - k - 1] ; ++ } ; ++ } ; ++ ++ data_out.d [0] = NAN ; ++ data_out.d [1] = INFINITY ; ++ data_out.d [2] = -INFINITY ; ++ data_out.d [3] = 1.0e300 ; ++ data_out.d [4] = -1.0e300 ; ++ ++ memset (&sfinfo, 0, sizeof (sfinfo)) ; ++ ++ /* Set up output file type. */ ++ sfinfo.format = SF_FORMAT_MPEG | SF_FORMAT_MPEG_LAYER_III ; ++ sfinfo.channels = channels ; ++ sfinfo.samplerate = SAMPLE_RATE ; ++ ++ /* Write the output file. */ ++ file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, SF_FALSE, __LINE__) ; ++ if (! normalize) ++ sf_command (file, SFC_SET_NORM_DOUBLE, NULL, SF_FALSE) ; ++ test_write_double_or_die (file, 0, data_out.d, samples, __LINE__) ; ++ sf_close (file) ; ++ ++ /* Read the file in again. */ ++ memset (&sfinfo, 0, sizeof (sfinfo)) ; ++ ++ file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ; ++ test_read_double_or_die (file, 0, data_in.d, samples, __LINE__) ; ++ sf_close (file) ; ++ ++ /* Finite and sane, as above. */ ++ for (k = 0 ; k < samples ; k++) ++ if (! isfinite (data_in.d [k]) || fabs (data_in.d [k]) > 4.0) ++ { printf ("\n\nLine %d : bad decoded sample at index %u : %f.\n\n", __LINE__, k, data_in.d [k]) ; ++ exit (1) ; ++ } ; ++ ++ puts ("ok") ; ++ ++ unlink (filename) ; ++} /* mpeg_hostile_double_case */ ++ ++static void ++mpeg_hostile_double_test (void) ++{ mpeg_hostile_double_case (1, SF_TRUE) ; ++ mpeg_hostile_double_case (1, SF_FALSE) ; ++ mpeg_hostile_double_case (2, SF_TRUE) ; ++ mpeg_hostile_double_case (2, SF_FALSE) ; ++} /* mpeg_hostile_double_test */ ++ + + static void + mpeg_stereo_seek_test (const char * filename, int format) +@@ -338,6 +494,8 @@ main (void) + mpeg_int_test () ; + mpeg_float_test () ; + mpeg_double_test () ; ++ mpeg_hostile_float_test () ; ++ mpeg_hostile_double_test () ; + + mpeg_stereo_seek_test ("mpeg_seek.mp3", SF_FORMAT_MPEG | SF_FORMAT_MPEG_LAYER_III) ; + } diff --git a/meta/recipes-multimedia/libsndfile/libsndfile1_1.2.2.bb b/meta/recipes-multimedia/libsndfile/libsndfile1_1.2.2.bb index 5d2a2c256b0..b22f5b1e503 100644 --- a/meta/recipes-multimedia/libsndfile/libsndfile1_1.2.2.bb +++ b/meta/recipes-multimedia/libsndfile/libsndfile1_1.2.2.bb @@ -14,6 +14,7 @@ SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/libsndfile-${PV}.tar.xz \ file://CVE-2025-56226-01.patch \ file://CVE-2025-56226-02.patch \ file://CVE-2026-37555.patch \ + file://CVE-2024-50613.patch \ " GITHUB_BASE_URI = "https://github.com/libsndfile/libsndfile/releases/" From patchwork Fri Nov 27 17:49:03 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoann Congal X-Patchwork-Id: 106161 X-Patchwork-Delegate: yoann.congal@smile.fr Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1538.1795801787256475938 for ; Fri, 27 Nov 2026 09:49:47 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@smile.fr header.s=google2 header.b=SeU45Erp; spf=pass (domain: smile.fr, ip: 209.85.221.51, mailfrom: yoann.congal@smile.fr) Received: by mail-wr1-f51.google.com with SMTP id ffacd0b85a97d-48dee593f18so7863430f8f.3 for ; Fri, 27 Nov 2026 09:49:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile.fr; s=google2; t=1795801785; x=1796406585; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=Q1RaDKJF6+eEp9RVqSjio30v17xkdbdGt2WNLp7ogRk=; b=SeU45Erpyk9nx4BHtiy/dC20DSl+nzLEeszNAEUlXnSQ81V18GZ5JrytFo8N5Vd8zi tdPhC9fJZLqCNQIkNpuRSfrOM3ijfKpDkU74X4P7TfENmw7MjSgwn08s2tDURoXOFu8Q ZZCyx2cE5HHYHsC+0qrFR9WKgPFy4hBtQHX0dr2N0FL9h8tsjlLwBMdwNos31wrLdsQb c1fpiibzn14B2r4sXaklBU4o9lopTW/bzvEHfW8wHW/kA1AFiHSGBz3Skhehmjf1kJ7m bMBLH2ZbmbDodinJenf/VqVcUDS1j+5qjcykGx5c2JIidsGqOgfrP9/jvSQdkvAVkt62 sesw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795801785; x=1796406585; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=Q1RaDKJF6+eEp9RVqSjio30v17xkdbdGt2WNLp7ogRk=; b=wS1zGtVO182ZJ6oEvhMIjZsd4h5YAa8VFBjmC3D9cn04zKff4OMHB4/mTTcfm/rBzS 8kJWnkNppCoqLadp2xFqBVdFUCJeFxMO7u+CjTwR0GwiAaYIT9GnMJU00s1jEbSEu1Et GFajpYhPkQGHw0I08HJLWMUqMHRDA0x4uCP7gHhPWSglBZur28tFG5JIA4/pBoYTe1ns qMjFMDDqEoIfavCGZ7FEswiyWgvSyoK2t5kFBr8ohkGhzLPeEi3SEAS1ElFgLL8EwQsg ibRkDkLwy+CSTKi21lbJqXaNox/CYUk0XIrT4A/vE5QusZJEEn+FOKq3j3VMI3Pwpz4f U88A== X-Gm-Message-State: APuU4Z+B3FAPtVMshijvcFZmQqhR2LuhOp9DNfzhPeGKP2Rsw7Wl8xyI dI0ypTqa5Zq2G7w7VdR04Orl8SnYh7SEsro6zeFZiWYWdCQzIn/C7YeLEfHFIZDy0Cp38GrGBXi AQPdlTJM= X-Gm-Gg: AZFdTZfZ1lxA5vuJT/ZtLM4xY2/FZcbxw1AWjUjVhz8Hl6MiRrPQfl29lts0QXAserp BoIWfF2BvuaLq5hdeXcIJ8u86DJht916gWL+hxKQPbyYZATQzil1y1REUpdGqgGEQ4sJKt6TIuJ mcqc5P3kidup10UkRiJ105OcXfWIYoux6pGZqo26tyEfX2bbQ5I0BO69m9xmtphYOTU3rHJdaYU OSHZFVU7sC0B+36nPI66lLKmQ+4ZFKtgMdW1ANno614ix1ykXxe8k5oCY4YGaASjJ6RYK+ta/18 nuumtNIDfDlf4/erLXbAl8i+vpN0tErKOIibVQrCNRv1h6Vn8/LYW3OOOsbpeLhgJO/fA90yBIL LrInJ8HKZInTPsEQnvkO2URoVNnuWvyFcuwzBgeZs/8sZ4qdKxdcmm1ZOl2o4Y8S0UkKkCukAEl vt7+c+uY2jDK3oSx50L4k9XNVnsR3jtNtZE0oEeFKpdYKkA+N49UYF8TB5ESEPWVG0mZpOODBOY WkKiCf5jhr9XpbmHSyIQPhaK4Wbdkn2p5J97ebWrv57YOa/mIgcLZjyN7dq/Y273qOadOedRhhl jEitijtLYFPu7ZJHeFtJDAIm9MS+Los4ioY7oTFAp+W5cVXoMF5FaVdlb2pwUQUGIT9pGH4Zav4 S9ncS5KNlxbRdu0b8G3ATJOOoRSgj X-Received: by 2002:a05:6000:1889:b0:48d:ee35:b3fe with SMTP id ffacd0b85a97d-4abab5ea3b3mr61142331f8f.8.1795801785482; Fri, 27 Nov 2026 09:49:45 -0800 (PST) Return-Path: Received: from FRSMI25-LASER.home (2a01cb001331aa00a2e4fb7b0d887544.ipv6.abo.wanadoo.fr. [2a01:cb00:1331:aa00:a2e4:fb7b:d88:7544]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab69bf630esm49374624f8f.16.2026.11.27.09.49.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Nov 2026 09:49:45 -0800 (PST) From: Yoann Congal To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 20/37] libsndfile1: patch CVE-2025-52194 Date: Fri, 27 Nov 2026 18:49:03 +0100 Message-ID: <026fe7e080fb4c254c9812758df46d4fca04dc0a.1795798718.git.yoann.congal@smile.fr> X-Mailer: git-send-email 2.55.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 27 Nov 2026 17:49:55 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251426 From: Peter Marko Pick patch references by [1] references in CVE report. [1] https://github.com/libsndfile/libsndfile/issues/1082#issuecomment-6442050313 Signed-off-by: Peter Marko Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie (cherry picked from commit cc20c00e9261011c175d4bb92c99f02b5773b419) Signed-off-by: Yoann Congal --- .../libsndfile1/CVE-2025-52194.patch | 27 +++++++++++++++++++ .../libsndfile/libsndfile1_1.2.2.bb | 1 + 2 files changed, 28 insertions(+) create mode 100644 meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2025-52194.patch diff --git a/meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2025-52194.patch b/meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2025-52194.patch new file mode 100644 index 00000000000..ec5da0b731e --- /dev/null +++ b/meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2025-52194.patch @@ -0,0 +1,27 @@ +From 7ff854d1e0bd9a751a9ff52ed980c62afced91fe Mon Sep 17 00:00:00 2001 +From: Saddam +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 +--- + src/ircam.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/ircam.c b/src/ircam.c +index 3d73ba44..d0780d8a 100644 +--- a/src/ircam.c ++++ b/src/ircam.c +@@ -161,7 +161,7 @@ ircam_read_header (SF_PRIVATE *psf) + + psf_log_printf (psf, "marker: 0x%X\n", marker) ; + +- psf->sf.samplerate = (int) samplerate ; ++ psf->sf.samplerate = psf_lrintf (samplerate) ; + + psf_log_printf (psf, " Sample Rate : %d\n" + " Channels : %d\n" diff --git a/meta/recipes-multimedia/libsndfile/libsndfile1_1.2.2.bb b/meta/recipes-multimedia/libsndfile/libsndfile1_1.2.2.bb index b22f5b1e503..37f852d5c38 100644 --- a/meta/recipes-multimedia/libsndfile/libsndfile1_1.2.2.bb +++ b/meta/recipes-multimedia/libsndfile/libsndfile1_1.2.2.bb @@ -15,6 +15,7 @@ SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/libsndfile-${PV}.tar.xz \ file://CVE-2025-56226-02.patch \ file://CVE-2026-37555.patch \ file://CVE-2024-50613.patch \ + file://CVE-2025-52194.patch \ " GITHUB_BASE_URI = "https://github.com/libsndfile/libsndfile/releases/" From patchwork Fri Nov 27 17:49:04 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoann Congal X-Patchwork-Id: 106162 X-Patchwork-Delegate: yoann.congal@smile.fr Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1539.1795801787957973333 for ; Fri, 27 Nov 2026 09:49:48 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@smile.fr header.s=google2 header.b=Jm1IgQMj; spf=pass (domain: smile.fr, ip: 209.85.221.53, mailfrom: yoann.congal@smile.fr) Received: by mail-wr1-f53.google.com with SMTP id ffacd0b85a97d-490d59c3edaso5695863f8f.1 for ; Fri, 27 Nov 2026 09:49:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile.fr; s=google2; t=1795801786; x=1796406586; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=VRPkV4bcWFyxWiF9dhH4J/2NtnFu0u4fiCgQ2YBygQM=; b=Jm1IgQMjoCEqRSJDLAN+/giyNK4ZsERT8hH+4p6192cOaa1/TTvpqyJKR6ans3vMfF PwhlIaTJgZ1cq/B0PSgb9jG2JNM7CW1M8Y+3yZJIh1n7xhz0YM2V9MF/loaetVN8w5Mt IW3n2rdtPmENxbCh02xlgtx4u4JHEqm6O1RAlcqVJpQdzcjb5IF8OMMCPAcN2kon5VhZ x0n6Ngx3OFxQL2pbEiGSRreXqEu8FLxqXJdDwC4Tg4Qz07IVF8EdaU0L6yMDV3qKje/+ eipQsL8YIZluJzE8j6HEUe3gmobT2ROnGg3tNso0bKAV7e7ZXePVocnAhuiKzxM8dBEx dJ8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795801786; x=1796406586; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=VRPkV4bcWFyxWiF9dhH4J/2NtnFu0u4fiCgQ2YBygQM=; b=daDKOBNYVpSFq8PT75g9YXDNt0lfoq0jnyEPA9VbARU9tdY7pqPTWXJ0DRxwzNOpVV U7/wXhXjyeZvld1ZHGk+Y+bVtVbD8AaFHPqXrTrNdSstj7+84HkTgTrOHn3L6gnu+HD8 d6/cG3kFMXQXMEStoec6oNG1YMXABG2+ssZorY9hpNhghlunBpEwNrKM386n1LggmEjQ icvWPDUsy/7HZhq/BP668zXEsVTbwxs85kIPXyRxASTb2HPfrASFrziDIpMhEaGE7ELG zHUFjLRjfqzTZ6tyYInPGV5zbt9Sc31Guqwy8RgPHdv9+nZlhkh+P3kpWGw2qhs9F9oZ ZLEA== X-Gm-Message-State: APuU4Z+1k2YeAprfW6wRFMsY3S0XuoVAXWnpvmghVkbD8HtIDWDY/vRL k99anOvfI2gmqr2yldTaqI9fmw4COW/xP8t8TU7As/PuAg7dSAdNm2JivABVRDwePVti1+a4S4c gxEy8alM= X-Gm-Gg: AZFdTZdnQdP7xbr5gtI76NRKVROXmIi7yVjQTC72C+vALJZUlQcbaft9PJ4ewXiQ78E LFh2iZPvy2a9nH4BwqjYzmTcdHxhT45Xli4Z8R+p2vuG0H+tE5+SPuAoxsTCuoWGSGNP0D/MjjR ID8qHESLR695OjnlE3QSgRjRDwZZLVVgRdFekTtHVEs7Ui9nUDmxhMo3KnaBrFJ0Vj6nRA+xd59 pbH2VHHl5wtIIfJ7X5xJnX2Y7rn0mT5dqiTkcUw1nbU45yG3zo+Zslg5cYewp51ZGKA8Vonkblb TtAZuUOzrcCwuPGwpUmWcLTGUnoPuLnETwmYFHfwa+F4MLSFTfpjp8T3OteWWFn5IcTD6K66AD0 8J9p2og9wra2KVyMyzYyoGjeGJZWqcYIJ1ebLn9GsvvGGshHSYqyZSZJiVhiiLtHQzsm02oVr+w k1WlMSwT1nO9ArT+rpsRaKf0RfRyJOXNpFITofqux/VoutxBtVEhSEEoHW/YdTi+S9mgO4s76rH ZzKk5PWE4E564DaNvLGvE4B42YC1fUi4OUBeAPSUkApiV2VTama1bAvDx9JTL2n2tK3jJ4rALFo ZTvFVfHJZbfhzwYbwX4wN+vLraN30VgnK/IRIJ21y8OA+toVBW8W81BlVwX/47Lz0gMvhvhEc6l 2zv5FfR6WMzJwfMpDkXejQLpvwdou X-Received: by 2002:a05:6000:2383:b0:492:aff5:da4d with SMTP id ffacd0b85a97d-4aa545e244fmr69493069f8f.7.1795801786074; Fri, 27 Nov 2026 09:49:46 -0800 (PST) Return-Path: Received: from FRSMI25-LASER.home (2a01cb001331aa00a2e4fb7b0d887544.ipv6.abo.wanadoo.fr. [2a01:cb00:1331:aa00:a2e4:fb7b:d88:7544]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab69bf630esm49374624f8f.16.2026.11.27.09.49.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Nov 2026 09:49:45 -0800 (PST) From: Yoann Congal To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 21/37] libsndfile1: patch CVE-2026-109828 Date: Fri, 27 Nov 2026 18:49:04 +0100 Message-ID: <29b3c21a37c2bb30769d144ad759de5a118c188a.1795798718.git.yoann.congal@smile.fr> X-Mailer: git-send-email 2.55.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 27 Nov 2026 17:49:55 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251427 From: Peter Marko Pick patch from [1] which clsed [2] linked from [3]. Also pick a refactoring commit which is required for a clean cherry-pick. [1] https://github.com/libsndfile/libsndfile/pull/1170 [2] https://github.com/libsndfile/libsndfile/issues/1169 [3] https://nvd.nist.gov/vuln/detail/cve-2026-109828 Signed-off-by: Peter Marko Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie (cherry picked from commit 6c80a8917e6c815cea297d2aa6c7d715f07c57d9) Signed-off-by: Yoann Congal --- .../libsndfile1/CVE-2026-109828-01.patch | 234 ++++++++++++++++++ .../libsndfile1/CVE-2026-109828-02.patch | 26 ++ .../libsndfile/libsndfile1_1.2.2.bb | 2 + 3 files changed, 262 insertions(+) create mode 100644 meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2026-109828-01.patch create mode 100644 meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2026-109828-02.patch diff --git a/meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2026-109828-01.patch b/meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2026-109828-01.patch new file mode 100644 index 00000000000..61acc37c2dc --- /dev/null +++ b/meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2026-109828-01.patch @@ -0,0 +1,234 @@ +From 59babedce8fa8eb1000ecb3c87a5dd4a1190ad9e Mon Sep 17 00:00:00 2001 +From: iceray-Li <108821718+iceray00@users.noreply.github.com> +Date: Tue, 22 Sep 2026 06:05:03 +0000 +Subject: [PATCH] aiff, wav, wavlike: index the cue array through a pointer + +The cue array of an SF_CUES struct is allocated with room for the actual cue +count (SF_CUES_VAR_SIZE()), but the public SF_CUES type declares it with a +fixed length of 100 (SF_CUES_VAR (100)). Compilers therefore assume that +cue_points [] holds 100 elements, and UBSan's array-bounds check flags every +access beyond that even though the allocation is larger: + + src/aiff.c:823:8: runtime error: index 100 out of bounds for type 'SF_CUE_POINT [100]' + src/aiff.c:943:38: runtime error: index 100 out of bounds for type 'SF_CUE_POINT [100]' + src/wav.c:524:8: runtime error: index 100 out of bounds for type 'SF_CUE_POINT [100]' + +The declared bound is also the reason the CVE-2022-33064 report (issue #832) +is still open. The accesses themselves are inside the allocation: the cue +count is capped at 2500 by wav.c and aiff.c, psf_cues_alloc() reserves +cue_count * sizeof (SF_CUE_POINT) bytes, and the same inputs are clean under +ASan, so no validation of the file can make the diagnostic disappear. + +Add psf_cues_points(), which hands out the first element of the array as an +ordinary pointer, and use it at every place that subscripts cue_points []. +The layout of the public SF_CUES struct, the API it exposes and the file +handling are unchanged. + +Tested with ossfuzz/sndfile_fuzzer and ossfuzz/sndfile_alt_fuzzer built with +-fsanitize=address,undefined: the crafted AIFF and WAV inputs abort in +src/aiff.c and src/wav.c before the change and are clean after it. + +CVE: CVE-2026-109828 +Upstream-Status: Backport [https://github.com/libsndfile/libsndfile/commit/59babedce8fa8eb1000ecb3c87a5dd4a1190ad9e] +Signed-off-by: Peter Marko +--- + src/aiff.c | 36 ++++++++++++++++++++---------------- + src/common.h | 10 ++++++++++ + src/wav.c | 23 +++++++++++++---------- + src/wavlike.c | 5 +++-- + 4 files changed, 46 insertions(+), 28 deletions(-) + +diff --git a/src/aiff.c b/src/aiff.c +index e36b21e0..39c3221d 100644 +--- a/src/aiff.c ++++ b/src/aiff.c +@@ -403,6 +403,7 @@ aiff_read_header (SF_PRIVATE *psf, COMM_CHUNK *comm_fmt) + int k, found_chunk = 0, done = 0, error = 0 ; + char *cptr ; + int instr_found = 0, mark_found = 0 ; ++ SF_CUE_POINT *cue_points = NULL ; + + if (psf->filelength > 0xFFFFFFFFLL) + psf_log_printf (psf, "Warning : filelength > 0xffffffff. This is bad!!!!\n") ; +@@ -813,6 +814,8 @@ aiff_read_header (SF_PRIVATE *psf, COMM_CHUNK *comm_fmt) + if ((psf->cues = psf_cues_alloc (mark_count)) == NULL) + return SFE_MALLOC_FAILED ; + ++ cue_points = psf_cues_points (psf->cues) ; ++ + for (n = 0 ; n < mark_count && bytesread < chunk_size ; n++) + { uint32_t pstr_len ; + uint8_t ch ; +@@ -820,12 +823,12 @@ aiff_read_header (SF_PRIVATE *psf, COMM_CHUNK *comm_fmt) + bytesread += psf_binheader_readf (psf, "E241", &mark_id, &position, &ch) ; + psf_log_printf (psf, " Mark ID : %u\n Position : %u\n", mark_id, position) ; + +- psf->cues->cue_points [n].indx = mark_id ; +- psf->cues->cue_points [n].position = 0 ; +- psf->cues->cue_points [n].fcc_chunk = MAKE_MARKER ('d', 'a', 't', 'a') ; /* always data */ +- psf->cues->cue_points [n].chunk_start = 0 ; +- psf->cues->cue_points [n].block_start = 0 ; +- psf->cues->cue_points [n].sample_offset = position ; ++ cue_points [n].indx = mark_id ; ++ cue_points [n].position = 0 ; ++ cue_points [n].fcc_chunk = MAKE_MARKER ('d', 'a', 't', 'a') ; /* always data */ ++ cue_points [n].chunk_start = 0 ; ++ cue_points [n].block_start = 0 ; ++ cue_points [n].sample_offset = position ; + + pstr_len = (ch & 1) ? ch : ch + 1 ; + +@@ -841,7 +844,7 @@ aiff_read_header (SF_PRIVATE *psf, COMM_CHUNK *comm_fmt) + + psf_log_printf (psf, " Name : %s\n", ubuf.scbuf) ; + +- psf_strlcpy (psf->cues->cue_points [n].name, sizeof (psf->cues->cue_points [n].name), ubuf.cbuf) ; ++ psf_strlcpy (cue_points [n].name, sizeof (cue_points [n].name), ubuf.cbuf) ; + + paiff->markstr [n].markerID = mark_id ; + paiff->markstr [n].position = position ; +@@ -940,14 +943,14 @@ aiff_read_header (SF_PRIVATE *psf, COMM_CHUNK *comm_fmt) + + for (j = 0 ; j < psf->cues->cue_count - (uint32_t) (psf->instrument->loop_count * 2) ; j ++) + { /* This simply copies the information in cues above loop positions and writes it at current count instead */ +- psf->cues->cue_points [j].indx = psf->cues->cue_points [j + psf->instrument->loop_count * 2].indx ; +- psf->cues->cue_points [j].position = psf->cues->cue_points [j + psf->instrument->loop_count * 2].position ; +- psf->cues->cue_points [j].fcc_chunk = psf->cues->cue_points [j + psf->instrument->loop_count * 2].fcc_chunk ; +- psf->cues->cue_points [j].chunk_start = psf->cues->cue_points [j + psf->instrument->loop_count * 2].chunk_start ; +- psf->cues->cue_points [j].block_start = psf->cues->cue_points [j + psf->instrument->loop_count * 2].block_start ; +- psf->cues->cue_points [j].sample_offset = psf->cues->cue_points [j + psf->instrument->loop_count * 2].sample_offset ; ++ cue_points [j].indx = cue_points [j + psf->instrument->loop_count * 2].indx ; ++ cue_points [j].position = cue_points [j + psf->instrument->loop_count * 2].position ; ++ cue_points [j].fcc_chunk = cue_points [j + psf->instrument->loop_count * 2].fcc_chunk ; ++ cue_points [j].chunk_start = cue_points [j + psf->instrument->loop_count * 2].chunk_start ; ++ cue_points [j].block_start = cue_points [j + psf->instrument->loop_count * 2].block_start ; ++ cue_points [j].sample_offset = cue_points [j + psf->instrument->loop_count * 2].sample_offset ; + for (str_index = 0 ; str_index < 256 ; str_index++) +- psf->cues->cue_points [j].name [str_index] = psf->cues->cue_points [j + psf->instrument->loop_count * 2].name [str_index] ; ++ cue_points [j].name [str_index] = cue_points [j + psf->instrument->loop_count * 2].name [str_index] ; + } ; + psf->cues->cue_count -= psf->instrument->loop_count * 2 ; + } else +@@ -1461,10 +1464,11 @@ aiff_write_header (SF_PRIVATE *psf, int calc_length) + { /* There are cues but no loops */ + uint32_t idx ; + int totalStringLength = 0, stringLength ; ++ SF_CUE_POINT *cue_points = psf_cues_points (psf->cues) ; + + /* Here we count how many bytes will the pascal strings need */ + for (idx = 0 ; idx < psf->cues->cue_count ; idx++) +- { stringLength = strlen (psf->cues->cue_points [idx].name) + 1 ; /* We'll count the first byte also of every pascal string */ ++ { stringLength = strlen (cue_points [idx].name) + 1 ; /* We'll count the first byte also of every pascal string */ + totalStringLength += stringLength + (stringLength % 2 == 0 ? 0 : 1) ; + } ; + +@@ -1472,7 +1476,7 @@ aiff_write_header (SF_PRIVATE *psf, int calc_length) + BHWm (MARK_MARKER), BHW4 (2 + psf->cues->cue_count * (2 + 4) + totalStringLength), BHW2 (psf->cues->cue_count)) ; + + for (idx = 0 ; idx < psf->cues->cue_count ; idx++) +- psf_binheader_writef (psf, "E24p", BHW2 (psf->cues->cue_points [idx].indx), BHW4 (psf->cues->cue_points [idx].sample_offset), BHWp (psf->cues->cue_points [idx].name)) ; ++ psf_binheader_writef (psf, "E24p", BHW2 (cue_points [idx].indx), BHW4 (cue_points [idx].sample_offset), BHWp (cue_points [idx].name)) ; + } ; + + if (psf->strings.flags & SF_STR_LOCATE_START) +diff --git a/src/common.h b/src/common.h +index 01f6ae09..ee6844b8 100644 +--- a/src/common.h ++++ b/src/common.h +@@ -989,6 +989,16 @@ SF_CUES * psf_cues_dup (const void * ptr, size_t datasize) ; + SF_CUES * psf_cues_alloc (uint32_t cue_count) ; + void psf_get_cues (SF_PRIVATE * psf, void * data, size_t datasize) ; + ++/* The cue array is allocated with room for the actual cue count (see ++** psf_cues_alloc()), but the public SF_CUES type declares it with a fixed ++** length of 100. Index it through a pointer so that compilers do not flag ++** accesses to the longer, correctly allocated array (issue #832). ++*/ ++static inline SF_CUE_POINT * ++psf_cues_points (SF_CUES *cues) ++{ return cues->cue_points ; ++} /* psf_cues_points */ ++ + SF_INSTRUMENT * psf_instrument_alloc (void) ; + + void psf_sanitize_string (char * cptr, int len) ; +diff --git a/src/wav.c b/src/wav.c +index 80dda4e1..f206bc34 100644 +--- a/src/wav.c ++++ b/src/wav.c +@@ -484,6 +484,7 @@ wav_read_header (SF_PRIVATE *psf, int *blockalign, int *framesperblock) + + { uint32_t thisread, bytesread, cue_count, position, offset ; + int id, chunk_id, chunk_start, block_start, cue_index ; ++ SF_CUE_POINT *cue_points ; + + bytesread = psf_binheader_readf (psf, "4", &cue_count) ; + psf_log_printf (psf, "%M : %u\n", marker, chunk_size) ; +@@ -504,6 +505,7 @@ wav_read_header (SF_PRIVATE *psf, int *blockalign, int *framesperblock) + if ((psf->cues = psf_cues_alloc (cue_count)) == NULL) + return SFE_MALLOC_FAILED ; + ++ cue_points = psf_cues_points (psf->cues) ; + cue_index = 0 ; + + while (cue_count) +@@ -521,13 +523,13 @@ wav_read_header (SF_PRIVATE *psf, int *blockalign, int *framesperblock) + else if (cue_index == 10) + psf_log_printf (psf, " (Skipping)\n") ; + +- psf->cues->cue_points [cue_index].indx = id ; +- psf->cues->cue_points [cue_index].position = position ; +- psf->cues->cue_points [cue_index].fcc_chunk = chunk_id ; +- psf->cues->cue_points [cue_index].chunk_start = chunk_start ; +- psf->cues->cue_points [cue_index].block_start = block_start ; +- psf->cues->cue_points [cue_index].sample_offset = offset ; +- psf->cues->cue_points [cue_index].name [0] = '\0' ; ++ cue_points [cue_index].indx = id ; ++ cue_points [cue_index].position = position ; ++ cue_points [cue_index].fcc_chunk = chunk_id ; ++ cue_points [cue_index].chunk_start = chunk_start ; ++ cue_points [cue_index].block_start = block_start ; ++ cue_points [cue_index].sample_offset = offset ; ++ cue_points [cue_index].name [0] = '\0' ; + cue_count -- ; + cue_index ++ ; + } ; +@@ -1210,13 +1212,14 @@ wav_write_header (SF_PRIVATE *psf, int calc_length) + + if (psf->cues != NULL) + { uint32_t k ; ++ SF_CUE_POINT *cue_points = psf_cues_points (psf->cues) ; + + psf_binheader_writef (psf, "em44", BHWm (cue_MARKER), BHW4 (4 + psf->cues->cue_count * 6 * 4), BHW4 (psf->cues->cue_count)) ; + + for (k = 0 ; k < psf->cues->cue_count ; k++) +- psf_binheader_writef (psf, "e44m444", BHW4 (psf->cues->cue_points [k].indx), BHW4 (psf->cues->cue_points [k].position), +- BHWm (psf->cues->cue_points [k].fcc_chunk), BHW4 (psf->cues->cue_points [k].chunk_start), +- BHW4 (psf->cues->cue_points [k].block_start), BHW4 (psf->cues->cue_points [k].sample_offset)) ; ++ psf_binheader_writef (psf, "e44m444", BHW4 (cue_points [k].indx), BHW4 (cue_points [k].position), ++ BHWm (cue_points [k].fcc_chunk), BHW4 (cue_points [k].chunk_start), ++ BHW4 (cue_points [k].block_start), BHW4 (cue_points [k].sample_offset)) ; + } ; + + if (psf->instrument != NULL) +diff --git a/src/wavlike.c b/src/wavlike.c +index 05691323..0c3577a8 100644 +--- a/src/wavlike.c ++++ b/src/wavlike.c +@@ -1060,13 +1060,14 @@ wavlike_subchunk_parse (SF_PRIVATE *psf, int chunk, uint32_t chunk_length) + + if (psf->cues) + { unsigned int i = 0 ; ++ SF_CUE_POINT *cue_points = psf_cues_points (psf->cues) ; + + /* find id to store label */ +- while (i < psf->cues->cue_count && psf->cues->cue_points [i].indx != mark_id) ++ while (i < psf->cues->cue_count && cue_points [i].indx != mark_id) + i++ ; + + if (i < psf->cues->cue_count) +- memcpy (psf->cues->cue_points [i].name, buffer, sizeof (psf->cues->cue_points [i].name)) ; ++ memcpy (cue_points [i].name, buffer, sizeof (cue_points [i].name)) ; + } ; + } ; + break ; diff --git a/meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2026-109828-02.patch b/meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2026-109828-02.patch new file mode 100644 index 00000000000..dab12f04ace --- /dev/null +++ b/meta/recipes-multimedia/libsndfile/libsndfile1/CVE-2026-109828-02.patch @@ -0,0 +1,26 @@ +From 1ccd2a18826722c3aa9ed54122ebff20e3b92b10 Mon Sep 17 00:00:00 2001 +From: Ilias Aberkane +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 +--- + src/wavlike.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/wavlike.c b/src/wavlike.c +index 0c3577a8..9d99b74a 100644 +--- a/src/wavlike.c ++++ b/src/wavlike.c +@@ -1067,7 +1067,7 @@ wavlike_subchunk_parse (SF_PRIVATE *psf, int chunk, uint32_t chunk_length) + i++ ; + + if (i < psf->cues->cue_count) +- memcpy (cue_points [i].name, buffer, sizeof (cue_points [i].name)) ; ++ psf_strlcpy (cue_points [i].name, sizeof (cue_points [i].name), buffer) ; + } ; + } ; + break ; diff --git a/meta/recipes-multimedia/libsndfile/libsndfile1_1.2.2.bb b/meta/recipes-multimedia/libsndfile/libsndfile1_1.2.2.bb index 37f852d5c38..bb8c666de70 100644 --- a/meta/recipes-multimedia/libsndfile/libsndfile1_1.2.2.bb +++ b/meta/recipes-multimedia/libsndfile/libsndfile1_1.2.2.bb @@ -16,6 +16,8 @@ SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/libsndfile-${PV}.tar.xz \ file://CVE-2026-37555.patch \ file://CVE-2024-50613.patch \ file://CVE-2025-52194.patch \ + file://CVE-2026-109828-01.patch \ + file://CVE-2026-109828-02.patch \ " GITHUB_BASE_URI = "https://github.com/libsndfile/libsndfile/releases/" From patchwork Fri Nov 27 17:49:05 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoann Congal X-Patchwork-Id: 106149 X-Patchwork-Delegate: yoann.congal@smile.fr Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.1466.1795801788567680106 for ; Fri, 27 Nov 2026 09:49:48 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@smile.fr header.s=google2 header.b=CioCxk3g; spf=pass (domain: smile.fr, ip: 209.85.221.54, mailfrom: yoann.congal@smile.fr) Received: by mail-wr1-f54.google.com with SMTP id ffacd0b85a97d-4a3e706b5dfso5310210f8f.2 for ; Fri, 27 Nov 2026 09:49:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile.fr; s=google2; t=1795801787; x=1796406587; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=jVwfL0AnLlCyGEnBVtY0ktDMTTh+AmZ8FZRFxRR3zcs=; b=CioCxk3gpee7NqbzG1pYbAf3ep5BWflWJDeSv40VB8AjaDPm3PDPa2ST7g26S2EIDd hqxkOlxRXCy2GUUw7Z0ByMAxUIctz1kQxoVd4/qMtERhjbiq2YMvfYAWhnZAfrO4c5wj DsZkzGULGOljMjxaEdmJ5i7feyxEwJwFVMcHCzKDGwar5WvtHoGXTtiKKxnaYG+bCSsB IoepUfzyC4E+OOvUpwRXmhcEzEVDFTCd9M4l1JPzm7x4YFAnmsjwc5MZcOUw81+jLs3R F6EmjSyHTNFkfQtYlOzHwDSGxJ0JZRBjRvYt9AjAIi6JlKVPyRGAaHpb084kihPJSJSH OQrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795801787; x=1796406587; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=jVwfL0AnLlCyGEnBVtY0ktDMTTh+AmZ8FZRFxRR3zcs=; b=ce0OzEUvksV3QI8JuP3zTn4mTBcWoC8MYlzZWjrzQG8XBu//UHQqnl7Wxcb6+5BPC+ Lbzl963KXyQPKnzBi77smf6nMs6XlcV8fM3chabMM9Yr6ssZt+kldR1mbSlKbH4JbZL2 RX7yJ39FEVU5v5tbMorPdDW5bYmZ8yG4RHOedemPzYxXcF7wyXC7YPxYqEAUGwwA615p CIoSXlIIGyOFk5NcTpUcBHe31cc8zzay5NENB1njMhCzSNJSTLZWIMTJY6FQyfvPt1Ku arz03Do38ub+G8jm7zzeLFgeO1TD0LaTal1YAfN1vjSoJmC55CKxre9RCQtJ09ycN1Xy EUmQ== X-Gm-Message-State: APuU4Z+IW93h/HLL9UZ9JIM+a8O7NL2MY2UpQ9SUcLB90VukZcE//wPj jvT4qZD84r19myCMZ3nCdNmYsNVdv4SSorMsXTlYi4VPEWMOetZoUiw+I/M5WffI9m6xvxqZT7/ uiDB+WF4= X-Gm-Gg: AZFdTZf8k9umv9y7lJT/OAR3xQXixXYOCFBH2W9jLEkpqRM7su+b1XXNWwWHBAGOfHa 1/Nz6EOzsGJhtnq45IFOHUvHYQ8zi9Zh+iiGOQtxz3B3G+v/EuDUJg8vFY6bZy2SeQxKo2Pdcwy 1CUWdyEplQtuujF3STj8f819vA0tsEoRhQkj8gBPFOdfCgVO6OQQ1JU/q5m8/HpO5jSFzBjihxZ Cb7aMeguXS5ZcF2afYS5rF8zp2KD1EHRNVOO7ASX5m6B4aba0WF2Ik5W11lg3NF2ivlzyl4TrkL lSgsgKhSdZ/tSmPda63hmBT+dnZbelJf6VaVaMP1BppUzLKTbZD9mkvecU9ZbbOkSBFVYeT4Iez hhBKp6LBcKPSSt/bpQWKlDgm0+tHCkESDC7A8lj64pXKmWfx4Sz5dz99dr/0+EoKJNEiQNgY8u7 BPEAOSSjC0pXT3LshsFqcrHl/eok9F1/d4SjUTvNuVEAg3zCe/Sd/Xy+h2O01bHXnvVgtrHuQAQ BiLVvi2CmNrfAhsUBcH4ibzwyx9v0+7zh4EocbBkyBkNeMznScD24fWf+zdNMamukKETFLVd6Xs M5giwdGSTWlRx22YU59tAMg9rBhTmR3HXl+6p4rV0lhLGWW43XknApZTy6xnPpyvLJXI+Tenssc BEG8AkQGqLmXOFwc8bev17DWRbYle/w== X-Received: by 2002:a05:6000:4904:b0:4a6:60b2:afed with SMTP id ffacd0b85a97d-4abb3c37a2dmr48316268f8f.11.1795801786759; Fri, 27 Nov 2026 09:49:46 -0800 (PST) Return-Path: Received: from FRSMI25-LASER.home (2a01cb001331aa00a2e4fb7b0d887544.ipv6.abo.wanadoo.fr. [2a01:cb00:1331:aa00:a2e4:fb7b:d88:7544]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab69bf630esm49374624f8f.16.2026.11.27.09.49.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Nov 2026 09:49:46 -0800 (PST) From: Yoann Congal To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 22/37] ffmpeg: Fix CVE-2026-40962 Date: Fri, 27 Nov 2026 18:49:05 +0100 Message-ID: <40f53d038fce9297f7ca0153ee44ccd9c3d1b7f5.1795798718.git.yoann.congal@smile.fr> X-Mailer: git-send-email 2.55.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 27 Nov 2026 17:49:53 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251428 From: Colin Pinnell McAllister Backports patch for CVE-2026-40962 to ffmpeg 6.1.4. Signed-off-by: Colin Pinnell McAllister Signed-off-by: Yoann Congal --- .../ffmpeg/ffmpeg/CVE-2026-40962.patch | 61 +++++++++++++++++++ .../recipes-multimedia/ffmpeg/ffmpeg_6.1.4.bb | 1 + 2 files changed, 62 insertions(+) create mode 100644 meta/recipes-multimedia/ffmpeg/ffmpeg/CVE-2026-40962.patch diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg/CVE-2026-40962.patch b/meta/recipes-multimedia/ffmpeg/ffmpeg/CVE-2026-40962.patch new file mode 100644 index 00000000000..608dc638ed3 --- /dev/null +++ b/meta/recipes-multimedia/ffmpeg/ffmpeg/CVE-2026-40962.patch @@ -0,0 +1,61 @@ +From 5d272b8c9541fa082dfb064e7e5847de4c4300ba Mon Sep 17 00:00:00 2001 +From: Michael Niedermayer +Date: Tue, 24 Feb 2026 03:47:15 +0100 +Subject: [PATCH] avformat/mov: use 64bit in CENC subsample bounds checks + +Found-by: Quang Luong +Found-by: PrymEvol +Signed-off-by: Michael Niedermayer +(cherry picked from commit e392fb8c9c3949d975531d2b23c645d2465a7ebc) +Signed-off-by: Michael Niedermayer + +CVE: CVE-2026-40962 +Upstream-Status: Backport [https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/78c944bdb170d8dcece166115d92b45379b040f4] +Signed-off-by: Colin Pinnell McAllister +--- + libavformat/mov.c | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff --git a/libavformat/mov.c b/libavformat/mov.c +index 7a7545c9b5..af103ad24d 100644 +--- a/libavformat/mov.c ++++ b/libavformat/mov.c +@@ -7178,7 +7178,7 @@ static int cenc_scheme_decrypt(MOVContext *c, MOVStreamContext *sc, AVEncryption + } + + for (i = 0; i < sample->subsample_count; i++) { +- if (sample->subsamples[i].bytes_of_clear_data + sample->subsamples[i].bytes_of_protected_data > size) { ++ if (sample->subsamples[i].bytes_of_clear_data + (int64_t)sample->subsamples[i].bytes_of_protected_data > size) { + av_log(c->fc, AV_LOG_ERROR, "subsample size exceeds the packet size left\n"); + return AVERROR_INVALIDDATA; + } +@@ -7233,7 +7233,7 @@ static int cbc1_scheme_decrypt(MOVContext *c, MOVStreamContext *sc, AVEncryption + } + + for (i = 0; i < sample->subsample_count; i++) { +- if (sample->subsamples[i].bytes_of_clear_data + sample->subsamples[i].bytes_of_protected_data > size) { ++ if (sample->subsamples[i].bytes_of_clear_data + (int64_t)sample->subsamples[i].bytes_of_protected_data > size) { + av_log(c->fc, AV_LOG_ERROR, "subsample size exceeds the packet size left\n"); + return AVERROR_INVALIDDATA; + } +@@ -7295,7 +7295,7 @@ static int cens_scheme_decrypt(MOVContext *c, MOVStreamContext *sc, AVEncryption + } + + for (i = 0; i < sample->subsample_count; i++) { +- if (sample->subsamples[i].bytes_of_clear_data + sample->subsamples[i].bytes_of_protected_data > size) { ++ if (sample->subsamples[i].bytes_of_clear_data + (int64_t)sample->subsamples[i].bytes_of_protected_data > size) { + av_log(c->fc, AV_LOG_ERROR, "subsample size exceeds the packet size left\n"); + return AVERROR_INVALIDDATA; + } +@@ -7360,7 +7360,7 @@ static int cbcs_scheme_decrypt(MOVContext *c, MOVStreamContext *sc, AVEncryption + } + + for (i = 0; i < sample->subsample_count; i++) { +- if (sample->subsamples[i].bytes_of_clear_data + sample->subsamples[i].bytes_of_protected_data > size) { ++ if (sample->subsamples[i].bytes_of_clear_data + (int64_t)sample->subsamples[i].bytes_of_protected_data > size) { + av_log(c->fc, AV_LOG_ERROR, "subsample size exceeds the packet size left\n"); + return AVERROR_INVALIDDATA; + } +-- +2.56.1 + diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_6.1.4.bb b/meta/recipes-multimedia/ffmpeg/ffmpeg_6.1.4.bb index 849835c8493..44ad063e690 100644 --- a/meta/recipes-multimedia/ffmpeg/ffmpeg_6.1.4.bb +++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_6.1.4.bb @@ -32,6 +32,7 @@ SRC_URI = " \ file://CVE-2024-35369.patch \ file://CVE-2025-25473.patch \ file://CVE-2025-22921.patch \ + file://CVE-2026-40962.patch \ " SRC_URI[sha256sum] = "a231e3d5742c44b1cdaebfb98ad7b6200d12763e0b6db9e1e2c5891f2c083a18" From patchwork Fri Nov 27 17:49:06 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoann Congal X-Patchwork-Id: 106150 X-Patchwork-Delegate: yoann.congal@smile.fr Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.1467.1795801789120821175 for ; Fri, 27 Nov 2026 09:49:49 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@smile.fr header.s=google2 header.b=KESx9GEE; spf=pass (domain: smile.fr, ip: 209.85.221.41, mailfrom: yoann.congal@smile.fr) Received: by mail-wr1-f41.google.com with SMTP id ffacd0b85a97d-491971ac844so7375802f8f.2 for ; Fri, 27 Nov 2026 09:49:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile.fr; s=google2; t=1795801787; x=1796406587; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=7uL/iAtsNgC5IZY9uWFp+3spG799kJlY5szTzxZDn9g=; b=KESx9GEEcW7xYYy3lZoneCvt+xj/Sp4s/EnBe+GkAD6jo253g4uNBrySQEkcPEy62e q1qKID0sV8qzWHrTdRmKCDEsvc5nlIACMex3J+fSfFbNwYbT18QnISa1fTqKcIDwvzO4 /oI4dbS2wWMn3FFHVfM/HrD69gAt8Q5Y+wBMnS+8M/KIv8UWNgV8dBH9WOZdzU+Npx0Z kUgrf9ZhWVrtHWo+7FA/YrFqI4FCjr57fmzTHyYvs1AYjTr8hXv7xVyxemOrDf3XikeQ ht7YpL+J7KC9ldxBqoyeAvpq2bFQZAtikTm1PwM8YJjCeU9nFS9g2tnx6zGIysqDwwbk Upqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795801787; x=1796406587; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=7uL/iAtsNgC5IZY9uWFp+3spG799kJlY5szTzxZDn9g=; b=pfOefa+fVBzkQRoeTCT9aHEyrL2LFoDAlt4oFhrbrd/Goz2Suv2tL8GJ6dKEQuu3Le RQTf1t6Rfo8UnNvrTsjtVCmBVfm57tijUgLJ+btWctI5q69RAytXe+CBXRlzvUmxDKaK 3jyofs4Yc6UbDh8xKbyiWcWVORoNMLrAOiZX+1wVwdrkay31wb36/5wr+QMcMFB3A5FN XX8EXeK6UXKIVqEQrR4jwEyy3QAPCFniVfpK4H1Q2gHm7NI1ywVb9iAYyJO9HHRcrI1X KtAXEQZyZWlGwFW9oluECwdKEe1R8c+S7SygoT3352oseEfqw/bd+j2pOvCoPWGDk20Y bIwA== X-Gm-Message-State: APuU4Z80rHOwMwtmMB+iw5lWBqKakOilpN5ZY/+4ouzMGEpbwfwfR+Nz 8Tp/2ypSCIQd7tnE7oLkjubSwqSuKvkxp7kv5R/oPq/kS7lxDzc/js0DsJpjSGfMftRJ+AoTiLa R5SjDh10= X-Gm-Gg: AZFdTZf0cFagz9UCY27UWkseEM8rDVLTkVpEHtd3nsoPVHmSOiW/VPK5tyD7+sP4HnH srHuH+o5TbFCOMKEwcwyi4b7pRaJlPAqEjo8eLs2iFUAJ5cpZBIX/kz2DaQY3kJ5k0lKw47LJOJ 4CpQfgx65Mz6AwkdO9oDjkd2em4Mo5h4h+JEJhClD13Huc5AxUERGUVUZ7S9WqlNlmOjLtbp8Nw F4v63rG3WlPobUMOO7YbdeuNXxW9xQ/CLRY26DyMgxe6ToHrj8cCUrk4UfjvJWBSz2pDAFChpbD HZ0A4WJ3JyT63SuxLW61oBNemJY+QvEKmqjOEsEFOS5LA21SZbXInIn5ABl1Xj5zEVd+ZrH7DqQ djoBrtSZSiOYiN49GgCAXSMKAIKhZfg39wUhekj8jWUaEoEuH2r+2SNSvG5+DgRRGoeY/6Tk7lq Li29sejOlmjY8QM+0kVgrCIiVoxLjCsFBjHj+AfkpDkWAdkgxlJ8T4eqX1+SqnCf6DKdylbnQCH frPzYoSb4OZ+xH0tKnnG4ssfI7dQGJIM0AX4wRECdgy/csjSGQWErnHm5vg3qANFkUhTws0TjSj BTlKrqbwXteluOlVygkijenLkAkKoGc2LUb3oNcNyZVh3GO/nIu3RDeS0yfqvuOQpaPSm6UP/uM aDoOGZtBcCGTaggVoslKkzISJNc9M X-Received: by 2002:a5d:6f0d:0:b0:4af:cd40:6fcb with SMTP id ffacd0b85a97d-4afcd40712emr39321711f8f.57.1795801787260; Fri, 27 Nov 2026 09:49:47 -0800 (PST) Return-Path: Received: from FRSMI25-LASER.home (2a01cb001331aa00a2e4fb7b0d887544.ipv6.abo.wanadoo.fr. [2a01:cb00:1331:aa00:a2e4:fb7b:d88:7544]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab69bf630esm49374624f8f.16.2026.11.27.09.49.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Nov 2026 09:49:46 -0800 (PST) From: Yoann Congal To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 23/37] speex: patch CVE-2026-116741 Date: Fri, 27 Nov 2026 18:49:06 +0100 Message-ID: <73aab73feca1b280c61045774fa590e9e77079e8.1795798718.git.yoann.congal@smile.fr> X-Mailer: git-send-email 2.55.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 27 Nov 2026 17:49:53 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251429 From: Peter Marko Pick patch from [1] linked from CVE report. [1] https://gitlab.xiph.org/xiph/speex/-/merge_requests/32 Signed-off-by: Peter Marko Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie (cherry picked from commit acdf6b0bfcf0a2c3b858ccf2f1b385afd5b13574) Signed-off-by: Yoann Congal --- .../speex/speex/CVE-2026-116741.patch | 29 +++++++++++++++++++ meta/recipes-multimedia/speex/speex_1.2.1.bb | 5 +++- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-multimedia/speex/speex/CVE-2026-116741.patch diff --git a/meta/recipes-multimedia/speex/speex/CVE-2026-116741.patch b/meta/recipes-multimedia/speex/speex/CVE-2026-116741.patch new file mode 100644 index 00000000000..4d71f7fa82c --- /dev/null +++ b/meta/recipes-multimedia/speex/speex/CVE-2026-116741.patch @@ -0,0 +1,29 @@ +From 09b569d1b437e5edccf3406a38714ad795e46d38 Mon Sep 17 00:00:00 2001 +From: Tristan Matthews +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 +--- + libspeex/bits.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libspeex/bits.c b/libspeex/bits.c +index 4f457af..c5546e8 100644 +--- a/libspeex/bits.c ++++ b/libspeex/bits.c +@@ -174,7 +174,7 @@ EXPORT void speex_bits_read_whole_bytes(SpeexBits *bits, const char *chars, int + } + } else { + speex_warning("Do not own input buffer: truncating oversize input"); +- nchars=bits->buf_size; ++ nchars=bits->buf_size-(bits->nbBits>>LOG2_BITS_PER_CHAR)-1; + } + } + diff --git a/meta/recipes-multimedia/speex/speex_1.2.1.bb b/meta/recipes-multimedia/speex/speex_1.2.1.bb index c40198fa8f3..2a174db0aa4 100644 --- a/meta/recipes-multimedia/speex/speex_1.2.1.bb +++ b/meta/recipes-multimedia/speex/speex_1.2.1.bb @@ -8,7 +8,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=eff3f76350f52a99a3df5eec6b79c02a \ " DEPENDS = "libogg speexdsp" -SRC_URI = "http://downloads.xiph.org/releases/speex/speex-${PV}.tar.gz" +SRC_URI = " \ + http://downloads.xiph.org/releases/speex/speex-${PV}.tar.gz \ + file://CVE-2026-116741.patch \ +" UPSTREAM_CHECK_REGEX = "speex-(?P\d+(\.\d+)+)\.tar" SRC_URI[sha256sum] = "4b44d4f2b38a370a2d98a78329fefc56a0cf93d1c1be70029217baae6628feea" From patchwork Fri Nov 27 17:49:07 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoann Congal X-Patchwork-Id: 106152 X-Patchwork-Delegate: yoann.congal@smile.fr Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1541.1795801789734867354 for ; Fri, 27 Nov 2026 09:49:50 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@smile.fr header.s=google2 header.b=IaqjzLqQ; spf=pass (domain: smile.fr, ip: 209.85.128.45, mailfrom: yoann.congal@smile.fr) Received: by mail-wm1-f45.google.com with SMTP id 5b1f17b1804b1-4bb64ef5a14so81841905e9.1 for ; Fri, 27 Nov 2026 09:49:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile.fr; s=google2; t=1795801788; x=1796406588; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=xS/CFajpZIrIv46wC57zrewhwdEXAtztn18QPtAnIAU=; b=IaqjzLqQU//suPdUveWiAvZ24Mgsaiz4vgjKPSdKMmXjQh4wBUYQlwHY06SfW8Kk+r eYVBHh4XmiD82/q26D6kQUbPo2PC1hTH3G0n9SuiNhIV2ndTvgV1AIigJyuv0lNKujps JkW2bX+B+OKiSMrFrEREY1At3JLL+wVFQBkYaX7CrVSZEY/HvGkVRGaBxHjhnM0f/r5A srcbcVuYHAmYtjH3PYnH77g67sED/08wxwWZvwq09+9WQRIxd3tH/a5KY/FmmNQU9A86 cxLIn5lHc2fqZALyIfvWyLknJxVDxVnYCt2wCsAUY0fHn/QmS7/h/rJSz8mONZAxBpgI BLiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795801788; x=1796406588; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=xS/CFajpZIrIv46wC57zrewhwdEXAtztn18QPtAnIAU=; b=CM1f/uxHwuTZXb3gUPM7xbJPDI0eu5oECwihuj3rbtvybYXqOp2pwqx2CSuMcpcFeq 8rR1TX4xeaI7TDXNwGYzeQo9bkLrLBZvG+Cl7Wz29xNakKUPhVqWYS9MI6xx3zfyl7f6 WxJfN0eH+XuyGQMp12BelJv+wz3EkbWrHmLjkh7VqTVcIwSdOqSF0X8wTnpa180oCcqV 32R4rHJVndW4VFB503feHf8i0fGZcb5nUscbw3kQtP7DGeU7j6KnwFfkYvWz/qWQrHme X2RlD2HieFGqxmbrCV3j861mMs/peQslEv66NAQEjsr+CawPfzQxSGTm+4zd/D1FcSuD sN5g== X-Gm-Message-State: APuU4Z8dT0BScb5YgtVfZdsy5aaTXNEB9n+yNo1dfZInC+mTQX+4JGw2 Pb1WeutA7ka80p0HH7BOGtleaD5+QCrX+EQb17GKjA9JIBxB9phRoLC+cflv1h20rNgadyseIUl qWesN6+c= X-Gm-Gg: AZFdTZcpVf5YCqjJTC9bomc3mKeAxtjENI+fLx2cyrCc9jK7oGjqrKm/MqoFuZ1gtjy lwczyLGKlW+aWSF8ZQzr/5Y+HDFyuPYRLEFJ9oe1MNN4rqR9JGAvTlVO3FYK/Nv0yGqQ8Bm6shL KnMGalT2HREHmEcnj9BRdROvjYJYuHDuTOG330ESQNa7KGe58+E/nf0Xip08lbyDTq0WIwHND1+ Hf9U/YsUALYd3z1PMX3xEiATVA/mtWfUJel9U4LMU88nC0EJJ9r2C03l18xTdzHLProQ9H5LJST XI614l/9AoiIZspCgymv+6IVX4xVvH6m09+j6vfAwx2G5Lm/gsbw76gPhSj0mlzqyV+7I9kWPOu tI6yM6xPRoqYFnKK9wQD4ypEHdzAdYCIrB3OzCOAhQNPMzAGw2IQEFuwkuopnwE3F7UO0Y/JeXR 2CcDJ0N581zKh89Wy+MttqAASYppUYHVrxNht0XS7ixvG3L5Epyeuv4BVnys1uk7cR9F+94GqGT bejzGE6kjbFRDeYYZQr63gKHkOUUkEkLBswTo/6jWsA0J6uX/veNCOvj9YJUQJv8+860S+4NWYE fIB4G4gJSL6KDc+GwF5OT2Cj7N0XMi/rlGU69+h83KeSihiUJq14MCSTZZKmNgLwFSJl+CnJJ0D jut9q0DNPgaHA3f7ofkBU9NJ73Uo9 X-Received: by 2002:a05:600c:6749:b0:4bb:8508:7fb3 with SMTP id 5b1f17b1804b1-4bb8881c3b3mr475826995e9.11.1795801787812; Fri, 27 Nov 2026 09:49:47 -0800 (PST) Return-Path: Received: from FRSMI25-LASER.home (2a01cb001331aa00a2e4fb7b0d887544.ipv6.abo.wanadoo.fr. [2a01:cb00:1331:aa00:a2e4:fb7b:d88:7544]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab69bf630esm49374624f8f.16.2026.11.27.09.49.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Nov 2026 09:49:47 -0800 (PST) From: Yoann Congal To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 24/37] linux-yocto/6.6: update to v6.6.162 Date: Fri, 27 Nov 2026 18:49:07 +0100 Message-ID: <5bee37c8d264fe035056381985bb237feb143e70.1795798718.git.yoann.congal@smile.fr> X-Mailer: git-send-email 2.55.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 27 Nov 2026 17:49:54 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251430 From: Bruce Ashfield Updating linux-yocto/6.6 to the latest korg -stable release that comprises the following commits: 5139929c698c2 Linux 6.6.162 fe9ead8c5bdb7 xen-blkback: Avoid UAF when reading I/O statistics 0d515c409033c xen-netback: defer xenvif_mcast_addr_list_free() 89e534265b62c xen-netback: Fix UAF when reading statistics data b5a1dc3ad4822 Linux 6.6.161 9ab0324f4868e pid_namespace: prevent TIF_NOTIFY_SIGNAL from interrupting the reaper 9fdbfd1a15a3e signal: allow taks to temporarily block TIF_NOTIFY_SIGNAL 4d1fdb850d016 ptrace: refuse to change the signal mask of a user worker ec2c8af51ccd5 signal: only SIGKILL and the freezers interrupt a coredumping task 105ca21eb3356 signal: don't retarget shared signals in a dying thread group 71146c437bae5 coredump: hold RCU while releasing parked threads 0e5ff07be834a ftrace: Initialize modname and offset in print_rec() 7f0728ba89624 asymmetric_keys: reject trust keys without IDs 234d09bb3b3d8 keys/trusted_keys: return immediately after TPM unseal failure c77401946b5bf KEYS: trusted: Fix blob allocation size in tpm2_key_decode() 19dfc37c9deef KEYS: Fix key_reject_and_link() race with keyring restriction ff44f1b303aa7 keys: Protect the read method check against type removal 8451d4a4c4312 keys: make keyring indexes independent of kernel addresses dddd3a1ab7d12 keys: Protect the type name while describing a key 26949c2e4c461 keys: Check the authorization payload in process keyring searches aa03c8fb4334f keys: Avoid the owner account dereference in named keyring lookup 89f0290fc2856 io_uring/poll: don't loop on HUP with multiple references 68cd06ba918d9 io_uring/timeout: don't lose a cancel as io-wq arms a timeout 838475965e5e3 io_uring/timeout: don't flush with the sequence behind the last flush ee081d232e8f6 io_uring/timeout: don't put a sequence target behind the last flush 41fae2e9e1fa3 io_uring/poll: avoid retry wakeup loss when dropping ownership c276be0c83ee0 io_uring: look up the file before queueing to io-wq c614af6826ca2 io_uring/timeout: no ABS update of multishot timeouts ec267cd430ee4 io_uring: don't pass restart error codes to userspace 9786f24078e30 io_uring/sqpoll: let the thread sleep on disabled rings f592e45df49c9 io_uring/timeout: keep repeat count on multishot update 93947570afbb9 io_uring/timeout: don't skip over reached sequences 07aa50be5eee5 io_uring/poll: drop stale double poll entry on rearm 9f59721eddabc io_uring/wait: look at all CQ waiters on wake up 9bb28e7740ce7 io_uring: wake ring pollers for local task_work b23306ea31a0b io_uring/cancel: let CANCEL_ALL find parked requests b22a4cdc0a90c io_uring/cancel: don't default to setting req->work.cancel_seq 8a9aa27d23e8d io_uring/cancel: recognize "no timeout" on 32-bit 96aaafd7baa54 io_uring/cancel: don't forget that the work was running 39a503e0981c0 io_uring/poll: don't lose a cancel as io-wq arms poll 8408964c14e53 io_uring/io-wq: let cancel find picked up hashed work b2cfc9fa4ec05 io_uring/io-wq: don't exit with a creation pending d2a824548aeda io_uring/io-wq: don't strand work when a worker exits 2c75ebae8a7f0 io_uring: don't flood a cancelling task with task_work d39ebc7a583d6 io_uring/io-wq: don't hide a link from cancellations 08c42055b8f9a io_uring/io-wq: don't lose the signal that ends work bf1d2ed84b316 io_uring/wait: don't spin on a stuck overflow list 1432d881d9958 io-wq: order the exit bit against worker creation task work 4472579bd1c83 tracing/histograms: Verify event_call identity when updating synth_event refcount 584701bf9b7a0 tracing: Fix 64-bit and signed histogram fields on 32-bit kernels aae0ccd7326ee tracing: Unregister field variable histograms when the command fails 8b307d64a6054 tracing: Save the event file instead of the compatible histogram b205ff58e0292 tracing: Reject incomplete event filter expressions fabaff1c59ff2 Bluetooth: L2CAP: refuse __l2cap_chan_add if chan already has conn 7aaaca01a3f8e net_sched: codel: fix stale state for empty flows in fq_codel 95b887e3d4d7a Revert "srcu: Use irq_work to start GP in tiny SRCU" 7192633a23d6b bonding: do not set usable_slaves for broadcast mode 863303ad4caac net: bonding: update the slave array for broadcast mode 83b2e511cf9ba xfs: don't hold buffer locks across sync transaction commit in xfs_sync_sb_buf ad33433131ebc cifs: add revalidation on FSCTL failure in smb2_duplicate_extents() bbc154a7da4e0 dm-integrity: fix infinite loop on discard with large tag size e265221019d20 drm/amdgpu: free the userptr ranges when a CS fails after parser_bos 4589ad76a6b10 drm/i915/dmc: Harden DMC firmware payload parsing 0c133ed517000 futex: Fix mm reuse handling for FUT_OFF_MMSHARED 9504c8b6644f3 i2c: viai2c-wmt: Fix clock leak in wmt_i2c_probe() 0254b2ffc6276 gtp: disable BH before calling udp_tunnel_xmit_skb() 0cf0ff2f728f2 ipv4: udp: Create exceptions before socket matching f77fb90edca53 vsock/virtio: validate packet source for connected sockets 64e196a6d7173 io_uring/cancel: don't spin on local work the task can't run 762ffd4a8daff dm-integrity: require stable writes for internal hash modes f4fcbae8b2735 tracing: Keep the predicate limit separate from program capacity ef9342fa74336 ASoC: SOF: ipc4-topology: Fix shift-out-of-bounds for aggregated ALH capture e8dafad7de9ed pid_namespace: make zap_pid_ns_processes() freezable 2358060edbc35 exit: move core of do_wait() into helper 74b4d2370a9e2 drm/exec: don't immediately add prelocked obj to array of locked objs 913a1876fbe9a scsi: bsg: Pass reply_len to bsg_setup_queue() to fit UFS ARPMB replies b4b0598fad51a ext4: free the sbi after a grace period c39150784a801 ntfs3: free the sbi after a grace period da52e5fcb2cae watch_queue: Fix note pool publication race in watch_queue_set_size() 5e1e8702f45d1 kernel/watch_queue: Use pipe_buf() to retrieve the pipe buffer cd7cd04be583b eventfs: fix SRCU read lock leak in eventfs_iterate() c3b6aa73a895e perf: Track the perf mlock gift separately 00ff1128123d4 scsi: st: Fix use-after-free race between st_remove() and st_open() 98975a7172288 smb: client: fix multiuser mount with krb5 68652afb9b9ad smb: client: fix heap overflow in cifs_do_set_acl() cff9bf34afde4 net/sched: cls_flower: validate mask pointer after nla_next() 1a35a81c302b3 ksmbd: zero the FS_OBJECT_ID_INFORMATION buffer before filling it in e8b82184a1982 ksmbd: initialize FileSystemControlFlags in FS_CONTROL_INFORMATION da2ec27fdd7ef ksmbd: fill in FileSysIdentifier in FS_POSIX_INFORMATION b0db9f4ff402b net: bridge: mcast: don't truncate the port group walk on teardown 9ca91638aa027 mm, madvise: fix potential workingset node list_lru leaks 6273bfdeb248d KVM: x86/mmu: Preserve nested TDP shadow page tables if they are used as roots 25dbafda0e432 mm/huge_memory: initialise workingset state before folio split 6ae0cfcb74234 drm/amdgpu: Fix VCE 3 ring align_mask 226a974054acb ipv4: avoid divide by zero in fib_rebalance ff31c34e921d1 s390/pci: Fix leak of uninitialized kernel data in SCLP report 977dac6cc5531 s390/ctcm: Prevent XID null dereference ccc28e498ef1c page_pool: keep frag_offset aligned for odd-sized requests 5a7ee52589dae sctp: validate chunk length in the inqueue parser 6abd93d01b0f4 tipc: protect node reset trace dump with node lock e84bfb0801649 xfs: fix capability check in xfs 23e7fbbdca5aa net/iucv: fix the recvmsg window update b090c321f203d dm-ebs: fix incorrect device offset check in ebs_ctr() 056bf8322e39a dm-crypt: fix a tiny race condition in crypt_dec_pending 8433fd005c25f dm cache: fix issue with background work locking 495ef656f965f dm cache: fix demotion stats in passthrough mode f88339e197ea9 cgroup: fix spurious SIGKILL of CLONE_INTO_CGROUP children 8d5fc9e6dc091 tcp: fix use-after-free in do_tcp_getsockopt(TCP_CC_INFO) 4b0930d66dde0 tcp: fix use-after-free in do_tcp_getsockopt(TCP_CONGESTION) dda5245afc347 wifi: p54: validate firmware record lengths ab320f6aa3769 tracing: Fix hist trigger timestamps for buffered events e8cfcd7e60eaa tracing: Do not initialize tracefs work if tracing is disabled c43c41ec62ca5 tracing: Check operator stack capacity before pushing 16d51e3ca46af tracing: Fix the shift out of bounds in the log2 histogram modifier f9c0b333a5e44 drm/amdgpu: don't drop the runtime PM reference twice in amdgpu_gpr 13c3cbfd0d1c8 drm/amdgpu/sdma3: Work around POLL_REGMEM / FENCE hang 77134cf996bab scsi: libiscsi: Validate the task named by a management response ebb8c5ef2aabf scsi: libiscsi: Validate the ITT reflected in a Reject PDU 6200fb2de579f scsi: libiscsi: Reject a negative task index from parse_pdu_itt e397d4da76bed scsi: xen/scsifront: Check for a NULL shadow entry on a backend response 995350c4f4097 perf: Update cgroup time when rotating multiplexed events fb13353f0761d i2c: qcom-cci: Fix HALT_ACK reset request being dropped 7e0d05a6234a9 tracing/histograms: Reject non-stacktrace fields for synthetic stacktrace fields 6440608024b00 tools: gpio: fix building from the top level with O= 994694a2d4611 sctp: revalidate output stream after association connect wait 1fccfbc553a63 pinctrl: amd: Clear S4 wake bits when firmware has _AEI a2fde862b98db net: rds: fix uninitialized trans dereference in CM event handler fde33eb9955d8 net/sched: fix use-after-free in __tcf_action_put() 5819018dc29fb eventfs: Free the eventfs_inode after an rcu grace period too d28a460a22372 fsnotify: prevent mark additions during connector teardown 6a36b05fc5b3d KVM: nVMX: Reset MMU back to the root MMU if loading L2 state fails for !VM-Entry 5d7687b0b7160 unicode: free the map after a grace period 35c2c4f3cf140 autofs: ignore notification errors from a replaced pipe 3caf006eb731e perf: Fix perf_pmu_migrate_context() leaving events behind b5148fad7f9f6 gpio: mxc: fix wakeup_pads bit operations 5982563c56cad gpio: mxc: use BIT() macro 15c0dd095d19d gpio: mxc: fix both_edges bit operations 1b5c5ae021815 gpio: mxc: use lock guards for the generic GPIO chip lock e29d0a00c619a calipso: keep BIG TCP payload_len in calipso_skbuff_setattr() 2ef0ce6c84470 net/ipv6: Introduce payload_len helpers e5aa07c62e4fd net: bcmgenet: unshare the skb before writing the control block 41a2f69f091b0 netlink: avoid hashing the network namespace pointer 6078a5369f9e8 scsi: libsas: Fix SMP IO deadlock during HA resume 219aee17dd023 tracing: probes: error if BTF is required but unavailable 94be790dd6fbe pipe: preserve existing fasync readers on writer setup failure 14d8fdf03fb71 samples: pidfd: fix userprogs typo 403669041cb77 ocfs2/dlm: Protect the recovery list during debugfs reads 57b6ebcc83afb scsi: target: iscsi: Fix race in discovery auth updates d2c2fb020eb97 scsi: st: Save the visited block for the partition the drive is in 9761f81707440 nios2: fix __wsum type degradation in csum_fold() 174c6a8735f42 spi: tegra114: assert CS GPIO for every transfer in a message ea0e0fc4c72f7 netlink: reset skb headers before unicast and multicast filtering 847874bdbc7bf ASoC: nau8822: Fix the 128x oversampling switch bits 1ffc03f432bb7 ASoC: wm8978: Fix the 128x oversampling switch bits 07bbe910ccc72 ASoC: max98371: Fix the Speaker DHT Min Volume bits ba5c27c9fa751 ASoC: pcm3168a: Fix the DAC zero flag polarity bit 12d589f384c4d ASoC: cs42l52: Fix the NG Type Switch bit 677c0e9cbb19a ASoC: cs42l56: Put the Limiter Cushion control on the limiter register 4827c986f16d9 ASoC: stm32: spdifrx: fix synchronization state check 41d5c47cf7949 ASoC: Intel: avs: Reset the stream unless it is already prepared e677eda15df7d net/rds: don't let the rdma_cm destroy an id RDS still owns on route failure deb972c7eea8d vsock: treat TCP_CLOSING as once-established 86ef8cec3e105 pinctrl: qcom: ipq5018: replace gcc_plltest with pwm2 on gpio12 9ee4a57a9858a power: supply: generic-adc-battery: Fix temperature IIO channel conversion 2cba0c8a7b158 pinctrl: qcom: ipq5018: add missing pwm3 function on gpio13 2e5ffbf1e41ab Drivers: hv: Don't reset VMBus connection state on error/exit paths f561392afb44a Drivers: hv: Avoid infinite retry loop in init_vp_index() 4643aead9c920 power: supply: ds2780: Fix ds2780_get_capacity() returning raw value 47469a5602b65 power: supply: Fix maintenance charge table kernel-doc 0db8fdcfad51c ext4: fallback to complex scan if aligned scan doesn't work 90a7876e83118 mptcp: move the OoO check back into __mptcp_try_fallback() ee54f7b6cb4be blk-mq: reinsert cached request to the list f122d9968d730 blk-mq: pop cached request if it is usable Signed-off-by: Bruce Ashfield Signed-off-by: Yoann Congal --- .../linux/linux-yocto-rt_6.6.bb | 6 ++-- .../linux/linux-yocto-tiny_6.6.bb | 6 ++-- meta/recipes-kernel/linux/linux-yocto_6.6.bb | 28 +++++++++---------- 3 files changed, 20 insertions(+), 20 deletions(-) diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_6.6.bb b/meta/recipes-kernel/linux/linux-yocto-rt_6.6.bb index 51a4e9703cb..eb44fdc10af 100644 --- a/meta/recipes-kernel/linux/linux-yocto-rt_6.6.bb +++ b/meta/recipes-kernel/linux/linux-yocto-rt_6.6.bb @@ -14,13 +14,13 @@ python () { raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it") } -SRCREV_machine ?= "bbef8f873c0872eaa717fb9b043b7b428de82c92" -SRCREV_meta ?= "111e66d07f015c08755ae564c4a2f4a7710863ef" +SRCREV_machine ?= "7593447608d70ada4e27630e9047fdf459b3fd6f" +SRCREV_meta ?= "e6abd7216734dffc4233c1cba3d5ab79175d19aa" SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine;protocol=https \ git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-6.6;destsuffix=${KMETA};protocol=https" -LINUX_VERSION ?= "6.6.160" +LINUX_VERSION ?= "6.6.162" LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_6.6.bb b/meta/recipes-kernel/linux/linux-yocto-tiny_6.6.bb index 14f0a62d797..d39247e3314 100644 --- a/meta/recipes-kernel/linux/linux-yocto-tiny_6.6.bb +++ b/meta/recipes-kernel/linux/linux-yocto-tiny_6.6.bb @@ -8,7 +8,7 @@ require recipes-kernel/linux/linux-yocto.inc # CVE exclusions include recipes-kernel/linux/cve-exclusion_6.6.inc -LINUX_VERSION ?= "6.6.160" +LINUX_VERSION ?= "6.6.162" LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}" @@ -17,8 +17,8 @@ DEPENDS += "openssl-native util-linux-native" KMETA = "kernel-meta" KCONF_BSP_AUDIT_LEVEL = "2" -SRCREV_machine ?= "ada4ee01eb1897a0f2a46b9b3ceeb94690f9e619" -SRCREV_meta ?= "111e66d07f015c08755ae564c4a2f4a7710863ef" +SRCREV_machine ?= "33978ed066431901d7e235059590916deb73fa28" +SRCREV_meta ?= "e6abd7216734dffc4233c1cba3d5ab79175d19aa" PV = "${LINUX_VERSION}+git" diff --git a/meta/recipes-kernel/linux/linux-yocto_6.6.bb b/meta/recipes-kernel/linux/linux-yocto_6.6.bb index 13fe981462e..2a812631ae9 100644 --- a/meta/recipes-kernel/linux/linux-yocto_6.6.bb +++ b/meta/recipes-kernel/linux/linux-yocto_6.6.bb @@ -18,25 +18,25 @@ KBRANCH:qemux86-64 ?= "v6.6/standard/base" KBRANCH:qemuloongarch64 ?= "v6.6/standard/base" KBRANCH:qemumips64 ?= "v6.6/standard/mti-malta64" -SRCREV_machine:qemuarm ?= "e67812bab0b383dea8ae786005a5ec642e6b860a" -SRCREV_machine:qemuarm64 ?= "dce83a630a519666f8c5599478cd8db87cf772c2" -SRCREV_machine:qemuloongarch64 ?= "0615dc1f6a56bbd35510d527380a9e899adf8707" -SRCREV_machine:qemumips ?= "e74bfb3fbb54e475fea2371332942c68ab7edc8e" -SRCREV_machine:qemuppc ?= "a384bf5c01fda52c362015fb31815f41193f9e3b" -SRCREV_machine:qemuriscv64 ?= "0615dc1f6a56bbd35510d527380a9e899adf8707" -SRCREV_machine:qemuriscv32 ?= "0615dc1f6a56bbd35510d527380a9e899adf8707" -SRCREV_machine:qemux86 ?= "0615dc1f6a56bbd35510d527380a9e899adf8707" -SRCREV_machine:qemux86-64 ?= "0615dc1f6a56bbd35510d527380a9e899adf8707" -SRCREV_machine:qemumips64 ?= "14d15eae8d97e33895da68333b4347af334e5c65" -SRCREV_machine ?= "0615dc1f6a56bbd35510d527380a9e899adf8707" -SRCREV_meta ?= "111e66d07f015c08755ae564c4a2f4a7710863ef" +SRCREV_machine:qemuarm ?= "7fba77c3443f7ffb974bca08c44cd741ae422baf" +SRCREV_machine:qemuarm64 ?= "b98967f55ff0be50f7ad0dbcc5938c76278d96b5" +SRCREV_machine:qemuloongarch64 ?= "3ad693476cb4cc113480e15b2ae7da1e432b5262" +SRCREV_machine:qemumips ?= "6a6d5067d6dac276c4c0d0829a0483d47b67c7de" +SRCREV_machine:qemuppc ?= "da6b28016510be8a0c0ecdf864f48d2a1851ab71" +SRCREV_machine:qemuriscv64 ?= "3ad693476cb4cc113480e15b2ae7da1e432b5262" +SRCREV_machine:qemuriscv32 ?= "3ad693476cb4cc113480e15b2ae7da1e432b5262" +SRCREV_machine:qemux86 ?= "3ad693476cb4cc113480e15b2ae7da1e432b5262" +SRCREV_machine:qemux86-64 ?= "3ad693476cb4cc113480e15b2ae7da1e432b5262" +SRCREV_machine:qemumips64 ?= "a1afaf058fb596aa7e7750378ccb3f9b77297256" +SRCREV_machine ?= "3ad693476cb4cc113480e15b2ae7da1e432b5262" +SRCREV_meta ?= "e6abd7216734dffc4233c1cba3d5ab79175d19aa" # set your preferred provider of linux-yocto to 'linux-yocto-upstream', and you'll # get the /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" From patchwork Fri Nov 27 17:49:08 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoann Congal X-Patchwork-Id: 106153 X-Patchwork-Delegate: yoann.congal@smile.fr Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.1469.1795801790215358016 for ; Fri, 27 Nov 2026 09:49:50 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@smile.fr header.s=google2 header.b=AugZEBOh; spf=pass (domain: smile.fr, ip: 209.85.221.51, mailfrom: yoann.congal@smile.fr) Received: by mail-wr1-f51.google.com with SMTP id ffacd0b85a97d-4ac08f4a0b2so5934698f8f.3 for ; Fri, 27 Nov 2026 09:49:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile.fr; s=google2; t=1795801788; x=1796406588; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=TbK3sA41GjV8mdIiwpbxSDsaJb0zTFEFWN7nm5uHXr8=; b=AugZEBOhiKPg3YE0xoarNQHxFMWG0EDDTrlNEM4nEtw8rKAX3k+dgcmEIkcV7KD1Q9 8opQB9j+RfsQBU23UEZ0BNf1R4gLv3c0efv/tagQX/uJc7hUL6IBgEMiHNeQEyRmKcqW GWV9E1tf8YdJsHGv5a4C5PqorDxI5V3ifRJlK2EDZqIl1TzeV40vZ/zhqSBxS4geM0H0 vuPU+DIBcsyHuAJfmjdd3dSR3onqTJj29JvhGXdnlbLrXgm2A+YXHA5P0smw61Ywwry7 6tk5DcWLpPmsMOFLFyVnQWV5V45J7H+NTzXLg0IT27MWMNQLk061LkOCJbpPnEki/wDh ryiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795801788; x=1796406588; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=TbK3sA41GjV8mdIiwpbxSDsaJb0zTFEFWN7nm5uHXr8=; b=T7ebqmwblAe8hvz5nW7s9L+jUJg0uKj2V40+ul090WkeDPUX7SfJyydL9iO+WHEcWY e+ZTffcQmnXolb6qESSCOkWCfajSN0Rymci2JbHh+V7N0TsfgO0W5fjd4urrQXAu1dZ8 s+01VBGtaRcE/Ty0oLbFMoV923hNmcmY6138wyf4PAAVloW7E62xVm8hYjFOqXier+DV V7yFP/DZ6eBGAsGnDyw17rXl54ki2Aoo6s0oHO/1T2RFLP7q6pyyGU6oiundp4+2jjXB OXIji51LClnWsxuKzrd+Jnozo6cDeNzahec6EXom7eqgdBWKOk6cJwrFnLRau8r14zmh aCeQ== X-Gm-Message-State: APuU4Z+5a4DMRcJghMDCEQMrdwFhpGcakf2UH3nZkTmVqsRHIr0wOGGs CM9iIkEzJ1pQNZNkFJettp0OMow6LHJJYcIdXL92Wio/meEH5E+N7qVimOg+jMvqslj8Ahqt/g5 z5wMEHtY= X-Gm-Gg: AZFdTZeiMnFezjx3Z3oEwVNx6mc22Ig5XbNfru/P6zhGB6RwCAuf9bl4iyyukJz5N+6 T09taXq2H3e7O9REgpmVYAkbUEMDJLTrwLXrNwWznIa0P9zoH0rN02lj/lbx2nQ7eopO5prbhMg WnOW2fizUny01lUQ6wr1HfC8xIEbReGQYJu2imJP94rufboFbK8HcSqQqw4Q/iCNhXEgtRRxuG9 POSKvOcxoLMY4JpELQCFIkTuwMHnzMWzmu2wj+DBpdWPT3MQg4+e2STxMupYH8mEiIZzmtKvlpq njAD/p8LwpPyPE8lHh8wUC70H4v0aJve3BkZYm6VRlxuBJrWR3BPa8Zd98fnZ+ygwE4Cs4WyUOC lQ6iHfaJo3yeGxjMDzDJpdTra2KVPDNybxQc7efvctZ6oZJlRH2ZK5XO0ZEnk6zNXjoC6tK9nCF u3P2u5KFXSfenfhWlj7RFwXx7LPngdnip1adG148sSAy7FxiGv3xRK0cwArXM/Zi2oEdRfbTuf6 WBrWhoybPM1IClkvHqL0yCvz++lC2U0ccpRRpcwwH45biG2H0wYROE7AMk9wITMNQcgivPC8GlT kum9A0hK0hgfQzh2OQj2BcPrwJLq8WviQN3Ak/HxT0Qn6fBJdQNq/i4uE5TAGzKFTdozViYjyXG F3bXFl7HOXgv9Ars2PZSgm2cEKGsAhVFUG2/bKuQ/F/7G6FjlDg== X-Received: by 2002:a05:6000:2903:b0:49d:7e8c:e8a2 with SMTP id ffacd0b85a97d-4abb244870cmr55469719f8f.33.1795801788366; Fri, 27 Nov 2026 09:49:48 -0800 (PST) Return-Path: Received: from FRSMI25-LASER.home (2a01cb001331aa00a2e4fb7b0d887544.ipv6.abo.wanadoo.fr. [2a01:cb00:1331:aa00:a2e4:fb7b:d88:7544]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab69bf630esm49374624f8f.16.2026.11.27.09.49.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Nov 2026 09:49:47 -0800 (PST) From: Yoann Congal To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 25/37] linux-yocto/6.6: perf cs-etm: fix a compilation issue in cs_etm_decoder__set_tid() Date: Fri, 27 Nov 2026 18:49:08 +0100 Message-ID: <329969d7980584242f2c9adea2cb851eaedcb1e7.1795798718.git.yoann.congal@smile.fr> X-Mailer: git-send-email 2.55.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 27 Nov 2026 17:49:54 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251431 From: Bruce Ashfield Integrating the following commit(s) to linux-yocto/6.6: 1/1 [ Author: Valentin Caron Email: valentin.caron@foss.st.com Subject: perf cs-etm: fix a compilation issue in cs_etm_decoder__set_tid() Date: Mon, 9 Nov 2026 18:14:57 +0100 When compiling coresight tool with the command: make -C tools/perf CORESIGHT=1 all The following build issue occurs: util/cs-etm-decoder/cs-etm-decoder.c:551:15: error: too many arguments to function 'cs_etm_decoder__buffer_packet' 551 | ret = cs_etm_decoder__buffer_packet(etmq, packet_queue, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Fix this by removing the parameter "etmq" from function call to match its declaration: cs_etm_decoder__buffer_packet(struct cs_etm_packet_queue *packet_queue, const u8 trace_chan_id, enum cs_etm_sample_type sample_type) Fixes: 99d324594165 ("perf cs-etm: Queue context packets for frontend") Signed-off-by: Valentin Caron Signed-off-by: Sasha Levin Signed-off-by: Bruce Ashfield ] Signed-off-by: Bruce Ashfield Signed-off-by: Yoann Congal --- .../linux/linux-yocto-rt_6.6.bb | 2 +- .../linux/linux-yocto-tiny_6.6.bb | 2 +- meta/recipes-kernel/linux/linux-yocto_6.6.bb | 22 +++++++++---------- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_6.6.bb b/meta/recipes-kernel/linux/linux-yocto-rt_6.6.bb index eb44fdc10af..73f136c1280 100644 --- a/meta/recipes-kernel/linux/linux-yocto-rt_6.6.bb +++ b/meta/recipes-kernel/linux/linux-yocto-rt_6.6.bb @@ -14,7 +14,7 @@ python () { raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it") } -SRCREV_machine ?= "7593447608d70ada4e27630e9047fdf459b3fd6f" +SRCREV_machine ?= "259b95b0821202a0da8c3f8f5d571619e5f13b11" SRCREV_meta ?= "e6abd7216734dffc4233c1cba3d5ab79175d19aa" SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine;protocol=https \ diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_6.6.bb b/meta/recipes-kernel/linux/linux-yocto-tiny_6.6.bb index d39247e3314..fe975d3e425 100644 --- a/meta/recipes-kernel/linux/linux-yocto-tiny_6.6.bb +++ b/meta/recipes-kernel/linux/linux-yocto-tiny_6.6.bb @@ -17,7 +17,7 @@ DEPENDS += "openssl-native util-linux-native" KMETA = "kernel-meta" KCONF_BSP_AUDIT_LEVEL = "2" -SRCREV_machine ?= "33978ed066431901d7e235059590916deb73fa28" +SRCREV_machine ?= "ad54989725c77d1d5312143337fa27111fc552b1" SRCREV_meta ?= "e6abd7216734dffc4233c1cba3d5ab79175d19aa" PV = "${LINUX_VERSION}+git" diff --git a/meta/recipes-kernel/linux/linux-yocto_6.6.bb b/meta/recipes-kernel/linux/linux-yocto_6.6.bb index 2a812631ae9..32180461f65 100644 --- a/meta/recipes-kernel/linux/linux-yocto_6.6.bb +++ b/meta/recipes-kernel/linux/linux-yocto_6.6.bb @@ -18,17 +18,17 @@ KBRANCH:qemux86-64 ?= "v6.6/standard/base" KBRANCH:qemuloongarch64 ?= "v6.6/standard/base" KBRANCH:qemumips64 ?= "v6.6/standard/mti-malta64" -SRCREV_machine:qemuarm ?= "7fba77c3443f7ffb974bca08c44cd741ae422baf" -SRCREV_machine:qemuarm64 ?= "b98967f55ff0be50f7ad0dbcc5938c76278d96b5" -SRCREV_machine:qemuloongarch64 ?= "3ad693476cb4cc113480e15b2ae7da1e432b5262" -SRCREV_machine:qemumips ?= "6a6d5067d6dac276c4c0d0829a0483d47b67c7de" -SRCREV_machine:qemuppc ?= "da6b28016510be8a0c0ecdf864f48d2a1851ab71" -SRCREV_machine:qemuriscv64 ?= "3ad693476cb4cc113480e15b2ae7da1e432b5262" -SRCREV_machine:qemuriscv32 ?= "3ad693476cb4cc113480e15b2ae7da1e432b5262" -SRCREV_machine:qemux86 ?= "3ad693476cb4cc113480e15b2ae7da1e432b5262" -SRCREV_machine:qemux86-64 ?= "3ad693476cb4cc113480e15b2ae7da1e432b5262" -SRCREV_machine:qemumips64 ?= "a1afaf058fb596aa7e7750378ccb3f9b77297256" -SRCREV_machine ?= "3ad693476cb4cc113480e15b2ae7da1e432b5262" +SRCREV_machine:qemuarm ?= "998bdbd96cbad13521429c68b3563c11e3a467bf" +SRCREV_machine:qemuarm64 ?= "cd681556b87360f7c06f363e014ae9b45c7cdaa6" +SRCREV_machine:qemuloongarch64 ?= "4631166882bfa8bade7427e732d9fdd64ec98c2b" +SRCREV_machine:qemumips ?= "3bd41d59cf64bbf5148da6494cda59b9699e6552" +SRCREV_machine:qemuppc ?= "2044f334db4be041f163eeeb1823d250910b7c34" +SRCREV_machine:qemuriscv64 ?= "4631166882bfa8bade7427e732d9fdd64ec98c2b" +SRCREV_machine:qemuriscv32 ?= "4631166882bfa8bade7427e732d9fdd64ec98c2b" +SRCREV_machine:qemux86 ?= "4631166882bfa8bade7427e732d9fdd64ec98c2b" +SRCREV_machine:qemux86-64 ?= "4631166882bfa8bade7427e732d9fdd64ec98c2b" +SRCREV_machine:qemumips64 ?= "de116283909c1f4a20cafc24d9aaca1b2cd0f002" +SRCREV_machine ?= "4631166882bfa8bade7427e732d9fdd64ec98c2b" SRCREV_meta ?= "e6abd7216734dffc4233c1cba3d5ab79175d19aa" # set your preferred provider of linux-yocto to 'linux-yocto-upstream', and you'll From patchwork Fri Nov 27 17:49:09 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoann Congal X-Patchwork-Id: 106154 X-Patchwork-Delegate: yoann.congal@smile.fr Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.1470.1795801791089930526 for ; Fri, 27 Nov 2026 09:49:51 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@smile.fr header.s=google2 header.b=ZKOPQoow; spf=pass (domain: smile.fr, ip: 209.85.221.52, mailfrom: yoann.congal@smile.fr) Received: by mail-wr1-f52.google.com with SMTP id ffacd0b85a97d-48e46e449e8so5502783f8f.3 for ; Fri, 27 Nov 2026 09:49:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile.fr; s=google2; t=1795801789; x=1796406589; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=+S9b6yhU+DoxDtTbVQFr6zcIw/e3Xvxl5Tl0CMeFqV0=; b=ZKOPQoownmYADHr1gJdSsjG3Ph8OyzaXyESGlqre4uTxviYwOE+VmQa1Ty14fxZCss gKP4pZsp++aO+2hS6f9cA0C/olpwHa3qpqifH/dbY/skFWQHa3E/C+QXzr+39PPa8s1k u6GwnJ3+BYsUZew+kxq4uaRtm9al5Dv171jb8EIdLdNVwY11hM0X49p914RBqJih0tLK LjcPzGX6gdkdGlD6NYI+1p1CFOWF3t/dIG3gZ/3wTCNw+r6Sjlq1fsa3EmSwXDEv+wSp IuAbmaoPAOu7owjqpx3aY0cnj3kWj4AsX26gtyTVWOA8IpS0cadwgmHZe9Qdf+y7umTG goZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795801789; x=1796406589; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=+S9b6yhU+DoxDtTbVQFr6zcIw/e3Xvxl5Tl0CMeFqV0=; b=RCPhXdACbUF6zZ1HxacNswzDnUE1f/GDlDfrTz60snaSv+Xajkf1SXLV829IwqTtRJ hYzFOI13CcmWgS4zWCxfQq0d1TDawkDOq5hTVB8VM+j/RaSmpRGZPbheLYBAvm0sBRhZ zNgcXj4QCCFUlOEdV0eWarcsVh3vm6w15iQx+n98rZD3Oba7IVuz+d/B9W19aUSYYuyb Vof1FF+02CDfB5EjWY3mlT40lCnL7dXm5VdeXUg4rO3vzum/ymC0+Pg5OOdElDew3upw 51t80GQeYbMTOhel69Wz286cb40Jh2brg6epymUGEl57bmdyrkeCLlociUwFzV56VFjC Qb+A== X-Gm-Message-State: APuU4Z+baSx90HiQ2Ss4Ot3DIywJ7mMpiYfFW+x4sN/hXb3LXNG0bH+f LQ7A9bt22HGHOugghdFDPkJiiwIXxmkm3H91OsKJ86d4z+1sc+olqcFDc/6JdiHcU1lTuhm3N1f ALP6tn28= X-Gm-Gg: AZFdTZcJhTsY8eHEIE4c6dqx+vdlh6C96rnC1SXyW7HXRh4aVhJyfF8mQ9Fi+OhU4Dh +WJl9o4AvrjK21CTIH7q4CEhwrCb4AFqIW8JQJSt2tFFn6mroRyi8ibSxE9/2vQomRMPD9fYTB5 JRSeId3U205vpuGI9RcwKF1bAixcp2KNE+mcz8YjHDUQ7btBPY0hqt5T2zbRptMNd7kKjzduIyE cw6foRzBtQikxqFpEgRDnEXu8JOCH/qvBc5JWRuYDS8swAsphz9VHPbNnKKAPeozDAzO5otxz7N hidP1z6oIDHkCw1U00KiYAAVmcBLE9PKGe5xrvWsjSNUexWqgwjEvb4BlUDVp+jU5/tLGQdoKDX 6HArBNYUJZRLT7Wr4RdDdfGL4mrK0GM0vv/IDPR2JDdihj0oTVmSaRCVW738CnJQlxYawrx8KcU kPJUUzAPoJQdrsMe8tTpvfdEnRghgfL+UJyH5rjHDbHtXYoDajB3b6RBgzyEH8v+iiX8ypqbVX6 HZ0zJwGJqc1w0Bl4N33/OewPjpqDuhMMSOaVVzlOKa5jceO3uNP+7tZcL53dpitDcz1MGFY2MI5 mmPCU8y77UYuWcM9OJJTjXb+3yLB7vwGR/LGdF4nACL3uURTYnnKz80858qJDo6A9fYG2JFeIKn 0JkJCf9YyJov7n9nsFfzSMr04KOkRHw== X-Received: by 2002:a05:6000:26ca:b0:4aa:8fc3:2909 with SMTP id ffacd0b85a97d-4abad5ac730mr45473403f8f.2.1795801789035; Fri, 27 Nov 2026 09:49:49 -0800 (PST) Return-Path: Received: from FRSMI25-LASER.home (2a01cb001331aa00a2e4fb7b0d887544.ipv6.abo.wanadoo.fr. [2a01:cb00:1331:aa00:a2e4:fb7b:d88:7544]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab69bf630esm49374624f8f.16.2026.11.27.09.49.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Nov 2026 09:49:48 -0800 (PST) From: Yoann Congal To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 26/37] linux-yocto/6.6: update CVE exclusions (6.6.162) Date: Fri, 27 Nov 2026 18:49:09 +0100 Message-ID: <8f1bf3e301dcbc3399c27ce54ed6669a9a31b642.1795798718.git.yoann.congal@smile.fr> X-Mailer: git-send-email 2.55.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 27 Nov 2026 17:49:54 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251432 From: Yoann Congal $ ./meta/recipes-kernel/linux/generate-cve-exclusions.py .../cvelistV5/ 6.6.162 > meta/recipes-kernel/linux/cve-exclusion_6.6.inc Generated at 2026-11-21 23:19:46.787108+00:00 for kernel version 6.6.162 From cvelistV5 cve_2026-11-21_2200Z-4-g2e9db7b0ebc Signed-off-by: Yoann Congal --- .../linux/cve-exclusion_6.6.inc | 1322 +++++++++++++++-- 1 file changed, 1237 insertions(+), 85 deletions(-) diff --git a/meta/recipes-kernel/linux/cve-exclusion_6.6.inc b/meta/recipes-kernel/linux/cve-exclusion_6.6.inc index 24961f31688..da26078546b 100644 --- a/meta/recipes-kernel/linux/cve-exclusion_6.6.inc +++ b/meta/recipes-kernel/linux/cve-exclusion_6.6.inc @@ -1,11 +1,11 @@ # Auto-generated CVE metadata, DO NOT EDIT BY HAND. -# Generated at 2026-10-29 13:34:05.293881+00:00 for kernel version 6.6.160 -# From cvelistV5 cve_2026-10-29_1300Z-1-g135f63d1c5d +# Generated at 2026-11-21 23:19:46.787108+00:00 for kernel version 6.6.162 +# From cvelistV5 cve_2026-11-21_2200Z-4-g2e9db7b0ebc python check_kernel_cve_status_version() { - this_version = "6.6.160" + this_version = "6.6.162" kernel_version = d.getVar("LINUX_VERSION") if kernel_version != this_version: bb.warn("Kernel CVE status needs updating: generated for %s but kernel is %s" % (this_version, kernel_version)) @@ -18746,7 +18746,7 @@ CVE_STATUS[CVE-2025-39963] = "fixed-version: only affects 6.10 onwards" CVE_STATUS[CVE-2025-39964] = "cpe-stable-backport: Backported in 6.6.108" -CVE_STATUS[CVE-2025-39965] = "fixed-version: only affects 6.15.11 onwards" +CVE_STATUS[CVE-2025-39965] = "cpe-stable-backport: Backported in 6.6.109" CVE_STATUS[CVE-2025-39966] = "fixed-version: only affects 6.11 onwards" @@ -20514,6 +20514,12 @@ CVE_STATUS[CVE-2026-100078] = "cpe-stable-backport: Backported in 6.6.157" CVE_STATUS[CVE-2026-100079] = "cpe-stable-backport: Backported in 6.6.157" +CVE_STATUS[CVE-2026-100080] = "cpe-stable-backport: Backported in 6.6.162" + +CVE_STATUS[CVE-2026-100081] = "cpe-stable-backport: Backported in 6.6.162" + +CVE_STATUS[CVE-2026-100082] = "cpe-stable-backport: Backported in 6.6.162" + CVE_STATUS[CVE-2026-17523] = "fixed-version: Fixed from version 5.4" CVE_STATUS[CVE-2026-22976] = "cpe-stable-backport: Backported in 6.6.121" @@ -21270,7 +21276,7 @@ CVE_STATUS[CVE-2026-23353] = "fixed-version: only affects 6.19 onwards" CVE_STATUS[CVE-2026-23354] = "fixed-version: only affects 6.9 onwards" -CVE_STATUS[CVE-2026-23355] = "fixed-version: only affects 6.18.14 onwards" +# CVE-2026-23355 needs backporting (fixed from 6.19.7) CVE_STATUS[CVE-2026-23356] = "cpe-stable-backport: Backported in 6.6.130" @@ -21462,7 +21468,7 @@ CVE_STATUS[CVE-2026-23449] = "cpe-stable-backport: Backported in 6.6.130" CVE_STATUS[CVE-2026-23450] = "cpe-stable-backport: Backported in 6.6.130" -CVE_STATUS[CVE-2026-23451] = "fixed-version: only affects 6.18.19 onwards" +# CVE-2026-23451 needs backporting (fixed from 6.19.10) CVE_STATUS[CVE-2026-23452] = "cpe-stable-backport: Backported in 6.6.130" @@ -22524,7 +22530,7 @@ CVE_STATUS[CVE-2026-43113] = "cpe-stable-backport: Backported in 6.6.136" CVE_STATUS[CVE-2026-43114] = "cpe-stable-backport: Backported in 6.6.136" -CVE_STATUS[CVE-2026-43115] = "cpe-stable-backport: Backported in 6.6.160" +# CVE-2026-43115 needs backporting (fixed from 7.0) CVE_STATUS[CVE-2026-43116] = "cpe-stable-backport: Backported in 6.6.143" @@ -25732,7 +25738,7 @@ CVE_STATUS[CVE-2026-64015] = "cpe-stable-backport: Backported in 6.6.142" CVE_STATUS[CVE-2026-64016] = "fixed-version: only affects 6.18.33 onwards" -# CVE-2026-64017 may need backporting (fixed from 6.7) +CVE_STATUS[CVE-2026-64017] = "cpe-stable-backport: Backported in 6.6.161" CVE_STATUS[CVE-2026-64018] = "cpe-stable-backport: Backported in 6.6.142" @@ -28654,7 +28660,7 @@ CVE_STATUS[CVE-2026-72491] = "cpe-stable-backport: Backported in 6.6.145" CVE_STATUS[CVE-2026-72492] = "cpe-stable-backport: Backported in 6.6.145" -# CVE-2026-72493 needs backporting (fixed from 7.2) +CVE_STATUS[CVE-2026-72493] = "fixed-version: only affects 6.10 onwards" CVE_STATUS[CVE-2026-72494] = "cpe-stable-backport: Backported in 6.6.160" @@ -30250,8 +30256,6 @@ CVE_STATUS[CVE-2026-80809] = "cpe-stable-backport: Backported in 6.6.154" CVE_STATUS[CVE-2026-80810] = "fixed-version: only affects 6.15 onwards" -CVE_STATUS[CVE-2026-80811] = "fixed-version: only affects 6.15 onwards" - CVE_STATUS[CVE-2026-80812] = "cpe-stable-backport: Backported in 6.6.154" CVE_STATUS[CVE-2026-80813] = "fixed-version: only affects 6.13 onwards" @@ -30468,8 +30472,6 @@ CVE_STATUS[CVE-2026-80918] = "cpe-stable-backport: Backported in 6.6.154" CVE_STATUS[CVE-2026-80919] = "fixed-version: only affects 7.1 onwards" -CVE_STATUS[CVE-2026-80920] = "cpe-stable-backport: Backported in 6.6.160" - CVE_STATUS[CVE-2026-80921] = "cpe-stable-backport: Backported in 6.6.156" CVE_STATUS[CVE-2026-80922] = "fixed-version: only affects 6.7 onwards" @@ -30646,10 +30648,6 @@ CVE_STATUS[CVE-2026-81007] = "cpe-stable-backport: Backported in 6.6.157" CVE_STATUS[CVE-2026-81008] = "cpe-stable-backport: Backported in 6.6.157" -CVE_STATUS[CVE-2026-81009] = "fixed-version: only affects 6.18 onwards" - -CVE_STATUS[CVE-2026-81010] = "fixed-version: only affects 6.7 onwards" - CVE_STATUS[CVE-2026-81011] = "cpe-stable-backport: Backported in 6.6.157" CVE_STATUS[CVE-2026-81012] = "cpe-stable-backport: Backported in 6.6.157" @@ -32686,7 +32684,7 @@ CVE_STATUS[CVE-2026-92489] = "cpe-stable-backport: Backported in 6.6.157" CVE_STATUS[CVE-2026-92490] = "cpe-stable-backport: Backported in 6.6.157" -CVE_STATUS[CVE-2026-92491] = "fixed-version: only affects 6.9 onwards" +# CVE-2026-92491 needs backporting (fixed from 7.3) CVE_STATUS[CVE-2026-92492] = "fixed-version: only affects 7.1 onwards" @@ -33748,8 +33746,6 @@ CVE_STATUS[CVE-2026-97616] = "cpe-stable-backport: Backported in 6.6.160" CVE_STATUS[CVE-2026-97617] = "fixed-version: only affects 6.10 onwards" -CVE_STATUS[CVE-2026-97618] = "fixed-version: only affects 6.12 onwards" - CVE_STATUS[CVE-2026-97619] = "cpe-stable-backport: Backported in 6.6.160" CVE_STATUS[CVE-2026-97620] = "fixed-version: only affects 6.8 onwards" @@ -34452,7 +34448,7 @@ CVE_STATUS[CVE-2026-98247] = "cpe-stable-backport: Backported in 6.6.158" CVE_STATUS[CVE-2026-98249] = "cpe-stable-backport: Backported in 6.6.158" -CVE_STATUS[CVE-2026-98250] = "fixed-version: only affects 7.2 onwards" +CVE_STATUS[CVE-2026-98250] = "fixed-version: only affects 6.18.64 onwards" CVE_STATUS[CVE-2026-98251] = "cpe-stable-backport: Backported in 6.6.158" @@ -36102,7 +36098,7 @@ CVE_STATUS[CVE-2026-99075] = "fixed-version: only affects 6.18 onwards" # CVE-2026-99076 needs backporting (fixed from 7.3) -# CVE-2026-99077 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99077] = "cpe-stable-backport: Backported in 6.6.161" CVE_STATUS[CVE-2026-99078] = "cpe-stable-backport: Backported in 6.6.160" @@ -36120,7 +36116,7 @@ CVE_STATUS[CVE-2026-99084] = "fixed-version: only affects 7.1 onwards" CVE_STATUS[CVE-2026-99085] = "fixed-version: only affects 6.12 onwards" -CVE_STATUS[CVE-2026-99086] = "fixed-version: only affects 6.18.16 onwards" +CVE_STATUS[CVE-2026-99086] = "fixed-version: only affects 6.12.75 onwards" # CVE-2026-99087 needs backporting (fixed from 7.3) @@ -36148,9 +36144,9 @@ CVE_STATUS[CVE-2026-99098] = "fixed-version: only affects 6.11 onwards" CVE_STATUS[CVE-2026-99099] = "fixed-version: only affects 6.15 onwards" -# CVE-2026-99100 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99100] = "cpe-stable-backport: Backported in 6.6.161" -# CVE-2026-99101 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99101] = "fixed-version: only affects 7.1 onwards" CVE_STATUS[CVE-2026-99102] = "fixed-version: only affects 7.1 onwards" @@ -36160,7 +36156,7 @@ CVE_STATUS[CVE-2026-99104] = "fixed-version: only affects 7.1 onwards" CVE_STATUS[CVE-2026-99105] = "fixed-version: only affects 6.12 onwards" -# CVE-2026-99106 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99106] = "cpe-stable-backport: Backported in 6.6.161" CVE_STATUS[CVE-2026-99107] = "fixed-version: only affects 7.1 onwards" @@ -36168,73 +36164,73 @@ CVE_STATUS[CVE-2026-99108] = "fixed-version: only affects 7.1 onwards" # CVE-2026-99109 needs backporting (fixed from 7.3) -# CVE-2026-99110 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99110] = "cpe-stable-backport: Backported in 6.6.161" CVE_STATUS[CVE-2026-99111] = "fixed-version: only affects 6.18 onwards" -# CVE-2026-99112 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99112] = "cpe-stable-backport: Backported in 6.6.161" -# CVE-2026-99113 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99113] = "cpe-stable-backport: Backported in 6.6.161" -# CVE-2026-99114 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99114] = "cpe-stable-backport: Backported in 6.6.161" -# CVE-2026-99115 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99115] = "cpe-stable-backport: Backported in 6.6.161" CVE_STATUS[CVE-2026-99116] = "fixed-version: only affects 6.18 onwards" -# CVE-2026-99117 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99117] = "cpe-stable-backport: Backported in 6.6.161" -# CVE-2026-99118 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99118] = "cpe-stable-backport: Backported in 6.6.161" CVE_STATUS[CVE-2026-99119] = "fixed-version: only affects 7.2 onwards" CVE_STATUS[CVE-2026-99120] = "fixed-version: only affects 6.18 onwards" -# CVE-2026-99121 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99121] = "cpe-stable-backport: Backported in 6.6.161" # CVE-2026-99122 needs backporting (fixed from 7.3) -# CVE-2026-99123 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99123] = "cpe-stable-backport: Backported in 6.6.161" -# CVE-2026-99124 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99124] = "cpe-stable-backport: Backported in 6.6.161" CVE_STATUS[CVE-2026-99125] = "fixed-version: only affects 6.11 onwards" -# CVE-2026-99126 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99126] = "cpe-stable-backport: Backported in 6.6.161" -# CVE-2026-99127 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99127] = "cpe-stable-backport: Backported in 6.6.161" -# CVE-2026-99128 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99128] = "cpe-stable-backport: Backported in 6.6.161" CVE_STATUS[CVE-2026-99129] = "fixed-version: only affects 7.0 onwards" -# CVE-2026-99130 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99130] = "cpe-stable-backport: Backported in 6.6.161" -# CVE-2026-99131 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99131] = "cpe-stable-backport: Backported in 6.6.161" -# CVE-2026-99132 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99132] = "cpe-stable-backport: Backported in 6.6.161" -# CVE-2026-99133 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99133] = "cpe-stable-backport: Backported in 6.6.161" CVE_STATUS[CVE-2026-99134] = "fixed-version: only affects 6.8 onwards" -# CVE-2026-99135 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99135] = "cpe-stable-backport: Backported in 6.6.161" -# CVE-2026-99136 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99136] = "cpe-stable-backport: Backported in 6.6.161" CVE_STATUS[CVE-2026-99137] = "fixed-version: only affects 6.18 onwards" -# CVE-2026-99138 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99138] = "cpe-stable-backport: Backported in 6.6.161" -# CVE-2026-99139 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99139] = "cpe-stable-backport: Backported in 6.6.161" -# CVE-2026-99140 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99140] = "cpe-stable-backport: Backported in 6.6.161" CVE_STATUS[CVE-2026-99141] = "fixed-version: only affects 6.19 onwards" -# CVE-2026-99142 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99142] = "cpe-stable-backport: Backported in 6.6.161" -# CVE-2026-99143 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99143] = "cpe-stable-backport: Backported in 6.6.161" CVE_STATUS[CVE-2026-99144] = "fixed-version: only affects 7.1 onwards" @@ -36242,27 +36238,27 @@ CVE_STATUS[CVE-2026-99145] = "fixed-version: only affects 7.1 onwards" # CVE-2026-99146 needs backporting (fixed from 7.3) -# CVE-2026-99147 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99147] = "cpe-stable-backport: Backported in 6.6.161" CVE_STATUS[CVE-2026-99148] = "fixed-version: only affects 6.16 onwards" CVE_STATUS[CVE-2026-99149] = "fixed-version: only affects 6.19 onwards" -# CVE-2026-99150 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99150] = "cpe-stable-backport: Backported in 6.6.161" CVE_STATUS[CVE-2026-99151] = "fixed-version: only affects 7.2.9 onwards" -# CVE-2026-99152 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99152] = "cpe-stable-backport: Backported in 6.6.161" -# CVE-2026-99153 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99153] = "cpe-stable-backport: Backported in 6.6.161" -# CVE-2026-99154 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99154] = "cpe-stable-backport: Backported in 6.6.161" -# CVE-2026-99155 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99155] = "cpe-stable-backport: Backported in 6.6.161" -# CVE-2026-99156 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99156] = "cpe-stable-backport: Backported in 6.6.161" -# CVE-2026-99157 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99157] = "cpe-stable-backport: Backported in 6.6.161" CVE_STATUS[CVE-2026-99158] = "fixed-version: only affects 6.10 onwards" @@ -36270,49 +36266,49 @@ CVE_STATUS[CVE-2026-99159] = "fixed-version: only affects 6.12 onwards" CVE_STATUS[CVE-2026-99160] = "fixed-version: only affects 6.12 onwards" -# CVE-2026-99161 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99161] = "cpe-stable-backport: Backported in 6.6.161" CVE_STATUS[CVE-2026-99162] = "fixed-version: only affects 6.19 onwards" -# CVE-2026-99163 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99163] = "cpe-stable-backport: Backported in 6.6.161" CVE_STATUS[CVE-2026-99164] = "fixed-version: only affects 7.0 onwards" -# CVE-2026-99165 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99165] = "cpe-stable-backport: Backported in 6.6.161" -# CVE-2026-99166 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99166] = "cpe-stable-backport: Backported in 6.6.161" -# CVE-2026-99167 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99167] = "cpe-stable-backport: Backported in 6.6.161" CVE_STATUS[CVE-2026-99168] = "fixed-version: only affects 6.19 onwards" -# CVE-2026-99169 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99169] = "cpe-stable-backport: Backported in 6.6.161" CVE_STATUS[CVE-2026-99170] = "fixed-version: only affects 7.1 onwards" -# CVE-2026-99171 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99171] = "cpe-stable-backport: Backported in 6.6.161" # CVE-2026-99172 needs backporting (fixed from 7.3) -# CVE-2026-99173 may need backporting (fixed from 6.7) +CVE_STATUS[CVE-2026-99173] = "cpe-stable-backport: Backported in 6.6.161" -# CVE-2026-99174 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99174] = "cpe-stable-backport: Backported in 6.6.161" -# CVE-2026-99175 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99175] = "cpe-stable-backport: Backported in 6.6.161" -# CVE-2026-99176 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99176] = "cpe-stable-backport: Backported in 6.6.161" CVE_STATUS[CVE-2026-99177] = "fixed-version: only affects 7.2 onwards" # CVE-2026-99178 needs backporting (fixed from 7.3) -# CVE-2026-99179 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99179] = "cpe-stable-backport: Backported in 6.6.161" -# CVE-2026-99180 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99180] = "cpe-stable-backport: Backported in 6.6.161" -# CVE-2026-99181 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99181] = "cpe-stable-backport: Backported in 6.6.161" -# CVE-2026-99182 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99182] = "cpe-stable-backport: Backported in 6.6.161" CVE_STATUS[CVE-2026-99183] = "fixed-version: only affects 6.18 onwards" @@ -36322,7 +36318,7 @@ CVE_STATUS[CVE-2026-99185] = "fixed-version: only affects 6.19 onwards" CVE_STATUS[CVE-2026-99186] = "fixed-version: only affects 6.19 onwards" -# CVE-2026-99187 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99187] = "cpe-stable-backport: Backported in 6.6.161" CVE_STATUS[CVE-2026-99188] = "fixed-version: only affects 6.19 onwards" @@ -36330,9 +36326,9 @@ CVE_STATUS[CVE-2026-99188] = "fixed-version: only affects 6.19 onwards" CVE_STATUS[CVE-2026-99190] = "fixed-version: only affects 6.12.114 onwards" -# CVE-2026-99191 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99191] = "cpe-stable-backport: Backported in 6.6.161" -# CVE-2026-99192 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99192] = "cpe-stable-backport: Backported in 6.6.161" CVE_STATUS[CVE-2026-99193] = "fixed-version: only affects 7.2 onwards" @@ -36350,17 +36346,17 @@ CVE_STATUS[CVE-2026-99199] = "fixed-version: only affects 7.2 onwards" CVE_STATUS[CVE-2026-99200] = "fixed-version: only affects 7.2 onwards" -# CVE-2026-99201 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99201] = "cpe-stable-backport: Backported in 6.6.161" -CVE_STATUS[CVE-2026-99202] = "fixed-version: only affects 6.18.44 onwards" +CVE_STATUS[CVE-2026-99202] = "cpe-stable-backport: Backported in 6.6.161" -# CVE-2026-99203 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99203] = "cpe-stable-backport: Backported in 6.6.161" -# CVE-2026-99204 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99204] = "cpe-stable-backport: Backported in 6.6.161" CVE_STATUS[CVE-2026-99205] = "fixed-version: only affects 7.0 onwards" -# CVE-2026-99206 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99206] = "cpe-stable-backport: Backported in 6.6.161" CVE_STATUS[CVE-2026-99207] = "fixed-version: only affects 7.1 onwards" @@ -36370,17 +36366,1173 @@ CVE_STATUS[CVE-2026-99209] = "fixed-version: only affects 6.8 onwards" CVE_STATUS[CVE-2026-99210] = "fixed-version: only affects 6.18 onwards" -# CVE-2026-99211 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99211] = "cpe-stable-backport: Backported in 6.6.161" -# CVE-2026-99212 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99212] = "cpe-stable-backport: Backported in 6.6.161" -# CVE-2026-99213 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99213] = "cpe-stable-backport: Backported in 6.6.161" CVE_STATUS[CVE-2026-99214] = "fixed-version: only affects 6.11 onwards" # CVE-2026-99215 needs backporting (fixed from 7.3) -# CVE-2026-99216 needs backporting (fixed from 7.3) +CVE_STATUS[CVE-2026-99216] = "cpe-stable-backport: Backported in 6.6.161" + +CVE_STATUS[CVE-2026-99218] = "cpe-stable-backport: Backported in 6.6.161" + +CVE_STATUS[CVE-2026-99219] = "cpe-stable-backport: Backported in 6.6.161" + +CVE_STATUS[CVE-2026-99220] = "cpe-stable-backport: Backported in 6.6.161" + +CVE_STATUS[CVE-2026-99221] = "cpe-stable-backport: Backported in 6.6.161" + +CVE_STATUS[CVE-2026-99222] = "cpe-stable-backport: Backported in 6.6.161" + +CVE_STATUS[CVE-2026-99223] = "cpe-stable-backport: Backported in 6.6.161" + +CVE_STATUS[CVE-2026-99224] = "cpe-stable-backport: Backported in 6.6.161" + +CVE_STATUS[CVE-2026-99225] = "cpe-stable-backport: Backported in 6.6.161" + +CVE_STATUS[CVE-2026-99226] = "cpe-stable-backport: Backported in 6.6.161" + +CVE_STATUS[CVE-2026-99227] = "fixed-version: only affects 6.7 onwards" + +CVE_STATUS[CVE-2026-99228] = "cpe-stable-backport: Backported in 6.6.161" + +CVE_STATUS[CVE-2026-99229] = "cpe-stable-backport: Backported in 6.6.161" + +CVE_STATUS[CVE-2026-99230] = "fixed-version: only affects 6.7 onwards" + +CVE_STATUS[CVE-2026-99231] = "fixed-version: only affects 6.12.113 onwards" + +CVE_STATUS[CVE-2026-99232] = "fixed-version: only affects 6.19 onwards" + +CVE_STATUS[CVE-2026-99233] = "cpe-stable-backport: Backported in 6.6.161" + +CVE_STATUS[CVE-2026-99234] = "cpe-stable-backport: Backported in 6.6.161" + +CVE_STATUS[CVE-2026-99235] = "cpe-stable-backport: Backported in 6.6.161" + +CVE_STATUS[CVE-2026-99236] = "cpe-stable-backport: Backported in 6.6.161" + +CVE_STATUS[CVE-2026-99237] = "fixed-version: only affects 6.16 onwards" + +CVE_STATUS[CVE-2026-99238] = "fixed-version: only affects 6.15 onwards" + +CVE_STATUS[CVE-2026-99239] = "cpe-stable-backport: Backported in 6.6.161" + +CVE_STATUS[CVE-2026-99240] = "fixed-version: only affects 6.17 onwards" + +CVE_STATUS[CVE-2026-99241] = "fixed-version: only affects 7.1 onwards" + +CVE_STATUS[CVE-2026-99242] = "fixed-version: only affects 7.1 onwards" + +CVE_STATUS[CVE-2026-99244] = "cpe-stable-backport: Backported in 6.6.161" + +CVE_STATUS[CVE-2026-99245] = "cpe-stable-backport: Backported in 6.6.161" + +CVE_STATUS[CVE-2026-99246] = "cpe-stable-backport: Backported in 6.6.161" + +CVE_STATUS[CVE-2026-99247] = "cpe-stable-backport: Backported in 6.6.161" + +CVE_STATUS[CVE-2026-99248] = "fixed-version: only affects 7.1 onwards" + +CVE_STATUS[CVE-2026-99249] = "cpe-stable-backport: Backported in 6.6.161" + +CVE_STATUS[CVE-2026-99250] = "fixed-version: only affects 6.12 onwards" + +CVE_STATUS[CVE-2026-99251] = "cpe-stable-backport: Backported in 6.6.161" + +CVE_STATUS[CVE-2026-99253] = "fixed-version: only affects 7.2 onwards" + +CVE_STATUS[CVE-2026-99254] = "cpe-stable-backport: Backported in 6.6.161" + +CVE_STATUS[CVE-2026-99255] = "cpe-stable-backport: Backported in 6.6.161" + +CVE_STATUS[CVE-2026-99256] = "cpe-stable-backport: Backported in 6.6.161" + +CVE_STATUS[CVE-2026-99257] = "fixed-version: only affects 6.19 onwards" + +CVE_STATUS[CVE-2026-99258] = "fixed-version: only affects 6.12.41 onwards" + +CVE_STATUS[CVE-2026-99259] = "fixed-version: only affects 7.2 onwards" + +CVE_STATUS[CVE-2026-99260] = "fixed-version: only affects 7.1 onwards" + +CVE_STATUS[CVE-2026-99261] = "fixed-version: only affects 7.2 onwards" + +CVE_STATUS[CVE-2026-99269] = "fixed-version: only affects 7.1 onwards" + +# CVE-2026-99270 needs backporting (fixed from 7.1) + +# CVE-2026-99271 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99272 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99273 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99274 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99275 needs backporting (fixed from 7.4rc1) + +CVE_STATUS[CVE-2026-99276] = "fixed-version: only affects 7.2.8 onwards" + +CVE_STATUS[CVE-2026-99277] = "fixed-version: only affects 7.2.8 onwards" + +CVE_STATUS[CVE-2026-99278] = "fixed-version: only affects 7.2.8 onwards" + +CVE_STATUS[CVE-2026-99279] = "fixed-version: only affects 7.2.8 onwards" + +CVE_STATUS[CVE-2026-99280] = "fixed-version: only affects 7.2.8 onwards" + +# CVE-2026-99281 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99282 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99283 needs backporting (fixed from 7.3) + +# CVE-2026-99284 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99285 may need backporting (fixed from 6.7) + +CVE_STATUS[CVE-2026-99286] = "fixed-version: only affects 6.12.116 onwards" + +# CVE-2026-99287 needs backporting (fixed from 7.4rc3) + +# CVE-2026-99288 needs backporting (fixed from 7.4rc2) + +CVE_STATUS[CVE-2026-99289] = "fixed-version: only affects 7.2 onwards" + +# CVE-2026-99290 may need backporting (fixed from 6.7) + +CVE_STATUS[CVE-2026-99291] = "fixed-version: only affects 7.2.6 onwards" + +# CVE-2026-99292 needs backporting (fixed from 7.4rc1) + +CVE_STATUS[CVE-2026-99293] = "fixed-version: only affects 6.14 onwards" + +# CVE-2026-99294 needs backporting (fixed from 7.1) + +# CVE-2026-99295 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99296 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99297 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99298 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99299 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99300 needs backporting (fixed from 7.4rc1) + +CVE_STATUS[CVE-2026-99301] = "fixed-version: only affects 6.9 onwards" + +# CVE-2026-99302 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99303 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99304 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99305 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99306 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99307 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99308 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99309 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99310 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99311 may need backporting (fixed from 6.7) + +# CVE-2026-99312 needs backporting (fixed from 7.4rc2) + +CVE_STATUS[CVE-2026-99313] = "cpe-stable-backport: Backported in 6.6.158" + +# CVE-2026-99314 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99315 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99316 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99317 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99318 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99319 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99320 needs backporting (fixed from 7.4rc2) + +CVE_STATUS[CVE-2026-99321] = "fixed-version: only affects 7.3 onwards" + +CVE_STATUS[CVE-2026-99322] = "fixed-version: only affects 7.2.6 onwards" + +# CVE-2026-99323 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99324 needs backporting (fixed from 7.4rc1) + +CVE_STATUS[CVE-2026-99325] = "fixed-version: only affects 7.1 onwards" + +CVE_STATUS[CVE-2026-99326] = "fixed-version: only affects 7.1 onwards" + +# CVE-2026-99327 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99328 needs backporting (fixed from 7.4rc1) + +CVE_STATUS[CVE-2026-99329] = "fixed-version: only affects 7.1 onwards" + +# CVE-2026-99330 may need backporting (fixed from 6.7) + +# CVE-2026-99331 needs backporting (fixed from 7.4rc1) + +CVE_STATUS[CVE-2026-99332] = "fixed-version: only affects 6.12.83 onwards" + +# CVE-2026-99333 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99334 needs backporting (fixed from 7.4rc1) + +CVE_STATUS[CVE-2026-99335] = "fixed-version: only affects 6.8 onwards" + +CVE_STATUS[CVE-2026-99336] = "fixed-version: only affects 6.12.59 onwards" + +CVE_STATUS[CVE-2026-99337] = "fixed-version: only affects 6.16 onwards" + +CVE_STATUS[CVE-2026-99338] = "fixed-version: only affects 6.16 onwards" + +# CVE-2026-99339 needs backporting (fixed from 7.4rc1) + +CVE_STATUS[CVE-2026-99340] = "fixed-version: only affects 6.7 onwards" + +# CVE-2026-99341 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99342 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99343 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99344 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99345 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99346 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99347 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99348 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99349 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99350 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99351 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99352 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99353 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99354 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99355 needs backporting (fixed from 7.4rc1) + +CVE_STATUS[CVE-2026-99356] = "fixed-version: only affects 6.12.42 onwards" + +# CVE-2026-99357 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99358 needs backporting (fixed from 7.4rc1) + +CVE_STATUS[CVE-2026-99359] = "fixed-version: only affects 6.10 onwards" + +# CVE-2026-99360 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99361 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99362 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99363 needs backporting (fixed from 7.4rc1) + +CVE_STATUS[CVE-2026-99364] = "fixed-version: only affects 6.7 onwards" + +# CVE-2026-99365 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99366 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99367 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99368 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99369 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99370 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99371 needs backporting (fixed from 7.4rc1) + +CVE_STATUS[CVE-2026-99372] = "fixed-version: only affects 6.10 onwards" + +CVE_STATUS[CVE-2026-99373] = "fixed-version: only affects 6.18 onwards" + +CVE_STATUS[CVE-2026-99374] = "fixed-version: only affects 6.18 onwards" + +# CVE-2026-99375 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99376 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99377 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99378 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99379 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99380 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99381 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99382 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99383 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99384 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99385 needs backporting (fixed from 7.4rc1) + +CVE_STATUS[CVE-2026-99386] = "fixed-version: only affects 6.12.2 onwards" + +# CVE-2026-99387 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99388 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99389 needs backporting (fixed from 7.4rc1) + +CVE_STATUS[CVE-2026-99390] = "fixed-version: only affects 6.8 onwards" + +CVE_STATUS[CVE-2026-99391] = "fixed-version: only affects 6.13 onwards" + +CVE_STATUS[CVE-2026-99392] = "fixed-version: only affects 6.8 onwards" + +CVE_STATUS[CVE-2026-99393] = "fixed-version: only affects 6.8 onwards" + +CVE_STATUS[CVE-2026-99394] = "fixed-version: only affects 6.10 onwards" + +# CVE-2026-99395 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99396 needs backporting (fixed from 7.4rc1) + +CVE_STATUS[CVE-2026-99397] = "fixed-version: only affects 6.8 onwards" + +CVE_STATUS[CVE-2026-99398] = "fixed-version: only affects 6.10 onwards" + +# CVE-2026-99399 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99400 needs backporting (fixed from 7.4rc1) + +CVE_STATUS[CVE-2026-99401] = "fixed-version: only affects 6.13 onwards" + +CVE_STATUS[CVE-2026-99402] = "fixed-version: only affects 7.3 onwards" + +# CVE-2026-99403 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99404 needs backporting (fixed from 7.4rc1) + +CVE_STATUS[CVE-2026-99405] = "fixed-version: only affects 6.10 onwards" + +CVE_STATUS[CVE-2026-99406] = "fixed-version: only affects 6.9 onwards" + +CVE_STATUS[CVE-2026-99407] = "fixed-version: only affects 6.9 onwards" + +CVE_STATUS[CVE-2026-99408] = "fixed-version: only affects 6.10 onwards" + +CVE_STATUS[CVE-2026-99409] = "fixed-version: only affects 6.10 onwards" + +CVE_STATUS[CVE-2026-99410] = "fixed-version: only affects 6.10 onwards" + +CVE_STATUS[CVE-2026-99411] = "fixed-version: only affects 6.15 onwards" + +CVE_STATUS[CVE-2026-99412] = "fixed-version: only affects 6.14 onwards" + +# CVE-2026-99413 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99414 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99415 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99416 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99417 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99418 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99419 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99420 needs backporting (fixed from 7.4rc1) + +CVE_STATUS[CVE-2026-99421] = "cpe-stable-backport: Backported in 6.6.73" + +# CVE-2026-99422 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99423 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99424 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99425 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99426 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99427 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99428 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99429 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99430 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99431 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99432 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99433 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99434 needs backporting (fixed from 7.4rc1) + +CVE_STATUS[CVE-2026-99435] = "fixed-version: only affects 6.12.93 onwards" + +CVE_STATUS[CVE-2026-99436] = "fixed-version: only affects 6.12.93 onwards" + +CVE_STATUS[CVE-2026-99437] = "fixed-version: only affects 6.12.93 onwards" + +# CVE-2026-99438 needs backporting (fixed from 7.4rc1) + +CVE_STATUS[CVE-2026-99439] = "fixed-version: only affects 6.12.93 onwards" + +CVE_STATUS[CVE-2026-99440] = "fixed-version: only affects 6.12.93 onwards" + +# CVE-2026-99441 needs backporting (fixed from 7.4rc1) + +CVE_STATUS[CVE-2026-99442] = "fixed-version: only affects 6.12.31 onwards" + +CVE_STATUS[CVE-2026-99443] = "fixed-version: only affects 6.14 onwards" + +# CVE-2026-99444 needs backporting (fixed from 7.4rc1) + +CVE_STATUS[CVE-2026-99445] = "fixed-version: only affects 6.19 onwards" + +# CVE-2026-99446 needs backporting (fixed from 7.4rc1) + +CVE_STATUS[CVE-2026-99447] = "fixed-version: only affects 6.9 onwards" + +# CVE-2026-99448 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99449 needs backporting (fixed from 7.4rc1) + +CVE_STATUS[CVE-2026-99450] = "fixed-version: only affects 7.0 onwards" + +# CVE-2026-99451 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99452 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99453 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99454 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99455 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99456 needs backporting (fixed from 7.4rc1) + +CVE_STATUS[CVE-2026-99457] = "fixed-version: only affects 7.1 onwards" + +CVE_STATUS[CVE-2026-99458] = "fixed-version: only affects 7.1 onwards" + +CVE_STATUS[CVE-2026-99459] = "fixed-version: only affects 6.19 onwards" + +# CVE-2026-99460 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99461 needs backporting (fixed from 7.4rc1) + +CVE_STATUS[CVE-2026-99462] = "fixed-version: only affects 6.15 onwards" + +CVE_STATUS[CVE-2026-99463] = "fixed-version: only affects 6.11 onwards" + +# CVE-2026-99464 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99465 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99466 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99467 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99468 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99469 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99470 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99471 needs backporting (fixed from 7.4rc1) + +CVE_STATUS[CVE-2026-99472] = "fixed-version: only affects 6.9 onwards" + +CVE_STATUS[CVE-2026-99473] = "fixed-version: only affects 6.8 onwards" + +# CVE-2026-99474 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99475 needs backporting (fixed from 7.4rc1) + +CVE_STATUS[CVE-2026-99476] = "fixed-version: only affects 7.0 onwards" + +CVE_STATUS[CVE-2026-99477] = "fixed-version: only affects 6.7 onwards" + +CVE_STATUS[CVE-2026-99478] = "fixed-version: only affects 6.19 onwards" + +# CVE-2026-99479 needs backporting (fixed from 7.4rc1) + +CVE_STATUS[CVE-2026-99480] = "fixed-version: only affects 6.12.114 onwards" + +CVE_STATUS[CVE-2026-99481] = "fixed-version: only affects 6.12.46 onwards" + +# CVE-2026-99482 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99483 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99484 needs backporting (fixed from 7.4rc1) + +CVE_STATUS[CVE-2026-99485] = "fixed-version: only affects 7.0 onwards" + +CVE_STATUS[CVE-2026-99486] = "fixed-version: only affects 6.16 onwards" + +CVE_STATUS[CVE-2026-99487] = "fixed-version: only affects 6.17 onwards" + +# CVE-2026-99488 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99489 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99490 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99491 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99492 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99493 may need backporting (fixed from 6.7) + +# CVE-2026-99494 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99495 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99496 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99497 needs backporting (fixed from 7.4rc1) + +CVE_STATUS[CVE-2026-99498] = "fixed-version: only affects 6.15 onwards" + +CVE_STATUS[CVE-2026-99499] = "fixed-version: only affects 6.19 onwards" + +CVE_STATUS[CVE-2026-99500] = "fixed-version: only affects 6.19 onwards" + +CVE_STATUS[CVE-2026-99501] = "fixed-version: only affects 6.19 onwards" + +CVE_STATUS[CVE-2026-99502] = "fixed-version: only affects 6.19 onwards" + +# CVE-2026-99503 needs backporting (fixed from 7.4rc1) + +CVE_STATUS[CVE-2026-99504] = "fixed-version: only affects 6.14 onwards" + +# CVE-2026-99505 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99506 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99507 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99508 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99509 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99510 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99511 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99512 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99513 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99514 needs backporting (fixed from 7.4rc1) + +CVE_STATUS[CVE-2026-99515] = "fixed-version: only affects 6.11 onwards" + +# CVE-2026-99516 needs backporting (fixed from 7.4rc1) + +CVE_STATUS[CVE-2026-99517] = "fixed-version: only affects 6.13 onwards" + +CVE_STATUS[CVE-2026-99518] = "fixed-version: only affects 7.0 onwards" + +CVE_STATUS[CVE-2026-99519] = "fixed-version: only affects 6.19 onwards" + +CVE_STATUS[CVE-2026-99520] = "fixed-version: only affects 6.14 onwards" + +# CVE-2026-99521 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99522 needs backporting (fixed from 7.4rc1) + +CVE_STATUS[CVE-2026-99523] = "fixed-version: only affects 7.0 onwards" + +CVE_STATUS[CVE-2026-99524] = "fixed-version: only affects 7.1 onwards" + +# CVE-2026-99525 may need backporting (fixed from 6.7) + +# CVE-2026-99526 needs backporting (fixed from 7.4rc1) + +CVE_STATUS[CVE-2026-99527] = "fixed-version: only affects 6.14 onwards" + +# CVE-2026-99528 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99529 needs backporting (fixed from 7.4rc1) + +CVE_STATUS[CVE-2026-99530] = "fixed-version: only affects 6.18 onwards" + +# CVE-2026-99531 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99532 needs backporting (fixed from 7.4rc1) + +CVE_STATUS[CVE-2026-99533] = "fixed-version: only affects 7.2 onwards" + +# CVE-2026-99534 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99535 needs backporting (fixed from 7.4rc1) + +CVE_STATUS[CVE-2026-99536] = "fixed-version: only affects 7.1.5 onwards" + +# CVE-2026-99537 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99538 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99539 may need backporting (fixed from 6.7) + +# CVE-2026-99540 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99541 may need backporting (fixed from 6.7) + +# CVE-2026-99542 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99543 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99544 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99545 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99546 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99547 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99548 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99549 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99550 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99551 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99552 needs backporting (fixed from 7.4rc1) + +CVE_STATUS[CVE-2026-99553] = "fixed-version: only affects 6.14 onwards" + +# CVE-2026-99554 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99555 may need backporting (fixed from 6.7) + +# CVE-2026-99556 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99557 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99558 needs backporting (fixed from 7.4rc1) + +CVE_STATUS[CVE-2026-99559] = "fixed-version: only affects 6.13 onwards" + +CVE_STATUS[CVE-2026-99560] = "fixed-version: only affects 7.3 onwards" + +# CVE-2026-99561 needs backporting (fixed from 7.4rc1) + +CVE_STATUS[CVE-2026-99562] = "fixed-version: only affects 7.3 onwards" + +CVE_STATUS[CVE-2026-99563] = "fixed-version: only affects 7.1 onwards" + +CVE_STATUS[CVE-2026-99564] = "fixed-version: only affects 7.1 onwards" + +# CVE-2026-99565 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99566 has no known resolution + +# CVE-2026-99567 has no known resolution + +# CVE-2026-99568 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99569 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99570 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99571 may need backporting (fixed from 6.7) + +CVE_STATUS[CVE-2026-99572] = "fixed-version: only affects 7.1 onwards" + +# CVE-2026-99573 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99574 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99575 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99576 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99577 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99578 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99579 needs backporting (fixed from 7.4rc2) + +CVE_STATUS[CVE-2026-99580] = "fixed-version: only affects 6.9 onwards" + +CVE_STATUS[CVE-2026-99581] = "fixed-version: only affects 6.19 onwards" + +# CVE-2026-99582 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99583 needs backporting (fixed from 7.4rc1) + +CVE_STATUS[CVE-2026-99584] = "fixed-version: only affects 6.16 onwards" + +CVE_STATUS[CVE-2026-99585] = "fixed-version: only affects 6.18 onwards" + +# CVE-2026-99586 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99587 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99588 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99589 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99590 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99591 needs backporting (fixed from 7.4rc3) + +CVE_STATUS[CVE-2026-99592] = "fixed-version: only affects 6.15 onwards" + +# CVE-2026-99593 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99594 needs backporting (fixed from 7.4rc2) + +CVE_STATUS[CVE-2026-99595] = "fixed-version: only affects 6.18 onwards" + +# CVE-2026-99596 may need backporting (fixed from 6.7) + +# CVE-2026-99597 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99598 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99599 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99600 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99601 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99602 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99603 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99604 needs backporting (fixed from 7.4rc2) + +CVE_STATUS[CVE-2026-99605] = "fixed-version: only affects 7.0 onwards" + +# CVE-2026-99606 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99607 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99608 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99609 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99610 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99611 needs backporting (fixed from 7.4rc2) + +CVE_STATUS[CVE-2026-99612] = "fixed-version: only affects 6.18.57 onwards" + +# CVE-2026-99613 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99614 needs backporting (fixed from 7.4rc2) + +CVE_STATUS[CVE-2026-99615] = "fixed-version: only affects 6.11 onwards" + +# CVE-2026-99616 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99617 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99618 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99619 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99620 needs backporting (fixed from 7.4rc2) + +CVE_STATUS[CVE-2026-99621] = "fixed-version: only affects 7.0 onwards" + +CVE_STATUS[CVE-2026-99622] = "fixed-version: only affects 6.7 onwards" + +CVE_STATUS[CVE-2026-99623] = "fixed-version: only affects 6.15 onwards" + +CVE_STATUS[CVE-2026-99624] = "fixed-version: only affects 6.12 onwards" + +# CVE-2026-99625 needs backporting (fixed from 7.4rc2) + +CVE_STATUS[CVE-2026-99626] = "fixed-version: only affects 6.11 onwards" + +CVE_STATUS[CVE-2026-99627] = "fixed-version: only affects 6.11 onwards" + +# CVE-2026-99628 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99629 needs backporting (fixed from 7.4rc2) + +CVE_STATUS[CVE-2026-99630] = "fixed-version: only affects 7.2 onwards" + +CVE_STATUS[CVE-2026-99631] = "fixed-version: only affects 6.16.4 onwards" + +# CVE-2026-99632 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99633 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99634 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99635 needs backporting (fixed from 7.4rc2) + +CVE_STATUS[CVE-2026-99636] = "fixed-version: only affects 6.12.114 onwards" + +# CVE-2026-99637 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99638 needs backporting (fixed from 7.4rc2) + +CVE_STATUS[CVE-2026-99639] = "fixed-version: only affects 6.19 onwards" + +CVE_STATUS[CVE-2026-99640] = "fixed-version: only affects 6.17 onwards" + +CVE_STATUS[CVE-2026-99641] = "fixed-version: only affects 6.18 onwards" + +CVE_STATUS[CVE-2026-99642] = "fixed-version: only affects 6.11 onwards" + +# CVE-2026-99643 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99644 needs backporting (fixed from 7.4rc2) + +CVE_STATUS[CVE-2026-99645] = "fixed-version: only affects 7.0 onwards" + +# CVE-2026-99646 needs backporting (fixed from 7.4rc2) + +CVE_STATUS[CVE-2026-99647] = "fixed-version: only affects 6.12 onwards" + +CVE_STATUS[CVE-2026-99648] = "fixed-version: only affects 6.15 onwards" + +CVE_STATUS[CVE-2026-99649] = "fixed-version: only affects 7.0 onwards" + +# CVE-2026-99650 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99651 needs backporting (fixed from 7.4rc2) + +CVE_STATUS[CVE-2026-99652] = "fixed-version: only affects 6.9 onwards" + +CVE_STATUS[CVE-2026-99653] = "fixed-version: only affects 6.11 onwards" + +# CVE-2026-99654 may need backporting (fixed from 6.7) + +# CVE-2026-99655 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99656 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99657 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99658 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99659 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99660 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99661 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99662 needs backporting (fixed from 7.4rc2) + +CVE_STATUS[CVE-2026-99663] = "fixed-version: only affects 6.11 onwards" + +CVE_STATUS[CVE-2026-99664] = "fixed-version: only affects 6.10 onwards" + +# CVE-2026-99665 needs backporting (fixed from 7.4rc2) + +CVE_STATUS[CVE-2026-99666] = "fixed-version: only affects 6.14 onwards" + +CVE_STATUS[CVE-2026-99667] = "fixed-version: only affects 6.14 onwards" + +CVE_STATUS[CVE-2026-99668] = "fixed-version: only affects 6.19 onwards" + +# CVE-2026-99669 may need backporting (fixed from 6.7) + +# CVE-2026-99670 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99671 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99672 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99673 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99674 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99675 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99676 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99677 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99678 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99679 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99680 needs backporting (fixed from 7.4rc2) + +CVE_STATUS[CVE-2026-99681] = "fixed-version: only affects 6.16.4 onwards" + +# CVE-2026-99682 may need backporting (fixed from 6.7) + +# CVE-2026-99683 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99684 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99685 needs backporting (fixed from 7.4rc2) + +CVE_STATUS[CVE-2026-99686] = "fixed-version: only affects 6.17 onwards" + +# CVE-2026-99687 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99688 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99689 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99690 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99691 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99692 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99693 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99694 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99695 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99696 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99697 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99698 needs backporting (fixed from 7.4rc2) + +CVE_STATUS[CVE-2026-99699] = "fixed-version: only affects 6.15 onwards" + +CVE_STATUS[CVE-2026-99700] = "fixed-version: only affects 6.18.51 onwards" + +# CVE-2026-99701 needs backporting (fixed from 7.4rc2) + +CVE_STATUS[CVE-2026-99702] = "fixed-version: only affects 6.19 onwards" + +# CVE-2026-99703 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99704 needs backporting (fixed from 7.4rc2) + +CVE_STATUS[CVE-2026-99705] = "fixed-version: only affects 6.14 onwards" + +CVE_STATUS[CVE-2026-99706] = "fixed-version: only affects 6.10 onwards" + +# CVE-2026-99707 needs backporting (fixed from 7.4rc2) + +CVE_STATUS[CVE-2026-99708] = "fixed-version: only affects 6.9 onwards" + +# CVE-2026-99709 may need backporting (fixed from 6.7) + +# CVE-2026-99710 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99711 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99712 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99713 needs backporting (fixed from 7.4rc2) + +CVE_STATUS[CVE-2026-99714] = "fixed-version: only affects 7.2.10 onwards" + +CVE_STATUS[CVE-2026-99715] = "fixed-version: only affects 7.3 onwards" + +CVE_STATUS[CVE-2026-99716] = "fixed-version: only affects 6.9 onwards" + +# CVE-2026-99717 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99718 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99719 needs backporting (fixed from 7.4rc2) + +CVE_STATUS[CVE-2026-99720] = "fixed-version: only affects 6.9 onwards" + +# CVE-2026-99721 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99722 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99723 needs backporting (fixed from 7.4rc2) + +CVE_STATUS[CVE-2026-99724] = "fixed-version: only affects 7.1 onwards" + +# CVE-2026-99725 needs backporting (fixed from 7.4rc2) + +CVE_STATUS[CVE-2026-99726] = "fixed-version: only affects 6.18.36 onwards" + +CVE_STATUS[CVE-2026-99727] = "fixed-version: only affects 6.15 onwards" + +CVE_STATUS[CVE-2026-99728] = "fixed-version: only affects 7.2 onwards" + +# CVE-2026-99729 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99730 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99731 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99732 needs backporting (fixed from 7.4rc2) + +CVE_STATUS[CVE-2026-99733] = "fixed-version: only affects 7.2 onwards" + +# CVE-2026-99734 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99735 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99736 needs backporting (fixed from 7.4rc2) + +CVE_STATUS[CVE-2026-99737] = "fixed-version: only affects 6.12.69 onwards" + +CVE_STATUS[CVE-2026-99738] = "fixed-version: only affects 6.17 onwards" + +CVE_STATUS[CVE-2026-99739] = "fixed-version: only affects 6.12.69 onwards" + +# CVE-2026-99740 may need backporting (fixed from 6.7) + +# CVE-2026-99741 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99742 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99743 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99744 needs backporting (fixed from 7.4rc2) + +CVE_STATUS[CVE-2026-99745] = "fixed-version: only affects 6.17 onwards" + +CVE_STATUS[CVE-2026-99746] = "fixed-version: only affects 6.15 onwards" + +CVE_STATUS[CVE-2026-99747] = "fixed-version: only affects 7.2.8 onwards" + +# CVE-2026-99748 may need backporting (fixed from 6.7) + +# CVE-2026-99749 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99750 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99751 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99752 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99753 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99754 needs backporting (fixed from 7.4rc2) + +CVE_STATUS[CVE-2026-99755] = "fixed-version: only affects 6.7 onwards" + +# CVE-2026-99756 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99757 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99758 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99759 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99760 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99761 needs backporting (fixed from 7.4rc2) + +CVE_STATUS[CVE-2026-99762] = "fixed-version: only affects 6.8 onwards" + +# CVE-2026-99763 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99764 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99765 needs backporting (fixed from 7.4rc2) + +CVE_STATUS[CVE-2026-99766] = "fixed-version: only affects 6.7 onwards" + +CVE_STATUS[CVE-2026-99767] = "fixed-version: only affects 6.14 onwards" + +# CVE-2026-99768 needs backporting (fixed from 7.4rc2) + +CVE_STATUS[CVE-2026-99769] = "fixed-version: only affects 6.15 onwards" + +# CVE-2026-99770 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99771 needs backporting (fixed from 7.4rc2) + +CVE_STATUS[CVE-2026-99772] = "fixed-version: only affects 7.1 onwards" + +# CVE-2026-99773 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99774 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99775 needs backporting (fixed from 7.4rc2) + +CVE_STATUS[CVE-2026-99776] = "fixed-version: only affects 6.12 onwards" + +CVE_STATUS[CVE-2026-99777] = "fixed-version: only affects 6.12 onwards" + +CVE_STATUS[CVE-2026-99778] = "fixed-version: only affects 6.12 onwards" + +CVE_STATUS[CVE-2026-99779] = "fixed-version: only affects 6.12 onwards" + +CVE_STATUS[CVE-2026-99780] = "fixed-version: only affects 6.12 onwards" + +CVE_STATUS[CVE-2026-99781] = "fixed-version: only affects 6.12 onwards" + +CVE_STATUS[CVE-2026-99782] = "fixed-version: only affects 6.12 onwards" + +CVE_STATUS[CVE-2026-99783] = "fixed-version: only affects 6.12 onwards" + +# CVE-2026-99784 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99785 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99786 needs backporting (fixed from 7.4rc2) + +CVE_STATUS[CVE-2026-99787] = "fixed-version: only affects 7.0 onwards" + +# CVE-2026-99788 needs backporting (fixed from 7.4rc1) + +CVE_STATUS[CVE-2026-99789] = "fixed-version: only affects 7.2.4 onwards" + +CVE_STATUS[CVE-2026-99790] = "fixed-version: only affects 6.10 onwards" + +# CVE-2026-99791 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99792 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99793 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99794 needs backporting (fixed from 7.4rc1) + +CVE_STATUS[CVE-2026-99795] = "fixed-version: only affects 6.15 onwards" + +# CVE-2026-99796 needs backporting (fixed from 7.4rc2) + +# CVE-2026-99797 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99798 needs backporting (fixed from 7.4rc1) + +# CVE-2026-99799 needs backporting (fixed from 7.4rc1) + +CVE_STATUS[CVE-2026-99800] = "fixed-version: only affects 6.19 onwards" + +CVE_STATUS[CVE-2026-99801] = "fixed-version: only affects 7.1 onwards" + +CVE_STATUS[CVE-2026-99802] = "fixed-version: only affects 7.0 onwards" + +CVE_STATUS[CVE-2026-99803] = "fixed-version: only affects 7.0 onwards" + +# CVE-2026-99804 needs backporting (fixed from 7.4rc1) CVE_STATUS[CVE-2026-99999] = "cpe-stable-backport: Backported in 6.6.159" From patchwork Fri Nov 27 17:49:10 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoann Congal X-Patchwork-Id: 106151 X-Patchwork-Delegate: yoann.congal@smile.fr Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1542.1795801791396549838 for ; Fri, 27 Nov 2026 09:49:51 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@smile.fr header.s=google2 header.b=NORpvcFd; spf=pass (domain: smile.fr, ip: 209.85.221.49, mailfrom: yoann.congal@smile.fr) Received: by mail-wr1-f49.google.com with SMTP id ffacd0b85a97d-497614c95f0so4779864f8f.1 for ; Fri, 27 Nov 2026 09:49:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile.fr; s=google2; t=1795801790; x=1796406590; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=540vsAIkLI6KdvfB0itZ4dPB1XdOHu6GW4AyUiduEMM=; b=NORpvcFdUsP8JAhBh787HO9FHvvmbF/1eN5jwXxoJZllwMQVILe8kwilRe9WV2/nb/ B6uDX2wR43i9Bv8J8QV8hXc3rs/K22388ShV7zkcVNefVGYwVg9LbxWGT/hIYshEURQT V0WqsF4tNeqsMHKjFdNIEUK1gvFBUrGO7jFuxVLprf6t7kn7Dq7gLlrCde+qeE/CQJd1 yj0xnzuS2DYhr9tZ1ZHyXpgSvL0IhQLKqRv7SQGDBXgKMQooSlRFpMI6Xo1CQuoUs3gV Vnda2K2pewo3EZxrPtnU+WQV3gd+J+s/DTXPUwG4s36yfoWGd3rZq08cytP/TEvilgwl 4NTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795801790; x=1796406590; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=540vsAIkLI6KdvfB0itZ4dPB1XdOHu6GW4AyUiduEMM=; b=Y1NG726nZYOW+YwCi5QJR5QzmydI0EFab/FplAT5oejP0+oPHmgcb6F7erNJGTUZpA HwYiLMAFDGBO1EBHatLe8mJHmVxGq7ALuh4HH5/Rl2nzTZfTmYdG37MpfuZIPQw07DM6 4SOjuQmX2uoXs6SC2Vlas69pi5kvgQMTOmJ4kP3Vx75vZnUfMaGr8ALHalaNuumFUr/f kywi/pU8A/+adgYlIZbPrxCCnJoUFC22+QPkfSmkJpHJSmr0t3zjHrKj4Tnwo+RMmQVW zMl6f10ghqPVAYpsZXrnpghKLqlS7dqKWKVQkUkOomYcgY/rL4PPxjVOnkqEfoKdD42E Rarg== X-Gm-Message-State: APuU4Z8LvBMRAwyIChx0zG4lsqgdMY/UYRmBFrpwxOHOLBRBsh+IHu8/ 7Fut7gGR6Czb4Zhi/79i21S4SZ6IqNzbPWT5S+YCFOFfNDy5A+uELFFyW1jB4aPQNEaJdyRNwhC hc9MJEYw= X-Gm-Gg: AZFdTZcuye5voih8XJ5Fv006ZysfIrXW033lI3Qc3i1aSe01JDRlemWuafQXiyPzJZ7 UTvl2AE4TibbR9VVU+mA6n7qkry/4AUihw/6fbe5HVkwVVtVQLZPeOKQGdQLCL2mGIpJVUtoSOp FoagL5KvUDwjWhCyXaHBM8AGw9pjlmK2XN3QoCD90rm/WLPd/9CbZYCBsPg3jmJpwYWHj+ZJCse Zipl7FrLX9uYzmeQ9zgVqOy7yuX9Ebee/9tkvWNDX3eni+WAgRd58rVcSsnmUJFcYAaSeBkXTza S+BLfJgLm2+1x4YGcG6EZzvgGuOJK17vAfPgtsQ6+k8nBLyPyxn3lpKS+d00NERXun/B/g2I3ZQ GPj4j77G7qN1N2vnI161roY1ivsvrUB4dHnUSmUwWFXwAz+yVNn38rginGlBmhn9Z6doHsqmL9q mcP+Cl0GM/+ipb4+FTFlmA3PEUCSibmfEGwvFKuxxnbFv54Tbd2bbzRyDkDTSvf+KAPIuV1MJBg 9M77277QDakjymPLiVFYjgDr0uhIWzRt8coUv2ZialZh09298FE6IjswSMkMdR/nfWGQf8TEGog +Hx9RnedVT3sf+nKoV3kUtW64tqSJ1afdXra5NcyAyziR2ccDjRgkDZ99w0EXqSOnDT5mk3jd19 41cz2+t97pttDBx7jJ1A46l7LEQ+5 X-Received: by 2002:a05:6000:2404:b0:4a4:6f81:ca15 with SMTP id ffacd0b85a97d-4abb0f3c218mr51406394f8f.15.1795801789604; Fri, 27 Nov 2026 09:49:49 -0800 (PST) Return-Path: Received: from FRSMI25-LASER.home (2a01cb001331aa00a2e4fb7b0d887544.ipv6.abo.wanadoo.fr. [2a01:cb00:1331:aa00:a2e4:fb7b:d88:7544]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab69bf630esm49374624f8f.16.2026.11.27.09.49.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Nov 2026 09:49:49 -0800 (PST) From: Yoann Congal To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 27/37] gnupg: fix CVE-2026-57062 Date: Fri, 27 Nov 2026 18:49:10 +0100 Message-ID: <10890ac8f9cb22757fcfac5a70c1fbc2dc04f1bc.1795798718.git.yoann.congal@smile.fr> X-Mailer: git-send-email 2.55.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 27 Nov 2026 17:49:53 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251433 From: Prasanth R gpgsm accepts AES-GCM authentication tags shorter than 12 bytes. Backport the upstream fix, as done for wrynose. It applies to 2.4.9 unchanged. AI-Generated: Uses Claude Signed-off-by: Prasanth R Signed-off-by: Yoann Congal --- .../gnupg/gnupg/CVE-2026-57062.patch | 43 +++++++++++++++++++ meta/recipes-support/gnupg/gnupg_2.4.9.bb | 1 + 2 files changed, 44 insertions(+) create mode 100644 meta/recipes-support/gnupg/gnupg/CVE-2026-57062.patch diff --git a/meta/recipes-support/gnupg/gnupg/CVE-2026-57062.patch b/meta/recipes-support/gnupg/gnupg/CVE-2026-57062.patch new file mode 100644 index 00000000000..d18b9e9cb3d --- /dev/null +++ b/meta/recipes-support/gnupg/gnupg/CVE-2026-57062.patch @@ -0,0 +1,43 @@ +From 09d686f5ca09f1161f1e433473968d15b563687f Mon Sep 17 00:00:00 2001 +From: Werner Koch +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 +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 +--- + sm/decrypt.c | 9 ++++++++- + 1 file changed, 8 insertions(+), 1 deletion(-) + +diff --git a/sm/decrypt.c b/sm/decrypt.c +index c4bc57657..09ed7f8a7 100644 +--- a/sm/decrypt.c ++++ b/sm/decrypt.c +@@ -1399,7 +1399,14 @@ gpgsm_decrypt (ctrl_t ctrl, estream_t in_fp, estream_t out_fp) + } + if (DBG_CRYPTO) + log_printhex (authtag, authtaglen, "Authtag ...:"); +- rc = gcry_cipher_checktag (dfparm.hd, authtag, authtaglen); ++ if (authtaglen < 12) ++ { ++ log_info ("authentication tag is too short (%zu octets)\n", ++ authtaglen); ++ rc = gpg_error (GPG_ERR_CHECKSUM); ++ } ++ else ++ rc = gcry_cipher_checktag (dfparm.hd, authtag, authtaglen); + xfree (authtag); + if (rc) + log_error ("data is not authentic: %s\n", gpg_strerror (rc)); +-- +2.34.1 + diff --git a/meta/recipes-support/gnupg/gnupg_2.4.9.bb b/meta/recipes-support/gnupg/gnupg_2.4.9.bb index c85de6047fe..57f918b75f3 100644 --- a/meta/recipes-support/gnupg/gnupg_2.4.9.bb +++ b/meta/recipes-support/gnupg/gnupg_2.4.9.bb @@ -20,6 +20,7 @@ SRC_URI = "${GNUPG_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \ file://0001-Woverride-init-is-not-needed-with-gcc-9.patch \ file://CVE-2026-24882-0001.patch \ file://CVE-2026-24882-0002.patch \ + file://CVE-2026-57062.patch \ " SRC_URI:append:class-native = " file://0001-configure.ac-use-a-custom-value-for-the-location-of-.patch \ file://relocate.patch" From patchwork Fri Nov 27 17:49:11 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoann Congal X-Patchwork-Id: 106155 X-Patchwork-Delegate: yoann.congal@smile.fr Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1543.1795801791938800871 for ; Fri, 27 Nov 2026 09:49:52 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@smile.fr header.s=google2 header.b=pqgJmkNU; spf=pass (domain: smile.fr, ip: 209.85.221.54, mailfrom: yoann.congal@smile.fr) Received: by mail-wr1-f54.google.com with SMTP id ffacd0b85a97d-4a2f4ca0dcfso4805815f8f.1 for ; Fri, 27 Nov 2026 09:49:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile.fr; s=google2; t=1795801790; x=1796406590; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=GX/8I1zWbhbODowbkCrd86ptE6O8hTlGU1WoHxPlDlc=; b=pqgJmkNUqxLQB4oExyyCQIR3dL3WkB2684Flg9+DJxby3xNm2NNy2iUxCYFjcjRD6Y 7Ham11cUZU9dEsxZtiFvRAIr7tXX0REFfpDp5yZjH3TszjMSIhByYe0JQfk1LHQmFqfp ttmjg8LG9AGrwzK3Sprsh78iSXE/NmXOM6QOMfLWVrLWHla6SgOwusYFOm8LcR2393lU LhnHYNdLiRIddH9laCFOXuo4/GlQB4EunzCi4ycWvg/BjoDc0UN1E0QDhF1QQKjLRh0/ RvzDq+iKOGGc4Xhe/WdXqVebIhDNmzdRuiKrF52GgWUkL66V98vScFa3Id++ksbBZcFP Fe6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795801790; x=1796406590; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=GX/8I1zWbhbODowbkCrd86ptE6O8hTlGU1WoHxPlDlc=; b=vAAplZyvnMkn7t3q3JmX79rEMOiiavmNlPp0kx5+OK4OgkLDE1Mc7DaawU2zPrukWL 4Z6V3+G9WIE744+NBu/WUQ/Rcx5S1TpOihg4Z/YHoVfSmcPObAngX+rsH1BCadYiFD2a 46ISf3hkpoqF/Ofjxs/jc6Z8S20JvV6Xcuv57TH904qGIWK8Dvbc4HEyYcnI6YbfQdIo 8fWHOi8es38OiAWF4CPeGBFzxmgfJ964kG9CLACCWoSEynVsqKFV0pMYLuGOQ3wD38Yg 0JpoZSX+6osM2nBnJlYO6IaGD6bEm8MTQsGnjjPPadEjlXW+I3q6RUgo6XAmb7HvVEtc Ao1w== X-Gm-Message-State: APuU4Z99n4s9Rcj5KnBLdWA6A5965uP3RbnBa42jGP4/1qAl/meqvhmu yD6+UoY6OYDuZjL4S7rIa1ZHqys6QgvQArSS9lf/nvXHhDtsCafXoW/pfPuueyrSd3Xga8i9U7E BnjjyjLg= X-Gm-Gg: AZFdTZe96eZnazdajWhI/CpMQcmq3ei6tQ/WSpFeKxEa6MwaVHgacHx/uiM+/nKle6B GcWOu+uz5BxmElqHO0jOLz4YeOxLPwwRuyT5G6kWBDl27fDMzBCFu61FxlMvoQjE6OUvGyYEA5v nVI3qrtXlVAq3SB3/nR+ivso2AVb+zevX4QavPsQswPDiaejLg3CBJuWKvbtwE3b02LVRBFs7aT oyTGXms+nXXe/kWwDNBHaj/airVO4ZG+oOVMtyoCQA/GsvhHT7QT8ZFiQBPU+uCOejRRKU21dy+ xpdtl3qEDN4x2ZlCTeSNHH1hncS7uj1bOHR9h7TL64Wb5JAwcU4S0afyBCdH19tuZEFy7hx+ykv TacRImSmkcdJ0M2ySunWh1pCcd0V+tcYKDzrEkmgFES1GdQBWwL58kuhkeg9F+KyBzd0bt1sWvv pW81CpzKeBgw775sBKeyQcATYJXGXow9ai0n8n1Dxi/gaWhqi6iNACXIEZ4WOboIPb4d24KaS0z rFTAlEp4C3KLZtB5XtVXebwPkm1MJpB6KbBCfGHm/MvqZ3Wh1lNYqVZ2B5qic0ixKrMdQOjW7Bd 9z0aMTG80l5FnTGgvXl57Ih2bGycAE7YUfiqGJTNtLwWHQCD68a/lndtSD4YATouK3fx4Qbg0+w rhU/+x8v+yAOC5DbqAF4eVwFvugHx X-Received: by 2002:a05:6000:4616:b0:4a8:cf12:6f34 with SMTP id ffacd0b85a97d-4abaab6318fmr49264033f8f.4.1795801790102; Fri, 27 Nov 2026 09:49:50 -0800 (PST) Return-Path: Received: from FRSMI25-LASER.home (2a01cb001331aa00a2e4fb7b0d887544.ipv6.abo.wanadoo.fr. [2a01:cb00:1331:aa00:a2e4:fb7b:d88:7544]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab69bf630esm49374624f8f.16.2026.11.27.09.49.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Nov 2026 09:49:49 -0800 (PST) From: Yoann Congal To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 28/37] gnupg: fix CVE-2026-105712 Date: Fri, 27 Nov 2026 18:49:11 +0100 Message-ID: <89fcace08b898610ac3bd9035fb0106db3176d86.1795798718.git.yoann.congal@smile.fr> X-Mailer: git-send-email 2.55.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 27 Nov 2026 17:49:54 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251434 From: Prasanth R gpgtar does not check the output directory given with --directory. Backport the upstream fix and its follow-up, as done for wrynose. The follow-up uses gnupg_access() since 2.4.9 lacks COMPAT_NO_DIR_CHECK. AI-Generated: Uses Claude Signed-off-by: Prasanth R Signed-off-by: Yoann Congal --- .../gnupg/CVE-2026-105712-regression.patch | 40 ++++ .../gnupg/gnupg/CVE-2026-105712.patch | 194 ++++++++++++++++++ meta/recipes-support/gnupg/gnupg_2.4.9.bb | 2 + 3 files changed, 236 insertions(+) create mode 100644 meta/recipes-support/gnupg/gnupg/CVE-2026-105712-regression.patch create mode 100644 meta/recipes-support/gnupg/gnupg/CVE-2026-105712.patch diff --git a/meta/recipes-support/gnupg/gnupg/CVE-2026-105712-regression.patch b/meta/recipes-support/gnupg/gnupg/CVE-2026-105712-regression.patch new file mode 100644 index 00000000000..d2b49b74fef --- /dev/null +++ b/meta/recipes-support/gnupg/gnupg/CVE-2026-105712-regression.patch @@ -0,0 +1,40 @@ +From 1bdd1f5bb4d192d9700dd6ab2540b0a940c23dd5 Mon Sep 17 00:00:00 2001 +From: NIIBE Yutaka +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 +(cherry picked from commit 1bdd1f5bb4d192d9700dd6ab2540b0a940c23dd5) +Signed-off-by: Deepak Rathore +Signed-off-by: Prasanth R +--- + tools/gpgtar-extract.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/tools/gpgtar-extract.c b/tools/gpgtar-extract.c +index 5ca80cb..a5a925c 100644 +--- a/tools/gpgtar-extract.c ++++ b/tools/gpgtar-extract.c +@@ -504,7 +504,8 @@ gpgtar_extract (const char *filename, int decrypt) + goto leave; + } + +- if (!check_output_directory (dirname)) ++ if (gnupg_access (dirname, F_OK) == 0 ++ && !check_output_directory (dirname)) + { + err = gpg_error (GPG_ERR_INV_ARG); + goto leave; diff --git a/meta/recipes-support/gnupg/gnupg/CVE-2026-105712.patch b/meta/recipes-support/gnupg/gnupg/CVE-2026-105712.patch new file mode 100644 index 00000000000..9b0bc1ca663 --- /dev/null +++ b/meta/recipes-support/gnupg/gnupg/CVE-2026-105712.patch @@ -0,0 +1,194 @@ +From 8df56dd913f3c910c9b265691efaac6c36a007a1 Mon Sep 17 00:00:00 2001 +From: NIIBE Yutaka +Date: Fri, 20 Mar 2026 13:33:00 +0900 +Subject: [PATCH] tool:gpgtar: Check the output directory with --directory. + +* doc/tools.texi (gpgtar): Clarify about the --directory option. +* tools/gpgtar-extract.c (check_output_directory): New. +(gpgtar_extract): Call check_output_directory. + +-- + +GnuPG-bug-id: 8159 + +CVE: CVE-2026-105712 +Upstream-Status: Backport [https://github.com/gpg/gnupg/commit/7a2692fe5e580ae3bbb2a47abc4baaf1af65aa88] + +Signed-off-by: NIIBE Yutaka +(cherry picked from commit 7a2692fe5e580ae3bbb2a47abc4baaf1af65aa88) +Signed-off-by: Deepak Rathore +--- + doc/tools.texi | 11 ++-- + tools/gpgtar-extract.c | 123 ++++++++++++++++++++++++++++++++++++++++- + 2 files changed, 128 insertions(+), 6 deletions(-) + +diff --git a/doc/tools.texi b/doc/tools.texi +index 45f3e897d..691b7dc9c 100644 +--- a/doc/tools.texi ++++ b/doc/tools.texi +@@ -2024,11 +2024,12 @@ Do not actually output the extracted files. + @item --directory @var{dir} + @itemx -C @var{dir} + @opindex directory +-Extract the files into the directory @var{dir}. The default is to +-take the directory name from the input filename. If no input filename +-is known a directory named @file{GPGARCH} is used. For tarball +-creation, switch to directory @var{dir} before performing any +-operations. ++Extract the files into the directory @var{dir}. It raises an error ++when @var{dir} is not empty, or @var{dir} is a symlink to other ++directory. When this option is not given, the default is to take the ++directory name from the input filename. If no input filename is known ++a directory, named @file{GPGARCH} is used. For tarball creation, ++switch to directory @var{dir} before performing any operations. + + @item --files-from @var{file} + @itemx -T @var{file} +diff --git a/tools/gpgtar-extract.c b/tools/gpgtar-extract.c +index d23ccc579..5ca80cb89 100644 +--- a/tools/gpgtar-extract.c ++++ b/tools/gpgtar-extract.c +@@ -24,6 +24,8 @@ + #include + #include + #include ++#include ++#include + #include + #include + #include +@@ -369,6 +371,112 @@ create_directory (const char *dirprefix) + } + + ++/* Check the output directory DIRNAME if it's not symlink and empty. ++ Return 1 if good, 0 otherwise. */ ++static int ++check_output_directory (const char *dirname) ++{ ++#ifdef HAVE_W32_SYSTEM ++#define dirent _wdirent ++#define DIR _WDIR ++#define readdir _wreaddir ++#define closedir _wclosedir ++#endif ++ DIR *d; ++ struct dirent *dent; ++ int count = 0; ++ ++#ifdef HAVE_W32_SYSTEM ++ wchar_t *wdirname; ++ DWORD attr; ++ ++ wdirname = utf8_to_wchar (dirname); ++ if (!wdirname) ++ return 0; ++ ++ attr = GetFileAttributesW (wdirname); ++ ++ if (attr == INVALID_FILE_ATTRIBUTES) ++ { ++ log_error ("error getting attributes '%s': %s\n", dirname, w32_strerror (-1)); ++ xfree (wdirname); ++ return 0; ++ } ++ else if ((attr & FILE_ATTRIBUTE_REPARSE_POINT)) ++ { ++ /* It's reparse point (possibly symlink), not good. */ ++ log_error ("Not a regular directory (may be symlink): %s\n", dirname); ++ xfree (wdirname); ++ return 0; ++ } ++ ++ d = _wopendir (wdirname); ++ xfree (wdirname); ++#else ++# if O_NOFOLLOW == 0 ++ struct stat sbuf; ++ ++ if (lstat (dirname, &sbuf)) ++ return 0; ++ ++ if (S_ISLNK (sbuf.st_mode)) ++ { ++ /* It's symlink, not good. */ ++ log_error ("It's symbolic link: %s\n", dirname); ++ return 0; ++ } ++ ++ d = opendir (dirname); ++# else ++ int fd; ++ ++ /* With O_NOFOLLOW, make sure it's not symlink. */ ++ fd = open (dirname, (O_RDONLY | O_NOFOLLOW)); ++ if (fd < 0) ++ { ++ log_error ("Can't open (symlink?): %s\n", dirname); ++ return 0; ++ } ++ ++ d = fdopendir (fd); ++# endif ++#endif ++ ++ if (d == NULL) ++ return 0; ++ ++ while ((dent = readdir (d)) != NULL) ++ { ++ if (dent->d_name[0] == '.' && dent->d_name[1] == 0) ++ continue; ++ ++ if (dent->d_name[0] == '.' && dent->d_name[1] == '.' ++ && dent->d_name[2] == 0) ++ continue; ++ ++ count++; ++ } ++ ++ /* In case of fdopendir, FD is released by closedir. */ ++ closedir (d); ++ ++ if (count) ++ { ++ /* It's not empty, not good. */ ++ log_error ("Directory not empty: %s\n", dirname); ++ return 0; ++ } ++ ++ /* Good. */ ++ return 1; ++} ++ ++#ifdef HAVE_W32_SYSTEM ++#undef dirent ++#undef DIR ++#undef readdir ++#undef closedir ++#endif + + gpg_error_t + gpgtar_extract (const char *filename, int decrypt) +@@ -388,7 +496,20 @@ gpgtar_extract (const char *filename, int decrypt) + memset (&tarinfo_buffer, 0, sizeof tarinfo_buffer); + + if (opt.directory) +- dirname = xtrystrdup (opt.directory); ++ { ++ dirname = xtrystrdup (opt.directory); ++ if (!dirname) ++ { ++ err = gpg_error_from_syserror (); ++ goto leave; ++ } ++ ++ if (!check_output_directory (dirname)) ++ { ++ err = gpg_error (GPG_ERR_INV_ARG); ++ goto leave; ++ } ++ } + else + { + if (opt.filename) diff --git a/meta/recipes-support/gnupg/gnupg_2.4.9.bb b/meta/recipes-support/gnupg/gnupg_2.4.9.bb index 57f918b75f3..f211dcd2aa9 100644 --- a/meta/recipes-support/gnupg/gnupg_2.4.9.bb +++ b/meta/recipes-support/gnupg/gnupg_2.4.9.bb @@ -21,6 +21,8 @@ SRC_URI = "${GNUPG_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \ file://CVE-2026-24882-0001.patch \ file://CVE-2026-24882-0002.patch \ file://CVE-2026-57062.patch \ + file://CVE-2026-105712.patch \ + file://CVE-2026-105712-regression.patch \ " SRC_URI:append:class-native = " file://0001-configure.ac-use-a-custom-value-for-the-location-of-.patch \ file://relocate.patch" From patchwork Fri Nov 27 17:49:12 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoann Congal X-Patchwork-Id: 106147 X-Patchwork-Delegate: yoann.congal@smile.fr Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1544.1795801792505535746 for ; Fri, 27 Nov 2026 09:49:52 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@smile.fr header.s=google2 header.b=nz5HKTZk; spf=pass (domain: smile.fr, ip: 209.85.221.47, mailfrom: yoann.congal@smile.fr) Received: by mail-wr1-f47.google.com with SMTP id ffacd0b85a97d-490d59c3f0aso3852748f8f.1 for ; Fri, 27 Nov 2026 09:49:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile.fr; s=google2; t=1795801791; x=1796406591; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=nX/4lRG3h+E7fcakxZsVzDoCtWgB/WnJlVJdChX+P3k=; b=nz5HKTZkr36Hr7hnodvFA4kAjcnl+K//8ukogtU7YOZ2nlp18TGHbgjOfryNj2w97K febguQmIwIwNAmcsoeHt07odGVBtEmvmPEhZB44GWmxla+wkCIHyNGspe0Z7WB1w313p Pqjck3h07flGHHO5oPH6Ejp68FYspr+WqvSVqvfKYk+qZvqZFkzSZjz2f9AewTzNy9ZP 3B9rnr3k8hDZO3bKGbMQRhxbx2vMHWpjJJKAVAjupOuG+LiJI4B6ZAkcSmXn9Dq9Uvia k2G/DAgj1eHv/X/Z6la470ShemwgxKOQGmvKWHCiwI1R1A3fHdUc1LB+kG/hN0Vow5Ie vfoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795801791; x=1796406591; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=nX/4lRG3h+E7fcakxZsVzDoCtWgB/WnJlVJdChX+P3k=; b=NafRv8+K6IzEmI0hrkIOgon2DYKwZFi4a5su0HPd7+QLM8WM+2z8UJs+Iuj39OFGmh NncNXSdGAoMZp9SFTvD+vLtOfA2gBxaYn8O6s3vfrCmrgL3WX10gnmNU8OFpyao/uURJ obN73J7LDCqz6J8Ak5/MQXChCDrXotZqGrFZ1Rp8w6GWoHRnaqCYWJEipfS5WtWAHgeO Oy4GTmKRtdr5kkJDh520oBFQPtY7hfxKj0u1KgGjkrg7hfvh+iMF7lIULy45QXBVtZye joWZdsSyRDQgVaMJOXejE+Pz+vSxDeLVT1wVPuo0R7D2z47Dl780XfwZQYPJLXDxqTxv PBtg== X-Gm-Message-State: APuU4Z8Y9OHCAYzgUfiCRhS48xFyg/h509TbcXT2rfhD0HVoDYhTtTKV xc5BYCazX6CQqk3ZUwDU1VAR0lK4rP+iqVK8rFmBpahppgJV1m++fgxMiknLZo0Np+vcGZrQR9f 7+FJUSKs= X-Gm-Gg: AZFdTZe6vI5f0jHndilQRsZb4so48qkMKCHRMTeKxFyU+1rfYOnzZVYh6X7ZVb6wx9u Ei4SrGzU186tdhogwFBFHYYZmj5DQm72v2JHa8k/U2O5yE/HMJAq8jxA7ceWDtYI2OfYlzL/Rm5 tu1VaSC2LC6ONJVGHCC7Pe/a9idhUli4d6K4/bPeQ/on2a2Ct/fjPqua7bvtXm5UZ46Z/mooTIX SzLiCzGU81BS+fJyAplMxXn5bYtGsLB3cvQvB5LDm85ViXsMVoznqRZAzlxty2zI6CxCTnUFspi tfQdukf6aL/VrJLKcBDiBiVDykSDl7P1kcfxJbjjbP93qvITz8LCwf/B4atPaxJGo2jc8yl52Lh n9N8p+tXjt0SVow0uOO8QUSPOiJBtyamOb32yoC+KIP/O7rFRM9Nsy0cx1z/zrgOaTxL/C8gOLA Z3N6zbOfYjCz5F6IQs7V2hpG64JBM5nBOyZGlxh9mkPvaHZfzHAixajDqRavoNzvio6AEvh41eg AOJxLjsey83xwyIvmY0WdK9oEz5VeqYeNNWwLAnSnT7mnrFZZv59RaS4p0vCU9y/p0KXR8Om3Yz zfWZXJPSVJ5lMVbfY+t8koXLC/dwBVDjfgHo3ngEVXUDAAq3+cBEBC9ArqOvpH3f7TrB4aNwlMH SBsny+WLfUBIqzCTQT5iCm8r7gz63 X-Received: by 2002:a05:6000:4812:b0:4aa:8da8:4bbc with SMTP id ffacd0b85a97d-4abb5702827mr46025537f8f.36.1795801790742; Fri, 27 Nov 2026 09:49:50 -0800 (PST) Return-Path: Received: from FRSMI25-LASER.home (2a01cb001331aa00a2e4fb7b0d887544.ipv6.abo.wanadoo.fr. [2a01:cb00:1331:aa00:a2e4:fb7b:d88:7544]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab69bf630esm49374624f8f.16.2026.11.27.09.49.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Nov 2026 09:49:50 -0800 (PST) From: Yoann Congal To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 29/37] libxml2: Security fix for CVE-2026-74860 Date: Fri, 27 Nov 2026 18:49:12 +0100 Message-ID: X-Mailer: git-send-email 2.55.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 27 Nov 2026 17:49:53 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251435 From: Rohini Sangam Pick patch from [1] also mentioned at Debian tracker in [2] [1] https://gitlab.gnome.org/GNOME/libxml2/-/commit/f41e1865781f74d1cadfe2fbdfeefed946026f12 [2] https://security-tracker.debian.org/tracker/CVE-2026-74860 Signed-off-by: Rohini Sangam Signed-off-by: Yoann Congal [YC: fixed Upstream-Status format] --- .../libxml/libxml2/CVE-2026-74860.patch | 35 +++++++++++++++++++ meta/recipes-core/libxml/libxml2_2.12.10.bb | 1 + 2 files changed, 36 insertions(+) create mode 100644 meta/recipes-core/libxml/libxml2/CVE-2026-74860.patch diff --git a/meta/recipes-core/libxml/libxml2/CVE-2026-74860.patch b/meta/recipes-core/libxml/libxml2/CVE-2026-74860.patch new file mode 100644 index 00000000000..c08790c14d0 --- /dev/null +++ b/meta/recipes-core/libxml/libxml2/CVE-2026-74860.patch @@ -0,0 +1,35 @@ +From f41e1865781f74d1cadfe2fbdfeefed946026f12 Mon Sep 17 00:00:00 2001 +From: Daniel Garcia Moreno +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 +--- + python/libxml.c | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/python/libxml.c b/python/libxml.c +index 2bf1407..728ecbf 100644 +--- a/python/libxml.c ++++ b/python/libxml.c +@@ -1232,7 +1232,6 @@ pythonAttributeDecl(void *user_data, + for (node = tree; node != NULL; node = node->next) { + newName = PY_IMPORT_STRING((char *) node->name); + PyList_SetItem(nameList, count, newName); +- Py_DECREF(newName); + count++; + } + result = PyObject_CallMethod(handler, (char *) "attributeDecl", +-- +2.44.4 + diff --git a/meta/recipes-core/libxml/libxml2_2.12.10.bb b/meta/recipes-core/libxml/libxml2_2.12.10.bb index 5e4cabbf5d9..387f47c3edc 100644 --- a/meta/recipes-core/libxml/libxml2_2.12.10.bb +++ b/meta/recipes-core/libxml/libxml2_2.12.10.bb @@ -39,6 +39,7 @@ SRC_URI += "http://www.w3.org/XML/Test/xmlts20130923.tar;subdir=${BP};name=testt file://CVE-2026-86142.patch \ file://CVE-2026-86143.patch \ file://CVE-2026-86144.patch \ + file://CVE-2026-74860.patch \ " SRC_URI[archive.sha256sum] = "c3d8c0c34aa39098f66576fe51969db12a5100b956233dc56506f7a8679be995" From patchwork Fri Nov 27 17:49:13 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoann Congal X-Patchwork-Id: 106163 X-Patchwork-Delegate: yoann.congal@smile.fr Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1545.1795801793022433077 for ; Fri, 27 Nov 2026 09:49:53 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@smile.fr header.s=google2 header.b=hNhOlfs7; spf=pass (domain: smile.fr, ip: 209.85.221.53, mailfrom: yoann.congal@smile.fr) Received: by mail-wr1-f53.google.com with SMTP id ffacd0b85a97d-491846221ffso7378299f8f.3 for ; Fri, 27 Nov 2026 09:49:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile.fr; s=google2; t=1795801791; x=1796406591; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=2VJJb2hp0FDj+nMCGna8wcDyjYpxxDxG+IpSXW0Xrxs=; b=hNhOlfs7JX8UKo96fAVuPCTN9/fRuHpdQPBjgd6if8Ey2JdqsHjMH95aJLCl+JQYnl 9OBsIA1XvgmerqHPJhF8OdHqrwYfmfNzBVeeGkaRzWSwJf2EeCWix/iGpjI05apxbPP4 +lm7Pw6oLeHSOitNNTCBwcOyjXwPH9D3Tak5OzNiElVpWFcVb0WFczYydKGCBovglP58 Ak7yX3aXGzykwZiALT0P3aH6XNW502eWP1IRgN4piOCVLOeEnngo2PClB7JNBYCRuNQL bCYtLbeUYnWx8d7PnaLMASPMsdpBjL+WzIHOuJvHjSebe/ZrLwof9MNbHvyjVhEC5/sE CKOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795801791; x=1796406591; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=2VJJb2hp0FDj+nMCGna8wcDyjYpxxDxG+IpSXW0Xrxs=; b=KkeObCuBFSn3xWURFGHt5YSHt70XdBr68qgWYqrR2/8ALRAi++O4Iy2BED38b2Y7lS eEYKnaayzFWdJl8otpN/EEI/KxDcx5VF0DtVc2n7bw4t2ixcZTK2D20uqdvgaTrOl1ek /+M6IHbWh/7guDoXK9dWN8ko6juErxkhlJnkh36bUodN/zBvGWm0DpRjkgKG9wfTuWsb jjL8wboPvskT76Fv2QolxVl6Xv7SFQyHuRx5ijtr87iMLP6lEJbHGR0XVapUzwgYkwYs Ogni8Fa5MlceivwVsBCb3yoHhQq6PpRUNiIFQ62ae7+eV1YFD3E379QgT5pkybv5Xf52 ZPpw== X-Gm-Message-State: APuU4Z9BtZzw7iCZv+aSfjrSAdTkRSV8ULif69pcK9qhpg9BReSjUbwV ZMdwo1P2iU03iTgZYUllSJBaGVcDCWwH510btWn8DYmyQAzUQtqz0pxCjGCVWZwPD5BERjucr7Z FV7i2HSU= X-Gm-Gg: AZFdTZdktEkDCRUZcJIuuj44/No6RhIEB4ig8UPbaPKXzrPXPs4ELuidWPnDGZ4omwL 1alY2e5TTm0tKVjIaqqCuQfnvqLItVhIFP73lBfc8UBYnJIFdAY2kzkzt2JlUQBvq5tdYcPCnbD RWvygg7TCf/1xUZQTy7rVXvFUDs2hoKggr184sJsWgrDstXlRs78Q3cPpGjnhbtSkkYmuOM04Vy IpvvAp1yCAcy7umlZmipK/6u/2iXSBxPgQFh7aWCgK508Oi1Zsfh6vzOGu0pzdus9nm02mD/mNB kHrubdmQHAdUjEROuHVEoqjlUkyBtPwlE3ezBPyV7HdBKNe7xzTTB9JUXlcuM03P7Kbv/fZwKDq DKXHKHfnTaeuGj3A15sJYCKHEd0/fZySJiLIehGfU/ex6w9VTftbpxDfDxfiQIEcEgWHOnO+4zo Wb0Sr+/svg3WEilEqpo+r4XmUfHV7eq644mckh8fHsRotRxUr7tbZidyg/lIFw9rUwtvBl9u2Lt M7YIqZk25PxwcPNNw58Ixfx0jGkwY0iFlr+cPEHIY5fJ7Ugv4/yJvxANcb4xzB/1ToFu3saLNgL yYiBWJGL2H2b/rqGA2DZOtDLb7qVnxoeTYnNoIDxADNnrP9Rs+ZYoDfdhKocWs6ZVEj2TfdCiRc UsdBBYhqt7v3Hpo1AHJuw/Fv0gq9EWPyddaGfhVCAV2jQ4cXHqA== X-Received: by 2002:a05:6000:2506:b0:48d:ba3b:af36 with SMTP id ffacd0b85a97d-4abb47b0f64mr59948772f8f.37.1795801791248; Fri, 27 Nov 2026 09:49:51 -0800 (PST) Return-Path: Received: from FRSMI25-LASER.home (2a01cb001331aa00a2e4fb7b0d887544.ipv6.abo.wanadoo.fr. [2a01:cb00:1331:aa00:a2e4:fb7b:d88:7544]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab69bf630esm49374624f8f.16.2026.11.27.09.49.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Nov 2026 09:49:50 -0800 (PST) From: Yoann Congal To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 30/37] tzdata/tzcode-native: upgrade 2026e -> 2026f Date: Fri, 27 Nov 2026 18:49:13 +0100 Message-ID: X-Mailer: git-send-email 2.55.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 27 Nov 2026 17:49:55 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251436 From: Ankur Tyagi Changelog: https://www.iana.org/time-zones/releases/2026f Signed-off-by: Ankur Tyagi Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie (cherry picked from commit a5c5781d51df60bbb3d9945c9b3ad89f4d9502f4) Signed-off-by: Vijay Anusuri Signed-off-by: Yoann Congal --- meta/recipes-extended/timezone/timezone.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/recipes-extended/timezone/timezone.inc b/meta/recipes-extended/timezone/timezone.inc index 704d6b603f9..a3c981f8ef3 100644 --- a/meta/recipes-extended/timezone/timezone.inc +++ b/meta/recipes-extended/timezone/timezone.inc @@ -6,7 +6,7 @@ SECTION = "base" LICENSE = "PD & BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=c679c9d6b02bc2757b3eaf8f53c43fba" -PV = "2026e" +PV = "2026f" SRC_URI =" http://www.iana.org/time-zones/repository/releases/tzcode${PV}.tar.gz;name=tzcode;subdir=tz \ http://www.iana.org/time-zones/repository/releases/tzdata${PV}.tar.gz;name=tzdata;subdir=tz \ @@ -16,5 +16,5 @@ S = "${WORKDIR}/tz" UPSTREAM_CHECK_URI = "http://www.iana.org/time-zones" -SRC_URI[tzcode.sha256sum] = "cc3d27ca2a0d8399504551b920970d80af83bfb9c216e8082a15491921935d54" -SRC_URI[tzdata.sha256sum] = "b26882805f26aac59d5b222978e6580484b834ccdc98be89df2f05a6dc53a652" +SRC_URI[tzcode.sha256sum] = "5a18da01393679ef2559214dc687563f7f3d05691f6f58b7fbc0166f3e796cd6" +SRC_URI[tzdata.sha256sum] = "01b4a91cec5167ed48c11e8ab78f2048cead78ce94b0cafcad0ae8c5a3044d3d" From patchwork Fri Nov 27 17:49:14 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoann Congal X-Patchwork-Id: 106164 X-Patchwork-Delegate: yoann.congal@smile.fr Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.1472.1795801793496653328 for ; Fri, 27 Nov 2026 09:49:53 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@smile.fr header.s=google2 header.b=o5TkJwC4; spf=pass (domain: smile.fr, ip: 209.85.128.48, mailfrom: yoann.congal@smile.fr) Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-4bba60271d7so28398165e9.2 for ; Fri, 27 Nov 2026 09:49:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile.fr; s=google2; t=1795801792; x=1796406592; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=Pbex/aYZl9g48OtFuqe8K6egIvHBAEQI54IUxwFoi/0=; b=o5TkJwC4TrEWKdRSO7D8RH+HadL3r98drtvxuuDi6wCQQMYNVNrIvuoT+8n0QybhT6 /uXw8xdvGsz5fWeG1s1Vq7lv+yTIcTj5GSaY/4ReGBhjB7BGj3V7eyyxrUdVygolpzRS R4AwAuuUxgsm9VmXIGLvhpW4FPWVkRi1TmQASH97PJrDYJr0taCh1T4k8m41RlXSUOR3 1Oo+kwxuNgH+yWryz5pSIJNBT9yu8uux5CAkZCNaayVTSzlqFKAXetpKms7MwM1QanGK gDTy6iq7HkXYXhnsXBv+U00o+ACnCG9OYd8hgzz1dLq9/D4OveeekQSp7pAVonMr95vN yGvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795801792; x=1796406592; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=Pbex/aYZl9g48OtFuqe8K6egIvHBAEQI54IUxwFoi/0=; b=qn2c5AFCLd/vVtoQnMueaD61EPy/WCJmnmXjX6tscHL75dDAregr3u1ZNLQ7jtAGiS FkCSXO2wdkAeRi/7K5mgPdF21b1H4f1r6VTJkcEVI9x0lWR1/171OdmyyU/Vlg8I2J5v F52soQTRo+auWVBRZCgW4vBGxgUd4TrKXrQVFwujXFhyXC60g3YbF7pTNlgBd6jZOKf8 28hKOu+R2fDMozbKS6vCdMRSCXh1xmPrz2jcCw3+E975qZVn6CSfz8tyQ3aFpMT3qTe4 IVEuy2cpNiW9KwuprchZt0CxIFOYkQMvx3bXeNjPJgZPLHpNBbQqpYq5KwisuNokJsdm 5yMQ== X-Gm-Message-State: APuU4Z+hpBTAh72Gn1M8Ad/9QU/G8C7RvrioMOZWNeAwrjd32OfLTwiK yq7BcOuj1NE5GnIDyNEBBX4lwaw1nM1QMrq6OPB/sE391EIy2Bm6fNXluMURMo39YRIf5hI47YX iiJwk00E= X-Gm-Gg: AZFdTZcLKwdzXtUW1Jdi0Gn92WeO3fKTxKyh6n0sQS8vS71FFqGuO3/vTv64ltpOkg2 L1bpe7A/dbSwGXDM/KakADXoh+d6z9WvQNNcGDBe2tdNtwa+aTXru7GQopELO7b0iAoyMFBh0F/ tistI0LdFoeP8b5sqAo69zeT9YoBu/lW3Xram8VL7PAlVno61TUWRRkSVkMAeaBtRDlMDqzC+wI k+8AgXvv0bkI9qSkCSVBg5khx2VDu4rsTXztgs2LKtTZxEWHtGkUTkGwLc8WdiBRCaSdLm/7Xmp o3EuCRli2mbhZcnRRPtiHZHY1QcZMgUosAqe8qjqYZsE3Lc6awvVbF7q3mLmUpBMinlU/3ejJFO BM/xDjG3/Rk5pGVzncspAQtdWNKp2SEnKQ5hN3qiKOAU8SDwra1U2P5RweLVziM2LQTpRdGe2f2 YM0uvVoDNmzIgdc+UtLobNzTZk+050n02/2lTwaY1K/QmziZMjyLm2npRScD/kl0YzqrYn7tCUF A1Du7EBeoHZpyZWTlF0usNQj8siJ+AEbHvVtfgEkxAM6MynYlf61oGUG1Wn2EKtyIbQMYOP29lA tDCkS8ddDpOS7keDqSRXtOscBcnGFyniexUiiSTvMLdSvKF8pPLl3ivBuu7CQGNn3NA5Dg7MH0V u2RTSRNVU7nXLGWAWWlvpaBn+Vktt X-Received: by 2002:a05:600c:638f:b0:4aa:2339:a375 with SMTP id 5b1f17b1804b1-4bb8880607cmr479849285e9.13.1795801791740; Fri, 27 Nov 2026 09:49:51 -0800 (PST) Return-Path: Received: from FRSMI25-LASER.home (2a01cb001331aa00a2e4fb7b0d887544.ipv6.abo.wanadoo.fr. [2a01:cb00:1331:aa00:a2e4:fb7b:d88:7544]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab69bf630esm49374624f8f.16.2026.11.27.09.49.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Nov 2026 09:49:51 -0800 (PST) From: Yoann Congal To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 31/37] python3-certifi: correct license to MPL-2.0 Date: Fri, 27 Nov 2026 18:49:14 +0100 Message-ID: X-Mailer: git-send-email 2.55.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 27 Nov 2026 17:49:56 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251437 From: Anders Heimer Correct the LICENSE variable to match upstreams MPL 2.0. The LICENSE file and checksum remain the same. License-Update: Change declared license from ISC to MPL 2.0 Reviewed-by: Henrik Nilsson Signed-off-by: Anders Heimer Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie (cherry picked from commit 6b270958cab94f1fa117b5eee36157cf5b14d3cf) Signed-off-by: Yoann Congal --- meta/recipes-devtools/python/python3-certifi_2026.10.19.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/python/python3-certifi_2026.10.19.bb b/meta/recipes-devtools/python/python3-certifi_2026.10.19.bb index 749894f56ac..b80044b399f 100644 --- a/meta/recipes-devtools/python/python3-certifi_2026.10.19.bb +++ b/meta/recipes-devtools/python/python3-certifi_2026.10.19.bb @@ -4,7 +4,7 @@ Python code. This is useful for verifying HTTP requests, for example. This is t which ships with the Requests codebase, and is derived from Mozilla Firefox's canonical set." HOMEPAGE = "http://certifi.io/" -LICENSE = "ISC" +LICENSE = "MPL-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=11618cb6a975948679286b1211bd573c" SRC_URI[sha256sum] = "035c1e85572b141bf1c3a3eff0e33a8eb74917522f2559075ff8d2fea780a1ae" From patchwork Fri Nov 27 17:49:15 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoann Congal X-Patchwork-Id: 106165 X-Patchwork-Delegate: yoann.congal@smile.fr Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1546.1795801794183786916 for ; Fri, 27 Nov 2026 09:49:54 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@smile.fr header.s=google2 header.b=F3KlMDd/; spf=pass (domain: smile.fr, ip: 209.85.128.42, mailfrom: yoann.congal@smile.fr) Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-4ac95761c85so65679095e9.2 for ; Fri, 27 Nov 2026 09:49:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile.fr; s=google2; t=1795801792; x=1796406592; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=pn6WotQjZn73zkFLoDjjv8ff35EwZey12cyPt5VLwkg=; b=F3KlMDd/66DWW6wlIWROpyqbYzKEWHj3yth9J9R7Ziu2jGV65BfunrRIl6/c377JJp nWhoMkqRza+KBWtSa/DdxtVjM1QuCf+v4WP0YvDhK/C0/e8pwgAA5j3L787GxeJsvmUe nTQBFPJ3OiNvBdNQxu9af9d4PrsZrLdixKQlrLqKsp9ZYJ0MXeB3Wi3uHK8QWzcitxE2 YXDhWIWSvZx8xwGEhZKfTPfPUrWtsXtXx6STL6IWUCLtkiwwwMJmk5fue++V7OFhXN4F drwhQuds/NZYAc3XNj8jFsHfVxxhau65fKgT/8TwuQbjAuV73yR+WtsSIzA+4Kw1tZ5P UpHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795801792; x=1796406592; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=pn6WotQjZn73zkFLoDjjv8ff35EwZey12cyPt5VLwkg=; b=ktCFAJGesghf/d/001BvOyHiT2+mMt2ogeih8VQ1TSuTuktBkOes6E2gNTfQK7oxJW IZ3kvq5CxgmiPT/safLvmgD3+GoRmYK95jvPXJJOLn2NniGcfYqefHqJZBSsEHDOBXQS TC9PRFpt8vAPVkzPcQJJG3gk5Lgs+PxuUTGcuoKNXecruhD2rlC9tlLrQGa2vTVh5Nu3 JmmzI5nxFXZQC+ulLyYDlj+nKD7m9yC7GU2DKfjzDZVTriFYV+Ymv3qC/UMvB82HjIAW wyFR9SQcqNEtgCW7c1VZztgxtqYvgMcyclKebQtzeKJflucl+BD9g1BSuw0NNb74VNjM tDtQ== X-Gm-Message-State: APuU4Z9gWAwKGU/KLLxdjY4A7iVy0ejhDcNRp1dYE+5A91TBeHGDNOsY WcSXHnecHIM7W3WcjT4LudttTmNg5BsbN/oJQm224KPq6TRBNoAmBbjaNW/3GpV5Lw+bVFuvgHk P8Flj9J0= X-Gm-Gg: AZFdTZe+m/PRgb5eMTkrz1yTNMBdSp96b/wQBOYiV9OjW1wd9MbqE1cSIwk/+Tt2OnC kpIaZN4bul2iX+Ab1gG17nrHycgOIAwsWKiRwHfCZVgEThW2FTjuZY3x+eW70ZAw6KBjfpaaXm2 JGbClS7P91Gpqw2ZczCLh6kK5ZvH3ny/xbTfSJfMHuszM6TCngVoREltm2sbjMzPY8HQf+KltLP Rbh3X8i9xaniKa4vvYbs/S593HdAIFSrTzfUOAYWi3VVcglKtxhYGFnCqjwNpqhbE0iMbm4f5Rz OQf3oDuUVAQnY8LYUMV4skgWQuPnIFaYCuN3/oJDzSjj23yLQBYG5BGao/G78ImkVdmmBCPF5Fa xnDuus8B/6YCsEPttb5haYEys7bNRXuy4zqiYNImYLvv/v7YUnBzyPsBdMHV/vRMlOxWMp+jF/z nC/blhLIWZHDM76vNIdV+LSh0jdoibyOQEiUy0clEhjXLP1aaBb8ByWgBkol6JZe9UxOadrTjWD XIqrVkz9pJd2B5NSW+7Hb51zJomLSnc15hOl3gerDJ7AR2+7Wkz/YFUv+3TQzoafG2yOKaAqVbv P1Hmevzvn7gsdNPyM6giKn5XVQzaNi0kbJnf938vhR6ZIbIvffpfRNAb0ljxB9AvJejywkIL2C4 ZUD+ISTLa1TwxjXdkVuMdYUVjbKD0 X-Received: by 2002:a05:600c:4f0f:b0:4bb:87f4:3674 with SMTP id 5b1f17b1804b1-4bb8880ef40mr647432545e9.15.1795801792471; Fri, 27 Nov 2026 09:49:52 -0800 (PST) Return-Path: Received: from FRSMI25-LASER.home (2a01cb001331aa00a2e4fb7b0d887544.ipv6.abo.wanadoo.fr. [2a01:cb00:1331:aa00:a2e4:fb7b:d88:7544]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab69bf630esm49374624f8f.16.2026.11.27.09.49.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Nov 2026 09:49:51 -0800 (PST) From: Yoann Congal To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 32/37] populate_sdk_ext: Fix locale error handling in SDK Date: Fri, 27 Nov 2026 18:49:15 +0100 Message-ID: X-Mailer: git-send-email 2.55.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 27 Nov 2026 17:49:56 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251438 From: Richard Purdie During automated testing we occasionally we see the error: "ERROR: the installer requires the en_US.UTF-8 locale to be installed (but not selected), please install it first" This is puzzling as the locale *is* installed. The use of -q with grep in a pipeline is potentially problematic as grep can exit early and cause a pipefail/SIGPIPE. Tweak the code to avoid it and a few other issues (add quoting, handle the "." correctly, match a whole line). [YOCTO #16198] Signed-off-by: Richard Purdie (cherry picked from commit f290e76eef3bd175f71414b7f78aafd0af5e0ce2) Signed-off-by: Yoann Congal --- meta/classes-recipe/populate_sdk_ext.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes-recipe/populate_sdk_ext.bbclass b/meta/classes-recipe/populate_sdk_ext.bbclass index 662cc493ce7..794832888c6 100644 --- a/meta/classes-recipe/populate_sdk_ext.bbclass +++ b/meta/classes-recipe/populate_sdk_ext.bbclass @@ -690,7 +690,7 @@ sdk_ext_preinst() { fi # Check setting of LC_ALL set above canonicalised_locale=`echo $LC_ALL | sed 's/UTF-8/utf8/'` - if ! locale -a | grep -q $canonicalised_locale ; then + if ! locale -a | grep -Fx "$canonicalised_locale" > /dev/null ; then echo "ERROR: the installer requires the $LC_ALL locale to be installed (but not selected), please install it first" exit 1 fi From patchwork Fri Nov 27 17:49:16 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoann Congal X-Patchwork-Id: 106166 X-Patchwork-Delegate: yoann.congal@smile.fr Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1547.1795801794754039838 for ; Fri, 27 Nov 2026 09:49:55 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@smile.fr header.s=google2 header.b=JIm2V8AZ; spf=pass (domain: smile.fr, ip: 209.85.221.44, mailfrom: yoann.congal@smile.fr) Received: by mail-wr1-f44.google.com with SMTP id ffacd0b85a97d-48dee593f18so7863525f8f.3 for ; Fri, 27 Nov 2026 09:49:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile.fr; s=google2; t=1795801793; x=1796406593; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=bja3U64BOA4vSixJAX8yoQyccXEpK8pDonbnWODZh+w=; b=JIm2V8AZYhG2/oXxVxlokmDZqwnYGRLYSeRoPvRyCmf3V6vw4wxX56wdcUFpmK9DW2 64+wIRBXvBMOkmv9tU+GGKt44AU3gsU2M53owZ91UTFv152QpJPwLcvF8Y6DlN4mZ2S2 GcE0CvLdZe1E0LZWHuauBndTRLWFPF5qbvHCM5SLHoSnf4PdtD6rtwP4eynghD+2cvuJ RG7M7b15S5AVXstwL9LhSt9V4fHFjqPrSNHZLSfabs0+ZCXRHJO9n2ZzLo0LPEXz5KOi Kxuwbik/w9SKiTXEEfp3Yyh5SKbCkw7ptM9jz6ow7VKfG0PGIM3X5HCMFBy82VMQC15t Ic+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795801793; x=1796406593; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=bja3U64BOA4vSixJAX8yoQyccXEpK8pDonbnWODZh+w=; b=F0O595dxE0yaj1gdwckyc+d0pilc4YSV9/KaG32S7Yl1TKSYKvXg5WOtzOzSHYoMK9 cZQqzZLOHjeBRvjqJ4pw66P3g9g5M/LUs4rGxv2Z1+DxEDl0lpcsSmd8/SVdIxvgtZim UEFa8NFsL6P/jjD4AmDttQLOzytrD/h6D9b7esobNyS5MnhsEYfZ/amymVLXFSHKjmwV 6dnz4caWziUVuicbab6dxu4q3Djz4yHlk/CW7Nrld0yZ6jcwjPouZRxJwYVbtqHX92dv PibnYM8UOZXY5kG1fBMS6Uy7aecPcbuX/jlK2QuFBIaLw9pWhyTgDJRJdtIq4y4ZFN55 Uk/w== X-Gm-Message-State: APuU4Z9Yo95yXD+UCk33gVkUP3J6aiacaviKI1aQwBaBK/tPEuWGFhhp ib4VUpCAE936gFYzPaH6+JOIqL9ZmDtYmVKcEWhdZvfD26DIl3j+5kXB3V964zmy/sKBSvCgRbv 5NERfUjI= X-Gm-Gg: AZFdTZfIYu78NnIB6f1lBpWuPlS8xtAG9iPKkadU/pEqj+ZyegMrxZUbzySFpp4mB05 XCvNRQ4fGmQLlrFVIe+xQXfp6dOh89UVsJLGtbsozGFZigDIkG88epbniIVBHy37Ag4hTeykLXJ QXNrQQvHB5V6H1JoKTkRN2KGD6vrL/+5CBBbBBbq66k+fxjuzCvjGK7eObfPF7v/kwS0S0hWnW7 Eo5LaVm4q3ZmY9ePo7O6/w8URq5VL1JChXYLVUJGbxu5/oN7WH4vdk/Pd4y/OzyfZ6NvGDTU+8q NIRkwz8fGltntiiSK4i1xOwZILwbVd45dNNDz/BWiL5V/ZbHGNTRi23W4nD+6ydzkWoSd+AvQVn dc340lsGueKYIFg+GPzoRcFjRlayy0I/hV9OCEMXPE7fyVI39HROmo08vxuMLlm0ubkd7xpZd2z ES/3UwlH53QKIh/DeXYUT3lLhPz47mUDe4TT4dVe/jAf9qqZSKyvUTpd9dh/7OOEK7bD8b9O0Kp jn2qnQaa+Boq0Hi/svI/Mmx8OalxUlnoqtUKmJt0f8LRCVdtgAvtJH0P2vJXu6mYjqalg6+kQtZ QPtbm+3KsaPMXDslOg/flk+vrLCLU6D1nXrDpg9NXpN3K4S4m6yVV7iOPMgeVVdOsmkTjFVDzEY uHMscQVDp4tCbafd6a0CeaMoRNzAqVQ== X-Received: by 2002:a05:600c:4e02:b0:4bb:8636:dd7d with SMTP id 5b1f17b1804b1-4bb88817f77mr507308315e9.24.1795801792950; Fri, 27 Nov 2026 09:49:52 -0800 (PST) Return-Path: Received: from FRSMI25-LASER.home (2a01cb001331aa00a2e4fb7b0d887544.ipv6.abo.wanadoo.fr. [2a01:cb00:1331:aa00:a2e4:fb7b:d88:7544]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab69bf630esm49374624f8f.16.2026.11.27.09.49.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Nov 2026 09:49:52 -0800 (PST) From: Yoann Congal To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 33/37] go: Fix CVE-2026-33814 Date: Fri, 27 Nov 2026 18:49:16 +0100 Message-ID: <683b25e165a942a550e21e46f72fcc1dc2d31d8b.1795798718.git.yoann.congal@smile.fr> X-Mailer: git-send-email 2.55.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 27 Nov 2026 17:49:56 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251439 From: Hetvi Thakar This patch applies the upstream fix as referenced in [2], using the commit shown in [1]. [1] https://github.com/golang/go/commit/9024c3f6b150fb1349d8a5dc5e9aa31d7896f67f [2] https://pkg.go.dev/vuln/GO-2026-4918 Signed-off-by: Hetvi Thakar Signed-off-by: Yoann Congal --- meta/recipes-devtools/go/go-1.22.12.inc | 1 + .../go/go/CVE-2026-33814.patch | 44 +++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 meta/recipes-devtools/go/go/CVE-2026-33814.patch diff --git a/meta/recipes-devtools/go/go-1.22.12.inc b/meta/recipes-devtools/go/go-1.22.12.inc index cec3bbbb4ee..5695e907d96 100644 --- a/meta/recipes-devtools/go/go-1.22.12.inc +++ b/meta/recipes-devtools/go/go-1.22.12.inc @@ -64,6 +64,7 @@ SRC_URI += "\ file://CVE-2026-27145.patch \ file://CVE-2026-39823.patch \ file://CVE-2026-56862.patch \ + file://CVE-2026-33814.patch \ " SRC_URI[main.sha256sum] = "012a7e1f37f362c0918c1dfa3334458ac2da1628c4b9cf4d9ca02db986e17d71" diff --git a/meta/recipes-devtools/go/go/CVE-2026-33814.patch b/meta/recipes-devtools/go/go/CVE-2026-33814.patch new file mode 100644 index 00000000000..8265bf205f6 --- /dev/null +++ b/meta/recipes-devtools/go/go/CVE-2026-33814.patch @@ -0,0 +1,44 @@ +From 825d42a14d8ffbdbdda87a39e78795eb17e4f0f2 Mon Sep 17 00:00:00 2001 +From: Mark Freeman +Date: Fri, 17 Apr 2026 16:28:03 -0400 +Subject: [PATCH] [release-branch.go1.25] all: update x/net to a9171bc8 + +Fixes #78477 + +Change-Id: I0a4c8e25f569fc1bfb8ac39ff728bfe7300b751f +Reviewed-on: https://go-review.googlesource.com/c/go/+/768323 +Reviewed-by: Dmitri Shuralyov +TryBot-Bypass: Dmitri Shuralyov + +CVE: CVE-2026-33814 +Upstream-Status: Backport [https://github.com/golang/go/commit/9024c3f6b150fb1349d8a5dc5e9aa31d7896f67f] + +Backport Changes: +- Omitted src/go.mod, src/go.sum, and src/vendor/modules.txt because + their x/net version updates are not required for this focused backport. +- Omitted removal of the SETTINGS_ENABLE_CONNECT_PROTOCOL-specific + s.Valid call because Go 1.22 does not contain that setting case; validation + is added at the start of the settings callback instead. + +(cherry picked from commit 9024c3f6b150fb1349d8a5dc5e9aa31d7896f67f) +Signed-off-by: Hetvi Thakar +--- + src/net/http/h2_bundle.go | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/src/net/http/h2_bundle.go b/src/net/http/h2_bundle.go +index c1a2e76ea4d..2f5a6d3d5a2 100644 +--- a/src/net/http/h2_bundle.go ++++ b/src/net/http/h2_bundle.go +@@ -9910,6 +9910,9 @@ func (rl *http2clientConnReadLoop) processSettingsNoWrite(f *http2SettingsFrame) + + var seenMaxConcurrentStreams bool + err := f.ForeachSetting(func(s http2Setting) error { ++ if err := s.Valid(); err != nil { ++ return err ++ } + switch s.ID { + case http2SettingMaxFrameSize: + cc.maxFrameSize = s.Val +-- +2.35.6 From patchwork Fri Nov 27 17:49:17 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoann Congal X-Patchwork-Id: 106168 X-Patchwork-Delegate: yoann.congal@smile.fr Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.1473.1795801795230039405 for ; Fri, 27 Nov 2026 09:49:55 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@smile.fr header.s=google2 header.b=jMVtZzh6; spf=pass (domain: smile.fr, ip: 209.85.128.48, mailfrom: yoann.congal@smile.fr) Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-4bb702a7548so76986185e9.1 for ; Fri, 27 Nov 2026 09:49:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile.fr; s=google2; t=1795801793; x=1796406593; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=5FvWGf/mzupmGYNNj5eZgQIDLSFEBW5ry6io0rIA1mw=; b=jMVtZzh6SerVbjjHCJx0mXJL48HV5XmndToU3G1kKWekBzOgRukcYT0FLFh00wIZzx m7mUhYcG/mBwbezytQ0RM8vkfKFTzq5LjC472V77lYIVeqaq1uo5ew7vND6yM9bwWCJj Vtv7OsUN22/Q3kSGBMiFroVTxUQdovMtEhxVUKzoOU/LZtyWdEy9rEmjyO9iKDN6rIHB YFdgtZGkeIj0wrcJYqDiiJ4Rr/MOeqhNWSYimQ5VpCvCvsMtVXdDQ+a9F/ChYzUWo3nH 9rI9LWLlqOGAMpwVxNL6r+CuWgeGXVkI4I9BmPujaJulLXvK1DSnxFyxJKbiT2P318hU CpcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795801793; x=1796406593; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=5FvWGf/mzupmGYNNj5eZgQIDLSFEBW5ry6io0rIA1mw=; b=N/6HHu3t0ZF8SbM0JBw0SL9BP63qfRLj3t2FGNoDzg6LUSXY2rzkAkQnAr9s4uwZBO c9AN7lbeC1Ora06g9P8PpopkWqjF9ZAdDVCot2iWvWQtI3rKB+6F7CF32kNrxHun6eaQ Sot1R7+rnUzWNxWpGgvX7BAImcQpJbcAYQAMFMmUEw4N+DEO4b0JLSgOsuzMMMO4QIPb A1Bl1xvMeqoLdYL5Kk5YuoCBh8KAUupIfnJPtaEVlQmTjJhdC+SjKGNR68zqVSHaM3qe 3cS+HTvpe1A2Lpd50Yd1TxJMWvf3wa277eTEpV7/tNlU36Q8JpthxqOl86FCJGZtzh2O Puog== X-Gm-Message-State: APuU4Z+kVipiWhapEL0cqCxcnUt0LNGF2qL5rMh8YZ/cMd0qxGjkYJNC IVKFD3SG/UKW66GdIhSu0++td2Zu6xrPtUqtRqb+bbQdeN2SmL9TQoAKHJ3CFeDafghEwKyizNR 0vdHizTw= X-Gm-Gg: AZFdTZdtTndrh1WqcoNxDvuyS+ty+xZ02OX0j9eLj14U/oXvRMR3GrWU9MtGIg8G3N7 tvMQml+2A3uLJRADQ7LcASdZ8lGohbRNsEbMH1pcJDd7j2CRbH9EyMDICzfikq5vHmupVm2SDGk 8lfOe0oIPxzCPRSScxcdw/CFxEFwhsyC0Twi3xNHRC1u5uF/PH4m9pps0y13/5iNef4pvuh3tC4 BOvoGP0zNX7jbsJGPo+PA9Uv8ijn3iwbhsmFatcXVuXGoxVsqkjy1kw+xbC1J58wWOOUvJaxxxg mp5SMpiQPPiD6TxEe1yJVu7R/fWc0Fy0FjS/QRfctegCpzW2MZ4WRKZ57Yda87aKzqNj/zoBXGb OyStDTrSO/xRU3j0s6SRGt8+cEu/4UL0pzHUUhQ7L/wUmPzelfoI8CzOthdT5GHvzW4AOdlk/Um eOiB2/2lWj4zmlxpnkzmjVnFzatJlhuBEHHvLczQlzV2flvS1sU7gLQKvCsgjCYNY2kRQ3d5lV6 utudQXM6JdSM6TrCsK1RFc4LKl86wVKfDAhrMbcy471NoDzDYRhdwcON28Jc8RVHzMQHIJGXctd UGOX1dNzRqo/ZIYXjBukmCkZl1ArTfceB2EJVIx2rcIuAdkyRP55F9GzNTVoak+nXfkRbriSBo5 gic+ovjZ336ztfZLgjGZA6ylJawQq X-Received: by 2002:a05:600c:8210:b0:4a1:dbdf:17a8 with SMTP id 5b1f17b1804b1-4bb887e25e8mr504924265e9.2.1795801793475; Fri, 27 Nov 2026 09:49:53 -0800 (PST) Return-Path: Received: from FRSMI25-LASER.home (2a01cb001331aa00a2e4fb7b0d887544.ipv6.abo.wanadoo.fr. [2a01:cb00:1331:aa00:a2e4:fb7b:d88:7544]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab69bf630esm49374624f8f.16.2026.11.27.09.49.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Nov 2026 09:49:53 -0800 (PST) From: Yoann Congal To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 34/37] curl: Fix CVE-2026-7168 Date: Fri, 27 Nov 2026 18:49:17 +0100 Message-ID: <41003ee97ed715e6609c0c4b124e6c4e51cfe6f8.1795798718.git.yoann.congal@smile.fr> X-Mailer: git-send-email 2.55.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 27 Nov 2026 17:49:56 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251440 From: Devansh Patel This patch applies the upstream fix commit as referenced in [1], and the public CVE advisory is referenced in [2]. [1] https://github.com/curl/curl/commit/c1cfdf59acbaf9504c4578d4cf56cdd7c8594507 [2] https://curl.se/docs/CVE-2026-7168.html [3] https://www.cve.org/CVERecord?id=CVE-2026-7168 Signed-off-by: Devansh Patel Signed-off-by: Yoann Congal --- .../curl/curl/CVE-2026-7168.patch | 83 +++++++++++++++++++ meta/recipes-support/curl/curl_8.7.1.bb | 1 + 2 files changed, 84 insertions(+) create mode 100644 meta/recipes-support/curl/curl/CVE-2026-7168.patch diff --git a/meta/recipes-support/curl/curl/CVE-2026-7168.patch b/meta/recipes-support/curl/curl/CVE-2026-7168.patch new file mode 100644 index 00000000000..cc12db030f3 --- /dev/null +++ b/meta/recipes-support/curl/curl/CVE-2026-7168.patch @@ -0,0 +1,83 @@ +From 2b1d18e42252aa09236666f0469b48a0e1f95080 Mon Sep 17 00:00:00 2001 +From: Daniel Stenberg +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 +--- + lib/setopt.c | 18 ++++++++++++++++-- + lib/vauth/vauth.h | 2 ++ + 2 files changed, 18 insertions(+), 2 deletions(-) + +diff --git a/lib/setopt.c b/lib/setopt.c +index 8a5a5d7..7eaf309 100644 +--- a/lib/setopt.c ++++ b/lib/setopt.c +@@ -51,6 +51,7 @@ + #include "altsvc.h" + #include "hsts.h" + #include "tftp.h" ++#include "vauth/vauth.h" + #include "strdup.h" + /* The last 3 #include files should be in this order */ + #include "curl_printf.h" +@@ -76,6 +77,20 @@ CURLcode Curl_setstropt(char **charp, const char *s) + return CURLE_OK; + } + ++#ifndef CURL_DISABLE_PROXY ++static CURLcode setproxy(struct Curl_easy *data, const char *proxy) ++{ ++ if((data->set.str[STRING_PROXY] && proxy) && ++ /* there was one set, is this a new one? */ ++ !strcmp(data->set.str[STRING_PROXY], proxy)) ++ return CURLE_OK; /* same one as before */ ++ ++ Curl_auth_digest_cleanup(&data->state.proxydigest); ++ memset(&data->state.authproxy, 0, sizeof(data->state.authproxy)); ++ return Curl_setstropt(&data->set.str[STRING_PROXY], proxy); ++} ++#endif ++ + CURLcode Curl_setblobopt(struct curl_blob **blobp, + const struct curl_blob *blob) + { +@@ -1139,8 +1154,7 @@ CURLcode Curl_vsetopt(struct Curl_easy *data, CURLoption option, va_list param) + * Setting it to NULL, means no proxy but allows the environment variables + * to decide for us (if CURLOPT_SOCKS_PROXY setting it to NULL). + */ +- result = Curl_setstropt(&data->set.str[STRING_PROXY], +- va_arg(param, char *)); ++ result = setproxy(data, va_arg(param, char *)); + break; + + case CURLOPT_PRE_PROXY: +diff --git a/lib/vauth/vauth.h b/lib/vauth/vauth.h +index 9da0540..bf5c7a3 100644 +--- a/lib/vauth/vauth.h ++++ b/lib/vauth/vauth.h +@@ -119,6 +119,8 @@ CURLcode Curl_auth_create_digest_http_message(struct Curl_easy *data, + + /* This is used to clean up the digest specific data */ + void Curl_auth_digest_cleanup(struct digestdata *digest); ++#else ++#define Curl_auth_digest_cleanup(x) + #endif /* !CURL_DISABLE_DIGEST_AUTH */ + + #ifdef USE_GSASL diff --git a/meta/recipes-support/curl/curl_8.7.1.bb b/meta/recipes-support/curl/curl_8.7.1.bb index 076c8756f5e..4f6ffbbed50 100644 --- a/meta/recipes-support/curl/curl_8.7.1.bb +++ b/meta/recipes-support/curl/curl_8.7.1.bb @@ -49,6 +49,7 @@ SRC_URI = "https://curl.se/download/${BP}.tar.xz \ file://CVE-2026-92388-1.patch \ file://CVE-2026-92388-2.patch \ file://CVE-2026-87864.patch \ + file://CVE-2026-7168.patch \ " SRC_URI:append:class-nativesdk = " \ From patchwork Fri Nov 27 17:49:18 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoann Congal X-Patchwork-Id: 106167 X-Patchwork-Delegate: yoann.congal@smile.fr Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1548.1795801795678443104 for ; Fri, 27 Nov 2026 09:49:56 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@smile.fr header.s=google2 header.b=HtNUIvmF; spf=pass (domain: smile.fr, ip: 209.85.128.46, mailfrom: yoann.congal@smile.fr) Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-4a2153c8525so68183575e9.3 for ; Fri, 27 Nov 2026 09:49:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile.fr; s=google2; t=1795801794; x=1796406594; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=kaYjf8GRatX2PPzjAgzJjxpRLLK7OVCyGgqwZfRhwIo=; b=HtNUIvmFMwLrHJSE9rSu4AQFq+nlS2aVU0NhRdVV9d1qxFrh/0ovTqkzePjL9m8/IA N0KR8husBagj89/BXyOH1oeCmFrN8cISrCjW7+1WaJUMiaHvDaYTcjlfnie9LBOe3eMj wJ8nsvajAVf7Www82b/RrPwzddukg9p/WdFrcQdHxTvPQDKFeUJw5tAuzQOhyEBlKWAZ tLAj5x3xJ4Q7oI90pTA5SUaPpLLujC4uTX/4bsZG/wstyJJyz4AdMAF31keHjl6TCF/5 LwOPeSJX9jQ8SeZz+/s+qazGaOVs68dP2HVuoW/NXJC2VduI8wC4pMh+nkLoHVpDclLs I0hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795801794; x=1796406594; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=kaYjf8GRatX2PPzjAgzJjxpRLLK7OVCyGgqwZfRhwIo=; b=GtJW4maQjP00PDD60z3rSA0fXOlYTjO52SbGmf+XhafOkpHReWtf4cCEmwWuBUs2Wx LuVDzFTYBrAludGFkpHPJaxUlI/ih+LiDY2TMcyx9s8mvdAJZZ9xK3MhDzeICHE+mynZ FiqC+g/zvH3xoHd1GXT7MCO3tVkxCXmhS+Z2WpJT8hylhyhgyaN74KeVAkF+zQVX1+7F s9FeitR5KFARzN4ui90WV500x6cltK/wSN093QdsDfTnwkAKiHNzFd2aMwUPZlho+e22 2hC6dVtyB0vsu9wR2XJfzmnwjiksA4nsJP7fm347mRlpfcJzyJsZofnoqYqsAP5qAvzR QP9w== X-Gm-Message-State: APuU4Z+Vov2BAJfkdh27YMJF0omUD9S1fCeqU8i0G7ywmf85O5cQTsM6 r9Me0eZdAahbtCqkdmSTWGtNoeac56kD/HVKy4oAQyZrgWcyeLaxEJ+mn3HMnCstEbuxdAJJe8H D02yyl0Q= X-Gm-Gg: AZFdTZdGKxtsMzu8I2DBkpc862tGJEqZQZTDYDRP7UWjsrSjIaGjNL1u0sVofJW6FyL c3kG190w4+h54rfh4rgqALmnqrw+tXhcsLYvKEA5JrDg/SYpqXG5g4bk0djkMSjfpZVaMt8OCby oyY4mzSdwW/0uCOGCoJMlvyBFCPqz5RANFoFFwfJxVCVeJdZf1dKkxNcjUdG3qBWLI35nmVxKY0 4jc2D6hF77cW5PkvAorOsQ95piEgmOjp+Y14xA1nmLG38KJ4lLvJGYLkjE+RjRLJyMJRLeyP2Wp hKpEVIvnYDJ9kCSlkmwruQf+IzK86ITN/zPtAzDK9Ia55kUErCb1Y49aVf93P370xrqy5CIkT4J WizHgREgr02Z7MU5pQHl2Y/a59hkF3XC99u31rCkRIfiNCd6a4AZh2Q30wgisvI2Gf8BifsoXXg 08I3/nEdD3O+5IpgUjgYZer5woo9FSWLiLpD/J2DkVIfDpxmoQBC5LA0znLjIEoAVpp3W4lWosL 73kzqu0Oc3+hgygMfZkF3EKxTertLgoNo8yXEfFTz9Dsw/Yd+Wmr1LnnM9ktHWO8b35VJX8cLAe rLF5pqWxftoo19CBRvt5c8WzLH4YVSM2LaROIvxVKuVanMYw/zVamKQ1AD+9evxhTmFJn+icu0o NJ/x1b9SWWdyEMPqOT+7SfjTtrBjJ X-Received: by 2002:a05:600c:5251:b0:4a1:f8cb:7d70 with SMTP id 5b1f17b1804b1-4bb8881e837mr485535035e9.24.1795801793924; Fri, 27 Nov 2026 09:49:53 -0800 (PST) Return-Path: Received: from FRSMI25-LASER.home (2a01cb001331aa00a2e4fb7b0d887544.ipv6.abo.wanadoo.fr. [2a01:cb00:1331:aa00:a2e4:fb7b:d88:7544]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab69bf630esm49374624f8f.16.2026.11.27.09.49.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Nov 2026 09:49:53 -0800 (PST) From: Yoann Congal To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 35/37] rust-llvm: build and install the LLVM shared library Date: Fri, 27 Nov 2026 18:49:18 +0100 Message-ID: <1d4332e084848a236fa6051df1fe6b28a7c395ef.1795798718.git.yoann.congal@smile.fr> X-Mailer: git-send-email 2.55.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 27 Nov 2026 17:49:56 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251441 From: Sunil Dora For the rustc segfault in [YOCTO #16058] rust has to link LLVM dynamically. On master libLLVM.so comes from the llvm recipe, rust-llvm was dropped there [1]. scarthgap still builds LLVM for rust from this recipe and it builds only static libs. So add the shared lib here. Need both LLVM_BUILD_LLVM_DYLIB and LLVM_LINK_LLVM_DYLIB. With only the first one "llvm-config --link-shared --libs" gives the per component libs (which don't exist) instead of -lLLVM-17. llvm-config and llvm-tblgen stay static, so the native llvm-config rust uses keeps working. master had the same two options for rust-llvm [2] when it still had the recipe. LLVM installs the lib as ${libdir}/llvm-rust/lib/libLLVM-17.so. Nothing looks there at runtime, it is not a default loader path and the RUNPATH of the rust binaries does not point there. So move it to ${libdir} and keep a symlink behind, the -L path from llvm-config still works at link time. Package it as ${PN}-libllvm. Otherwise the .so goes to ${PN}-dev by the default rules and rust would rdepend on a -dev package. Static libs are still installed, rust without llvm-shared is not affected. [1] https://git.openembedded.org/openembedded-core/commit/?id=c116828a876853cd5b53f7bd4607f0037fef4ee4 [2] https://git.openembedded.org/openembedded-core/commit/?id=2b6a6d4199e4eed65f20351d077a04a7cf9da460 [YOCTO #16058] Signed-off-by: Sunil Dora Signed-off-by: Yoann Congal --- meta/recipes-devtools/rust/rust-llvm_1.75.0.bb | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/meta/recipes-devtools/rust/rust-llvm_1.75.0.bb b/meta/recipes-devtools/rust/rust-llvm_1.75.0.bb index cba41c739e9..76335dc0559 100644 --- a/meta/recipes-devtools/rust/rust-llvm_1.75.0.bb +++ b/meta/recipes-devtools/rust/rust-llvm_1.75.0.bb @@ -47,6 +47,8 @@ EXTRA_OECMAKE = " \ -DLLVM_ENABLE_LIBXML2=OFF \ -DLLVM_ENABLE_FFI=OFF \ -DLLVM_INSTALL_UTILS=ON \ + -DLLVM_BUILD_LLVM_DYLIB=ON \ + -DLLVM_LINK_LLVM_DYLIB=ON \ -DLLVM_BUILD_EXAMPLES=OFF \ -DLLVM_INCLUDE_EXAMPLES=OFF \ -DLLVM_BUILD_TESTS=OFF \ @@ -84,15 +86,26 @@ export YOCTO_ALTERNATE_EXE_PATH = "${STAGING_LIBDIR}/llvm-rust/bin/llvm-config" do_install:append () { # we don't need any of this stuff to build Rust rm -rf "${D}/usr/lib/cmake" + + # rustc links to libLLVM (llvm-shared in rust). Nothing searches + # llvm-rust/lib at runtime, so move the library to ${libdir} and keep + # a symlink for the -L path given by llvm-config. + for lib in ${D}${libdir}/llvm-rust/lib*/libLLVM-*.so; do + [ -f "$lib" ] && [ ! -L "$lib" ] || continue + mv "$lib" ${D}${libdir}/ + ln -s ../../$(basename "$lib") "$lib" + done } -PACKAGES =+ "${PN}-bugpointpasses ${PN}-llvmhello ${PN}-liblto" +PACKAGES =+ "${PN}-bugpointpasses ${PN}-llvmhello ${PN}-liblto ${PN}-libllvm" # Add the extra locations to avoid the complaints about unpackaged files FILES:${PN}-bugpointpasses = "${libdir}/llvm-rust/lib/BugpointPasses.so" FILES:${PN}-llvmhello = "${libdir}/llvm-rust/lib/LLVMHello.so" FILES:${PN}-liblto = "${libdir}/llvm-rust/lib/libLTO.so.*" +FILES:${PN}-libllvm = "${libdir}/libLLVM-*.so" FILES:${PN}-staticdev =+ "${libdir}/llvm-rust/*/*.a" +RDEPENDS:${PN}-dev += "${PN}-libllvm" FILES:${PN} += "${libdir}/libLLVM*.so.* ${libdir}/llvm-rust/lib/*.so.* ${libdir}/llvm-rust/bin" FILES:${PN}-dev += "${datadir}/llvm ${libdir}/llvm-rust/lib/*.so ${libdir}/llvm-rust/include ${libdir}/llvm-rust/share ${libdir}/llvm-rust/lib/cmake" From patchwork Fri Nov 27 17:49:19 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoann Congal X-Patchwork-Id: 106169 X-Patchwork-Delegate: yoann.congal@smile.fr Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.1475.1795801796225621800 for ; Fri, 27 Nov 2026 09:49:56 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@smile.fr header.s=google2 header.b=ZMzI9Yu/; spf=pass (domain: smile.fr, ip: 209.85.221.41, mailfrom: yoann.congal@smile.fr) Received: by mail-wr1-f41.google.com with SMTP id ffacd0b85a97d-48dee593f18so7863545f8f.3 for ; Fri, 27 Nov 2026 09:49:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile.fr; s=google2; t=1795801794; x=1796406594; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=i9wn4CxAs9qBODWHL6pWrgczxc73Uwv5UdUpLtOU9Po=; b=ZMzI9Yu/CqTO136zF7h8hBJHDsTwywDfyusRJGibgFiyaR8YLfD2Y4oiafHPRhjKbK eWR7/4Rb/AKRlED98OXQWK0Nl8rXdE26BQIt+WRX1PvdZGq+LAmDqqUhUqr4dI2a8vlD 8/WY5/czp4FLYitfngQy87gueeW0yHcwqcH++gu/IOonVw/XfPnQwvx/Jh9VbhScpSDi LEkdteWJGmPjUxFukqOQtryJHeknTArzXfzHj/37EDqKd5ziZ4bryoBP+uzVp5SZeuEP JzaIOrhnE/6OcMogdzTV5/dmp6ruLmZuTDa2PfECKgdKiu2a/tg2PBlq6NGI5FUNvt4m CbqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795801794; x=1796406594; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=i9wn4CxAs9qBODWHL6pWrgczxc73Uwv5UdUpLtOU9Po=; b=YIMvXqHQxQ0jwqD3O6xmSfpSROzKMuuMhEC7/9+oJ47b9BvgD6a1h2MKQbKUcWj9y/ Vs57W/h0ApoDPIIOrWMWU4c3BcO1OBZboemR+PkDAZykZFqM7GolmVQlqUPQzsKUs7KT lUvskfYLFrSW8QONWpUY97eMFWBTqOT2KU8OSboF2D8HASpVW+4TgV6jZn2lV0N4an4u xGgItrZWxqDpOXYk28pwtpd4d+2yP1dKDD0e66D/rV1DEn8kD0lXM6UrVtvthorUeOQG RRsp9N1CLYBAM1ZXCi28Oa8Nig4CuNc6aPICuGvxB8kI7YYz4KbNfca1z8UNj7q2Mm8Z cLIw== X-Gm-Message-State: APuU4Z+9aQmPMGv56t0f2aazdKk1Y3uXnSKNwUP8rwf/wJsQ/q52iANG hG4jAGkb3u6ihglFAS9/JIwzJSf3GFU0G2HdOKUhBTYx8wmXLd5d3cosiSHZRzC5kabdiiJtUzB kTM71aZc= X-Gm-Gg: AZFdTZcFFLmHLJYHfS90RrYVp3FTIKhMMa992ih6PIPqW/gbbQZD4xrQfcQVCtIw/ce VNkf/FL84i2bbcDe0LXUvgIaXcUqbT/J+OAYMIVbiEE7KkYhQdoKSn0hQAlSHW3eFxO/MZUV6Fz ngyFxLeQ/FMnL5zNXkXsgbFlPg1VJJnYMXHIrMyvaKZHlcbv+fxyCrGVEYofsF3X6N8WTiWmXnn 6Ks3e+tGs0K4ndUn1dedr+Llh2A9I8iIhAoW6rrCnUIAw81caOuGpLYIoCn9mybwyl1lsKjkESi qvs626uhSDw3+Sd6llWtbfj150rF4IboivU/yppY3eTh5EAmKgKdhOOCDGuWlng7juXwuULF1QT ml79ZLg1BgJBo6CGPmVIaP9IUvEwawktCTLZUqA7EEX26vvHSlMAt0LbJYHKTgMSGuoPF1Rvdmu LM1TfFntSAKgn6cEh/l77XQTlm1Ae7cTEmicIVzS/jyEA9KOOHgYUejdC3qYXfd3VmkA1lk+Lxz +vCbzulPzAtG13/3tt8EcaJy9PvA6mnf6DAaG+R4euixc5tgTgk2E+P2dKY/XUAhBiw6VvGFEQ6 U6OCm3RBQfRtni8ZkPHGmUqW74rLkCepo7GF01d7OFTQ5ag/nUC/qskqV84V+t2izDMX5ML+d0V jxWiPoIRhtTwyUA2TBKGrcrtHQA62 X-Received: by 2002:a05:6000:4607:b0:48e:69ff:ba36 with SMTP id ffacd0b85a97d-4abb2fc3fcbmr46223792f8f.28.1795801794370; Fri, 27 Nov 2026 09:49:54 -0800 (PST) Return-Path: Received: from FRSMI25-LASER.home (2a01cb001331aa00a2e4fb7b0d887544.ipv6.abo.wanadoo.fr. [2a01:cb00:1331:aa00:a2e4:fb7b:d88:7544]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab69bf630esm49374624f8f.16.2026.11.27.09.49.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Nov 2026 09:49:54 -0800 (PST) From: Yoann Congal To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 36/37] rust-llvm: Disable libedit Date: Fri, 27 Nov 2026 18:49:19 +0100 Message-ID: <6050aee0c9182ad71667872c93d01ebccc3b27da.1795798718.git.yoann.congal@smile.fr> X-Mailer: git-send-email 2.55.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 27 Nov 2026 17:50:06 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251442 From: Richard Purdie This option currently floats and is leading to non-deterministic builds. It is used for commandline option tab completion which we don't need in our builds in general, let alone internally within rust's llvm. This should fix autobuilder deterministic build issues. Signed-off-by: Richard Purdie (cherry picked from commit c31859be39c68f215576ba73b8a3d66c8ea590d3) Signed-off-by: Yoann Congal --- meta/recipes-devtools/rust/rust-llvm_1.75.0.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools/rust/rust-llvm_1.75.0.bb b/meta/recipes-devtools/rust/rust-llvm_1.75.0.bb index 76335dc0559..724ad39d714 100644 --- a/meta/recipes-devtools/rust/rust-llvm_1.75.0.bb +++ b/meta/recipes-devtools/rust/rust-llvm_1.75.0.bb @@ -46,6 +46,7 @@ EXTRA_OECMAKE = " \ -DLLVM_ENABLE_ZSTD=OFF \ -DLLVM_ENABLE_LIBXML2=OFF \ -DLLVM_ENABLE_FFI=OFF \ + -DLLVM_ENABLE_LIBEDIT=OFF \ -DLLVM_INSTALL_UTILS=ON \ -DLLVM_BUILD_LLVM_DYLIB=ON \ -DLLVM_LINK_LLVM_DYLIB=ON \ From patchwork Fri Nov 27 17:49:20 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoann Congal X-Patchwork-Id: 106170 X-Patchwork-Delegate: yoann.congal@smile.fr Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1551.1795801796951232095 for ; Fri, 27 Nov 2026 09:49:57 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@smile.fr header.s=google2 header.b=AoreOG62; spf=pass (domain: smile.fr, ip: 209.85.128.47, mailfrom: yoann.congal@smile.fr) Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-4bb64ef5a14so81842875e9.1 for ; Fri, 27 Nov 2026 09:49:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile.fr; s=google2; t=1795801795; x=1796406595; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=0jEMJWIFzk//wt4/s7u1H0mJ+xn8zBL2gb6AosflASg=; b=AoreOG629F6atg8dZZINawuZuGzusaPlEyeZpdjW7PCUi1RIos8rJ+6L6I9Ua5yC0I wsTqt18XwZ3LrIENMs4uddHBJlHoVo4jWZFFP3NiiDGQTSEiL79kLE1R98BwbnXUuaDt 0tnz8M+lz0hLjD4k1z1XgeB0LpSm6+eWc74BtqpAzMa78bAeFbkm7hu0Mii6BqcYoHoO LsGvRisIwHb943X7ANP/+XbKG1LGJmsOPMwyq31H95veGWJXl8/ktHKqh7Ff8fPdYMMd 1mZWRgqB/Un1aS8HL+7sSA702DTlAUcbq5vXxzpfLbS6hm3mntNAD88MQZZAzO3vKl4z hrCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795801795; x=1796406595; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=0jEMJWIFzk//wt4/s7u1H0mJ+xn8zBL2gb6AosflASg=; b=WrhaV8ZHeHugX49whPr8mxMGsYVmGnFMO7ExlJD1Iu89NRjiQXzrJdjP18R4lSfSNW +JBwa+zc+SxYlZLoT+HwL85pxcW4RS7M09ftcUBqU60PO56bD7ySSnNHWTOzD21Ih4SZ lpnssHxP30KLf8T/h36i9I64SmNG25hzKApuQ63HNDVDm3/jLelMMwAT/vUm4/X2kocg Ykwcc1nU+g5d3s15Bvdbs4uRg2Dsq+0XMX/o17d5ZgI0jcMvWRMHNlPXYGXkM+feW2Ik M8q4lbdJuySbK+Xc+o1p42ClMRUDkAV17DjxAF/ejYYWxjL0K15OQHCMjg+GpEld7GkV IyfA== X-Gm-Message-State: APuU4Z/hB9sl9bO5Hs3OXlm82yODSWPTALMZ+39Be0IYC8dqZX+NugHa GQSWYh1KdbgzFfxAMvzWgT7xd+OHBKqmr3HzEpiynR+7A3hgt52xY73g85j52MEJfzyCRvY/pBH lnP/lTY4= X-Gm-Gg: AZFdTZfdx3F0SC4RWzOniDPUUO57EXFnb8LVV5JdZswN2PDPr9lazjozp8m7NYRk29J /sdhzXHwunrkxuLkm7vPoWNUMqmIdnq20nt+xIWWhN2IQC/s2xK7EjQHM7+0VSxP/4YVfLtAONn 50lGePEHzVn9/bPAmm5SJWlUGPboEL7+vqWCNm5hgKpAEjQsl6Xqz6njNN219uEdjek2YwjeaYe xr+0NzltDS9HhlO8A62UlXrqoMKF4kw8sF35pe+ivQD+kh0Bk0Q111rIO6DjVK7gHRVAn83XuF6 RD0jAutjZ7TPWrg1JxPEdWe2p0n39QGpss/d6MCj5zKsfni73p2dYBkrmv86rW5bx3FTBcRQ+Rb SeiWP0uWZ0YcEy2tqW3uulNuEGigFiZrpHBFqZmdypsVAO5qKHb8qPvhq3X95njDimLLCbkl37Q 8YWwbRnRPQz8606Yy+PrWa76XzKmCpoqKlaDuCX0kAaScxq+0DW4vDsCR9dfeMr1bxRjZvfP5jp v7DQ5ujJxSKGC13F6eP+SxLjvV8ByjtIVoC/ZWuHEO6Fzc6hBlaMo6Dpcjd49G9qH6BV5jacuge d10tlTo3OrR451lN6+6Ho7jlySY4DzB/7nEWKhdinOgG00qv26wlgoFRtAbdO5JVgYkb4kBXO6R WAfHrnZwBYve+cZqLkJU+E9hzZyBF X-Received: by 2002:a05:600c:3ac9:b0:4a2:a3b:7aa8 with SMTP id 5b1f17b1804b1-4bb887e068emr533349275e9.3.1795801795027; Fri, 27 Nov 2026 09:49:55 -0800 (PST) Return-Path: Received: from FRSMI25-LASER.home (2a01cb001331aa00a2e4fb7b0d887544.ipv6.abo.wanadoo.fr. [2a01:cb00:1331:aa00:a2e4:fb7b:d88:7544]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab69bf630esm49374624f8f.16.2026.11.27.09.49.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Nov 2026 09:49:54 -0800 (PST) From: Yoann Congal To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 37/37] rust: enable dynamic LLVM linking by default Date: Fri, 27 Nov 2026 18:49:20 +0100 Message-ID: <3948efd5497c7ad5dcb71aedc47cae6dfb72d65b.1795798718.git.yoann.congal@smile.fr> X-Mailer: git-send-email 2.55.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 27 Nov 2026 17:50:06 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251443 From: Sunil Dora Backport of master "rust: enable dynamic LLVM linking by default" [1]. On master rust links against the llvm recipe, here against rust-llvm which provides libLLVM-17.so now. rustc segfaults (e.g. in llvm::X86ReadAdvanceTable) when rust-llvm-native comes from sstate built on a host with binutils >= 2.45 and rust-native is linked on a host with an older ld. This is binutils PR ld/32991 [2]: newer gas emits R_X86_64_GOTPCRELX for "push foo@GOTPCREL(%rip)" and an ld without the fix rewrites the push into a call, so the statically linked LLVM code in librustc_driver jumps into data at runtime. scarthgap links the static rust-llvm libs the same way master did before the fix. With dynamic linking the host ld only sees the exported symbols of libLLVM and does not relink any LLVM code. Add llvm-shared PACKAGECONFIG, default on for native, nativesdk and target like master. Native only is not enough, target rust bootstraps its own rustc with the target settings and crashes the same way. Remove llvm-shared to get the static build back. Selftest image installs rust-llvm-libllvm now, the test binaries need it (master installs llvm there). [1] https://git.openembedded.org/openembedded-core/commit/?id=d0671c3dad87a063b3a41dd07cde89b5684e692c [2] https://sourceware.org/bugzilla/show_bug.cgi?id=32991 [YOCTO #16058] Signed-off-by: Sunil Dora Signed-off-by: Yoann Congal --- meta/lib/oeqa/selftest/cases/rust.py | 2 +- meta/recipes-devtools/rust/rust_1.75.0.bb | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/meta/lib/oeqa/selftest/cases/rust.py b/meta/lib/oeqa/selftest/cases/rust.py index 26f132edc4d..b2ad7c099f2 100644 --- a/meta/lib/oeqa/selftest/cases/rust.py +++ b/meta/lib/oeqa/selftest/cases/rust.py @@ -51,7 +51,7 @@ class RustSelfTestSystemEmulated(OESelftestTestCase, OEPTestResultTestCase): bitbake("{} -c test_compile".format(recipe)) builddir = get_bb_var("RUSTSRC", "rust") # build core-image-minimal with required packages - default_installed_packages = ["libgcc", "libstdc++", "libatomic", "libgomp"] + default_installed_packages = ["libgcc", "libstdc++", "libatomic", "libgomp", "rust-llvm-libllvm"] features = [] features.append('IMAGE_FEATURES += "ssh-server-dropbear"') features.append('CORE_IMAGE_EXTRA_INSTALL += "{0}"'.format(" ".join(default_installed_packages))) diff --git a/meta/recipes-devtools/rust/rust_1.75.0.bb b/meta/recipes-devtools/rust/rust_1.75.0.bb index b9348bf0507..b2fac124288 100644 --- a/meta/recipes-devtools/rust/rust_1.75.0.bb +++ b/meta/recipes-devtools/rust/rust_1.75.0.bb @@ -20,6 +20,9 @@ DEPENDS += "rust-llvm (=${PV})" RDEPENDS:${PN}:append:class-target = " gcc g++ binutils" +PACKAGECONFIG ??= "llvm-shared" +PACKAGECONFIG[llvm-shared] = ",,," + # Otherwise we'll depend on what we provide INHIBIT_DEFAULT_RUST_DEPS:class-native = "1" # We don't need to depend on gcc-native because yocto assumes it exists @@ -128,6 +131,7 @@ python do_configure() { # [llvm] config.add_section("llvm") + config.set("llvm", "link-shared", e(bb.utils.contains('PACKAGECONFIG', 'llvm-shared', True, False, d))) config.set("llvm", "static-libstdcpp", e(False)) if "llvm" in (d.getVar('TC_CXX_RUNTIME') or ""): config.set("llvm", "use-libcxx", e(True))