From patchwork Thu Nov 19 18:32:29 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104936 Received: from mail-pg1-f170.google.com (mail-pg1-f170.google.com [209.85.215.170]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.1837.1795113356471784707 for ; Thu, 19 Nov 2026 10:35:56 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=t92q/rKZ; spf=pass (domain: gmail.com, ip: 209.85.215.170, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pg1-f170.google.com with SMTP id 41be03b00d2f7-ccca948203aso79819a12.3 for ; Thu, 19 Nov 2026 10:35:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113356; x=1795718156; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=rX75x3E/94wsjzNw03DgrDT8fgoyL7ETTM5aYteOYp4=; b=t92q/rKZT1e/EPx3Dujge0EsOXJG9QobGURFpJ7yv8g5WjSgIV0wGJ5QeuiKsh8Y9f VkP4SWJ54ujvhQSz4BGKXsg2SE8mkON9fl8oXkvgOfO8SoJXMCmswAW8A8kYLBAzw39e 6cqDii2iG9jFvmSDg+A8iWg9EPveb7a/imYXz4DNBuKMySvJEKv9BjJs78gjarZupkOG EyR7bILSY/KrZD+Jq8njuqxO06pHnMAdSIrkMFTXBEXO2fNexmw8zfbtfsqwESEfX6hY /zTaIi+iICDk7GvMD2GjTIxL1Sn2yyFFo05rOiyhPw6C7Qld5kvN3YlkJ5GRd8JYoyAu 6W2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113356; x=1795718156; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=rX75x3E/94wsjzNw03DgrDT8fgoyL7ETTM5aYteOYp4=; b=ASBzERFti81iKznfafLO7msSBA6VD4daKzHN4m8XhQys519NoO5vMt0ZB8mF/EqBB4 VgFOPRtX2iyu5ZzVy1aJBL4dYZFr8TOTBdB+43vZLU6dhyBFxckOQCXa8rTseV+KWYGq EGjw6uM7smHIr2hWPRnmz80oNlnM5knOk2osu75uaFz1eSaumDhxGqb8OuZTxOjKNlB+ v7MctD1tPUPSf5RFgHRa93vmaEmcAFjW+yf7/Hyktjf2RMCdA4iOdwfFs6mSlLoZSEjV x1HFuUGXCJKK6LlNvfBa57ZpPiW92FRu+b5r1dAsMjsNOHrwRDUlhjUOhzbA6h3lKjeT oI3g== X-Gm-Message-State: APuU4Z8FJtwVhkI5xCtAiUQvDiamKo1ITpUdnjJc70vWvO26Y4i8sBKP lnjA9xwCEQGExwu6AT8lZK/1B55Wo8vPAkN9GDJPdpWz9WfVCh9a5mkp010HlA== X-Gm-Gg: AYBFou05X1EfypHo2PAyr/QLfrCWChE4DUUtmbn2tNq12w+DNV2h5qvdtEN0s241pgr 8cZEDX5YC9d7yp7aDxgEeWtHkWhp76nTecIMdoFyhAqC2q+rYMciXK3m0KdgylNjXyhyjkHTA10 BS3LvLxmC/ZcpjeNwZ7AaMEvRB5TWu4+og2mDMwbfRGqrqTWrLqGJYhNELOCKJxaEONlTncmpgL wj/BXHJsRn9MEjXJWDSJzlDg2t+sZtJTLjkBocDwJcES/joD/ePIQueXX4fe0xhc95lcXNXZioE XIQqwYMWjbAMUsHSZFpYET+RsExlfvsosghAABnOUSKy3dQpG8s7CPnBknIDaxlHeZsXOK23sOV 7tSz09v58F6/lw2i5wxTGt+NejvOo6XwJmNJELmwjq1DJY4RILJye9my5Ne2BwAL3Sj9lNx5ODD aRjlQoOwLtV7Vt172JMAZBD9NDTEJFzrEJnI04B2BREaJrjpuubMBoOPCQeL4czr6o+pgf8jBWl 4hvZIrbhOd2DuHKDaowQ8ZSdp8yZ76e6G+cygqCv1poO8cU2JbcymU765vdXdlsPOZSCeikt2QD tHFTbO1bYTflq9z/ViqDeVbHfG2t1RO3Um58Ao0C26jJj1mI7gWM/Y4wSY8ZTg== X-Received: by 2002:a05:6a20:914d:b0:3e1:9071:acdd with SMTP id adf61e73a8af0-4014ce591e6mr478822637.35.1795113355588; Thu, 19 Nov 2026 10:35:55 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.35.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:35:55 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Nate Kent Subject: [blacksail][PATCH 01/64] nng: correct upstream branch name Date: Fri, 20 Nov 2026 07:32:29 +1300 Message-ID: <7b269642cb83e14c5cdaf8c997d623b5bc7ae026.1795112941.git.ankur.tyagi85@gmail.com> X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:36:04 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132691 From: Nate Kent Upstream changed the branch names between the v1.12.3 release and the v2.0.0 release, which means the old branch is no longer valid and fetches using it will fail. Signed-off-by: Nate Kent --- meta-networking/recipes-connectivity/nanomsg/nng_1.12.3.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-networking/recipes-connectivity/nanomsg/nng_1.12.3.bb b/meta-networking/recipes-connectivity/nanomsg/nng_1.12.3.bb index 7f8a3986f2..f10cf51c57 100644 --- a/meta-networking/recipes-connectivity/nanomsg/nng_1.12.3.bb +++ b/meta-networking/recipes-connectivity/nanomsg/nng_1.12.3.bb @@ -5,7 +5,7 @@ SECTION = "libs/networking" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a41e579bb4326c21c774f8e51e41d8a3" -SRC_URI = "git://github.com/nanomsg/nng.git;branch=stable;protocol=https \ +SRC_URI = "git://github.com/nanomsg/nng.git;branch=nng1;protocol=https \ file://run-ptest \ " From patchwork Thu Nov 19 18:32:30 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104935 Received: from mail-pf1-f175.google.com (mail-pf1-f175.google.com [209.85.210.175]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1880.1795113359637025299 for ; Thu, 19 Nov 2026 10:35:59 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=v0GldX2K; spf=pass (domain: gmail.com, ip: 209.85.210.175, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f175.google.com with SMTP id d2e1a72fcca58-8b5a6f2f27fso62254b3a.3 for ; Thu, 19 Nov 2026 10:35:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113359; x=1795718159; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=b4SFnwTRw6uA7FQmbP6lwA1aHLn0+xVB2zPdrrrMWHw=; b=v0GldX2KLHs1UXsViNGhHHTZiED1EfpHYgko3bBhUE4o0Ac4aTd+wtZjreLalO+axC 7MDbDzxg+cy5ZxMTRI9u4W/aRjDqIaUJBUKLorNj+0dl9aH2hI1QmpcUCyhQxf77f9TQ 0n+3NUi9csb+f4m3uPuaLg0AamFGzwZvuE6/1H5FRnRLg4FvkwzSVppY9R9kpjb6ohMK hafkTUXpJKMtwR9GQrrdRcvyK79WiHfgKnJEiBhrrJndwBIA6pQBp+CoWTveSUSJPIx/ pocQGWwjiN3Wt1eOXfs8a7XGR3tUREPbUlIrwQtMOERGnWPmo96Ekg7eQpvPY6AiZlXe kLpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113359; x=1795718159; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=b4SFnwTRw6uA7FQmbP6lwA1aHLn0+xVB2zPdrrrMWHw=; b=xNm1D6nSGPkzK6Qm84Q1ZRsVQVjdfKAcTNhDQrXRegnVdA3wd6R0cAzNDk6HzIM7tt npmGCrGvna629ykkApjUK6UUjlV7ujSl20Cf+VDES1sPetAn4ohzLv3AmQX7ebyR5v0/ 6im/rwZ0olWubzuJf8ot9ovSGS0dKUxz2+XL0tpZvs/9ysPd0RicVR5caPAsFE0B/6qw b25T9nOHC2e6BZafLwYZn5ykfzvEGWHQhUmXd3DH8b7yZOty3ov3ZWeUe+MnSDTq8LwD LqrXXxTL9X30PyQ8FSsquvn/gLA8R3RfL7gqqyilFFpjmqGc7y5LL8exNlwtI8yyaISb +hjw== X-Gm-Message-State: APuU4Z+8J8jClVwQ6/m8tLrjupdjmAzEVqEN7vWeyy483fPJ+wCgOB7K Yiuj6iitOdxJQ5+oAag7G5JQgVidcsVay0yeqWsATaCeIgDWsOzHUaWb4OHEvw== X-Gm-Gg: AYBFou1bOCa6d+R2yOhQkLt+kMK4AdRSEda3Zagejr9ZyqCs5IrD3Q6ioHD96MRnFN+ 9PMGLYUo5QAiQ/BDeYVPi3zXmmg9fCsiA9fpCVMm94irUj0y0NFqyOF5MImyjSo3K8KCJ/6+VYW RtURZCSmP76Iy+QeqeAvLzXcTsg/feyVYEjNp0hGgRMBvYvT03KjRXyNK6IAlkEW+lWoEviqx+p P0gr5C5K1ZmxH9jVDr8HeDy04JsPW3uCk9/uY5rzAWZYv+L4zQWlIH1lUab0uRvDtoovz9U7v8D hG8iZcQh8QTs9dqcuz5OdIKqQ5GS5AB8M8mBq8CVGU66KZjOABMezlC72V/NsfUJFN2rBfh3ECW PjpA0jovq3AhqZtVJSbTgS6dSWBbz6vQUevmno6KYAHDORomnqVn6kFkarvI1zbRU2DFa4ZqZZu ST7kHGHSwBAQWZlDDIdS983k+8hIB7VHfKNPkiw4Us9aoV+Kgq75VwRneEUL/+ZxuUoRw32G4a/ vzX+rWyphRYoZhL6+w2jf4u72jIthMjfkpU2kj2e/xWvD+CJlcqLIGJfkz9o890tJwEsPHJjZFI zEsD+TQOjJU1IGLih/EWso71KkjXJdlfsvGRLGS+ezaVXLB2ii3Nph3GN5YLnw== X-Received: by 2002:a05:6a00:1786:b0:886:a737:e0fe with SMTP id d2e1a72fcca58-8c87c197705mr425936b3a.23.1795113358901; Thu, 19 Nov 2026 10:35:58 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.35.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:35:58 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Ankur Tyagi , Khem Raj , Peter Marko Subject: [blacksail][PATCH 02/64] zchunk: upgrade 1.5.4 -> 1.5.5 Date: Fri, 20 Nov 2026 07:32:30 +1300 Message-ID: X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:36:04 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132692 From: Ankur Tyagi - Fix out-of-bounds read - Harden multipart download parsing against malicious servers - Harden chunk decompression and header parsing Signed-off-by: Ankur Tyagi Signed-off-by: Khem Raj Handle CVE-2026-117556. Signed-off-by: Peter Marko --- .../zchunk/{zchunk_1.5.4.bb => zchunk_1.5.5.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta-oe/recipes-support/zchunk/{zchunk_1.5.4.bb => zchunk_1.5.5.bb} (81%) diff --git a/meta-oe/recipes-support/zchunk/zchunk_1.5.4.bb b/meta-oe/recipes-support/zchunk/zchunk_1.5.5.bb similarity index 81% rename from meta-oe/recipes-support/zchunk/zchunk_1.5.4.bb rename to meta-oe/recipes-support/zchunk/zchunk_1.5.5.bb index 9d587debfd..f84cd8d6fe 100644 --- a/meta-oe/recipes-support/zchunk/zchunk_1.5.4.bb +++ b/meta-oe/recipes-support/zchunk/zchunk_1.5.5.bb @@ -3,9 +3,9 @@ DESCRIPTION = "A file format designed for highly efficient deltas while maintain LICENSE = "BSD-2-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=daf6e68539f564601a5a5869c31e5242" -SRC_URI = "git://github.com/zchunk/zchunk.git;protocol=https;nobranch=1;tag=${PV}" +SRC_URI = "git://github.com/zchunk/zchunk.git;protocol=https;branch=main;tag=${PV}" -SRCREV = "99e51afa38c723e7c25834c2c3b305d20ef55d04" +SRCREV = "ae8e9f5b1e820a906c39f7eaf231e71bef72a3a6" DEPENDS = "zstd" DEPENDS:append:libc-musl = " argp-standalone" From patchwork Thu Nov 19 18:32:31 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104937 Received: from mail-pf1-f177.google.com (mail-pf1-f177.google.com [209.85.210.177]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.1842.1795113362062904631 for ; Thu, 19 Nov 2026 10:36:02 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=o9deVFBh; spf=pass (domain: gmail.com, ip: 209.85.210.177, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f177.google.com with SMTP id d2e1a72fcca58-8b4c8b51b58so85045b3a.1 for ; Thu, 19 Nov 2026 10:36:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113361; x=1795718161; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=+cdOrp8amlIajMzWUTJUbMdUxLxDi+AagDj1ZIuURkM=; b=o9deVFBhFl5b98IrRvIVA8bxHtn4+GPGNdHWaegqnNCQM1ubi9kId2lHLq1RkbqGEz h5atbjqFYvcDNdRqnp5dNZikXxersaRx4+MYtYE1jf+Z2bUK0pjReJmiv/gxZC/Ky1sA tBVI8UWsrT0e4rUNKLEivEb2hD2xvyX9AVCNRJPpYRG7727iFDrqwdk3O+J8oB6rmfCB Q1OBUl3zi6esYdeq7QWA8VHB5Vfw23ZUR+zRPNXUuLtkIqMHFkwovIZ/nbRGsiASYfVV 9Q10gTk6PtXtzMiJPMm9FpoaVhO7KBGhO64F/xihl+93qmxCPg07H3CaZ+kIcZXJGmkn B/ww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113361; x=1795718161; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=+cdOrp8amlIajMzWUTJUbMdUxLxDi+AagDj1ZIuURkM=; b=1Q4L0pifronOAyJi+X29UD2Pu1+gfvpKSZS2FB82/WE3hdH34SUpI/7sdBu75dZx1s 8baecQricBaU4mQbmeDZD5/voKpqXWRdiBAKMvq+apoEADy4tt6HSNAQbwTTvPp9hQL/ eVqsCQ8z9i2VNC5ddU3NpCZwSMUZCW/J5AfMROJGmOGanUnfG8m+m4v9y5/DepT2q4lF 6n+x4xlt2uN2Vr6mTbW8HHiytd8V4D8Jpb2UybwXRb4SlxRDHzcOl5PnEaK3/UGrvGz9 RIt6YqavATgHx+g5MFUwsibeNQVTwkkSWN7WhaDMjysTWPTQOnf+EKnZeJfYrfY5REjz yWFw== X-Gm-Message-State: APuU4Z/S8xzzEa3bopB25weFz/EObpoUDxqDSu0wl/+ESgoJwyvrr+CT NkWjPc9AQtHxhtOvlL2TgOl+xLydOzmrB0wUEF879Emc3n936D0KdazGvG2bng== X-Gm-Gg: AYBFou1hfbZG4Qe64NM/6bavZhNHdZILL5bqNWI3WzzcqRt1xQjBce5awYfW45jf6QJ TWW7h1RPqSZ55ibc5wJIIRN0ZyhRXWW1dNTt39yqtdSGN6jvm566+1JBkjm2DAM1NMW2ozuvuqa qncJAiONYF/6Vf+/47g6aNvAhIbKEpdzklkParuIRpjQTmtVMtnde0iP+e6gRdoL3Rt8jO5bHf6 IJM2R+zhz8fCl1xQ2MsWuxPpLAu65CbusNcQmGsXy8dmTW6PO93gqc57Qu1RKbkTQBNDOMXicvO K8cpuYsiUKPOoxqaonTPtk0bkWOFnJLPmhehdHcuMTd7ZWXCd10n23Fj88XjepqJq75Lpqiitw9 Ocx463fXbRLIy7+a3LJDiPxsba7EDUr3gIn0IBOMDNcvtINpQmnq6PjerBHJYJqfUXltV61UHEm ZaLabXlTQeYwR0JdTdRrbbNHjTKiJpd5bIKtCCQtw8VqtHso8E2lw2C8e805O14w9FnYnLJ6Pqb swB7V3pjNjOG2pOrhOtb+gtmorW4xmV8ykpx6wRSmY8Uw6c0Jv2SBXyaNymW9caWqwCRK2UZ9yl vLEDUW2AwiSvk0qCvaS3Qz9j2YKkrreI6Xq57bScLSGWW0jNCIHDcPO3umQ8XA== X-Received: by 2002:aa7:88cf:0:b0:8b6:594d:7030 with SMTP id d2e1a72fcca58-8c87ca51fe7mr446173b3a.42.1795113361373; Thu, 19 Nov 2026 10:36:01 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.35.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:36:01 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Ankur Tyagi , Khem Raj Subject: [blacksail][PATCH 03/64] tcpreplay: upgrade 4.6.1 -> 4.6.2 Date: Fri, 20 Nov 2026 07:32:31 +1300 Message-ID: X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:36:04 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132693 From: Ankur Tyagi License-Update: file moved to repo root and removed custom preamble[1] Dropped patch that is now resolved in the upstream version. Builds successfully with glibc and musl. Changelog: https://github.com/appneta/tcpreplay/releases/tag/v4.6.2 [1]https://github.com/appneta/tcpreplay/commit/8f93af9909025eca257b550df9eafd0bfb3bfab2 Signed-off-by: Ankur Tyagi Signed-off-by: Khem Raj (cherry picked from commit c29f3e598a674c687bb48766e4940da1a85dca5f) Signed-off-by: Ankur Tyagi --- ...ix-struct-ethhdr-redefinition-on-mus.patch | 43 ------------------- ...{tcpreplay_4.6.1.bb => tcpreplay_4.6.2.bb} | 5 +-- 2 files changed, 2 insertions(+), 46 deletions(-) delete mode 100644 meta-networking/recipes-support/tcpreplay/tcpreplay/0002-common-txring-fix-struct-ethhdr-redefinition-on-mus.patch rename meta-networking/recipes-support/tcpreplay/{tcpreplay_4.6.1.bb => tcpreplay_4.6.2.bb} (82%) diff --git a/meta-networking/recipes-support/tcpreplay/tcpreplay/0002-common-txring-fix-struct-ethhdr-redefinition-on-mus.patch b/meta-networking/recipes-support/tcpreplay/tcpreplay/0002-common-txring-fix-struct-ethhdr-redefinition-on-mus.patch deleted file mode 100644 index 827b083712..0000000000 --- a/meta-networking/recipes-support/tcpreplay/tcpreplay/0002-common-txring-fix-struct-ethhdr-redefinition-on-mus.patch +++ /dev/null @@ -1,43 +0,0 @@ -From: Khem Raj -Date: Tue, 29 Sep 2026 02:14:39 +0000 -Subject: [PATCH] common/txring: fix struct ethhdr redefinition on musl - -This #if was gated on "__GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1", which is -false (and always has been) for any non-glibc libc, so musl always took -the #else branch and included the raw kernel uapi -header. sendpacket.h already brings in musl's own -earlier in the translation unit; musl's header defines struct ethhdr -itself and only then defines __UAPI_DEF_ETHHDR as 0, so the *following* - checks that guard and skips its own definition. With -the #else branch taken, is included via this file -without musl's guard ever being set, so struct ethhdr is defined twice -and the build fails with a hard redefinition error. - -Widen the condition so any libc other than a pre-2.1 glibc uses the -portable path (which both glibc and musl have always -provided) instead of falling through to the raw uapi header. - -Upstream-Status: Pending -Signed-off-by: Khem Raj ---- ---- a/src/common/txring.h -+++ b/src/common/txring.h -@@ -38,7 +38,17 @@ - - #ifdef HAVE_TX_RING - --#if __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1 -+/* This block used to be conditioned on plain "__GLIBC__ >= 2 && -+ * __GLIBC_MINOR__ >= 1" i.e. it always took the #else branch on non-glibc -+ * libcs such as musl. That branch's then races with -+ * sendpacket.h's earlier : whichever of the two struct -+ * ethhdr definitions is seen first "wins" and the second is a hard error -+ * (musl's defines struct ethhdr unconditionally and -+ * only afterwards sets __UAPI_DEF_ETHHDR=0, so must be -+ * included after it, not before). is the safe, universal -+ * choice here (glibc has always had it too) and avoids the raw uapi header -+ * entirely. */ -+#if !defined(__GLIBC__) || (__GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1) - #include /* the L2 protocols */ - #include - #else diff --git a/meta-networking/recipes-support/tcpreplay/tcpreplay_4.6.1.bb b/meta-networking/recipes-support/tcpreplay/tcpreplay_4.6.2.bb similarity index 82% rename from meta-networking/recipes-support/tcpreplay/tcpreplay_4.6.1.bb rename to meta-networking/recipes-support/tcpreplay/tcpreplay_4.6.2.bb index 5234da282a..6896a2b6da 100644 --- a/meta-networking/recipes-support/tcpreplay/tcpreplay_4.6.1.bb +++ b/meta-networking/recipes-support/tcpreplay/tcpreplay_4.6.2.bb @@ -5,14 +5,13 @@ HOMEPAGE = "https://tcpreplay.appneta.com/" SECTION = "net" LICENSE = "GPL-3.0-only" -LIC_FILES_CHKSUM = "file://docs/LICENSE;md5=10f0474a2f0e5dccfca20f69d6598ad8" +LIC_FILES_CHKSUM = "file://LICENSE;md5=1ebbd3e34237af26da5dc08a4e440464" SRC_URI = "https://github.com/appneta/${BPN}/releases/download/v${PV}/${BP}.tar.gz \ file://0001-libopts.m4-set-POSIX_SHELL-to-bin-sh.patch \ - file://0002-common-txring-fix-struct-ethhdr-redefinition-on-mus.patch \ " -SRC_URI[sha256sum] = "cc3642816073fb1d96b3af36df4fb66c11f523da427f95b7b0c4c99deaa53afb" +SRC_URI[sha256sum] = "ac4cbc58b4121edb273bc7d4603dfd6a762e7d344981233c8a253425d9dddd8f" UPSTREAM_CHECK_URI = "https://github.com/appneta/tcpreplay/releases" UPSTREAM_CHECK_REGEX = "releases/tag/v(?P\d+(\.\d+)+)" From patchwork Thu Nov 19 18:32:32 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104939 Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1884.1795113364662336743 for ; Thu, 19 Nov 2026 10:36:04 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=wpu64MLz; spf=pass (domain: gmail.com, ip: 209.85.210.172, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f172.google.com with SMTP id d2e1a72fcca58-8a06cc097c7so119250b3a.0 for ; Thu, 19 Nov 2026 10:36:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113364; x=1795718164; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=xBybS4H5uh9XpJMpzR5bImzcMTC9P0x62Tq/0DyGb5g=; b=wpu64MLzZhVb3+QCmxmVcYd+uGZrulDajDEV/O1WyH+MHGl8/hpoIGcQe+42uikHJV XZoFKeAPeWksxcbIW71JrQnLRopCQArzwNZKK9bGY7FbsImaYjgXumb5SjcYdFL4+gK9 8qdrrFBjZ0rWhQwNbJ8dgQRoCNUo2W305CbAsFQkdMehFrvUR0xtvHXeZ5NavvkgcePP C5SOiLb5xLcpOMYq78WpSW4T4J/q733nkItgMdUD/Dak05bnPlsNI+VbtVpospnf4a5v LAzNw7tTcfIWtuK1Wu7HVc1p4j40qWtF1mlLfWsyy9XZzr4koidxHDccPl8TOAd7p7kn nldQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113364; x=1795718164; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=xBybS4H5uh9XpJMpzR5bImzcMTC9P0x62Tq/0DyGb5g=; b=M+qNxLmafJFcRhKgRw2Qeo+o7y7X8hYftlB+Oataq6dOTnsQX5oaTlqik6vKXo/QRc loh5yjANjp4xDwEFV39t77hQVq4PUBShkriLJu2QG8Lu3jS3N5YuoG58+uCsqczsD78h fXkj2nut7amReo7p41R+vtu08lvNCT/1o0bDEY67lioVus7XJqf9pZnz4zXdYQGd6k3/ iCDnkPRKEIe6bKxsOlXwQnY5cam/LN2WFhYLCgc9hzfyaBJynItOo/dsmN9nvlmx7oZk AyBA2rqA/+eUQNFWDhRGRYGoyUeshB0TKoX5YEkiAb+q6u2CEY3jYn+2TcUyjgjybqzS y63g== X-Gm-Message-State: APuU4Z8xXcUxnJqXRdXhpai+jHSW54OQT/wzDh29VzQJPSyt6qxgR7GG SxEoTBpDs5MbalMBZG7aWtZv6PIobqvMY6YDEUBAc9wdv/qJC7qY+Xdtk9kOSg== X-Gm-Gg: AYBFou0rapTRrN0/h9+ISBlbzHssigoVeYx7RrX48PBPHIicAGBPLD0iIO6UKvF199H yGYEjLk5ghqi07WvAc1kFuQwqRfJvTqtd3DxKDIhmSczpP1ra639Ry2C8OE9nMCyxHln+WVjgsQ BgXJBt0QHs61DMzpy3BkMVyAJzXIPJsw58MykLYdCLpHz3xFw3mdPGRPp5gle78oDPvh5Qll0+6 6USHuogLqgAEqthIdhXWI4jX1cyjLjjuE+P7UfWCJl3tbOVDBF08nwwmeYZYW6Y0EjWD9a4zwng P9fIaJrBZLxiRVEcQYCdKnX4wLsHCSHZ7XcbpC5JSz+e7Sy30VmT6dCYk6Exsrz+0RNCwAeRm8O O7CsuUlrPruSpNx7bd7MBquzOE8eTxlj2N2cYc7iH+kylIz0vmzjEexkIIpBZrkju2HgDZ7FRLn dewwiZNOlik0ter1kwsYLsYwSk0Ng2tT46Gw0/OwURlDnpsamUUCAkE+cTPXkyF6deEDOGSe6C6 Ac9wEgusFGq9ZEkbxCUTp2JbV1/PuAVxEScwzD4GtpIILOYNabmBjLko5iJu3A/ZR6WsjuSgoP1 IO/Pu/QwVBz7b7wO18k1ENZ04tC15po/i9xuOPKMz57heXhTwcmR9vHfaLR4xQ== X-Received: by 2002:a05:6300:670e:b0:400:7003:55c7 with SMTP id adf61e73a8af0-4014bc549a7mr460369637.29.1795113363971; Thu, 19 Nov 2026 10:36:03 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.36.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:36:03 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Ankur Tyagi , Khem Raj Subject: [blacksail][PATCH 04/64] proftpd: upgrade 1.3.9d -> 1.3.9e Date: Fri, 20 Nov 2026 07:32:32 +1300 Message-ID: <69f561efbe074c956dcb51cfaedd4cfbbd2a9d5e.1795112941.git.ankur.tyagi85@gmail.com> X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:36:14 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132694 From: Ankur Tyagi Changelog: https://github.com/proftpd/proftpd/blob/v1.3.9e/NEWS Signed-off-by: Ankur Tyagi Signed-off-by: Khem Raj (cherry picked from commit 412e5ad57594e15e1e2b679e71983c77ea453a16) Signed-off-by: Ankur Tyagi --- .../proftpd/{proftpd_1.3.9d.bb => proftpd_1.3.9e.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-networking/recipes-daemons/proftpd/{proftpd_1.3.9d.bb => proftpd_1.3.9e.bb} (99%) diff --git a/meta-networking/recipes-daemons/proftpd/proftpd_1.3.9d.bb b/meta-networking/recipes-daemons/proftpd/proftpd_1.3.9e.bb similarity index 99% rename from meta-networking/recipes-daemons/proftpd/proftpd_1.3.9d.bb rename to meta-networking/recipes-daemons/proftpd/proftpd_1.3.9e.bb index 5c194ebb23..1fe9908f0c 100644 --- a/meta-networking/recipes-daemons/proftpd/proftpd_1.3.9d.bb +++ b/meta-networking/recipes-daemons/proftpd/proftpd_1.3.9e.bb @@ -4,7 +4,7 @@ HOMEPAGE = "http://www.proftpd.org" LICENSE = "GPL-2.0-or-later" LIC_FILES_CHKSUM = "file://COPYING;md5=fb0d1484d11915fa88a6a7702f1dc184" -SRCREV = "f59f248e26bdfa514443e42bf72a145641df635d" +SRCREV = "fc3f908a0d07fa3b17fbe1e3054b7520806bc75a" BRANCH = "1.3.9" SRC_URI = "git://github.com/proftpd/proftpd.git;branch=${BRANCH};protocol=https;tag=v${PV} \ From patchwork Thu Nov 19 18:32:33 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104940 Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.1849.1795113367412361003 for ; Thu, 19 Nov 2026 10:36:07 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=Vblx/800; spf=pass (domain: gmail.com, ip: 209.85.210.176, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f176.google.com with SMTP id d2e1a72fcca58-8c5ebbc5150so85038b3a.3 for ; Thu, 19 Nov 2026 10:36:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113367; x=1795718167; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=lTsfLjydFqsZd2cyY2L1lkoBeEKLs1P48jfgme7NgVg=; b=Vblx/8004IAYDhOnGMOigOn4qNDRIIn2Da93zlqutg1w2pYAsf5N5oSZZB+o8Clz3A 28rocigpcYvD2wiatoHf/gL9fNKWVk5JU8SObgLrRrITd2aUtkcE4BECSAwhSOtfQT8b vdjdB95wy3IjGl5MveYl4PuelCyizqo1UrLNcg+nhy1Ey2rHRprciOK/cZc8GC6p649X XaumksWJ/jvj71xD/tx2W/w+o9J62PYCfXwWRWuy2fgERQXgRWFHvgjFgY4LwiJnOecU GOrN/K3IUWQcyEC9b2qwBEb0DN2ejLuKFeSS1tN2DNkwHry/t2bMHecrAiZkA2r2+Nlc 86ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113367; x=1795718167; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=lTsfLjydFqsZd2cyY2L1lkoBeEKLs1P48jfgme7NgVg=; b=Qo4s41RwxagRc7axgr+INzoZczC2kaa8elwQc+gWb/YYEnUfVxfcz7T1AvcToD8VB/ 9FafqihPI+LWhf17vS+32jfTMqEvyJQej+gon/dY/uoH6eC59jGV89FokMY1F6w81GFg ygBGpv1s9YqMkurTDA2PGuQYS1fqeYo8Tdqa7vKD6XmUGpLL1zprx6O3AqTHEmZty1Rc OcYeAQRykDwRmDPQsXJMhfnzeRJ+QfJ/y96J+CaKd/uwknxcfmUhRD8WBfam2pB9hHi/ nw6v4JGin/k1CRFZTfbAzZ/AhiOQ5q9CBpPOwvoQ4fNC3sQwyrNBwjqCLT9jrFqyVCaB xRKw== X-Gm-Message-State: APuU4Z/wEJgL2dxPNOnY48/M/Fjs5OCs6+F77DoEzXmZuUaFvNKStTJL FKe+JCYUk8Yul4j6WuJ5Te7tWzi9v8Ao0CwSHAej/KNxcXcIG34rLR/YDSx3iQ== X-Gm-Gg: AYBFou09LPSUfL7WjkTykTuKgdwSpOV2huiE2qzaJA6mOdZ1M5p9/vLBdJ4M2j6Qf25 hwSRb2W24K0RNkHiJaeN7pBUuTLk2ZPJ5xAJ/SmK500vQfU497HLhul5zUMDeLu2rVOMCZGFT4P Zk/zeJTJdXeCYNjI3ZNxec8Gl6ghymhn3+vjHvGK6FtZPZEZA6V0jn+9qM+29SYfecIkUJEjzSA thxFYLcqopnTbAocH98MPlyEAjoQl12SLs2JLT56AIeqBh7RalukWuw044br/Xrnd+dD09lifqb 1Wr62WQhyGbJZS4WPPe8ng7KMTEB9iPrN2ONWNjA9WbpYNnMnLY/CXwdLsbEDSpHnLc2i0PdVQC 1qyydmlnssQc4su9LPxTlD1fT9nl11YTiNJSVX1xF8mGYihGuumge35v3txh9SUdrpd9t5/j3wX p9nDJkNLgezQRmLhnPAX8/3UyJZvLyp8Bm2ekj1dUQh+UoZQ3Tc0sQjjxMKnL4KRLLnyOkzXwnT dLDw19S1u7Ae9Gw81ILVg/ugDtWy+FwY9IBSnrWvxxHQeacWPIPwpu8f0TielQl1/+VzukyEbzy QaxhW0cOiOOxC7AOKPdYFm+FceVsQX+FxoZHnK2R+hLDUWn4xXpQ+BK9caIFAg== X-Received: by 2002:a05:6a00:3d12:b0:89e:fc47:2c17 with SMTP id d2e1a72fcca58-8c87b4f3a5bmr490298b3a.19.1795113366861; Thu, 19 Nov 2026 10:36:06 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.36.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:36:06 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Leon Anavi , Khem Raj , Ankur Tyagi Subject: [blacksail][PATCH 05/64] weechat: Upgrade 4.10.0 -> 4.10.1 Date: Fri, 20 Nov 2026 07:32:33 +1300 Message-ID: X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:36:14 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132695 From: Leon Anavi Upgrade to release 4.10.1: Bugfixes: - irc: fix memory leak in SASL authentication with mechanism "ecdsa-nist256p-challenge" - irc: reject an empty SASL challenge received with mechanism "ecdsa-nist256p-challenge" Security: - relay: limit size of data queued for sending to a client to prevent memory exhaustion - relay: reject fragmented, compressed or oversized websocket control frames received from a client - relay: limit size of partial message received from a client to prevent memory exhaustion - script: reject script names containing path separators in the scripts repository file to prevent writing files outside the scripts directory - xfer: fix comparison of status in search of transfers, preventing a remote peer from starting a file transfer that was not accepted by the user - xfer: limit size of partial message received in DCC chat to prevent memory exhaustion - xfer: remove path from filename received in DCC file transfer to prevent writing the file outside the download directory Signed-off-by: Leon Anavi Signed-off-by: Khem Raj (cherry picked from commit 298e364a9e34a2019cbfc815dd50fca9283ff861) Signed-off-by: Ankur Tyagi --- .../weechat/{weechat_4.10.0.bb => weechat_4.10.1.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-networking/recipes-irc/weechat/{weechat_4.10.0.bb => weechat_4.10.1.bb} (95%) diff --git a/meta-networking/recipes-irc/weechat/weechat_4.10.0.bb b/meta-networking/recipes-irc/weechat/weechat_4.10.1.bb similarity index 95% rename from meta-networking/recipes-irc/weechat/weechat_4.10.0.bb rename to meta-networking/recipes-irc/weechat/weechat_4.10.1.bb index 286d474c83..00030452dc 100644 --- a/meta-networking/recipes-irc/weechat/weechat_4.10.0.bb +++ b/meta-networking/recipes-irc/weechat/weechat_4.10.1.bb @@ -8,7 +8,7 @@ DEPENDS = "zlib libgcrypt gnutls curl aspell zstd cjson gettext-native" SRC_URI = "https://weechat.org/files/src/weechat-${PV}.tar.xz" -SRC_URI[sha256sum] = "c3a7e7c6a5401dde9a46d0264fa44aa3032ca98aa86410c454d3de5c69505c54" +SRC_URI[sha256sum] = "b8744c6f5dc5543062791f563e0516dbc96a36161e1a03c468b3b7dcc8be5aff" inherit cmake pkgconfig python3targetconfig From patchwork Thu Nov 19 18:32:34 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104941 Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com [209.85.210.179]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.1853.1795113370255800460 for ; Thu, 19 Nov 2026 10:36:10 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=WcMs/laE; spf=pass (domain: gmail.com, ip: 209.85.210.179, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f179.google.com with SMTP id d2e1a72fcca58-8c70c2ab5a2so61686b3a.3 for ; Thu, 19 Nov 2026 10:36:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113370; x=1795718170; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=R4lUJ0PDIqtwAE9/Yd5DZccBJhGanY/drkSzrwa/k2U=; b=WcMs/laEZRFt936BCO7AQHFmCdiHQ8H8rriwnQs+ToM90sX740JO1galulqUV6iwvw fBNTDyvp7EilJz/5OnJp7mmw/bPJIKPsZULR7pXI45coAVPR3BUgFatPd0EubMHxR8Rt VeEXhc7RxutuxBiIPAxynBovptv3KOBr/Sh3SX8R3UEoUfQRNFOpd1doo/YOW+CW+uW8 G+g12j3IINiTwZ+cyYoNvVa2Qt5BknxevkDNetBsGugoKag7uaylPu1YVbAscrBoW8Ax VFh+omftUchy/HAMmTjx+hCQ8tLRJsvH8e2POPvZxKEiQIWT9mBhii/RdMwsTMIGg5xq pdmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113370; x=1795718170; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=R4lUJ0PDIqtwAE9/Yd5DZccBJhGanY/drkSzrwa/k2U=; b=yElYRG3/wR9L23/QoEVifLXJlgdKTd8u7FhsJjpzmUrBYEjj4EqE6MsS22B3vkq+ot ajDFY70HlMIrttBbMPAhvRGYjm99b1tmX6xJt3s+dh1BDrB8nMxDy+pAYTJgk76lnbzl t9+mNH0hhJiXTtP7/0NpaxE2b2lwyGFtxEqxGBPd6CoXkJhWoO723DLMz8tCDROX68W2 NbX2aYPcgUB6QNOfSsi/ecLyNf26sbr7gqlE0ubssQUX+e+DlnKwsECgqUr1RlY+V7fN Vzl72+GfeWPk05/JJisWNfFwKRTVhIEMJHQaEeOtdDiHu6FWq2TN+pQFYuwr2khsGOQW 3tWg== X-Gm-Message-State: APuU4Z9PL/AQJda2xyVJOP5/uZxsmTf0a0DBFs8sQqYGMeyuImbvMD4I TSneNr6vYBWsKqRQvEKAtcnxZ3pMU+ZeUXof+Ed2SyD2wwHt24UXvoGfqztyyw== X-Gm-Gg: AYBFou0tBQXKMIsTeacuVDXp1emsfq/boAHhhn3kcKW1kORrmDZQlkJpMxt3/tHQcpk w/Jm6+iF/LQ+y2ETj0+ZZLpIn0Fba43MthxsC0VrRYyexeIoeBylNICM2iEZDBxJId2nqIyidFQ iTJm6xfDAJ6unzrmqMfdoEtea0MLaSZWHQtNObrY/W0cAkZnyxB4qauQDP6RPZ9DZKzWzm63bbY iVy46QKIlvgoutlbFXwXtGJDYEzyA4K7IL6Nj7p0KehhCs+Hq5LvyxvpxJcgC9N2YP3avbQHM9v JfiFS1BcI3a5mnT3BpnHuvxCiK5dQwfrd4H5ftD0V+acEbUgZluU9HppTPkrGmkLpSDlYmIctCR 2jd2USyinH6TC0G+PS4XtOt3tdqyod+6a5y7CKjil72NmlZ6GvvHPe3OuAkBvRImEosetY7ZDY3 Y9OlVmoG8b41m3AdQKT6ZtwlyF9hBAODrUoZnUduRR3846uwO5RzHbPEZxcUAOu+Iaxs/ZWtuxX ryIkw9gAlfrrmePGaeDxTPr+rw+gt12kh3KxTT26IdrPVbTYyaJrQB3gDPPw1gN3xVNFEcOx/Fn /+FXWiGnrof1gE/GESOe5INUJM4lwqOFHfSw/EZ0Tzn8q71YsUYxS3nVPUDPoCMI10iEKqce2mZ 4RfE1KzE= X-Received: by 2002:a05:6a00:2d8e:b0:881:e626:74a0 with SMTP id d2e1a72fcca58-8c87d221e1bmr496487b3a.47.1795113369513; Thu, 19 Nov 2026 10:36:09 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.36.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:36:09 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Ankur Tyagi , Khem Raj Subject: [blacksail][PATCH 06/64] json-schema-validator: upgrade 2.4.0 -> 2.4.1 Date: Fri, 20 Nov 2026 07:32:34 +1300 Message-ID: X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:36:14 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132696 From: Ankur Tyagi Changelog: https://github.com/pboettch/json-schema-validator/releases/tag/2.4.1 Signed-off-by: Ankur Tyagi Signed-off-by: Khem Raj (cherry picked from commit cf46cc3b9203baa9f1700f92d33e8da81c3539ae) Signed-off-by: Ankur Tyagi --- ...schema-validator_2.4.0.bb => json-schema-validator_2.4.1.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-oe/recipes-devtools/json-schema-validator/{json-schema-validator_2.4.0.bb => json-schema-validator_2.4.1.bb} (89%) diff --git a/meta-oe/recipes-devtools/json-schema-validator/json-schema-validator_2.4.0.bb b/meta-oe/recipes-devtools/json-schema-validator/json-schema-validator_2.4.1.bb similarity index 89% rename from meta-oe/recipes-devtools/json-schema-validator/json-schema-validator_2.4.0.bb rename to meta-oe/recipes-devtools/json-schema-validator/json-schema-validator_2.4.1.bb index 857fdb779d..3332468a05 100644 --- a/meta-oe/recipes-devtools/json-schema-validator/json-schema-validator_2.4.0.bb +++ b/meta-oe/recipes-devtools/json-schema-validator/json-schema-validator_2.4.1.bb @@ -3,7 +3,7 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=c441d022da1b1663c70181a32225d006" SRC_URI = "git://github.com/pboettch/json-schema-validator;branch=main;protocol=https;tag=${PV}" -SRCREV = "c780404a84dd9ba978ba26bc58d17cb43fa7bc80" +SRCREV = "9abddfa905bb4889cc4ae55f87adcaa71dd3bc23" DEPENDS += "nlohmann-json" From patchwork Thu Nov 19 18:32:35 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104938 Received: from mail-pf1-f175.google.com (mail-pf1-f175.google.com [209.85.210.175]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1889.1795113373629491506 for ; Thu, 19 Nov 2026 10:36:13 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=gcH5Z1bc; spf=pass (domain: gmail.com, ip: 209.85.210.175, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f175.google.com with SMTP id d2e1a72fcca58-8b6a88e4341so66756b3a.1 for ; Thu, 19 Nov 2026 10:36:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113373; x=1795718173; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=O6Y55QBfb/It/5V0+Qlk2RVmhjjwNtlePfcc4nVcCow=; b=gcH5Z1bcfVGSVJ2ane52fhK8DK21Fi8LzPbFmY5bQaMk7tUl9/A9azoIxruQWOONyA 3oZdaq6cfzSWy0ZsLBX1fC8SratBpiWf+3A3BUoV2Fsm3itA1rwFpxlkUAcpwoLegUhS S6XkP6qp2XvKNqrtiGafntW5QW7U4SB5zOCrW/ex08NrfnLHXMOxXZHZ2/F5VhJBqB3e WN5Vj4K24RDcmsvi9I9X56ztV/2FwBsLK5Mi85R8tu7NOL4rY9EF3MTyozKeZKJr7moI TnLdGsieTO6u2jV+i0Sqmy/F3EdundwTOZDE4lXpnPcm+twC4jk4DshaGM0oJBPTUIlD XXVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113373; x=1795718173; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=O6Y55QBfb/It/5V0+Qlk2RVmhjjwNtlePfcc4nVcCow=; b=CZERvdzBKZ4+BwzXpdFAeEHfHhXnKVmqgd4oeJb2AJwDlvIyGdgguQtEX4fVHWG6rM QaB38i4GOdt7Sx+SjA54wfQT7edcMF10WNpw/JgH39FRzDofmf2PgHgzAxXR+GcTVC4P w78yYv9xK9yNi5AlH3IJZS8Qn1DtIxUbqMdrsLieaKs7nqeLJ2bbSp3Pp5FpsPLck03c 7QZ0C05K1ptCfAB7bJStapCqsQGF9U50yoxOdGwhM8NndWdqW7ofqV2NFQ360Bdw45LX u/95dXK9ERVCGDLoNJ2dB1PS4bNjFUWHhPFcc18wrJat9yhzjfQnSbP7s8blIQpoToGq DIIA== X-Gm-Message-State: APuU4Z8nd8VAohpRNW9rv5K01NxqLqT/in6JQduDmeFW7qDY4Lvk/AKG 5P5Rq4x+J2Zpl4M4Xb3a47IIYChdNh4Y8Nb/Os2SoJFkxfxPbah1igbgF06QGQ== X-Gm-Gg: AYBFou1bxWTgqM1WQzIveMADwYYvGWQLq0GJw5VF5WL9US6wUsmz9B4ZSM6fl65dO8m hNNWyrycNaE+iCbVKx0Li4/4B4Aju1qIgmspvIpJC/2GAip/AuE86F/bpVrIa9xJU4CqbI9zvqk 4Rf0NqUfRKW7pzQuf82rDscaOmMR/2/kcChgAi7OJ4idKknISWrZBQdrnHVYqYL15ewLVvxQuMx dfX96e46stOCN6XqY2/t6Xn4r5neZ1HruF2Zv4oMP1nFtq693+4t3EjG0vIiDWCGe2xV+Yb020x DRSOgLIpZYKBGzm4DR5qDp4whMamQdV+4xjPz1IpBszmIXjt+z4cVpG7sblHL2gBsMIxu+7KQ00 MpPLakzIaBO712EQaBhJ4/BJHoPrpA9XG8uMfI0/Fnq22+H0S9iYzeDx9rS5jnY0vvCErDoltqc l93vZoPCeofb1C4wLaz/9UlsFxwM4JDmZo7PogMgDr7xaHJ/HNPLA8XE4+ccqvTJSLQkxdw5fwW osebexRJiV82g83KWk+9xaqwm4cWrh1CNtTjR2+nsQfYhm9UUGe7AMM5WaFK+Ystp3hvzxg4sjs J9/9qrbqQWYbW9dwj9Ek08KiQHfel8OD00PhQopPk81AX7pDrvPEvw/ZvXqm7A== X-Received: by 2002:a05:6a00:44c5:b0:8b5:9654:d340 with SMTP id d2e1a72fcca58-8c87ca520f8mr373559b3a.33.1795113372907; Thu, 19 Nov 2026 10:36:12 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.36.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:36:12 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Leon Anavi , Khem Raj , Ankur Tyagi Subject: [blacksail][PATCH 07/64] valkey: Upgrade 9.1.2 -> 9.1.3 Date: Fri, 20 Nov 2026 07:32:35 +1300 Message-ID: <0580445b95507c7b06c9d2df92c5149286381b96.1795112941.git.ankur.tyagi85@gmail.com> X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:36:14 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132697 From: Leon Anavi Upgrade to release 9.1.3: Security Fixes: - GHSA-f4q9-j22m-xqq9: Fix a heap buffer overflow in cluster Pub/Sub message construction that could allow an authenticated client to potentially execute arbitrary code by publishing an oversized message Bug Fixes: - Fix stream commands that mutate consumer-group or PEL state (XGROUP, XSETID, XREADGROUP, XACK, XCLAIM, XAUTOCLAIM) not triggering WATCH and client-side tracking invalidation - Reject module write commands while the server is paused for writes, preventing a crash from module timer callbacks during CLIENT PAUSE WRITE or CLUSTER FAILOVER - Fix event loop busy-spinning on virtual machines by not using raw TSC for the monotonic clock when the kernel clocksource is not tsc - Fix a crash in ValkeyModule_HashHasStringRef on a missing or expired field and correct wrong return values in the hash stringRef module APIs - Fix a server abort on a RESTORE payload declaring a string length that overflows the allocation size; such payloads are now rejected as bad data - Fix ZINTER/ZINTERSTORE returning input-order-dependent scores when a weighted term is 0*inf; a NaN weighted score now counts as 0, matching ZUNION - Clear a stale primary-failure gossip flag on replicas so later failovers don't incorrectly skip the election delay (#4533) - Correct ValkeyModule_FreeModuleUser, ValkeyModule_ACLAddLogEntry and ValkeyModule_ACLAddLogEntryByUserName declarations to return int as implemented, fixing undefined behavior on targets with strict call signature checks - valkey-check-aof now recognizes RDB base files with the VALKEY signature instead of misreporting a valid multipart AOF as invalid - Fix module commands that access undeclared keys in other slots reading or writing the wrong slot in cluster mode, and aborting in debug builds - Reject relative expire times in SET/GETEX, RESTORE, and ValkeyModule_SetExpire that overflow when added to the current time, preventing server aborts from negative expires - HDEL, HGETDEL, HPERSIST, and HEXPIRE no longer propagate fields they treat as expired, preventing replica and AOF-reload divergence - Fix a server crash when loading an ACL file containing a selector with an unmatched parenthesis - Fix a segfault on Alpine/musl when Lua is built as a module, caused by a symbol clash on an internal clock function - COPY of a hash now includes expired-but-unreaped fields so their deletion is propagated and replicas stay in sync - Restore acceptance of hexadecimal float sorted set scores (such as 0x10), keeping replication and AOF replay compatible with Valkey 9.0 - Sorted set range commands with a negative LIMIT offset now return an empty result instead of a spurious element on btree-encoded keys - Fix listpack encoding incompatibility that caused RDB load and replication failures for entries of certain lengths between 9.0 and 9.1.x - Fix atomic slot migration not replicating evictions on the import target, which let replicas grow far past maxmemory - Redact error text in server logs when hide-user-data-from-log is enabled, so command arguments no longer leak into logs - Fix HSETEX and HGETEX failing to parse their arguments when the key is named fields - Fix cluster config saving to avoid publishing truncated nodes.conf files, losing the startup lock after the first save, and failing every save on SMB filesystems such as Azure Files; the lock now lives on a separate nodes.conf.lock file - Fix LSET on 64-bit builds silently modifying the wrong element for out-of-range indexes instead of returning an index out of range error - Fix atomic slot migration with cluster-databases > 1 applying writes made during the snapshot to the wrong database on the target Signed-off-by: Leon Anavi Signed-off-by: Khem Raj (cherry picked from commit 76fbf5e4c6c4d88af5ff511ab298c7d9cb08bfa6) Signed-off-by: Ankur Tyagi --- .../valkey/{valkey_9.1.2.bb => valkey_9.1.3.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-oe/recipes-extended/valkey/{valkey_9.1.2.bb => valkey_9.1.3.bb} (98%) diff --git a/meta-oe/recipes-extended/valkey/valkey_9.1.2.bb b/meta-oe/recipes-extended/valkey/valkey_9.1.3.bb similarity index 98% rename from meta-oe/recipes-extended/valkey/valkey_9.1.2.bb rename to meta-oe/recipes-extended/valkey/valkey_9.1.3.bb index 187c9a046e..40e8a9cd75 100644 --- a/meta-oe/recipes-extended/valkey/valkey_9.1.2.bb +++ b/meta-oe/recipes-extended/valkey/valkey_9.1.3.bb @@ -15,7 +15,7 @@ SRC_URI = "git://github.com/valkey-io/valkey.git;branch=${@oe.utils.trim_version file://0001-src-Do-not-reset-FINAL_LIBS.patch \ file://GNU_SOURCE-7.patch \ " -SRCREV = "7f1dffedff6de73058b2c2a389422b6ecd56c8fb" +SRCREV = "29173b67508b2de4c0f0ed551f3b47cf19fc3ca8" RPROVIDES:${PN} = "virtual-redis" From patchwork Thu Nov 19 18:32:36 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104942 Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.1856.1795113376434404887 for ; Thu, 19 Nov 2026 10:36:16 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=ye50fZQr; spf=pass (domain: gmail.com, ip: 209.85.210.171, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f171.google.com with SMTP id d2e1a72fcca58-89d6bd67045so5846b3a.0 for ; Thu, 19 Nov 2026 10:36:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113376; x=1795718176; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=JPUseMm31BfMitmuBadgiiPShDZ16zDBHeXoyBaMRf0=; b=ye50fZQrFppMDHYbu45WTwPErjIlSLogjLZ+fQXYf8yfjWiKbqB6OsYmHSzxj3xU2c w5A2XQSFepwe38qtweTIlR3rXoyeAOQZ6Y5oG9q2BsAYbgxAWGgkSnuiqMuYt0FRP35j mHea2HigwnTG9+rCYDkkBUM5LiUZdjvtdiSBSrwM+dLeJ7FqgAJEG73iX7lr11pDKAag XD5RfbaxWP2cy0imBOVM72NnuH70eEayqJPiCB/0rQsJQrtr+GGHnKsM5zdm23S6YPxS lrXNIK8S5340cxwY40t5trAWYlLmISGxzXA5FQWPQ6RzUG8UamyrPMZB/CZPpdmlEjpS cPww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113376; x=1795718176; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=JPUseMm31BfMitmuBadgiiPShDZ16zDBHeXoyBaMRf0=; b=rGaDPZ1+VNDcpRTMnv8C02gmKynal8TfWp8ZWFx574F4IYIeGHP4tQw6W/kRkbi2Mp MkEgxh2oy6ZUBAf1uHaMjHiL/10zz7/Fk4r+MS037HiOZcTk9Ezc/spgHBaKJQDEEm0X b0ye4lOkBQWXXDd/LJzvDhden3hwK6sM/tzt8Q7wO4eTRHMG9on4TmtXWHIFEz8+PB9a DY3848tGSfKpFfS8iLk7SEHjZO2DiCy1xnmYr6N8anCfWeFw+7cPj67WoqnbVxa2Zulo mlSY8Y/nl2fh+lqu5tAu6pFRSDjd+/+pnUl0+8tiT/zzrLwhVKt0G+GqJRev/YhRwJ8L X44A== X-Gm-Message-State: APuU4Z/x0vo/H5ycMJrGkkRLZLr06ObzGV85zM7DJvTGdpmXQuFXHa3T c8n0NkF9gXNCS8fJ8/ZnuGIUfE8aqB0CIQ1XjQxxX6vI4A/NFGmgR/CTa14JVQ== X-Gm-Gg: AYBFou1XsS8XFFS6UEct8MOiv8hI8JJZB/klyNOPhYOQVFxV9YtD4HnZxP97VHOaaCj x0A1nO0Bk2aLncSeUEI8truUP3b0fU1miWI7UGuOcz7uMYtYgNpuxpYJDJLIn+V8JxYUpaDzRcY SvbgItLY5tVg21dXE5GwnxSlZ/kFAGJ0EyAAoeRTwDVVYwmUnGhgLAmDrq7EnYoWrtMRESjHSr6 4IK3Rs02ipdHDvXjRUvK1xCe6t5UhM5XU0++tjO6C9k998SvJ0DgyVcQ65AqyJ8K4x3kEt1/nYa 4gLCtYf5qIVKyHAEaNmrTz6VyYQ3FbVOM+9REea6kmvXa4QTajBQQpeqqXow6Pinp/01fzq5qt2 3zTGOfp81FFg5DpXAbA5ECN7qv9k5BiEOJMffLMOaK1ZjWn1KUeem/Svepa2kt0md1CzDasqDfi rX/ZOE8Fr0rFuD6InrhJNVkdbp3lFOqwyxNr6mXOATGUrot6iCj3ye9L8Jmftcavy8uylmu6alY ggffQidM0dzXNwnOoPPbXnX6XtLOjN5Zl5u6L3BqbmtGkHylR+Am7/nzNRAneHrtrBAtK/52gX9 x8h7/kro424QeWq8w9+eG8zeIXZZ9QaQStVEn+DWMMeScc/kjMahbAJs7TfdcfAPXHLjKeSgmhz W1tpny00= X-Received: by 2002:a05:6a00:4b10:b0:8c6:37f1:16cb with SMTP id d2e1a72fcca58-8c7dea67dd8mr1301337b3a.47.1795113375663; Thu, 19 Nov 2026 10:36:15 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.36.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:36:15 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Ankur Tyagi , Khem Raj Subject: [blacksail][PATCH 08/64] haveged: upgrade 1.9.26 -> 1.9.27 Date: Fri, 20 Nov 2026 07:32:36 +1300 Message-ID: <20e8adf8d91cbcd7e29f1308a75d03104025d06c.1795112941.git.ankur.tyagi85@gmail.com> X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:36:24 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132698 From: Ankur Tyagi Changelog: https://github.com/jirka-h/haveged/releases/tag/v1.9.27 Signed-off-by: Ankur Tyagi Signed-off-by: Khem Raj (cherry picked from commit 694eb9006e1e1bd6847a03851389167cf5a80996) Signed-off-by: Ankur Tyagi --- .../haveged/{haveged_1.9.26.bb => haveged_1.9.27.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-oe/recipes-extended/haveged/{haveged_1.9.26.bb => haveged_1.9.27.bb} (94%) diff --git a/meta-oe/recipes-extended/haveged/haveged_1.9.26.bb b/meta-oe/recipes-extended/haveged/haveged_1.9.27.bb similarity index 94% rename from meta-oe/recipes-extended/haveged/haveged_1.9.26.bb rename to meta-oe/recipes-extended/haveged/haveged_1.9.27.bb index 727f856379..13782ddd5d 100644 --- a/meta-oe/recipes-extended/haveged/haveged_1.9.26.bb +++ b/meta-oe/recipes-extended/haveged/haveged_1.9.27.bb @@ -6,7 +6,7 @@ HOMEPAGE = "https://www.issihosts.com/haveged/index.html" LICENSE = "GPL-3.0-only" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" -SRCREV = "c0edcf284f654321b7c5665fe38106f9321ceeb3" +SRCREV = "54d8dd95f90c2af87d1b778f0469fae4cc225aa6" SRC_URI = "git://github.com/jirka-h/haveged.git;branch=master;protocol=https;tag=v${PV} \ " From patchwork Thu Nov 19 18:32:37 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104943 Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com [209.85.210.179]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1892.1795113378931922436 for ; Thu, 19 Nov 2026 10:36:18 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=e8Fk7cg/; spf=pass (domain: gmail.com, ip: 209.85.210.179, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f179.google.com with SMTP id d2e1a72fcca58-8b600fae14dso46472b3a.2 for ; Thu, 19 Nov 2026 10:36:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113378; x=1795718178; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=AHukX1t+rmRqXYccUdWQMzTC6St+lBukbiMWGKvbp64=; b=e8Fk7cg/puIURBie84fNcmzDGjWt761cBgHWtlJvqXpC008NDu47n/jiPNcC3d8nG5 J1JDktYsEr3bLxACkgsY0kEDlV/7uuy8ToIeRLdTNrvrsVDZJ5GtEIats+FeifFbjN1l A7hEIzHf33C9D9BCzwsyVZAyhcFlc4LwuCohPkDw2fvgEo2aPBMlfha7REoQON5leHxr fw6Jq0Nf9kgpb4zLrYwQFibsX4zsL6nkiYeGpk1USTJD+ovhuPpKjI0r2YTFwwfEks+f BrAQ7aRYqesZpgZw9CIB3wZLrmmQ/hi/BjoF+3Xh9oYG8/sXZneFMEcC6Lu1gbTfW2fe 8aXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113378; x=1795718178; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=AHukX1t+rmRqXYccUdWQMzTC6St+lBukbiMWGKvbp64=; b=ZEXoMDMDDLXcSleTb9uJKG8faJacpY8SA8fub8tY6NFnidT2ChsPjVt/1aoXzi7RIR NEKbcZQKRIlY0HUjoKKrjCoPJWCtcvJLCmYsQ8PFpAmuPyxAWJZXEblDmqjSkedWKT1f V9Xe+TBDQP2AcGrCEbLYnJAjAQKCJvwXLaxZSqzWxecUK3awENrNIMYaomIXv6rmA/5+ +jYfpBmK440EFELvZPij8lgb3nFUjEXIDMYwyRRKzaKm3xXdGLxY3X1hOGQ+ykVFUp7D BasX9izPSYC9YaLvG3K6mW7mjp+xWh62Pb7Srexg22NRycyc5/W4ETz/N3CS6annExJC KjeA== X-Gm-Message-State: APuU4Z/S2xCP/5QvclKvVOtqAQAaMPAVh/LyxULpSjtBiBrAsc/S1gWn SxA1z0dnyiCfoZRhnOkZ2gaOuoPyz8Z8GF6+3lzWJl+WlJUF1GtbEvLHk+eMlw== X-Gm-Gg: AYBFou0ipU3RjSL/zULHXSQO+PIOIc2ze2w20FcQIexHHCOwkTzHBZRVl6Tkg0aain3 XQ/qeO3s1kWyqloS+ZHY/9TzaJs7YAcX9rw6Ig9zPfBqzb169T6gjBJcZmsuzx2EuxEwZDbHkY1 Zk6qsd6+yZ4lXjceAPet7xWYOhQsvwrG9due6uhGSQROCmW5hvUIxO/kEOohYmjs5vCdkidcjp1 iNMYzBYK93gp3gRSx6DrK1+cN6lpExsqf0dHG4pCi+MSXJ+YL5PZDmE2xufHQgOdufUx13K1eQ/ zc9f7AYhpS1JLFDpidEhlKb/DpsNvOyK/FAf6EaI8qRkPSfhlkeFRF7DV1GUlnBU0b/V2U9wftG rzPTGakN3UJWy276Jc3HFyzeZlpIuA1Orn7xEAqwB1anPpXIcN4N4owmuJ/FpPN1en+IKk6ndsc 1Mvepl5KJw3fmJmL2+4KysyRY+jkG2OQYItxuW4qsmATadkE9EuIKIgyVlnP+81U1VvAk0/yR7X qeHuX6z19oXYDdIkmBGZElJDdMPsFt85CwnsM8b0RdPrbDxQTCd7y/739vbw6A+lhrXuX+RFzKQ axaLFzFJpul5ryhmaRPhhQ+lvWA9HqtoMYo28T/0+EEbyOJC2SG0n/YYfAF4Sg== X-Received: by 2002:a05:6a00:1808:b0:89c:1f2b:a73f with SMTP id d2e1a72fcca58-8c87bcbced8mr493873b3a.17.1795113378211; Thu, 19 Nov 2026 10:36:18 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.36.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:36:17 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Ankur Tyagi , Khem Raj Subject: [blacksail][PATCH 09/64] libraw: upgrade 0.22.2 -> 0.22.3 Date: Fri, 20 Nov 2026 07:32:37 +1300 Message-ID: X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:36:25 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132699 From: Ankur Tyagi Changelog: https://github.com/LibRaw/LibRaw/releases/tag/0.22.3 Signed-off-by: Ankur Tyagi Signed-off-by: Khem Raj (cherry picked from commit 2f7a0c3dfdf3e8faa6fbfd07b60328dfa65a9b10) Signed-off-by: Ankur Tyagi --- .../libraw/{libraw_0.22.2.bb => libraw_0.22.3.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-oe/recipes-support/libraw/{libraw_0.22.2.bb => libraw_0.22.3.bb} (92%) diff --git a/meta-oe/recipes-support/libraw/libraw_0.22.2.bb b/meta-oe/recipes-support/libraw/libraw_0.22.3.bb similarity index 92% rename from meta-oe/recipes-support/libraw/libraw_0.22.2.bb rename to meta-oe/recipes-support/libraw/libraw_0.22.3.bb index 2db0c14a61..c0601f71a8 100644 --- a/meta-oe/recipes-support/libraw/libraw_0.22.2.bb +++ b/meta-oe/recipes-support/libraw/libraw_0.22.3.bb @@ -3,7 +3,7 @@ LICENSE = "CDDL-1.0 OR LGPL-2.1-only" LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=1d66195044cfbe4327c055d1c9c1a229" SRC_URI = "git://github.com/LibRaw/LibRaw.git;branch=0.22-stable;protocol=https;tag=${PV}" -SRCREV = "b93f6e45c194f5df9b02a43b1af9a54b4f41f33f" +SRCREV = "cf02d66eb5c19d4e46df7aee0582e47a4918509a" inherit autotools pkgconfig From patchwork Thu Nov 19 18:32:38 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104944 Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com [209.85.210.179]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1894.1795113381867923395 for ; Thu, 19 Nov 2026 10:36:21 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=vrOxAl3I; spf=pass (domain: gmail.com, ip: 209.85.210.179, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f179.google.com with SMTP id d2e1a72fcca58-8b5c3288e6cso55986b3a.3 for ; Thu, 19 Nov 2026 10:36:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113381; x=1795718181; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=XMWNcYSuvUjVv1i2YqzO4vOhLgAs51nSCdiJykx35Bo=; b=vrOxAl3IGxLFZTNK3HLaD6JEN8kxsyvBbSZ91/0DFvv/tord5Wc8IXWv5z3bFiuCAC eBmxkPxp9s8cISvZvKl2t2Es2vhRyQ19htaEBoOD5mbLmtPUIGJzvecG5uwdiuZyNuXo burMTuM85rNnNR7kg1u7gi5Qxr1CAgnnm96IDnTX17YPofibHsAUxciWxttiG9HBWoT0 W5BR4gMuTgTbguKZgIms9g6a2V6cD0jpn2j88I6l/vaW2eEyk6Vd+DybtSJq4Zc8PgyB yKD0sg9YGOP8SJue4kEdPs+wQQM/It5FxPBWgTjbRT/LcyIYCDwb0axDzMWolerKCFSM BWvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113381; x=1795718181; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=XMWNcYSuvUjVv1i2YqzO4vOhLgAs51nSCdiJykx35Bo=; b=PPOP4xkhWxDqRxjHQ6u9JVPhOTK4ZoU2R39CxtwBm81SYVHB1zXh1o4y76hshg4NVT dhRq30i+7JaTQWiWzqTva0nQiorOjlKaSOtJufQoIVJaZqhj8ZEp12+N8EjfrjR10SCQ tzQ6czgd+NSv8son5XxIMhExY2I/4Y8VPAFICKDh49+s5CB48Sa5LOeYO57GC2f966a9 3D7viVKvnpG82ffQaHWW7l/O+BCg3Z10Xgy+xLfu5uFhv1dUngAdCJ+XXTGbBSp6akmP T+3IG0e8AGoQrm8YLvUGq5LYm9i7yB4QvJn/yiQyV5YzQEbcKtc6OP3b2+D+ieFhltCp F0gA== X-Gm-Message-State: APuU4Z+d/z/+1Gd0OgOf2eRMXPjXC0zZKMc0lel12JkCOaABAkI/KULU YxV7W3mdAEEC0z4+AGFhkQaYQjyFnA3ciQdIJt8DpoM2ADr+hgXB6dkmXYK+lw== X-Gm-Gg: AYBFou3t3OzNosI+FFGVhF6Jbac6cvICt35WrlqxsxnrgdtJN9zTMA+3A5/dfWeKkA9 YrSvR9VNTSj08qoXi7BdvaQEh8GFMq91W0q9Um/WqzjgNHPU2ofBC8Wsib3pddBC62TNEUj43M1 JKdN8V5dGpPfus5yOuSa49/PV+zQnWjCL1PUovulLOK6OpGSPiQrlGf6PAFOI1ByFV3RqWcmmp5 7dJu5Wuxz3kseoHk0/ZI99fvHSRqWcicnn2RgQHIvcwO20+OYSCrb0oP70UYF/4q+yP0HhiSrRJ 0kPuctHvy52AFsKC1SNaxGfYSb8d3N0ZE37MSO4ros3wDcWDjDB72fwqWO8fGy17oshI1RXm6LJ YUru0WzEeOSQqqtzI8sKahNOS1pPjZJw9+M9gfl3Ly2Vv9hoTLSevAzz8WYeLeVJe6S3TvcYd/e ChfC8RcfqTmSF7hrACKpdQNv6Qu7mOxPsdq5dLqXYgygBy6mYaJZ8QKSUQMGuU8dM9eICMGPQIf HL2SShsoCr7ROLsOF7a2dCq2jZ3hK2rq5tOrjrJcAbXrGvWJB/4AoSh27z+OwDNi6vD9weuaOay 6JnREnDjJyb6UrOtWnFMEd+IBKg4f9Srm9mosJ5OVJbSEpxioogsCgHt4n0S5LALzFmegUtUGYQ L1jePCWY= X-Received: by 2002:a05:6300:4086:b0:3e2:8b69:eef0 with SMTP id adf61e73a8af0-4014d25474fmr484722637.19.1795113381206; Thu, 19 Nov 2026 10:36:21 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.36.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:36:20 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Leon Anavi , Khem Raj , Ankur Tyagi Subject: [blacksail][PATCH 10/64] python3-httplib2: Upgrade 0.32.0 -> 0.32.1 Date: Fri, 20 Nov 2026 07:32:38 +1300 Message-ID: <1e1e2f5331f25bf685bd1253a6501a94ae485aca.1795112941.git.ankur.tyagi85@gmail.com> X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:36:25 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132700 From: Leon Anavi Upgrade to release 0.32.1: - cacerts: remove distrusted Comodo AAA Certificate Services root CA due to eMudhra incident https://emudhra.we-have-a-problem.com/ Signed-off-by: Leon Anavi Signed-off-by: Khem Raj (cherry picked from commit cbeb9338439eb0f017e82d74d2e28add8edc9bd3) Signed-off-by: Ankur Tyagi --- .../{python3-httplib2_0.32.0.bb => python3-httplib2_0.32.1.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-httplib2_0.32.0.bb => python3-httplib2_0.32.1.bb} (85%) diff --git a/meta-python/recipes-devtools/python/python3-httplib2_0.32.0.bb b/meta-python/recipes-devtools/python/python3-httplib2_0.32.1.bb similarity index 85% rename from meta-python/recipes-devtools/python/python3-httplib2_0.32.0.bb rename to meta-python/recipes-devtools/python/python3-httplib2_0.32.1.bb index 341cb3dd04..54af71c097 100644 --- a/meta-python/recipes-devtools/python/python3-httplib2_0.32.0.bb +++ b/meta-python/recipes-devtools/python/python3-httplib2_0.32.1.bb @@ -4,7 +4,7 @@ SECTION = "devel/python" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=56e5e931172b6164b62dc7c4aba6c8cf" -SRC_URI[sha256sum] = "48a0ef30a42db65d8f3399045e1d09ab0ba66e3b9efc360d07f80ea55d286025" +SRC_URI[sha256sum] = "37900eb8a74576bd99fc39ae1dc8409f95f965d45b56cbcb2194bb55f58a90e1" inherit pypi python_setuptools_build_meta From patchwork Thu Nov 19 18:32:39 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104945 Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.1859.1795113384834574319 for ; Thu, 19 Nov 2026 10:36:24 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=ATmoSKx6; spf=pass (domain: gmail.com, ip: 209.85.210.181, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f181.google.com with SMTP id d2e1a72fcca58-8a06e79e152so75481b3a.0 for ; Thu, 19 Nov 2026 10:36:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113384; x=1795718184; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=zudrIfrE1pI014KRNuMvLvxz8wAPES1V8X15tzHXsak=; b=ATmoSKx6yOOaZLxbOAgXBRZ9EV6bdRIESjFX80eeSJgY0F4OyF3Zx6y7t84SlTxpO+ 824yLcDt8jyUXr0ACHNCU9Pt8xp0ag8wp94bIsihGaM+lXUrUPnR2matGp8rDm7oyRAB QZUUSBMT/dc674iS4X+6lf1LCz2EG7Py8G76zRf5msoQRJnnPCHQQBDH4fHajNyHMKv5 w/SDWIR6ODCmJS7R+YZCLGevWNumAq45B3e4rW53hEBLOg3fYIiI72A4q1cKaYnEBIrp lY8/XMIC7PYwsBO8OpsKKMOCDjoX4aLAYssEwH86apjwDNGftDRhRhTOMNsgD6bOVoNd h1XA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113384; x=1795718184; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=zudrIfrE1pI014KRNuMvLvxz8wAPES1V8X15tzHXsak=; b=eo3aBnhjaMeH1k86oIWnkj2itP569IxieVXHhMWxazGynkzQWQfKcAjU5uxeZL0wnL QGwGAZ/DLEzvdEu6L2w7xueTej38P44XT9RBk6BBKNkTwm60s+HXqRnLP6xQWLwzl92T ImPdWJ6xuf+E1e/PMW7OP8lPjMg8fAC/Yk9sJu5etjbyzELu/9fCHmqlEDMiad2F9ib0 fl70OGxnlJhlzMIU65LR8/nh7RtoqaCfJ9gcHjY4S57cURmvJs3D9thEZTYeUYX3wmLB 704SCsQCEDpJNtEIO1Fd6kjj5M+XBKpVw/ET/k6Vc4yyPqC6Z280CkKWu5Q0KBzS4vDv fx3A== X-Gm-Message-State: APuU4Z85hs1oeurfaocOit2poAow9jiA0jq7Tv1PMYPmOam3HMDUe+wf P3zkroh+AfS6wElqCfjULVzEOjJIEETpaWrQRCho4W36JbOCDV8IGhchQHMcig== X-Gm-Gg: AYBFou3vRPDqj7EXTYZh4DgLAEmVABASL3buarmaCC7VZ/qp83++xJEu89eIm0gmp7k VTum5CPSc+uUjG5ZumiezQnJUaPMCd+P2Qq/JAOd+IWinecyoES90q3h5Wtcmrm5FlTIL9qTWl7 itop9o/Dq6LJ5qFWZVvveA3KN0hNayCXDFqC3Usq/aVX9MPKIc+eUDJAz9i+Z1/FTfoQKxR0aZe /StnFa5sQ865z976CZBm/fHx5byBCsgKzB9eoNQZXs9596+ScNGMsuWEHq1VS3s7rQeMZNmtXHx TZZEc6FUPUd4llSLc3oDGGohgogOvy+ZObm58vU8EpwCn1twsqYoo670xFUg9Mx+GrQvSYRO2Nk bX9DGgVPqYx5Ww9ZFv8025FOJMAU13RCZehoLP/2wZCdHVQbt2Ax9Qu+HBZ4S10jgscX/iblGHs 9NJ8Fd9xiiajqulzeDdjlqtZosYupWPLgh5i2prU+AoPpYOYDfVOqovJw8tmsrpoVneW+mNUORi NUAfBTCEpv5T2uW/Tj/gv99LPu/JelduzS0SvVG6d+SPHeD5Y6QePSQyRm+n5H8WBXpuw/i0COM iMZSsuzsbJ5+2jKn1Jsuunm0/yHcrzHyJJV+GRb+sI2SyHfw9T312PaK2kONiQ== X-Received: by 2002:a05:6a00:812:b0:89f:172b:3b88 with SMTP id d2e1a72fcca58-8c87d11a780mr380712b3a.47.1795113384178; Thu, 19 Nov 2026 10:36:24 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.36.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:36:23 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Leon Anavi , Khem Raj , Ankur Tyagi Subject: [blacksail][PATCH 11/64] python3-tzdata: Upgrade 2026.5 -> 2026.6 Date: Fri, 20 Nov 2026 07:32:39 +1300 Message-ID: <2fb9b9c2a9babf9121850fd2ac197b1f3e01b5fb.1795112941.git.ankur.tyagi85@gmail.com> X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:36:25 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132701 From: Leon Anavi Upgrade to release 2026.6: - Cuba will not fall back 2026-11-01; stays on -04 through 2027-11-07. - No more leap seconds, and leap second tables no longer expire. - Improve 1965/1966 data for Brazil. Changes to future timestamps: - Cuba will not fall back to -05 on 2026-11-01 and instead plans to maintain -04 through 2027-11-07. Changes to past timestamps: - In 1965 Brazil ended DST on 03-31 at 24:00 not 00:00, and in 1966 it ended DST on 03-01 at 01:00 not 00:00. Changes to documentation and commentary: - Documentation and commentary now reflect leap seconds' demise. Changes to commentary: - Discussion on timekeeping in northwestern Ontario has been updated to reflect that provincial regulation has been issued to allow these areas to stay aligned with America/Winnipeg and follow Manitoba's adoption of year-round -05 after all. - Discussion on timekeeping in Saskatchewan has been updated to document its new Time Act, 2026 which comes into force on 2026-10-30. No change is expected. Signed-off-by: Leon Anavi Signed-off-by: Khem Raj (cherry picked from commit 5d70416431f6acf354d600f74ba57200854de64c) Signed-off-by: Ankur Tyagi --- .../{python3-tzdata_2026.5.bb => python3-tzdata_2026.6.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-tzdata_2026.5.bb => python3-tzdata_2026.6.bb} (86%) diff --git a/meta-python/recipes-devtools/python/python3-tzdata_2026.5.bb b/meta-python/recipes-devtools/python/python3-tzdata_2026.6.bb similarity index 86% rename from meta-python/recipes-devtools/python/python3-tzdata_2026.5.bb rename to meta-python/recipes-devtools/python/python3-tzdata_2026.6.bb index 4590cec28d..b13eae98f6 100644 --- a/meta-python/recipes-devtools/python/python3-tzdata_2026.5.bb +++ b/meta-python/recipes-devtools/python/python3-tzdata_2026.6.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=804220b73c90950be376e7ff7b2066bb \ file://licenses/LICENSE_APACHE;md5=86d3f3a95c324c9479bd8986968f4327 \ " -SRC_URI[sha256sum] = "8cc73c0a0bfca7dbfa59235d60b2eff82231dee33f53d206db1acd9173cfc0a7" +SRC_URI[sha256sum] = "85d2cd9c09f81f0bb29db27759fc83af4f1e620efb814f8c5bf8b4cc4feece6d" inherit pypi python_setuptools_build_meta ptest-python-pytest From patchwork Thu Nov 19 18:32:40 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104946 Received: from mail-pg1-f182.google.com (mail-pg1-f182.google.com [209.85.215.182]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1895.1795113387520059080 for ; Thu, 19 Nov 2026 10:36:27 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=zmQ4CL2m; spf=pass (domain: gmail.com, ip: 209.85.215.182, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pg1-f182.google.com with SMTP id 41be03b00d2f7-cd60c5da24cso63371a12.0 for ; Thu, 19 Nov 2026 10:36:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113387; x=1795718187; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=VG7957jQrDxO0z4OqLFSX03vKOB6m0rro4Bj4TakwaU=; b=zmQ4CL2mhPXs69zxh7idSfEltuFpGzmeN5MuFpooAYqV8OvykvlHMRfHOUFRTCfUMx x4V8Q+n4c2HeSgJsJ3UgDxQX6cxIgaMeP0I4tzB307lyDQ0+DU0u5VfSeyJ3n54i1Hw9 y+TJwgEWMxAXxf8pB3pLCLGQl7VmYA7hAc+md3hbYqG+1X9sfm0JNlO7bFo79wl4kA1S /gUgOthZ/o6mnOinc6Fc/LeviCJBBgLREwvtiP/92GDT4lSMFJOns5CasCfYf/xZgE4M eikZKWhQQLe8MEYaiarbTCWPMmn3hbx58VxkqU2r9cQ+wfkBiY30swyFL4mrvlchys3n d+fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113387; x=1795718187; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=VG7957jQrDxO0z4OqLFSX03vKOB6m0rro4Bj4TakwaU=; b=cRGWheSGO7lBftACgtSMoXWZiXKJJhOHm9ONdzxskIxap7qyI40cB0DIMDO4iDoA7D eBvnC2qxgrWT/PBfqsjnJ8NRh0ZbvVxmYYqHMUbzY8zfQzdIU6eAz7qWJqdQWbd5mkzZ RgsYAIGkx9Ga8UA+KmZIzznaxSmR/2hmliJl71FYL13pwqwPS2sBjC20I5nzpa82qqT7 DdBKpairpEBY0JO5WHvibb1F1IG+xtv/rXuhaaguMVknZQUQ9+64P3pMuzkJNpmM5706 pxe+FzS6esO4UqCuuXdv3hKx3bTsBnbFfCo2Eg5ZalIfqjt2vQjSwWqPaalSqayMgFT9 /3vA== X-Gm-Message-State: APuU4Z9UMf3cnJyGOADRpemHIAO5mz9L/xttZNtTQMVguhtjjLxKGGxl qOhYRr4k+/OReq8z5p9yMfhKd9f/5JRa98MhfdQ9L0YJP1GVag7vl0x2SkLjrw== X-Gm-Gg: AYBFou2mPFQZ5kyL0x3XlCE5FkCIjEsPmuQ+Jr7FsmWQ4YIqNSqTl1RqmpobthBKfpn Xqc/PU0msYPfnvrktK3KKRfqhHACrSCMGg3FU/Mlphqk09+5beJRKklPv57aPAQX5YK0Q0rHysP ZZ4PtMkacbEwl9HiauIRqRmVdnzGJ+VqSI2AdXZO5v7o1CehAzwdiRRqg2BJOy0U+L3YIGKsB5O nBbQGpAj4Em2+W1C8oi0oO0dSQPdXBN/L1A9ciR0brDQYnA3Nxz7lZGvPvmS+MVCFSeuQ++rvIE Gvzb7fiBW7N+AQpQe9RV2zUgPAc0npshznij/weg+Pd3m0obwoaM9ZaOK3CaxiAsGjCBYaFxu7K 0sir3M3BIjVBIftukza1BNzdtM5LQnXVGxW00GqfvpFvriJSaDx7ABS+/LTcwI3zF9gzufGI8SA sZfBmHqCBxKlZhH4uTK2bUj0IDnGuPl7I3tE14r+3volaBo5M7XjxtcVPfQ9n74A+jbwNSX9Rac tR0x/+Oufe5+mu0+goIgYOp1UE6iC2LgfQ8QZOnoG8NsP8fP5qC/cRt0kt3nz9z7/6KiHhXqDnB LOI1BEJ/wIxAzPsalrty2AyjaRBK8OMu/AI4bWVwD/ikVrHRvKNDHqveS4Tttg== X-Received: by 2002:a05:6a20:6a10:b0:3eb:98d2:cd89 with SMTP id adf61e73a8af0-4014b65ccfdmr557295637.25.1795113386765; Thu, 19 Nov 2026 10:36:26 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.36.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:36:26 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Peter Kjellerstedt , Peter Kjellerstedt Subject: [blacksail][PATCH 12/64] glaze: Install the CMake files in /usr/lib/cmake/glaze (as intended) Date: Fri, 20 Nov 2026 07:32:40 +1300 Message-ID: <37c47d74ead168c64ae85e8a876c3242ddbe3b12.1795112941.git.ankur.tyagi85@gmail.com> X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:36:35 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132702 From: Peter Kjellerstedt Commit 23304685070f85c25af858beec06ada10fd9df79 aspired to move the CMake files from /usr/share/glaze to /usr/lib/cmake/glaze. However, all it did was remove the FILES:${PN}-dev assignment, which resulted in the CMake files ending up in the target package. Actually set the install path for the CMake files using -Dglaze_INSTALL_CMAKEDIR:PATH. For some odd reason, it needs to be realtive, or the installed files will not work as intended when cross-compiling. Also remove -DCMAKE_INSTALL_PREFIX and -DDESTDIR from EXTRA_OECMAKE as they are already set correctly by cmake.bbclass. Finally, restore -Dglaze_DEVELOPER_MODE=OFF. It does not seem to affect the installed files, but generates less CMake rules. Signed-off-by: Peter Kjellerstedt --- meta-oe/recipes-support/glaze/glaze_8.3.0.bb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/meta-oe/recipes-support/glaze/glaze_8.3.0.bb b/meta-oe/recipes-support/glaze/glaze_8.3.0.bb index b393460c9f..e1bef79ba5 100644 --- a/meta-oe/recipes-support/glaze/glaze_8.3.0.bb +++ b/meta-oe/recipes-support/glaze/glaze_8.3.0.bb @@ -9,13 +9,15 @@ SRCREV = "dce5e0f7ec572725ec369a0bc59a00eeb2270a9a" inherit cmake +# For some odd reason, glaze_INSTALL_CMAKEDIR must be relative, or the installed +# files will not work as intended when cross-compiling. EXTRA_OECMAKE = " \ -Dglaze_BUILD_EXAMPLES=OFF \ -DBUILD_TESTING=OFF \ -Dglaze_ENABLE_FUZZING=OFF \ + -Dglaze_DEVELOPER_MODE=OFF \ -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=${prefix} \ - -DDESTDIR=${D} \ + -Dglaze_INSTALL_CMAKEDIR:PATH=${baselib}/cmake/${BPN} \ " # Glaze is a header-only C++ library, so the main package will be empty. From patchwork Thu Nov 19 18:32:41 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104947 Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.1860.1795113390174929289 for ; Thu, 19 Nov 2026 10:36:30 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=HueXN45X; spf=pass (domain: gmail.com, ip: 209.85.210.171, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f171.google.com with SMTP id d2e1a72fcca58-8a05b210703so84058b3a.0 for ; Thu, 19 Nov 2026 10:36:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113389; x=1795718189; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=Guy0I91qw3sIoaWNcLghzUXAkO+zYUptDzp1uacYV30=; b=HueXN45XphcZv8BsjZ1qA4LxB70BXZIP1hfvH/lYTNRdTMuliMkJ3712FO/FWYkukF HDoa9iNruwUvxD38dkTch8yEeSQ9VCPsXWhhFerf6NE9eG+CHZiZHT4rv06mioxGOsca sLdckXDpKpEmyASXZHYn+wtLyOU8txiZURc9rTHPPZZahRHO5QbwMuXulphBcsP2dIBF ECYHn2x21FdOCpz0BjvdNZtrpBeZvG4Xf1FSIHb2hApyzRnZ1USdM932VN2wP43ytUxk P72ZPDmqeRSkKEKBoivR662NFySIH/BRz35jJTMW7DeEdTIYUvwWgHt3JSS6BnRLjj3U rFmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113389; x=1795718189; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=Guy0I91qw3sIoaWNcLghzUXAkO+zYUptDzp1uacYV30=; b=Vy2BPLu5IHxgVQFQpXTwXifPZz7yjhqznfgeTWZ1Rbbw/okIgP70J/wqbg/PcaVPk6 BcbKp4ljVy9n/KLTGw7JRTeTl3IXOrSzwuttPUK7AeswN/fopt85HFl6+ywlhEBYE8T3 zYMjgRl0cuB4zaDli/J3cPvNY/cnXVjYtN7xTWxJ7RLjt+ZFeBiEuIsOKr7VRM6SA1vy zXCnJ78ebD9ERw3Qvo3J9VT5UPlU66NfdjtxzY3EJ7H8X8ANijEYXcIcSy5MFUTj9jNm W3uARp8kx69mGFM8DCArwDFS1X0kmPvRmtjy3gKzDe+sb5nzwR4n51ZwUvVx1tOth7Zh Ev6A== X-Gm-Message-State: APuU4Z8udujxgmC8O2QwMJ1ocTPpwdAhxdtyKQFvCznyOIdOnq4Ln8k2 h2PZhNw7IFzGoK9NqzSWg+A4AoYotITxFgyDTxbzaAApkFN/t3wjBA1fIjjFhw== X-Gm-Gg: AYBFou1vfc7eeRxHYnI/jkJ/2YqIpDQgriNvMdwwGrGef/pJ1uSui+V+mIEV3tEcjk+ enpmY3Jd/1ZJwupbSLEGvvfOMo+FRrjjH2q4N2uQfCljbWcAjhqW0iEtIJMhKoGv4PZD6u2Gxqs 0J0Id2TzBBiCgtadKhIABCfnnbzjU5JZuvxZQBMuLFqXCjoxJ44jFxh5KOjqudbYUQA5Xf0pgbI ygjst+YsW2WNBwsZuT73t33Obm54ufMzqdkzKYM0BPS82Z15rlXwbV9+zIcxKSU7BjfqBSI/MBh KH938/Vk9C9bJrJu2ZPwpeLqAm1cfusKZcqEyMGv9L5G40Dy4M+A1mOQP12V/zNsHe0HM0LVacV 5us1ms3SYOMLgWIlF7iEuxgd0OHE4WfVyYMR3enrj/3zX6YSIxFMauJ56zHXadXPszVkROFkjTH nO77XlS8/JcH39g/3FvXHJ/lX/T5v7oMiIJZpPMZTY26/nTcxAm8NZkQXBIQRdJaqkM/+XQoxrx b/qOz9GxeBhd5KLiLxcExWiUaXbLwErk9UD63o9rg46qoJkLl1Po4LzmevLSYKfRxJCa5gyBO3D pCl1G23HjNrq9ErTbkLorNBXLGYYJlUQINyVNYdTGDyXBb8aurOBHaQXegmX0w== X-Received: by 2002:a05:6a00:1788:b0:88c:fa50:1a86 with SMTP id d2e1a72fcca58-8c87c09ec5fmr479277b3a.25.1795113389340; Thu, 19 Nov 2026 10:36:29 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.36.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:36:29 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Ankur Tyagi Subject: [blacksail][PATCH 13/64] assimp: patch CVE-2026-117608 Date: Fri, 20 Nov 2026 07:32:41 +1300 Message-ID: <9a7dd7d8bb9684473f9f5079750ad517978c87d8.1795112941.git.ankur.tyagi85@gmail.com> X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:36:35 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132703 From: Ankur Tyagi Details: https://nvd.nist.gov/vuln/detail/cve-2026-117608 Signed-off-by: Ankur Tyagi --- .../assimp/assimp/CVE-2026-117608.patch | 62 +++++++++++++++++++ meta-oe/recipes-graphics/assimp/assimp_git.bb | 4 +- 2 files changed, 65 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-graphics/assimp/assimp/CVE-2026-117608.patch diff --git a/meta-oe/recipes-graphics/assimp/assimp/CVE-2026-117608.patch b/meta-oe/recipes-graphics/assimp/assimp/CVE-2026-117608.patch new file mode 100644 index 0000000000..2a388cb147 --- /dev/null +++ b/meta-oe/recipes-graphics/assimp/assimp/CVE-2026-117608.patch @@ -0,0 +1,62 @@ +From 9b9c149237ff7bf7f71db8eba7b6cc707e00e0bc Mon Sep 17 00:00:00 2001 +From: venkatchalla06 <111296179+venkatchalla06@users.noreply.github.com> +Date: Sun, 25 Oct 2026 19:48:47 +0530 +Subject: [PATCH] MD2: compute the frame-table bounds check in 64-bit (integer + overflow) (#6963) + +The header validation rejects out-of-file offsets with + offsetFrames + numFrames * frameSize >= fileSize +but numFrames is an attacker-controlled uint32 and frameSize is an unsigned +int that grows with numVertices (another uint32 field), so the product is a +32-bit multiply that can wrap. The AI_MAX_ALLOC guards above bound numFrames +only against sizeof(MD2::Frame) (~44 bytes, ceiling ~48M), while frameSize can +be far larger (e.g. numVertices=1014 -> 4096), so numFrames ~= 2^20 already +wraps numFrames*frameSize to a small value and the check passes. The frame +vertices are then read out of bounds (heap OOB read / info leak). + +Compute frameSize and the four offset+count*size checks in 64-bit so the +products cannot wrap. Reachable from Assimp::Importer::ReadFile() on a crafted +.md2 (MD2 is default-enabled). Confirmed with AddressSanitizer +(heap-buffer-overflow READ in InternReadFile); valid .md2 files +(dolphin/horse/flag/faerie) still load unchanged. + +Co-authored-by: Claude Opus 4.8 +Co-authored-by: Kim Kulling +(cherry picked from commit 7dbc85d9218fae017d4fad70269e7569f7b0c870) + +CVE: CVE-2026-117608 +Upstream-Status: Backport [https://github.com/assimp/assimp/commit/7dbc85d9218fae017d4fad70269e7569f7b0c870] +Signed-off-by: Ankur Tyagi +--- + code/AssetLib/MD2/MD2Loader.cpp | 18 +++++++++++------- + 1 file changed, 11 insertions(+), 7 deletions(-) + +diff --git a/code/AssetLib/MD2/MD2Loader.cpp b/code/AssetLib/MD2/MD2Loader.cpp +index f7101560d..adce318f8 100644 +--- a/code/AssetLib/MD2/MD2Loader.cpp ++++ b/code/AssetLib/MD2/MD2Loader.cpp +@@ -171,13 +171,17 @@ void MD2Importer::ValidateHeader( ) + } + + // -1 because Frame already contains one +- unsigned int frameSize = sizeof (MD2::Frame) + (m_pcHeader->numVertices - 1) * sizeof(MD2::Vertex); +- +- if (m_pcHeader->offsetSkins + m_pcHeader->numSkins * sizeof (MD2::Skin) >= fileSize || +- m_pcHeader->offsetTexCoords + m_pcHeader->numTexCoords * sizeof (MD2::TexCoord) >= fileSize || +- m_pcHeader->offsetTriangles + m_pcHeader->numTriangles * sizeof (MD2::Triangle) >= fileSize || +- m_pcHeader->offsetFrames + m_pcHeader->numFrames * frameSize >= fileSize || +- m_pcHeader->offsetEnd > fileSize) ++ // Compute in 64-bit: numVertices/numFrames are attacker-controlled uint32 header ++ // fields, so numFrames * frameSize (frameSize itself grows with numVertices) overflows ++ // a 32-bit product and can wrap past the file-size check below. The AI_MAX_ALLOC guards ++ // above only bound each count against sizeof(element), not against this product. ++ const uint64_t frameSize = (uint64_t)sizeof(MD2::Frame) + (uint64_t)(m_pcHeader->numVertices - 1) * sizeof(MD2::Vertex); ++ ++ if ((uint64_t)m_pcHeader->offsetSkins + (uint64_t)m_pcHeader->numSkins * sizeof(MD2::Skin) >= fileSize || ++ (uint64_t)m_pcHeader->offsetTexCoords + (uint64_t)m_pcHeader->numTexCoords * sizeof(MD2::TexCoord) >= fileSize || ++ (uint64_t)m_pcHeader->offsetTriangles + (uint64_t)m_pcHeader->numTriangles * sizeof(MD2::Triangle) >= fileSize || ++ (uint64_t)m_pcHeader->offsetFrames + (uint64_t)m_pcHeader->numFrames * frameSize >= fileSize || ++ m_pcHeader->offsetEnd > fileSize) + { + throw DeadlyImportError("Invalid MD2 header: Some offsets are outside the file"); + } diff --git a/meta-oe/recipes-graphics/assimp/assimp_git.bb b/meta-oe/recipes-graphics/assimp/assimp_git.bb index 561ef50508..5fd56f719d 100644 --- a/meta-oe/recipes-graphics/assimp/assimp_git.bb +++ b/meta-oe/recipes-graphics/assimp/assimp_git.bb @@ -9,7 +9,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=f2d38c9e0d63058b051065fb7b1102a8" DEPENDS = "zlib" -SRC_URI = "git://github.com/assimp/assimp.git;protocol=https;branch=master" +SRC_URI = "git://github.com/assimp/assimp.git;protocol=https;branch=master \ + file://CVE-2026-117608.patch \ +" SRCREV = "fe1965b3e73f7c241265e8e5b3015764936a6ce5" From patchwork Thu Nov 19 18:32:42 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104948 Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1899.1795113392435053572 for ; Thu, 19 Nov 2026 10:36:32 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=G217LnD6; spf=pass (domain: gmail.com, ip: 209.85.210.178, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f178.google.com with SMTP id d2e1a72fcca58-8b67f25e6e1so94555b3a.0 for ; Thu, 19 Nov 2026 10:36:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113392; x=1795718192; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=IJE9+Tm2KQ3aXQWBYP6o9BO+bZM4qzqKnZR5fljxIuU=; b=G217LnD6gOrH0aCDQaOnBoVrIdp8hKqoMF4sEbfPot1tgOiylHD+ZCiBZvT9xBYxSV dzR8PI8J4C/V3YeB1Gf4THrzdNmqO1gyAJ/hLLolMhnQ8WCO0qoT/0zJpNRF3MUOaDXV dDWmBltaUXv2NBwereBaetUvIfJ3H1IrfesTcj+I69N0zUwr9DMBEXumS9p6wj0M0yQa vA6JIcwZvJkYZezqITZ2bLIJcbPRbEIhhl5oa5X5KctXDg3rYYVlkKFBdSbu/xF6tsGn Ky2m54qTVHrO/Pdrf25ELeFfvSJ3EjhL9J85lJRXQOiNHqUMmppd9ToOSFlpTx8BByMv vz5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113392; x=1795718192; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=IJE9+Tm2KQ3aXQWBYP6o9BO+bZM4qzqKnZR5fljxIuU=; b=YgEO9TTFpp/gFiHCbkxWeQHtcMY7Pq7TIDGalOt8JiQg/gkZPp5dsUQvqSVTnLxZXz hpW2p83GI75pwDrzku32i8YwbdcqPa8MEsER0U0kKgkijCcD9EbZ7KJkPJqMVuNeHwJs Xw/BhoTCmyomKZcoo1KhyKNpEAi0AGRQven7ts9AK+1vPFwkAebyQvgw8Q2JD6iun7Qe yqC446tztfuhWqkSocXltoNNQMq3tH5kiTPkh+c/scZ8F1Q814Uuj615l2cobL2FPp17 mtDxUjl85iIU7NkLuEygPFtM7iicyjQCeHtBbnLpSHvtCHPN+VbF7vyAO0nhgLGO8CGn WcnQ== X-Gm-Message-State: APuU4Z/EKsTvwEp/wDQ9U4qzS9ErwRp+yKJ15HoXg76YwyaoDR+c6jvW uMVYicFJeG09MsQ5sZn4Wz8PRynQmcDxXRFYhLzVZ5YNrtvLzE2fkuJ5+8Di/w== X-Gm-Gg: AYBFou1Vzk+s+3/iqJD2znBhVcZiMi0R6onv4v3qv6Fy8o/qXq1gldWWNqH11stU8LR Yxs3YhGq6R0PYIz5rAoP1veAv0MxnJmTz6szOsyq4DmUN1YlbKrZ3EYvAIZwwSC83qy16/4ILvz oNSlqugkW6jYuivI6Dx1bBsAvZtPuwuAFV7AEjfYGSm73tz3i/mgvnBp9182X7af3DFNpLhhJYa 8/kBZdKajV+W1OmFAt/mBKCO+ZYBShPBRFp+ZaQftsAsliiFTpMMfDcSZNE90Y099DJMzv7yL2k VLRfWVX5S3XSsTH3hVw9/WWFtc37ZvjOw7TzbZU6DWzzlDW5xGhz0OOE0fjs8QNmKlLGU20VopW Qydx4reXMJ4emQfyewMwSmeePBDumt2lkIB9M/6Hmn88JPGBkRwae0c3WCJo2ue3a7p/sks+1ZW k2eHHWpOmfPhPelb/LDu4m31R5fFJWhrQ2aP6C6tuMT4taJ4WcQVw0xaV7WxrEUw1/JLJy/Pll3 IQO1XdHWcSOewFUmnj99A258BieCMNcSyrnj9CeXGOh7n5KNEwQkwlON6oqQbN9SCYs7L4GOrpe z/8xGrZzIqGexae13s2KzjYFYgITwqbgMNTg5z6WeW4rHVrcAe+pl+q9LKoBKA== X-Received: by 2002:a05:6a00:2d01:b0:89c:d875:603c with SMTP id d2e1a72fcca58-8c87d615131mr500717b3a.53.1795113391822; Thu, 19 Nov 2026 10:36:31 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.36.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:36:31 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Ankur Tyagi Subject: [blacksail][PATCH 14/64] flatcc: patch CVE-2026-116733 Date: Fri, 20 Nov 2026 07:32:42 +1300 Message-ID: <8308d8c8c4ae1371dc37b1249b631dee69777fb1.1795112941.git.ankur.tyagi85@gmail.com> X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:36:35 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132704 From: Ankur Tyagi Details: https://nvd.nist.gov/vuln/detail/cve-2026-116733 Signed-off-by: Ankur Tyagi --- .../flatcc/flatcc/CVE-2026-116733.patch | 30 +++++++++++++++++++ .../recipes-devtools/flatcc/flatcc_0.6.4.bb | 4 ++- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-devtools/flatcc/flatcc/CVE-2026-116733.patch diff --git a/meta-oe/recipes-devtools/flatcc/flatcc/CVE-2026-116733.patch b/meta-oe/recipes-devtools/flatcc/flatcc/CVE-2026-116733.patch new file mode 100644 index 0000000000..86272984f7 --- /dev/null +++ b/meta-oe/recipes-devtools/flatcc/flatcc/CVE-2026-116733.patch @@ -0,0 +1,30 @@ +From 8fcc19366aa081068d2c845084a3ffd907c88129 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Mikkel=20Fahn=C3=B8e=20J=C3=B8rgensen?= +Date: Thu, 22 Oct 2026 18:59:04 +0200 +Subject: [PATCH] Guard against adversarial buffer overrun in JSON parser + +(cherry picked from commit 356792dc155a9e685acdfe0ec1e209bdadcb4ab9) + +CVE: CVE-2026-116733 +Upstream-Status: Backport [https://github.com/dvidelabs/flatcc/commit/356792dc155a9e685acdfe0ec1e209bdadcb4ab9] + +Dropped changes to the CHANGELOG file. + +Signed-off-by: Ankur Tyagi +--- + src/runtime/json_parser.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/runtime/json_parser.c b/src/runtime/json_parser.c +index 4472af2..f9bc9fa 100644 +--- a/src/runtime/json_parser.c ++++ b/src/runtime/json_parser.c +@@ -538,7 +538,7 @@ static const char *__flatcc_json_parser_number(flatcc_json_parser_t *ctx, const + if (buf != end) { + if (*buf == '.') { + ++buf; +- if (*buf < '0' || *buf > '9') { ++ if (buf == end || *buf < '0' || *buf > '9') { + return flatcc_json_parser_set_error(ctx, buf, end, flatcc_json_parser_error_invalid_numeric); + } + ++buf; diff --git a/meta-oe/recipes-devtools/flatcc/flatcc_0.6.4.bb b/meta-oe/recipes-devtools/flatcc/flatcc_0.6.4.bb index 059f888eed..9defbfac04 100644 --- a/meta-oe/recipes-devtools/flatcc/flatcc_0.6.4.bb +++ b/meta-oe/recipes-devtools/flatcc/flatcc_0.6.4.bb @@ -6,7 +6,9 @@ SECTION = "devel/lib" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=b3d8fb7158bf7e2600ba3191428dc4ef" -SRC_URI = "git://github.com/dvidelabs/flatcc.git;protocol=https;branch=master;tag=v${PV}" +SRC_URI = "git://github.com/dvidelabs/flatcc.git;protocol=https;branch=master;tag=v${PV} \ + file://CVE-2026-116733.patch \ +" SRCREV = "fec0275c0d0c5b6f495ab48d51fcde521d72b5fc" inherit cmake From patchwork Thu Nov 19 18:32:43 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104949 Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1901.1795113394940779394 for ; Thu, 19 Nov 2026 10:36:34 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=nbCf26Ds; spf=pass (domain: gmail.com, ip: 209.85.210.176, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f176.google.com with SMTP id d2e1a72fcca58-8c5ebbc5150so85376b3a.3 for ; Thu, 19 Nov 2026 10:36:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113394; x=1795718194; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=QGVcId33t5eJZuJaKQ2SCEhOJlmexKzUz6k2mZ/kLGw=; b=nbCf26Dssty4nNWqtNkDBPTNPEsE4Tfn5cNMjSBDY5BagasM3dwIVW/FnAQt5WVNY9 IfHIQ8FK6bEfIw8iX/ygM27623ykWX2Aw5mzCPqmPfT0oRNuddCLZlHd9m0uFy1niOH3 hmVfQRUvnBf8OrYIN9+C2oybty0TDERM/vo4Q7oHdAw7rtwPyehRuxcdSbJ+/wN7Qszw sIss1Jwlq9348Sf0yEuwNgP6bIaVjCdzWDUToBW6K8Kn9W90JGJEXTi7r5oInLT43Rcg 9AZIhNYrRpP1H5FGG3qKYgFucPapLbJ/0ggRsZ8RZx36QTITDvoeNEYX9P+8K9Wvsqez QRag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113394; x=1795718194; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=QGVcId33t5eJZuJaKQ2SCEhOJlmexKzUz6k2mZ/kLGw=; b=EmefBkPeC0EOGi56DKzFSoCZalvh/XXZyvZrb/u5LXzKIsZDXo6GlaYSNjPdHy4ub0 WigKLsxxatR44gQHMtdLU04SgsBf3TlCaAAHCj2vfG4tzOTjaOEn8BPvngpq63CqHW1L bmXCmecNawjIqrPXKF5CAW5QhLdbgwQKnq8UBIH0dX/n5k7Ehggtj9Mb0E50Em4c21KQ jK4gt6U8kPqy6MbEIjCzT0AeWmCv9FSHcgFs+M3bg3LSn/LSTzL8smg4TaXrJRDwsDGi K08Pz/m3h0vSlrk1QyIPuudMZ5yKwuExCl0MvaYXlS5M/Q02Cs3X8zAbkkzs8HrXWHDb WvVQ== X-Gm-Message-State: APuU4Z8o55sfBEmbfpoSHXwaOtUs8GcgUX0RbeQ6UhOryGouJdJhQ7g1 cFFL8J0GUpwptPB3k93qkhWLGtcmWPkD8hZPUaekwqZCojdKUJqrdHcBFoFvlg== X-Gm-Gg: AYBFou0o3NIe4RFzJJ51NkxRjwc2BfaAWrtMlqyjewzPBXJlGvYUZOlR2FakvSyKOP1 WDsqPM04QsB0+I/A+A4H+AeYFgH9M3jDcHjG6t6OV1TKaWKvs7Zr2gR1FezZHcVFiHbWMQGnSMm G66MzliOLPl1tfWJPKTamCyIAl6jWeBJzEDRszyCuLY3r1BtB+7itcg9Cf9sOufFIexhijYt96R Lk8qJbKYG221qeKROiNWrUYWeuQ+4mQK8gjwO9rEhYf0CKV77ShUWu3GWE+Wk/ymAzbni06rQiB RQ5o/OpyFQyjVHFGVoF8x3FKpCVLvqHuHOFaAe+Xnbj0g69uhcqPFA9uxz6JXADwONOdVxLlq+g FkfWqGetDp4EN4O7Oali6CoZck3dPM2EniaMyYDDoHt2E5+Sd77hzP2bUuT7iqOAdNhR1jnyiMX 5OEG8AmQC5stoLiokMQXRIosOhy+x/jWlYOr41ePh4vtyawMgr5RY2XJW7ufCY00YljV0rxTdeh iaqKvzhO+SEWFzD+kNZsEtWOm8PH1cXCCOin/ZJaTjSJeLGeybzShTd9/HIdN19KSxDyg3qUaKX d0moRSDIcruoU0nPdI5/8QsLFVZmw72Y0fgIA3SfIK+pm7iB8/ZToL+TBbETpA== X-Received: by 2002:a05:6a00:1c8c:b0:89e:259c:cd77 with SMTP id d2e1a72fcca58-8c87d32b296mr448486b3a.57.1795113394323; Thu, 19 Nov 2026 10:36:34 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.36.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:36:34 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Ankur Tyagi Subject: [blacksail][PATCH 15/64] flatcc: patch CVE-2026-116734 Date: Fri, 20 Nov 2026 07:32:43 +1300 Message-ID: X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:36:35 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132705 From: Ankur Tyagi Details: https://nvd.nist.gov/vuln/detail/cve-2026-116734 Signed-off-by: Ankur Tyagi --- .../flatcc/flatcc/CVE-2026-116734.patch | 30 +++++++++++++++++++ .../recipes-devtools/flatcc/flatcc_0.6.4.bb | 1 + 2 files changed, 31 insertions(+) create mode 100644 meta-oe/recipes-devtools/flatcc/flatcc/CVE-2026-116734.patch diff --git a/meta-oe/recipes-devtools/flatcc/flatcc/CVE-2026-116734.patch b/meta-oe/recipes-devtools/flatcc/flatcc/CVE-2026-116734.patch new file mode 100644 index 0000000000..a9e5b59d39 --- /dev/null +++ b/meta-oe/recipes-devtools/flatcc/flatcc/CVE-2026-116734.patch @@ -0,0 +1,30 @@ +From 0bdd50b31bfaabaef9cd92c1a3da7413fc091684 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Mikkel=20Fahn=C3=B8e=20J=C3=B8rgensen?= +Date: Thu, 22 Oct 2026 19:38:52 +0200 +Subject: [PATCH] Fix incorrect overflow guard in verifier + +(cherry picked from commit 0df9c097a19badc8bd22d93af8fd47bd291e5d9f) + +CVE: CVE-2026-116734 +Upstream-Status: Backport [https://github.com/dvidelabs/flatcc/commit/0df9c097a19badc8bd22d93af8fd47bd291e5d9f] + +Dropped changes to the CHANGELOG file. + +Signed-off-by: Ankur Tyagi +--- + src/runtime/verifier.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/runtime/verifier.c b/src/runtime/verifier.c +index e2d1bb6..19243c1 100644 +--- a/src/runtime/verifier.c ++++ b/src/runtime/verifier.c +@@ -127,7 +127,7 @@ static inline int check_header(uoffset_t end, uoffset_t base, uoffset_t offset) + { + uoffset_t k = base + offset; + +- if (uoffset_size <= voffset_size && k + offset_size < k) { ++ if (k + offset_size < k) { + return 0; + } + diff --git a/meta-oe/recipes-devtools/flatcc/flatcc_0.6.4.bb b/meta-oe/recipes-devtools/flatcc/flatcc_0.6.4.bb index 9defbfac04..330aeccc16 100644 --- a/meta-oe/recipes-devtools/flatcc/flatcc_0.6.4.bb +++ b/meta-oe/recipes-devtools/flatcc/flatcc_0.6.4.bb @@ -8,6 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b3d8fb7158bf7e2600ba3191428dc4ef" SRC_URI = "git://github.com/dvidelabs/flatcc.git;protocol=https;branch=master;tag=v${PV} \ file://CVE-2026-116733.patch \ + file://CVE-2026-116734.patch \ " SRCREV = "fec0275c0d0c5b6f495ab48d51fcde521d72b5fc" From patchwork Thu Nov 19 18:32:44 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104950 Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1903.1795113397403433922 for ; Thu, 19 Nov 2026 10:36:37 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=Dt2/g8b/; spf=pass (domain: gmail.com, ip: 209.85.210.169, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f169.google.com with SMTP id d2e1a72fcca58-8c4cc85a315so107729b3a.0 for ; Thu, 19 Nov 2026 10:36:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113397; x=1795718197; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=6CQMGDBBUx9y1Hw9WcmVXq9pFRko7pyUGxZKghOYO9Y=; b=Dt2/g8b/TsKQHvJQga7QQJAXpYVlUz5YzT3jzeroX/IJfZyK4XJYXhnHYIHqHr7Zma /WKCJXSo2Az2rWVtZCHTBjdzBmwzIOzBVgV6RMwqiI5b0LCI8ND/Nlr1FUNuAfYS5LEk XPi+yPtgc5+JnNKpaWgoErIrRyXUvz0668IPqqwlEQ12seYxCT9i7fp2K5DeWCjS6loi UihYMvpH5lPl37K2SqB7+M3iTUhwuIBP2O6Hk1/2iKlEmLs8a7EMzK8qcI7lHYoh18M3 YTJPo8P1jSHX1FQibitjNrrv/Ef0CksmUkx8Rwrw7VJWjsoYttJ/Osi/5xBEGBuCkMYy E2cA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113397; x=1795718197; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=6CQMGDBBUx9y1Hw9WcmVXq9pFRko7pyUGxZKghOYO9Y=; b=kJcJ6rOyXNKrOGOhbRIfaFkocP3qz876smquECHvr01bWnRuTKCj141iKEByM6s/nk EWZWFMWg4C3M5ly//f8VI8RELeyut09XUDegCGzjDSei+IhtYI7wQd5+jGkgqSj56JJa YoVMRECSPEHTxK1skMNnlqcX8PA+C4q2Zin1huVaODAVcEPrtpKhMsxpt9jiSODOZQlM b/48je4CXIhMbgt7QcFM1YNwoOL0a6LG2QXdTh5/TG+LehrZ+PHVoxnplGl0oOGN5XvJ JLJLCwDYeGp9l3W9J09JPSPA97kLQNG2dFBYJHt2lJc7qpHuZCL+5rToMBH1Svcc9Pou 4l3A== X-Gm-Message-State: APuU4Z/WD9MyMKjTJlSe9UTAory9uhcxXOWhakr0O24uJXNt5j5NRr9z lSttAMztYieQX9plzS4vn0hKDsshCCbnTPI/kZPe+Z00l1HFmeD0VPFo9seC6A== X-Gm-Gg: AYBFou12+7M7aRXkBDa67R24PbSmQSBj6HkJCnFBRL2utAS/c6MkLOywXPBlfqa7/Ap hGAt/ys0FnUZM3OJzCzjXDl36EOgsROt7DeuIo89fnXP9QeeKAIwCfmEHXZAqR9robygJQexVJl WWILxhay7D/2LJzVh60kJyPVqRbMrRb2IN1LWUgkZW8OK8IC7B+PxcthVXIYL3ANJhXlfyDV28q BJZ/X3CDgucpXNPxjIbSRSkGZAcwCZRN8qMiNjETeHKb7WBeL8d40b61e2ij+kZGys0AZFQkpGA IuTY6hbS5PWWo09DmJjDkI3E/G/B44AvSanIiF2o5d69sWTShJKXxoMGKjMG1YINzQ/T23kWt5p HIIo06JNOLvKjBlTXfg7lqD5Mm1m0uS69cPVLbLQg4qeOco1g0Gwgs/mVRDD0aQ1JSipAaLodRC fGL8vT5FNGg48sVyjn8p4FFF5SamEgTodt2NrAFpzjGkAbwnxnYIvOCRMrCfDBRyir6ZSwvZyDf eQKeIkg7occn9OzdFsoggC0+iiaS8aEJN7flRTlQuPH6K4wcuqt2BaZ5IvQ2VgemiR7vCw245cn bU2WGb9LMmKUkstukc7l2o88XhOKK9HINbPxkgIdusuCYgDabUgFmD6fDe7BGA== X-Received: by 2002:a05:6a00:3ccf:b0:878:34d7:6a30 with SMTP id d2e1a72fcca58-8c87c864e9dmr423983b3a.36.1795113396550; Thu, 19 Nov 2026 10:36:36 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.36.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:36:36 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Ankur Tyagi Subject: [blacksail][PATCH 16/64] ndpi: patch CVE-2026-116744 Date: Fri, 20 Nov 2026 07:32:44 +1300 Message-ID: X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:36:45 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132706 From: Ankur Tyagi Details: https://nvd.nist.gov/vuln/detail/cve-2026-116744 Signed-off-by: Ankur Tyagi --- .../ntopng/files/CVE-2026-116744.patch | 33 +++++++++++++++++++ .../recipes-support/ntopng/ndpi_5.0.bb | 1 + 2 files changed, 34 insertions(+) create mode 100644 meta-networking/recipes-support/ntopng/files/CVE-2026-116744.patch diff --git a/meta-networking/recipes-support/ntopng/files/CVE-2026-116744.patch b/meta-networking/recipes-support/ntopng/files/CVE-2026-116744.patch new file mode 100644 index 0000000000..5794963ada --- /dev/null +++ b/meta-networking/recipes-support/ntopng/files/CVE-2026-116744.patch @@ -0,0 +1,33 @@ +From 00706d4da0b7a1f9eff61e5835a0a1cc22c9c7e1 Mon Sep 17 00:00:00 2001 +From: Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> +Date: Mon, 26 Oct 2026 17:35:39 +0100 +Subject: [PATCH] softEther: fix out-of-bounds read (#3298) + +Close: #3291 + +Reported by HaiND (Nguyen Dinh Hai), Post and Telecommunication +Institute of Technology, github.com/Haind03 + +(cherry picked from commit ca9d819151606377ac53305583fe819748c69be2) + +CVE: CVE-2026-116744 +Upstream-Status: Backport [https://github.com/ntop/nDPI/commit/ca9d819151606377ac53305583fe819748c69be2] +Signed-off-by: Ankur Tyagi +--- + src/lib/protocols/softether.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/src/lib/protocols/softether.c b/src/lib/protocols/softether.c +index 379e743f7..c6f5d131e 100644 +--- a/src/lib/protocols/softether.c ++++ b/src/lib/protocols/softether.c +@@ -200,7 +200,8 @@ static int dissect_softether_host_fqdn(struct ndpi_flow_struct *flow, + payload += value_siz; + payload_len -= value_siz; + +- if(strncmp(val1.value.ptr.value_str, "host_name", value_siz) == 0) ++ if(val1.value_size > 0 && ++ strncmp(val1.value.ptr.value_str, "host_name", value_siz) == 0) + got_hostname = 1; + + for (; tuple_count > 0; --tuple_count) { diff --git a/meta-networking/recipes-support/ntopng/ndpi_5.0.bb b/meta-networking/recipes-support/ntopng/ndpi_5.0.bb index 6eadf8ba62..80890b1f27 100644 --- a/meta-networking/recipes-support/ntopng/ndpi_5.0.bb +++ b/meta-networking/recipes-support/ntopng/ndpi_5.0.bb @@ -11,6 +11,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b52f2d57d10c4f7ee67a7eb9615d5d24" SRCREV = "375f99ef9fb4999d778b57bbeece171b3fa9fba6" SRC_URI = "git://github.com/ntop/nDPI.git;branch=5.0-stable;protocol=https;tag=${PV} \ file://0001-configure-Stop-embedding-pwd-at-configure-time.patch \ + file://CVE-2026-116744.patch \ " inherit autotools pkgconfig From patchwork Thu Nov 19 18:32:45 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104951 Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1905.1795113400400755573 for ; Thu, 19 Nov 2026 10:36:40 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=mAYSX0Zt; spf=pass (domain: gmail.com, ip: 209.85.210.178, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f178.google.com with SMTP id d2e1a72fcca58-8c20d68c83fso841714b3a.0 for ; Thu, 19 Nov 2026 10:36:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113400; x=1795718200; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=PvxhZ2kFyCWQcqcWfjc+tRGWgXHVRPHNao39E3JKd4s=; b=mAYSX0ZtC23nTwFExKer9zjO8VdgO7bi5bXCJTixtwFE2I7S9q1PLfY9SzLOaDJuHG d235YwF0e2LsQcFsifbP0I5mXpWglyL/ZUVQuzxigUhP8vHbwu4Sxm7glm3cpg1G62HC u/9HFUalfPZiUD4i/Y3RWs0sfs/Es04Xv8I98WtQyoZG1O+vrAL/jswCIVcbq6fZIiD8 l9PX6cOu5HiPzcmiHn57SEn7iv8npE0Jse9AxzMu5ReCBpFjlL0A8COcTdAxiRT7YGej 3Egh78cNbZOZ8XH9bLf3pWla/t2zg0HCoc+7LIvHbjYkPmRgrLmUmTWYg2lJVbh/vWqP 0csw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113400; x=1795718200; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=PvxhZ2kFyCWQcqcWfjc+tRGWgXHVRPHNao39E3JKd4s=; b=mTk7IDTN8OxgINylTAd5+azMbphG6e6Zna1cWuCioPB7R1nOkfoD54dKxbazUAUqgs fvmhX7dL68hi9dt6LHu8Y362eUWtViQ/fRgTFBzJ1dCH2MsAvds77lQu472itMCWjBsy whS3KKiUhJXyOHIhKJZOdtpK+Cs+p1mJUMue4aSOyLT9bi9cb+ZBThXcqYI565QJTqzD 6HhnjXky01PRDpg2D/oKkEqmZPnHGvBFi3Kvt8GX8bfmYlafzT+Ug5qbtombavWz1uXL COEGc5XQR3D2UvZCixoPvn5nXhqsCkp+HQpD1F7s+y6+QHV3uQ3PdbWZAj8YiPwp0Cm6 nX9Q== X-Gm-Message-State: APuU4Z9XZdf3IdzeMRUyOD5+auOqQQ6ruqtixF+drdZjc9yQy4tbORxd vDyqFc/iBRMMUWMxLrWShCTrcGRVEY+josYXUNDycxMnp43A5NTR3ps32Vp+Qg== X-Gm-Gg: AYBFou2UlvMYva3LiwAdvVhWmxz/2bn7CUluE4Q28B/D2vBujQQ0An33SHkJH5v42Jm zGd5nJZwE8Bsb3/iHsdwV9SgU7ZqNK7eNGsf9Zl9USnlyXXcjYY3zzIBz8/yRHdrkHntCezit3h iaRNcU13EGzEW8PmeRpJ68tksZz/PtVtloFvRdrZN1/VY5udorkRzhD2bX/w7rh24XnfavB7TXn AF12kalQkESczHodJiCfWU5huo1SN5+mwMDdCQL57Fsj95k50QLqY+EVU+e0y+56oL7eXpl4Cnu pWrRkMxnrcmZX4sXZEcBqY4r2w0BO+2JN4gqPXutPJOjqpI29wUQeTayVdRko2RiJPTZ8cnYU+K IfUVg9o+4u9A5bOenRgWRGJev2UBVdOTB0S55H/z4Qy8Hue6mqCdgeTzcWX9F+qLo9HgBsr0Rk8 HGwfdO8pbp+5qHZ8h1s2hpZD/P0W+MvpWFnKSR9Kn2o6/fvgu7xAxWPZ28iYokdhJAM7FY0eLXD 7MICXbYP9Ryftx/eO5TbjBhNzIhHkjWj3dEwxQMfjn29ptJXsFtoqb0J13rNJEtI2dyr0gEK/W6 6lPmx2JeEm7+a+/lRSmXVrgnB2yMEJk6jQACphzvJD801ViHsg95kHhcHzwn7cYA5N7N8F1PlcK 7JjOr8Ck= X-Received: by 2002:a05:6a21:6f89:b0:3f1:fdd4:5742 with SMTP id adf61e73a8af0-4014ca44afbmr308723637.9.1795113399637; Thu, 19 Nov 2026 10:36:39 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.36.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:36:39 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Jason Schonberg , Khem Raj , Ankur Tyagi Subject: [blacksail][PATCH 17/64] cockpit: upgrade 366 -> 366.1 Date: Fri, 20 Nov 2026 07:32:45 +1300 Message-ID: X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:36:45 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132707 From: Jason Schonberg This is a security release. Fixes for CVE-2026-91147, CVE-2026-91149, CVE-2026-76235, CVE-2026-91148 Changelog: https://github.com/cockpit-project/cockpit/releases/tag/366.1 Signed-off-by: Jason Schonberg Signed-off-by: Khem Raj (cherry picked from commit 33f74f5dc5cf6a1411e6d26f8535f0e31851bd09) Signed-off-by: Ankur Tyagi --- .../cockpit/{cockpit_366.bb => cockpit_366.1.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-webserver/recipes-webadmin/cockpit/{cockpit_366.bb => cockpit_366.1.bb} (98%) diff --git a/meta-webserver/recipes-webadmin/cockpit/cockpit_366.bb b/meta-webserver/recipes-webadmin/cockpit/cockpit_366.1.bb similarity index 98% rename from meta-webserver/recipes-webadmin/cockpit/cockpit_366.bb rename to meta-webserver/recipes-webadmin/cockpit/cockpit_366.1.bb index b8d12d5ea1..e12cabcd98 100644 --- a/meta-webserver/recipes-webadmin/cockpit/cockpit_366.bb +++ b/meta-webserver/recipes-webadmin/cockpit/cockpit_366.1.bb @@ -9,7 +9,7 @@ SRC_URI += " \ file://0001-Warn-not-error-if-xsltproc-is-not-found.patch \ file://cockpit.pam \ " -SRC_URI[sha256sum] = "bf0a8c37eca303282a85777e049fce67fe2002743fabfb3e85f9de24855b099a" +SRC_URI[sha256sum] = "514723bdac652ec1fb55d0288ae775799e784708f34a5db66b9d8984c4ac4735" UPSTREAM_CHECK_URI = "https://github.com/cockpit-project/cockpit/tags" UPSTREAM_CHECK_REGEX = "releases/tag/(?P\d+(\.\d+)*)" From patchwork Thu Nov 19 18:32:46 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104952 Received: from mail-pf1-f177.google.com (mail-pf1-f177.google.com [209.85.210.177]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.1866.1795113403385455847 for ; Thu, 19 Nov 2026 10:36:43 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=zn89E+2z; spf=pass (domain: gmail.com, ip: 209.85.210.177, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f177.google.com with SMTP id d2e1a72fcca58-8a052aff9e9so122575b3a.0 for ; Thu, 19 Nov 2026 10:36:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113403; x=1795718203; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=tca6sgiL2YEvmfXz214MS9KqwakXbQyG9Awt4jLSwyk=; b=zn89E+2z9QllVxuA1HD7Sf3PYwGNQpWPjGmRjuh/hJRlVUceJuiTc4dgP9M12voJkr RUzwLzEijvAnKvvRYOMdRWVKgjgKrGWO4WS/zYORa6OM12RPURc4/mG9SOyjPfNOz3lR J/5Q0iVl9eepIaEQCf2Uwzh9e8zXW85rmhvt/gkITwBoiPkTc4Fv8vp7azzSGTK77IeR ggyGeiZAq3jh2kiuMz85wWEqBrARBHUVB+Kj9A/s86pRMoNLLK8D3dN9e/Nz8ztS9+E0 VaY6srjy/pwPHFPQiDFWd3HfY5JwtYoxE83pb6cSxSC2GsswSQ5SRoaaFkXnBsX2UfQN jrHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113403; x=1795718203; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=tca6sgiL2YEvmfXz214MS9KqwakXbQyG9Awt4jLSwyk=; b=GgftT+Ah9EVjhdcJiw+EpjQ2V+YmZBIro7p2YBjAHpsnmnQmTwXlysh8qhxP2OSPlZ NaS/IodV5aTAYrvZZvCZU9aDuSJQq/JNoZObq/14In2KjRYy5YJWM1OOqI53gQ9RHwuf jqnZnrrVXDxDXAxQ5NHbAKOYxFYtahqVw1dZotxKuc6a+lLbROvUyLZ9BCRAdlt88Th8 0e2cQQGm8TeUGVKMXGCiV1aa0223ZfD6uE6yjUF/Z3cNOYUF/wQQ1SB968QoqeqIY/Y1 VmK58QEUnkC6ehfkjWx99ulzx1RpQNEJ/bD3Qs/krjDr+Bw0N6V98Tb70c/uyZXb9XJW CUCQ== X-Gm-Message-State: APuU4Z+CqDnMYgsoP/2Xjlj13yiNcVar9VSdwIVKyf1wgmn61D1tbCXJ HEy02AxfQS5WUrH9fdhEsfy54w7TbEkzZLEiVjmmH0JPNwTtIOuiigu/ChxCZA== X-Gm-Gg: AYBFou2DVmvhNXJrNXCWoF9wgXc35DD8M2swNSRyZpM9becj1ZGqvzOdikk53weEQol 44XpLrk4jatbRTVPV5DVDdiBnFKPRZwQSvZAgEyK+fbuv1svr2kouNWWe8Eo1L7WEUQQaHiMSDX W97C4Vmnynr/YicImIzZ/JtDioN9S8LnzNVqQKR7qY7VvqsA2ufFcJnA5VSMc5JVfJXlomxEgso 069hssVkBC0Xj2m1dl5d9fW6AJOYcibklEDFA8UtHuNwg//Jdtg7KEXlrDeKIbBqpbq7EHeLRAc WAECOAmCuLgVxH6RX83EEjK9HiXzQlVWd5/GWc/vEUTD+MzxMYn9+vOWePB9sPGOy3mvFT34rKy DIY8Ba7e/TAhIOJu9uo3Qlg/Hq4RpsBnveuZbPepx6HGAh8L5lrSTfUI+1r/hhQVTyiA83ENtVQ /4TtBR370EGtm7cpHosF5Z/mcUX+MJ+VziiIG51s5wGCekVQg6wQRP/VL0Q4UG0ZFGKrsHC7ccE CFrMCNHGLg7zXzeqA3UTQSIt58fL3vn6aascMGk8xg+lAuyf+T2oCPuKrsGoioRvJ5dvSiflmsz MB3lc5XRFsvc/TZe2DK8yJgN7noqlThqxIwLZCkjxXufE7nxYtbh4XqpgyGKwA== X-Received: by 2002:a05:6a00:88f:b0:882:956c:58e2 with SMTP id d2e1a72fcca58-8c87bdb42edmr510648b3a.17.1795113402701; Thu, 19 Nov 2026 10:36:42 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.36.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:36:42 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Johannes Schneider , Khem Raj , Ankur Tyagi Subject: [blacksail][PATCH 18/64] imx-cst: restore PKCS#11 signing on OpenSSL 4 via the provider Date: Fri, 20 Nov 2026 07:32:46 +1300 Message-ID: X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:36:45 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132708 From: Johannes Schneider 0015-fix-openssl-4-engine-api-removal made CST build against OpenSSL 4 by stubbing out the removed ENGINE API, but left PKCS#11-backed signing broken: ENGINE_by_id("pkcs11") returns NULL, so engine_ctx_init() fails. Add a patch that reimplements the pkcs11 certificate and key loading on OSSL_STORE and the pkcs11 provider (pkcs11-provider), restoring HSM/token-backed signing on OpenSSL 4. OpenSSL 3 builds are unaffected. Assisted-by: Claude:claude-opus-4-8 Signed-off-by: Johannes Schneider Signed-off-by: Khem Raj (cherry picked from commit 3de9f29b7f0cf8587e05803169baa0dda016568a) Signed-off-by: Ankur Tyagi --- ...cs11-signing-from-engine-to-provider.patch | 236 ++++++++++++++++++ .../recipes-support/imx-cst/imx-cst_4.0.1.bb | 1 + 2 files changed, 237 insertions(+) create mode 100644 meta-oe/recipes-support/imx-cst/imx-cst/0017-cst-port-pkcs11-signing-from-engine-to-provider.patch diff --git a/meta-oe/recipes-support/imx-cst/imx-cst/0017-cst-port-pkcs11-signing-from-engine-to-provider.patch b/meta-oe/recipes-support/imx-cst/imx-cst/0017-cst-port-pkcs11-signing-from-engine-to-provider.patch new file mode 100644 index 0000000000..699402a447 --- /dev/null +++ b/meta-oe/recipes-support/imx-cst/imx-cst/0017-cst-port-pkcs11-signing-from-engine-to-provider.patch @@ -0,0 +1,236 @@ +From: Johannes Schneider +Subject: cst: port pkcs11 signing from the OpenSSL ENGINE to a provider + +OpenSSL 4.0 removed the ENGINE API, so CST's pkcs11-backed signing stops +working: ENGINE_by_id("pkcs11") returns NULL and engine_ctx_init() fails. + +Reimplement the pkcs11 certificate and key loading on OSSL_STORE and the +pkcs11 provider. engine_ctx_init() loads the default and pkcs11 providers -- +default explicitly, because activating any provider stops OpenSSL +auto-loading default, which would drop the EVP digest and signature algorithms +the signer needs. ENGINE_load_certificate()/ENGINE_load_key() open the pkcs11 +URI through OSSL_STORE and return the X509 / EVP_PKEY, feeding the existing CMS +and EVP signing unchanged. The public entry points keep their names and +signatures; the ENGINE * argument is now vestigial. The PIN travels in the URI +(pin-value=). + +Upstream-Status: Pending +Assisted-by: Claude:claude-opus-4-8 +Signed-off-by: Johannes Schneider +--- +Builds on the engine-stub change already in this recipe's series +(0015-fix-openssl-4-engine-api-removal), which only makes the file compile and +noted that pkcs11-backed signing was still unavailable on OpenSSL 4; this +restores it. +--- a/src/lib/back_end/engine.c ++++ b/src/lib/back_end/engine.c +@@ -7,8 +7,9 @@ + /* + * OpenSSL 4.0 removed the ENGINE API. still declares + * it for source compatibility, and defining OPENSSL_ENGINE_STUBS turns the +- * declarations into inline no-ops so this file keeps linking. The pkcs11 +- * engine simply does not exist there, which engine_ctx_init() reports. ++ * declarations into inline no-ops so this file keeps linking. Signing no ++ * longer uses an engine (see engine_ctx_init); the vestigial ENGINE * only ++ * keeps the public entry points' signatures unchanged. + */ + #define OPENSSL_ENGINE_STUBS + +@@ -19,6 +20,8 @@ + #include + #include + #include ++#include ++#include + #include + + #if CST_WITH_PKCS11 +@@ -31,6 +34,76 @@ + } + #endif + ++/* Load default and pkcs11 once; "default" explicitly, or activating pkcs11 stops OpenSSL auto-loading it and the signer loses its EVP algorithms. */ ++static int load_providers(void) ++{ ++ static int loaded; ++ ++ if (loaded) ++ return 1; ++ ++ if (!OSSL_PROVIDER_load(NULL, "default")) { ++ fprintf(stderr, "ERROR: cannot load the default OpenSSL provider\n"); ++ return 0; ++ } ++ if (!OSSL_PROVIDER_load(NULL, "pkcs11")) { ++ fprintf(stderr, "ERROR: cannot load the pkcs11 OpenSSL provider; " ++ "is pkcs11-provider installed and OPENSSL_MODULES set?\n"); ++ return 0; ++ } ++ ++ loaded = 1; ++ return 1; ++} ++ ++/* Load a certificate and/or key from a PKCS#11 (or any OSSL_STORE) URI; returns 1 only if every requested object was found. */ ++static int store_load(const char *uri, X509 **cert_out, EVP_PKEY **key_out) ++{ ++ OSSL_STORE_CTX *store = NULL; ++ int ok = 0; ++ ++ if (!uri) ++ return 0; ++ ++ store = OSSL_STORE_open(uri, NULL, NULL, NULL, NULL); ++ if (!store) { ++ fprintf(stderr, "ERROR: cannot open PKCS#11 store for %s\n", uri); ++ return 0; ++ } ++ ++ while (!OSSL_STORE_eof(store)) { ++ OSSL_STORE_INFO *info = OSSL_STORE_load(store); ++ ++ if (!info) { ++ /* NULL means EOF or a non-fatal error; break on the error flag, or a bad object spins forever (eof stays 0). */ ++ if (OSSL_STORE_error(store)) ++ break; ++ continue; ++ } ++ ++ switch (OSSL_STORE_INFO_get_type(info)) { ++ case OSSL_STORE_INFO_CERT: ++ if (cert_out && !*cert_out) ++ *cert_out = OSSL_STORE_INFO_get1_CERT(info); ++ break; ++ case OSSL_STORE_INFO_PKEY: ++ if (key_out && !*key_out) ++ *key_out = OSSL_STORE_INFO_get1_PKEY(info); ++ break; ++ default: ++ break; ++ } ++ OSSL_STORE_INFO_free(info); ++ ++ if ((!cert_out || *cert_out) && (!key_out || *key_out)) ++ break; ++ } ++ ++ OSSL_STORE_close(store); ++ ok = (!cert_out || *cert_out) && (!key_out || *key_out); ++ return ok; ++} ++ + struct engine_ctx *engine_ctx_new(void) + { + struct engine_ctx *ctx = NULL; +@@ -41,16 +114,13 @@ + + int32_t engine_ctx_destroy(struct engine_ctx *ctx) + { +- if (ctx) { +- ENGINE_free(ctx->engine); ++ if (ctx) + OPENSSL_free(ctx); +- } + return 1; + } + + int32_t engine_ctx_init(struct engine_ctx *ctx) + { +- dynamic_fns fns; + /* OpenSSL Initialization */ + #if OPENSSL_VERSION_NUMBER >= 0x10100000 + OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS | +@@ -66,60 +136,46 @@ + + ERR_clear_error(); + +- ENGINE_load_builtin_engines(); +- +- ctx->engine = ENGINE_by_id("pkcs11"); +- +- if (!ctx->engine) { +- fprintf(stderr, "ERROR: cannot load the pkcs11 OpenSSL engine\n"); +-#if OPENSSL_VERSION_MAJOR >= 4 +- fprintf(stderr, +- "ERROR: OpenSSL 4.0 removed ENGINE support, so PKCS#11 " +- "backed signing is unavailable\n"); +-#endif ++ if (!load_providers()) + return 0; +- } + +-#ifdef DEBUG +- ENGINE_ctrl_cmd_string(ctx->engine, "VERBOSE", NULL, 0); +-#endif +- +- if (!ENGINE_init(ctx->engine)) { +- ENGINE_free(ctx->engine); +- return 0; +- } ++ ctx->engine = NULL; + + return 1; + } + + int32_t engine_ctx_finish(struct engine_ctx *ctx) + { +- if (ctx) +- ENGINE_finish(ctx->engine); ++ (void)ctx; + return 1; + } + + X509 *ENGINE_load_certificate(ENGINE *e, const char *cert_ref) + { +- struct { +- const char *s_slot_cert_id; +- X509 *cert; +- } params = {0}; ++ X509 *cert = NULL; + +- params.s_slot_cert_id = cert_ref; +- params.cert = NULL; ++ (void)e; + +- if (!ENGINE_ctrl_cmd(e, "LOAD_CERT_CTRL", 0, ¶ms, NULL, 1)) { ++ if (!store_load(cert_ref, &cert, NULL)) { + ERR_print_errors_fp(stderr); + return NULL; + } + +- return params.cert; ++ return cert; + } + + EVP_PKEY *ENGINE_load_key(ENGINE *e, const char *key_ref) + { +- return ENGINE_load_private_key(e, key_ref, 0, 0); ++ EVP_PKEY *key = NULL; ++ ++ (void)e; ++ ++ if (!store_load(key_ref, NULL, &key)) { ++ ERR_print_errors_fp(stderr); ++ return NULL; ++ } ++ ++ return key; + } + + X509 *engine_read_certificate(const char *cert_ref) +@@ -161,14 +217,8 @@ + #endif + + out: +- if (ctx) { +- /* +- * Destroy the context: ctx_finish is not called here since +- * ENGINE_finish cleanups the engine instance. Calling ctx_destroy +- * next will lead to null pointer dereference. +- */ ++ if (ctx) + engine_ctx_destroy(ctx); +- } + + if (error) + ERR_print_errors_fp(stderr); diff --git a/meta-oe/recipes-support/imx-cst/imx-cst_4.0.1.bb b/meta-oe/recipes-support/imx-cst/imx-cst_4.0.1.bb index ec6838e95d..3a0f717440 100644 --- a/meta-oe/recipes-support/imx-cst/imx-cst_4.0.1.bb +++ b/meta-oe/recipes-support/imx-cst/imx-cst_4.0.1.bb @@ -29,6 +29,7 @@ SRC_URI = "\ file://0014-fix-pointer-sign-errors-with-clang.patch \ file://0015-fix-openssl-4-engine-api-removal.patch \ file://0016-fix-openssl-4-const-subject-name.patch \ + file://0017-cst-port-pkcs11-signing-from-engine-to-provider.patch \ " SRC_URI[sha256sum] = "fd92a1a9faa10fb81bbf752c7ee1e257f17e1ec4c2964f8a47adf8a3eaa7df41" From patchwork Thu Nov 19 18:32:47 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104953 Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com [209.85.210.179]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.1868.1795113405646487811 for ; Thu, 19 Nov 2026 10:36:45 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=JHsvevSq; spf=pass (domain: gmail.com, ip: 209.85.210.179, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f179.google.com with SMTP id d2e1a72fcca58-8b2f59de176so100512b3a.2 for ; Thu, 19 Nov 2026 10:36:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113405; x=1795718205; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=HwJeOUwNFMXV3d/91q0xYegAsYLnI7s/rFtLML35r6Y=; b=JHsvevSqHE1uuCXVeetUxg4xZhenkR6VT1IsuBgJSC0vRC9ecegPtrnIzO7yDi5LkQ xnxsubbD3tN+Lf9SMAk34jTfm3FXss0hMAP3gCcOxbimeW3c48VVs/FSLF8wCgT1YOvr 139+iokhB5XSiyplYp9Bki6IS3wh7m898o9HlDcaU0A9Bl56Qqw4lRJkIMoAdmo4m4EG Qzub5B3mYUcCQ5zmh0JnRwHQXD4RBxc0kxnqz4vYWVaSaCorq6UrVzUxwT+LggJAjOrB Y7dou4m7g5PWdXCOVb5xp1wixaVc9fS0vXiu797zWmThl1EtIUl2XotdN8y6fG2gEfNu 74mQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113405; x=1795718205; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=HwJeOUwNFMXV3d/91q0xYegAsYLnI7s/rFtLML35r6Y=; b=rKB13IfS+nghlmH4GU/VywXzfJusfEVsDJlyvpu1xqxgHspz/IwJT5l63XMGfmrk+o obTny29J2D9LXobhnH/qAWP7WbQXMvGXQ03CUH6D1uh77zKL1cvmSMYBrO0RncH22Rn1 3J2sXDN2//n7l6LFS11lExq9uxNbGaCDIEUkHPxyd7XRdbUO8GywqCZLhiph499l58VT omJ+fRt2WHnXsNs9gIBaSqe9ENEw6oof0sfetuvnMlhIJH48VumAF3DwtqLk8JpELzbX HZ73BZJPg45SAULCozdNT3dQIxfL7GgebrI/FDDu+zAaQ+HsTEmW2fqln7kdb0PZQDZz gtEg== X-Gm-Message-State: APuU4Z/tOG0L4G2x9BTmMlRk2Pom3NQFTWhjWo73hgVNgFWCaBHOHDMP 752pbfmkzihypwv3qo7sDfqpizTRBld2IToTTq210N7ymSlViM2Iigy0o6TGPQ== X-Gm-Gg: AYBFou15cCe2kvQkOmibxM3Ab1VwJ7CcZ2asqsOcUP19HC5mCm8ip4Dl0zzB5Ik0Cd/ rXd1qsn0lhaRHY6DARDa+IvBdF406Vz1/4f4KvUw8UbF6mguRFfZSz0Jfs8HLif9HkxHR07qZbg HuBJvyw9xiLagOMA32I9aU/xggWcGPwjHVsORtjmnyPBqHchcpVvF+LX9ukFF+z7dtpX+yr1LKd XDmiIw3xcMe3s2QH1coUdRyLjgWDXZWOCLN8FIRcMJ8PXY2mw9Ioo4J+j+ytjhMECKIDDYL6SrO JYy0BDlvVU5A4LDBV/hA09Xnxe597UIjNKvdQ/bR9PTwFM2FYNE1V3fSXqu9tNYfLjSWGsOGwFt nH0wUdqByTqa6Zo5J/BGs5M1Km0VGm9Z0SEL3Am+fn+QX/nT3DSkIrrIYN7LQ9ALA2dAqt4AfPg 1GXYFT4YmWAXJlj1cJMtvGwuoASgM37fJeLqAwUxf2g2MGa6zCGDFhlpTAwFFZ/3VsvbbTdLIyM X0gzS/yJHA11uHCq7gvIpkn8ux7a5H/kSMl9+/Escj9QrCsrI9IVg5+PoUN4r+KF0GsiJ1Wtrqp 5cwKsHU/mH276tKiImxvN1bq9n9TZXev40Sg2LSeZLxKfYH3ptWZ1fMOdtXYuw== X-Received: by 2002:a05:6a21:6e82:b0:3e2:1656:b7c9 with SMTP id adf61e73a8af0-4014e949c26mr419899637.66.1795113405007; Thu, 19 Nov 2026 10:36:45 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.36.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:36:44 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Peter Marko Subject: [blacksail][PATCH 19/64] libwebsockets: patch CVE-2026-114550 Date: Fri, 20 Nov 2026 07:32:47 +1300 Message-ID: X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:36:55 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132709 From: Peter Marko Pick patch mentioned in NVD CVE report. Signed-off-by: Peter Marko --- .../libwebsockets/CVE-2026-114550.patch | 31 +++++++++++++++++++ .../libwebsockets/libwebsockets_4.5.8.bb | 1 + 2 files changed, 32 insertions(+) create mode 100644 meta-oe/recipes-connectivity/libwebsockets/libwebsockets/CVE-2026-114550.patch diff --git a/meta-oe/recipes-connectivity/libwebsockets/libwebsockets/CVE-2026-114550.patch b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets/CVE-2026-114550.patch new file mode 100644 index 0000000000..e398239bda --- /dev/null +++ b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets/CVE-2026-114550.patch @@ -0,0 +1,31 @@ +From c9e8e1834d7f13038c82963086b90e2ee9c5b44c Mon Sep 17 00:00:00 2001 +From: Andy Green +Date: Fri, 17 Jul 2026 05:02:06 +0100 +Subject: [PATCH] ZDI-CAN-31039: enter wrong state + +When handling LMQCPP_PUBACK_PROPERTIES_LEN_VBI/COMPLETED + +This vulnerability was discovered by: +Anonymous working with TrendAI Zero Day Initiative + +CVE: CVE-2026-114550 +Upstream-Status: Backport [https://github.com/warmcat/libwebsockets/commit/c9e8e1834d7f13038c82963086b90e2ee9c5b44c] +Signed-off-by: Peter Marko +--- + lib/roles/mqtt/mqtt.c | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/lib/roles/mqtt/mqtt.c b/lib/roles/mqtt/mqtt.c +index 85e984015..e743c3812 100644 +--- a/lib/roles/mqtt/mqtt.c ++++ b/lib/roles/mqtt/mqtt.c +@@ -1238,8 +1238,7 @@ _lws_mqtt_rx_parser(struct lws *wsi, lws_mqtt_parser_t *par, + * Otherwise consume the properties before + * completing the command + */ +- lws_mqtt_vbi_init(&par->vbit); +- par->state = LMQCPP_PUBACK_VH_PKT_ID; ++ par->state = LMQCPP_EAT_PROPERTIES_AND_COMPLETE; + break; + default: + lwsl_notice("%s: puback pr bad vbi\n", __func__); diff --git a/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.5.8.bb b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.5.8.bb index 0b612c6f4f..424f5633dd 100644 --- a/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.5.8.bb +++ b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.5.8.bb @@ -12,6 +12,7 @@ SRC_URI = " \ file://CVE-2026-10650.patch \ file://CVE-2026-19773.patch \ file://CVE-2026-78161.patch \ + file://CVE-2026-114550.patch \ " UPSTREAM_CHECK_URI = "https://github.com/warmcat/${BPN}/releases" From patchwork Thu Nov 19 18:32:48 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104954 Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.1869.1795113408537297129 for ; Thu, 19 Nov 2026 10:36:48 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=GsKsFGJo; spf=pass (domain: gmail.com, ip: 209.85.210.178, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f178.google.com with SMTP id d2e1a72fcca58-8a06e79e152so75653b3a.0 for ; Thu, 19 Nov 2026 10:36:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113408; x=1795718208; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=GqCep6bGOM4a9X2/cTpL8S8Fzsnr1WPXLEZa7Cf6wXg=; b=GsKsFGJoKKIO0z55v/WeDG79tFru+TSWiDCSfu6OjvdMVhF4wJFi7xLNl+mR+yz7fx 3EL52pkvGDNiM/6XvoKEnfZGYptjdzRKqBZU3QpBsncx/aqQjLGXmjZ9g4vaAHgPU/C7 BvsY0TMpLkAdPkRyuggNjA3LuNuRehBmxCV96XErZ8SxVqFZuWG8E6TuOSPKTRuNRRWS rnXuFkGrxYU47aBcANpo7fBTNoHyr+Fwz7uRhMFpaTM3SK2+W1HU6gsLW3f26CLnmSRZ poSEvQYnmG8fEDT0GkKprPdTuE4hoaymbyS4v72cPhUrCm5h/6xEKbso7HFjYHYjRRCa Lglw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113408; x=1795718208; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=GqCep6bGOM4a9X2/cTpL8S8Fzsnr1WPXLEZa7Cf6wXg=; b=lTo5lPPn4KMDJsMnyuBvzBpTflvCtyToq1lX4tjofw1GRhx1f8nGLKMLhnvfPbmYXc u5wgROMMrqir8D+PaTQCJ9eO4MW48zHDhlu6ZDmhF/6Ja/NVIT72LTHIpTBdRz7F0lzT VHu/CmOjcv+YGnUdU0jgeJ4Wgp5KWZmfp3y8DOBiPYMC5nPp8Ttp5vwvgyI5Q4rsL1kF mvvqN/VxsP5UpHhwF/aWFWSKdrYdqHLvwQuVZeUpjVN9OXDW4JkNsdrEYko9m8Pu9Uk/ 9i9DUqp+cAK9ao9anwmFcCIVjfGpD8P0ms8VKqCPGhcf8drCMUGWmgv9ePalrJayOszv 9g8g== X-Gm-Message-State: APuU4Z/MWOqAN0suEYZK86o857JNAqTk4MU3JEnJfqw62at5dK3HIY3b x9xcLHghMWwI3pyzOeWt1fjkpEXxyIeMpwh6rw7cQ7gfwJj2Hv9O99w4uQNNnw== X-Gm-Gg: AYBFou3130w5v5iU+6B5gGAp2fdcbeuXS2N0FadJFeZVSzZ3+lGWC6/9764z1D8eQAk 4Mfl7IaZE44vjohhK47X1uJ+g9nHllGX3FYEt9uBJlKaPnzK1ivxlCpaqm84NSfuFzYduvH85BY Ab0ikotEc1G1UcdUzE4cy6eZeAadqZ28Np+4yoljYvdhwzCNY3UXJO+ibXWmjeWRsWfZqXGwMfy wYOkgQXDzmHyx2RVjHQzS4GTkPVQJv8x7ew77Ju/xGZvSrbCk2g2G3WreEciOKOco95hfFPrj3S fef6qk2YmI0w7YQWbKNBF6OXTQC+tPsf5ve+eE8gryafPvpUGOlsQk/weejbCqFVIXUVfoyP2tY Igpz10egyac1B2XT6vORW4lFIljRSduOzAy/TQ7/tgwfrYWJJb4765FXw21pCCVoxyu/1zIOXEV fgaEPdVnM0Vld8IcoM90uw+8IHk7NtoW0Cc/WC+FHloqnvsqjB9ulKBoNQZHjVlOMmZ01JZ9jh8 njmJipTBD9uCCnxel3uNCcoY4C0nZm/pEy0fi8AgnUdx9JBqbXlr30pdULIh8zaCd9dAehN526g vV2qVDCh9SN34hyyfgvQAzC0kuqKaX+yzMH3fyz6wfNAELSoBLDlkXD28xxe2A== X-Received: by 2002:a05:6a21:4d02:b0:3fa:e66a:fc64 with SMTP id adf61e73a8af0-4014d2549f0mr411402637.36.1795113407861; Thu, 19 Nov 2026 10:36:47 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.36.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:36:47 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Martin Siegumfeldt , Khem Raj Subject: [blacksail][PATCH 20/64] spitools: upgrade 1.1.1 -> 1.2.0 Date: Fri, 20 Nov 2026 07:32:48 +1300 Message-ID: <148a37fdfc76afc3e8408b9da9642dc93be143ff.1795112941.git.ankur.tyagi85@gmail.com> X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:36:55 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132710 From: Martin Siegumfeldt Signed-off-by: Martin Siegumfeldt Signed-off-by: Khem Raj --- .../spitools/{spitools_1.1.1.bb => spitools_1.2.0.bb} | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) rename meta-oe/recipes-support/spitools/{spitools_1.1.1.bb => spitools_1.2.0.bb} (86%) diff --git a/meta-oe/recipes-support/spitools/spitools_1.1.1.bb b/meta-oe/recipes-support/spitools/spitools_1.2.0.bb similarity index 86% rename from meta-oe/recipes-support/spitools/spitools_1.1.1.bb rename to meta-oe/recipes-support/spitools/spitools_1.2.0.bb index e2ab0a5d11..d14affa9fe 100644 --- a/meta-oe/recipes-support/spitools/spitools_1.1.1.bb +++ b/meta-oe/recipes-support/spitools/spitools_1.2.0.bb @@ -3,10 +3,8 @@ HOMEPAGE = "https://github.com/cpb-/spi-tools" LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM = "file://LICENSE;md5=8c16666ae6c159876a0ba63099614381" -SRCREV = "74ba65b19e0cf9d1eabd52d17d842200ef901d61" - +SRCREV = "57a950d2853aeac3e69c4f79873c0ab9930e4f7f" SRC_URI = "git://github.com/cpb-/spi-tools.git;protocol=https;branch=master;tag=${PV}" - inherit autotools From patchwork Thu Nov 19 18:32:49 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104955 Received: from mail-pg1-f173.google.com (mail-pg1-f173.google.com [209.85.215.173]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1907.1795113411494548820 for ; Thu, 19 Nov 2026 10:36:51 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=zns7Im9Y; spf=pass (domain: gmail.com, ip: 209.85.215.173, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pg1-f173.google.com with SMTP id 41be03b00d2f7-cdb2dfcca94so38252a12.1 for ; Thu, 19 Nov 2026 10:36:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113411; x=1795718211; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=hb0e2fY+t+OwTJhWDmAvdYNUoWOqfmXiIxzL0VaeZdY=; b=zns7Im9Ypl+ZS4nmYPoT10qfExweHb2UieXPPh1iyrOU1ZQdUyAcEZbc9dkQJwe85H mURe4ZBPvq0gG3V4LIX87v/C04CxwFo/p77rYOBdi1rw15RlJKoTDVp3XviOdKmTJ11N iDuYvfMiCIITFpPCqa8SCO1k26cJSY/K31hv/VGSqmrW8fLk5KfoN0E0O9R8TJY6MPvv +rCvfrSQy5ADtKPeqcS/LT/vtjbr8jphIFmdFYqUE2AZTuY4Jenyg84ewAzeD8yg0LVd VhsjVXhJXrqp0w5GAkIwg7FnVpsYBGEBtS1+rr7BloxQF5Q6HUE6yoCDMGW4MR3uFH61 NmiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113411; x=1795718211; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=hb0e2fY+t+OwTJhWDmAvdYNUoWOqfmXiIxzL0VaeZdY=; b=RxcENRKVBLwS9h0bxxtlksNrrsaUOUYHxU2SFlWSRM7TlO32Rw9gWflM1GdaNSEO8j L2mq/PsaU/Ti4gxvXDDfq/JnSCQLpe1W2Og+JfysZnS27MDdRupItk/Hps0NIJmPzLKU tfdArwGc58LLZIP16FZtrmYPy2bb7rsFz9ZDwJmUHZx5i2NHsWmbZ52iltseODtj+d5I uSFFp1kw/ae+Rx8npofIy4O7wW3JJAEIuoFXM3YUu0S/WgKzpfo/SFKPuMef+bBraEJ/ EDKQ77/gl4qX8iFRIlt9jSiR9mgnkQl94tWnB3FZ5/zB1Q8m6YXftqOCsvkDY+PuQYWP idWQ== X-Gm-Message-State: APuU4Z+1cdrl6BbpPoW79WJb7N0yo75Rqls7YIN/4r5SuAQWcKFwYjDR xoJ/pOm3QIpC7SWHOQWPe6rUORqivbLXvqVc37CePWFzOF9QOh1/F6wslmKHaw== X-Gm-Gg: AYBFou0jGT585PltuKypYp753IVJpD0y0h0UO/RL13NmoZuDKzFlM89aggPXmkPVtVI XXxYMTWMAp/NwKPU3VCfWc5vjpgW9iMrnJuO3HI9kr4VMNfvpOUEqvzzFEnY0b2NkHH6Kr6f0pI e+P+1NZSgnu8MRjLduZhr5lsr5XypmUpoTlaXG5mVC0Yefxdsx3TWLRN8JKft48+BojWb2O2Z8x nDyZhFNdfIgz9vsIHQJnRYPwHke2RjSruQ5okInS6OBUWbFmwy87eIpSjA0O5VfiGB0dGDatgN8 81C1kMUYX2aE46VSuWAyHCcar4HK8F6UQofxOa3ElP+z0VaT7YCQbqOpYm8hIfG222bZgCtqvEf LF2NifV9OMIiGSlIpXOHMB5xrw1FgN5yo10CCWCvnrRjZbc0dMrgQJhhLTHbG98oToA5yw+msMX q4SWiWGx1W4vILn7DjlhQ5852+9Yvh/ml1MeTW2nZMj+hdxOTlAGDzTuRVO0jEFUoTl/GaJnJcE UELEX1e1yDOF5kFyMNh8kvCupGCQbCr7zUqEfVZQgljLy314WZl/lpzIP/jIEwfsE1M+or07git p3ooTcxgcPeovvmK2DXAkZxzenjjWVCS0CcWRS8uHYChpKzNvjdZ783KRH8gFA== X-Received: by 2002:a05:6a20:db97:b0:3e2:b942:ef96 with SMTP id adf61e73a8af0-4014bc4e18bmr454531637.35.1795113410648; Thu, 19 Nov 2026 10:36:50 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.36.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:36:50 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Ankur Tyagi Subject: [blacksail][PATCH 21/64] hdf5: patch CVE-2026-19026, CVE-2026-19027 and CVE-2026-19028 Date: Fri, 20 Nov 2026 07:32:49 +1300 Message-ID: X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:36:55 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132711 From: Ankur Tyagi Details: https://nvd.nist.gov/vuln/detail/cve-2026-19026 https://nvd.nist.gov/vuln/detail/cve-2026-19027 https://nvd.nist.gov/vuln/detail/cve-2026-19028 Signed-off-by: Ankur Tyagi --- ...-19026-CVE-2026-19027-CVE-2026-19028.patch | 579 ++++++++++++++++++ meta-oe/recipes-support/hdf5/hdf5_2.0.0.bb | 1 + 2 files changed, 580 insertions(+) create mode 100644 meta-oe/recipes-support/hdf5/files/CVE-2026-19026-CVE-2026-19027-CVE-2026-19028.patch diff --git a/meta-oe/recipes-support/hdf5/files/CVE-2026-19026-CVE-2026-19027-CVE-2026-19028.patch b/meta-oe/recipes-support/hdf5/files/CVE-2026-19026-CVE-2026-19027-CVE-2026-19028.patch new file mode 100644 index 0000000000..8187612342 --- /dev/null +++ b/meta-oe/recipes-support/hdf5/files/CVE-2026-19026-CVE-2026-19027-CVE-2026-19028.patch @@ -0,0 +1,579 @@ +From 8623863e172662af94d30842e1f735219b682852 Mon Sep 17 00:00:00 2001 +From: Matt L <124107509+mattjala@users.noreply.github.com> +Date: Fri, 25 Sep 2026 17:15:06 -0500 +Subject: [PATCH] Fix CVE issues related to Nbit/Fletcher32 decode paths + (#6497) + +* Fix h5ls SIGSEGVs in Nbit and Fletcher32 filter decode paths + +This PR fixes three related issues which could cause crashes when +crafted files were provided to h5ls. As it happens, all three are reachable from +any reader via H5Z_pipeline() during a chunked H5Dread(), so the root issues +affect the library itself. + +1. Nbit NULL/short parameter array (#6489, "Null_Pointer") + + H5Z__filter_nbit() dereferenced cd_values[0] before validating the + parameter array. A file storing the filter with zero client-data + values produced cd_values=NULL / cd_nelmts=0 and a NULL dereference. + + Fix is to reject a NULL cd_values or a cd_nelmts < 5 (the header at indices + 0..4 is always read) before any access. + +2. Nbit compressed-input buffer over-read (#6489, "Heap_Corruption_1") + + The H5Z__nbit_decompress* family walked the compressed input via + index *j with no bound against the input size, and nbytes was never + even passed in. Malformed parameters (e.g. d_nelmts=67108876 over a + 31-byte chunk) drove *j past the end, reading out of bounds in + H5Z__nbit_decompress_one_byte(). + + Fix is thread the input size through the whole decompress call chain, + convert the void helpers (_one_byte, _one_nooptype, _one_atomic) + to return herr_t, and bounds-check *j against buffer_size before every + buffer[*j] read, propagating a filter error up the stack. + +3. Fletcher32 checksum length underflow (#6490, "Heap_Corruption_2") + + The read path computed `src_nbytes = nbytes - FLETCHER_LEN` with no + lower-bound check. A corrupt 0-byte chunk underflowed src_nbytes to + SIZE_MAX-3, which was passed straight to H5_checksum_fletcher32(), + causing an out-of-bounds read. + + Fix is to reject nbytes +Co-authored-by: H. Joe Lee + +CVE: CVE-2026-19026 CVE-2026-19027 CVE-2026-19028 +Upstream-Status: Backport [https://github.com/HDFGroup/hdf5/commit/a3cf1ea82cc7a66e50029a688121e1b105a7ce88] + +Dropped changes to the test and CHANGELOG file. + +Signed-off-by: Ankur Tyagi +--- + src/H5Zfletcher32.c | 8 ++ + src/H5Znbit.c | 211 +++++++++++++++++++++++++++++++++----------- + 2 files changed, 166 insertions(+), 53 deletions(-) + +diff --git a/src/H5Zfletcher32.c b/src/H5Zfletcher32.c +index c3ec5f7ccb0..b89724ad0a3 100644 +--- a/src/H5Zfletcher32.c ++++ b/src/H5Zfletcher32.c +@@ -62,6 +62,14 @@ H5Z__filter_fletcher32(unsigned flags, size_t H5_ATTR_UNUSED cd_nelmts, + assert(sizeof(uint32_t) >= 4); + + if (flags & H5Z_FLAG_REVERSE) { /* Read */ ++ /* A Fletcher32-filtered buffer must contain at least the trailing ++ * checksum. Reject anything smaller to avoid a size_t underflow ++ * when computing the data length. ++ */ ++ if (nbytes < FLETCHER_LEN) ++ HGOTO_ERROR(H5E_STORAGE, H5E_OVERFLOW, 0, ++ "fletcher32 filter input buffer too small to contain checksum"); ++ + /* Do checksum if it's enabled for read; otherwise skip it + * to save performance. */ + if (!(flags & H5Z_FLAG_SKIP_EDC)) { +diff --git a/src/H5Znbit.c b/src/H5Znbit.c +index fed86a1a3bd..ce8c726370a 100644 +--- a/src/H5Znbit.c ++++ b/src/H5Znbit.c +@@ -51,26 +51,29 @@ static herr_t H5Z__set_parms_compound(const H5T_t *type, unsigned *cd_values_ind + bool *need_not_compress); + + static void H5Z__nbit_next_byte(size_t *j, size_t *buf_len); +-static void H5Z__nbit_decompress_one_byte(unsigned char *data, size_t data_offset, unsigned k, ++static herr_t H5Z__nbit_decompress_one_byte(unsigned char *data, size_t data_offset, unsigned k, + unsigned begin_i, unsigned end_i, const unsigned char *buffer, +- size_t *j, size_t *buf_len, const parms_atomic *p, +- size_t datatype_len); ++ size_t buffer_size, size_t *j, size_t *buf_len, ++ const parms_atomic *p, size_t datatype_len); + static void H5Z__nbit_compress_one_byte(const unsigned char *data, size_t data_offset, unsigned k, + unsigned begin_i, unsigned end_i, unsigned char *buffer, size_t *j, + size_t *buf_len, const parms_atomic *p, size_t datatype_len); +-static void H5Z__nbit_decompress_one_nooptype(unsigned char *data, size_t data_offset, +- const unsigned char *buffer, size_t *j, size_t *buf_len, +- unsigned size); +-static void H5Z__nbit_decompress_one_atomic(unsigned char *data, size_t data_offset, unsigned char *buffer, +- size_t *j, size_t *buf_len, const parms_atomic *p); ++static herr_t H5Z__nbit_decompress_one_nooptype(unsigned char *data, size_t data_offset, ++ const unsigned char *buffer, size_t buffer_size, size_t *j, ++ size_t *buf_len, unsigned size); ++static herr_t H5Z__nbit_decompress_one_atomic(unsigned char *data, size_t data_offset, unsigned char *buffer, ++ size_t buffer_size, size_t *j, size_t *buf_len, ++ const parms_atomic *p); + static herr_t H5Z__nbit_decompress_one_array(unsigned char *data, size_t data_offset, unsigned char *buffer, +- size_t *j, size_t *buf_len, const unsigned parms[], ++ size_t buffer_size, size_t *j, size_t *buf_len, ++ const unsigned parms[], size_t parms_nelmts, + unsigned *parms_index); + static herr_t H5Z__nbit_decompress_one_compound(unsigned char *data, size_t data_offset, +- unsigned char *buffer, size_t *j, size_t *buf_len, +- const unsigned parms[], unsigned *parms_index); ++ unsigned char *buffer, size_t buffer_size, size_t *j, ++ size_t *buf_len, const unsigned parms[], size_t parms_nelmts, ++ unsigned *parms_index); + static herr_t H5Z__nbit_decompress(unsigned char *data, unsigned d_nelmts, unsigned char *buffer, +- const unsigned parms[]); ++ size_t buffer_size, const unsigned parms[], size_t parms_nelmts); + static void H5Z__nbit_compress_one_nooptype(const unsigned char *data, size_t data_offset, + unsigned char *buffer, size_t *j, size_t *buf_len, unsigned size); + static void H5Z__nbit_compress_one_array(unsigned char *data, size_t data_offset, unsigned char *buffer, +@@ -100,8 +103,15 @@ H5Z_class2_t H5Z_NBIT[1] = {{ + #define H5Z_NBIT_COMPOUND 3 /* Compound datatype class */ + #define H5Z_NBIT_NOOPTYPE 4 /* Other datatype class: nbit does no compression */ + #define H5Z_NBIT_MAX_NPARMS 4096 /* Max number of parameters for filter */ +-#define H5Z_NBIT_ORDER_LE 0 /* Little endian for datatype byte order */ +-#define H5Z_NBIT_ORDER_BE 1 /* Big endian for datatype byte order */ ++ ++/* Whether the parameter list holds N more values starting at IDX. The ++ * datatype description that drives the walk through the parameters is held in ++ * those same parameters, so a list that stops short of the datatype it ++ * describes has to be caught at each step rather than measured up front. ++ */ ++#define H5Z_NBIT_PARMS_AVAIL(idx, n, nelmts) (((nelmts) >= (n)) && ((size_t)(idx) <= (nelmts) - (n))) ++#define H5Z_NBIT_ORDER_LE 0 /* Little endian for datatype byte order */ ++#define H5Z_NBIT_ORDER_BE 1 /* Big endian for datatype byte order */ + + /* Local variables */ + +@@ -931,7 +941,16 @@ H5Z__filter_nbit(unsigned flags, size_t cd_nelmts, const unsigned cd_values[], s + + /* check arguments + * cd_values[0] stores actual number of parameters in cd_values[] ++ * ++ * The filter header always occupies cd_values[0..4] (number of ++ * parameters, no-compression flag, number of elements, datatype class ++ * and datatype size), all of which are read unconditionally below. ++ * Reject a NULL array or one shorter than that to avoid a bad ++ * dereference. + */ ++ if (cd_values == NULL || cd_nelmts < 5) ++ HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, 0, "invalid nbit parameters"); ++ + if (cd_nelmts != cd_values[0]) + HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, 0, "invalid nbit aggression level"); + +@@ -944,6 +963,18 @@ H5Z__filter_nbit(unsigned flags, size_t cd_nelmts, const unsigned cd_values[], s + /* copy a filter parameter to d_nelmts */ + d_nelmts = cd_values[2]; + ++ /* cd_values[4] stores the datatype size, which is used together with ++ * d_nelmts to size the (de)compression buffer. A zero size is invalid, ++ * and a d_nelmts * size product that overflows size_t would produce an ++ * undersized allocation and out-of-bounds accesses (this matters on ++ * platforms with a 32-bit size_t). Reject both, as they can only arise ++ * from a corrupted or crafted file. ++ */ ++ if (cd_values[4] == 0) ++ HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, 0, "invalid nbit datatype size"); ++ if (d_nelmts != 0 && (size_t)cd_values[4] > SIZE_MAX / d_nelmts) ++ HGOTO_ERROR(H5E_ARGS, H5E_OVERFLOW, 0, "nbit (de)compression buffer size overflow"); ++ + /* input; decompress */ + if (flags & H5Z_FLAG_REVERSE) { + size_out = d_nelmts * (size_t)cd_values[4]; /* cd_values[4] stores datatype size */ +@@ -953,7 +984,7 @@ H5Z__filter_nbit(unsigned flags, size_t cd_nelmts, const unsigned cd_values[], s + HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, 0, "memory allocation failed for nbit decompression"); + + /* decompress the buffer */ +- if (H5Z__nbit_decompress(outbuf, d_nelmts, (unsigned char *)*buf, cd_values) < 0) { ++ if (H5Z__nbit_decompress(outbuf, d_nelmts, (unsigned char *)*buf, nbytes, cd_values, cd_nelmts) < 0) { + H5MM_xfree(outbuf); + HGOTO_ERROR(H5E_PLINE, H5E_CANTFILTER, 0, "can't decompress buffer"); + } +@@ -999,15 +1030,19 @@ H5Z__nbit_next_byte(size_t *j, size_t *buf_len) + *buf_len = 8 * sizeof(unsigned char); + } + +-static void ++static herr_t + H5Z__nbit_decompress_one_byte(unsigned char *data, size_t data_offset, unsigned k, unsigned begin_i, +- unsigned end_i, const unsigned char *buffer, size_t *j, size_t *buf_len, +- const parms_atomic *p, size_t datatype_len) ++ unsigned end_i, const unsigned char *buffer, size_t buffer_size, size_t *j, ++ size_t *buf_len, const parms_atomic *p, size_t datatype_len) + { + size_t dat_len; /* dat_len is the number of bits to be copied in each data byte */ + size_t dat_offset; + unsigned char val; /* value to be copied in each data byte */ + ++ /* Ensure the byte to be read is within the bounds of the compressed buffer */ ++ if (*j >= buffer_size) ++ return FAIL; ++ + /* initialize value and bits of unsigned char to be copied */ + val = buffer[*j]; + dat_offset = 0; +@@ -1039,25 +1074,33 @@ H5Z__nbit_decompress_one_byte(unsigned char *data, size_t data_offset, unsigned + dat_len -= *buf_len; + H5Z__nbit_next_byte(j, buf_len); + if (dat_len == 0) +- return; ++ return SUCCEED; + ++ if (*j >= buffer_size) ++ return FAIL; + val = buffer[*j]; + data[data_offset + k] |= (unsigned char)(((unsigned)(val >> (*buf_len - dat_len)) & + (unsigned)(~((unsigned)(~0) << dat_len))) + << dat_offset); + *buf_len -= dat_len; + } ++ ++ return SUCCEED; + } + +-static void ++static herr_t + H5Z__nbit_decompress_one_nooptype(unsigned char *data, size_t data_offset, const unsigned char *buffer, +- size_t *j, size_t *buf_len, unsigned size) ++ size_t buffer_size, size_t *j, size_t *buf_len, unsigned size) + { + unsigned i; /* index */ + size_t dat_len; /* dat_len is the number of bits to be copied in each data byte */ + unsigned char val; /* value to be copied in each data byte */ + + for (i = 0; i < size; i++) { ++ /* Ensure the byte to be read is within the bounds of the compressed buffer */ ++ if (*j >= buffer_size) ++ return FAIL; ++ + /* initialize value and bits of unsigned char to be copied */ + val = buffer[*j]; + dat_len = sizeof(unsigned char) * 8; +@@ -1069,16 +1112,20 @@ H5Z__nbit_decompress_one_nooptype(unsigned char *data, size_t data_offset, const + if (dat_len == 0) + continue; + ++ if (*j >= buffer_size) ++ return FAIL; + val = buffer[*j]; + data[data_offset + i] |= (unsigned char)((unsigned)(val >> (*buf_len - dat_len)) & + (unsigned)(~((unsigned)(~0) << dat_len))); + *buf_len -= dat_len; + } ++ ++ return SUCCEED; + } + +-static void +-H5Z__nbit_decompress_one_atomic(unsigned char *data, size_t data_offset, unsigned char *buffer, size_t *j, +- size_t *buf_len, const parms_atomic *p) ++static herr_t ++H5Z__nbit_decompress_one_atomic(unsigned char *data, size_t data_offset, unsigned char *buffer, ++ size_t buffer_size, size_t *j, size_t *buf_len, const parms_atomic *p) + { + /* begin_i: the index of byte having first significant bit + end_i: the index of byte having last significant bit */ +@@ -1097,8 +1144,9 @@ H5Z__nbit_decompress_one_atomic(unsigned char *data, size_t data_offset, unsigne + end_i = p->offset / 8; + + for (k = (int)begin_i; k >= (int)end_i; k--) +- H5Z__nbit_decompress_one_byte(data, data_offset, (unsigned)k, begin_i, end_i, buffer, j, buf_len, +- p, datatype_len); ++ if (H5Z__nbit_decompress_one_byte(data, data_offset, (unsigned)k, begin_i, end_i, buffer, ++ buffer_size, j, buf_len, p, datatype_len) < 0) ++ return FAIL; + } + else { /* big endian */ + /* Sanity check */ +@@ -1112,14 +1160,18 @@ H5Z__nbit_decompress_one_atomic(unsigned char *data, size_t data_offset, unsigne + end_i = ((unsigned)datatype_len - p->offset) / 8 - 1; + + for (k = (int)begin_i; k <= (int)end_i; k++) +- H5Z__nbit_decompress_one_byte(data, data_offset, (unsigned)k, begin_i, end_i, buffer, j, buf_len, +- p, datatype_len); ++ if (H5Z__nbit_decompress_one_byte(data, data_offset, (unsigned)k, begin_i, end_i, buffer, ++ buffer_size, j, buf_len, p, datatype_len) < 0) ++ return FAIL; + } ++ ++ return SUCCEED; + } + + static herr_t +-H5Z__nbit_decompress_one_array(unsigned char *data, size_t data_offset, unsigned char *buffer, size_t *j, +- size_t *buf_len, const unsigned parms[], unsigned *parms_index) ++H5Z__nbit_decompress_one_array(unsigned char *data, size_t data_offset, unsigned char *buffer, ++ size_t buffer_size, size_t *j, size_t *buf_len, const unsigned parms[], ++ size_t parms_nelmts, unsigned *parms_index) + { + unsigned i, total_size, base_class, base_size, n, begin_index; + parms_atomic p; +@@ -1127,11 +1179,19 @@ H5Z__nbit_decompress_one_array(unsigned char *data, size_t data_offset, unsigned + + FUNC_ENTER_PACKAGE + ++ if (!H5Z_NBIT_PARMS_AVAIL(*parms_index, 2, parms_nelmts)) ++ HGOTO_ERROR(H5E_PLINE, H5E_OVERFLOW, FAIL, ++ "parameter list is shorter than the datatype it describes"); ++ + total_size = parms[(*parms_index)++]; + base_class = parms[(*parms_index)++]; + + switch (base_class) { + case H5Z_NBIT_ATOMIC: ++ if (!H5Z_NBIT_PARMS_AVAIL(*parms_index, 4, parms_nelmts)) ++ HGOTO_ERROR(H5E_PLINE, H5E_OVERFLOW, FAIL, ++ "parameter list is shorter than the datatype it describes"); ++ + p.size = parms[(*parms_index)++]; + p.order = parms[(*parms_index)++]; + p.precision = parms[(*parms_index)++]; +@@ -1143,37 +1203,54 @@ H5Z__nbit_decompress_one_array(unsigned char *data, size_t data_offset, unsigned + + n = total_size / p.size; + for (i = 0; i < n; i++) +- H5Z__nbit_decompress_one_atomic(data, data_offset + i * (size_t)p.size, buffer, j, buf_len, +- &p); ++ if (H5Z__nbit_decompress_one_atomic(data, data_offset + i * (size_t)p.size, buffer, ++ buffer_size, j, buf_len, &p) < 0) ++ HGOTO_ERROR(H5E_PLINE, H5E_CANTFILTER, FAIL, "can't decompress atomic"); + break; + + case H5Z_NBIT_ARRAY: ++ if (!H5Z_NBIT_PARMS_AVAIL(*parms_index, 1, parms_nelmts)) ++ HGOTO_ERROR(H5E_PLINE, H5E_OVERFLOW, FAIL, ++ "parameter list is shorter than the datatype it describes"); ++ + base_size = parms[*parms_index]; /* read in advance */ + n = total_size / base_size; /* number of base_type elements inside the array datatype */ + begin_index = *parms_index; + for (i = 0; i < n; i++) { +- if (H5Z__nbit_decompress_one_array(data, data_offset + i * (size_t)base_size, buffer, j, +- buf_len, parms, parms_index) < 0) ++ if (H5Z__nbit_decompress_one_array(data, data_offset + i * (size_t)base_size, buffer, ++ buffer_size, j, buf_len, parms, parms_nelmts, ++ parms_index) < 0) + HGOTO_ERROR(H5E_PLINE, H5E_CANTFILTER, FAIL, "can't decompress array"); + *parms_index = begin_index; + } + break; + + case H5Z_NBIT_COMPOUND: ++ if (!H5Z_NBIT_PARMS_AVAIL(*parms_index, 1, parms_nelmts)) ++ HGOTO_ERROR(H5E_PLINE, H5E_OVERFLOW, FAIL, ++ "parameter list is shorter than the datatype it describes"); ++ + base_size = parms[*parms_index]; /* read in advance */ + n = total_size / base_size; /* number of base_type elements inside the array datatype */ + begin_index = *parms_index; + for (i = 0; i < n; i++) { +- if (H5Z__nbit_decompress_one_compound(data, data_offset + i * (size_t)base_size, buffer, j, +- buf_len, parms, parms_index) < 0) ++ if (H5Z__nbit_decompress_one_compound(data, data_offset + i * (size_t)base_size, buffer, ++ buffer_size, j, buf_len, parms, parms_nelmts, ++ parms_index) < 0) + HGOTO_ERROR(H5E_PLINE, H5E_CANTFILTER, FAIL, "can't decompress compound"); + *parms_index = begin_index; + } + break; + + case H5Z_NBIT_NOOPTYPE: ++ if (!H5Z_NBIT_PARMS_AVAIL(*parms_index, 1, parms_nelmts)) ++ HGOTO_ERROR(H5E_PLINE, H5E_OVERFLOW, FAIL, ++ "parameter list is shorter than the datatype it describes"); ++ + (*parms_index)++; /* skip size of no-op type */ +- H5Z__nbit_decompress_one_nooptype(data, data_offset, buffer, j, buf_len, total_size); ++ if (H5Z__nbit_decompress_one_nooptype(data, data_offset, buffer, buffer_size, j, buf_len, ++ total_size) < 0) ++ HGOTO_ERROR(H5E_PLINE, H5E_CANTFILTER, FAIL, "can't decompress no-op type"); + break; + + default: +@@ -1185,8 +1262,9 @@ done: + } + + static herr_t +-H5Z__nbit_decompress_one_compound(unsigned char *data, size_t data_offset, unsigned char *buffer, size_t *j, +- size_t *buf_len, const unsigned parms[], unsigned *parms_index) ++H5Z__nbit_decompress_one_compound(unsigned char *data, size_t data_offset, unsigned char *buffer, ++ size_t buffer_size, size_t *j, size_t *buf_len, const unsigned parms[], ++ size_t parms_nelmts, unsigned *parms_index) + { + unsigned i, nmembers, member_offset, member_class, member_size, used_size = 0, prev_used_size, size; + parms_atomic p; +@@ -1194,10 +1272,18 @@ H5Z__nbit_decompress_one_compound(unsigned char *data, size_t data_offset, unsig + + FUNC_ENTER_PACKAGE + ++ if (!H5Z_NBIT_PARMS_AVAIL(*parms_index, 2, parms_nelmts)) ++ HGOTO_ERROR(H5E_PLINE, H5E_OVERFLOW, FAIL, ++ "parameter list is shorter than the datatype it describes"); ++ + size = parms[(*parms_index)++]; + nmembers = parms[(*parms_index)++]; + + for (i = 0; i < nmembers; i++) { ++ if (!H5Z_NBIT_PARMS_AVAIL(*parms_index, 3, parms_nelmts)) ++ HGOTO_ERROR(H5E_PLINE, H5E_OVERFLOW, FAIL, ++ "parameter list is shorter than the datatype it describes"); ++ + member_offset = parms[(*parms_index)++]; + member_class = parms[(*parms_index)++]; + +@@ -1213,6 +1299,10 @@ H5Z__nbit_decompress_one_compound(unsigned char *data, size_t data_offset, unsig + HGOTO_ERROR(H5E_PLINE, H5E_BADRANGE, FAIL, "compound member offset overflowed compound size"); + switch (member_class) { + case H5Z_NBIT_ATOMIC: ++ if (!H5Z_NBIT_PARMS_AVAIL(*parms_index, 4, parms_nelmts)) ++ HGOTO_ERROR(H5E_PLINE, H5E_OVERFLOW, FAIL, ++ "parameter list is shorter than the datatype it describes"); ++ + p.size = member_size; + /* Advance past member size */ + (*parms_index)++; +@@ -1224,26 +1314,29 @@ H5Z__nbit_decompress_one_compound(unsigned char *data, size_t data_offset, unsig + if (p.precision > p.size * 8 || (p.precision + p.offset) > p.size * 8) + HGOTO_ERROR(H5E_PLINE, H5E_BADTYPE, FAIL, "invalid datatype precision/offset"); + +- H5Z__nbit_decompress_one_atomic(data, data_offset + member_offset, buffer, j, buf_len, &p); ++ if (H5Z__nbit_decompress_one_atomic(data, data_offset + member_offset, buffer, buffer_size, j, ++ buf_len, &p) < 0) ++ HGOTO_ERROR(H5E_PLINE, H5E_CANTFILTER, FAIL, "can't decompress atomic"); + break; + + case H5Z_NBIT_ARRAY: +- if (H5Z__nbit_decompress_one_array(data, data_offset + member_offset, buffer, j, buf_len, +- parms, parms_index) < 0) ++ if (H5Z__nbit_decompress_one_array(data, data_offset + member_offset, buffer, buffer_size, j, ++ buf_len, parms, parms_nelmts, parms_index) < 0) + HGOTO_ERROR(H5E_PLINE, H5E_CANTFILTER, FAIL, "can't decompress array"); + break; + + case H5Z_NBIT_COMPOUND: +- if (H5Z__nbit_decompress_one_compound(data, data_offset + member_offset, buffer, j, buf_len, +- parms, parms_index) < 0) ++ if (H5Z__nbit_decompress_one_compound(data, data_offset + member_offset, buffer, buffer_size, ++ j, buf_len, parms, parms_nelmts, parms_index) < 0) + HGOTO_ERROR(H5E_PLINE, H5E_CANTFILTER, FAIL, "can't decompress compound"); + break; + + case H5Z_NBIT_NOOPTYPE: +- /* Advance past member size */ ++ /* Advance past member size (already checked above) */ + (*parms_index)++; +- H5Z__nbit_decompress_one_nooptype(data, data_offset + member_offset, buffer, j, buf_len, +- member_size); ++ if (H5Z__nbit_decompress_one_nooptype(data, data_offset + member_offset, buffer, buffer_size, ++ j, buf_len, member_size) < 0) ++ HGOTO_ERROR(H5E_PLINE, H5E_CANTFILTER, FAIL, "can't decompress no-op type"); + break; + + default: +@@ -1256,7 +1349,8 @@ done: + } + + static herr_t +-H5Z__nbit_decompress(unsigned char *data, unsigned d_nelmts, unsigned char *buffer, const unsigned parms[]) ++H5Z__nbit_decompress(unsigned char *data, unsigned d_nelmts, unsigned char *buffer, size_t buffer_size, ++ const unsigned parms[], size_t parms_nelmts) + { + /* i: index of data, j: index of buffer, + buf_len: number of bits to be filled in current byte */ +@@ -1269,6 +1363,11 @@ H5Z__nbit_decompress(unsigned char *data, unsigned d_nelmts, unsigned char *buff + + FUNC_ENTER_PACKAGE + ++ /* The datatype class and its size are read before the walk begins */ ++ if (!H5Z_NBIT_PARMS_AVAIL(0, 5, parms_nelmts)) ++ HGOTO_ERROR(H5E_PLINE, H5E_OVERFLOW, FAIL, ++ "parameter list is shorter than the datatype it describes"); ++ + /* may not have to initialize to zeros */ + memset(data, 0, d_nelmts * (size_t)parms[4]); + +@@ -1278,6 +1377,10 @@ H5Z__nbit_decompress(unsigned char *data, unsigned d_nelmts, unsigned char *buff + + switch (parms[3]) { + case H5Z_NBIT_ATOMIC: ++ if (!H5Z_NBIT_PARMS_AVAIL(0, 8, parms_nelmts)) ++ HGOTO_ERROR(H5E_PLINE, H5E_OVERFLOW, FAIL, ++ "parameter list is shorter than the datatype it describes"); ++ + p.size = parms[4]; + p.order = parms[5]; + p.precision = parms[6]; +@@ -1288,15 +1391,17 @@ H5Z__nbit_decompress(unsigned char *data, unsigned d_nelmts, unsigned char *buff + HGOTO_ERROR(H5E_PLINE, H5E_BADTYPE, FAIL, "invalid datatype precision/offset"); + + for (i = 0; i < d_nelmts; i++) +- H5Z__nbit_decompress_one_atomic(data, i * (size_t)p.size, buffer, &j, &buf_len, &p); ++ if (H5Z__nbit_decompress_one_atomic(data, i * (size_t)p.size, buffer, buffer_size, &j, ++ &buf_len, &p) < 0) ++ HGOTO_ERROR(H5E_PLINE, H5E_CANTFILTER, FAIL, "can't decompress atomic"); + break; + + case H5Z_NBIT_ARRAY: + size = parms[4]; + parms_index = 4; /* set the index before goto function call */ + for (i = 0; i < d_nelmts; i++) { +- if (H5Z__nbit_decompress_one_array(data, i * size, buffer, &j, &buf_len, parms, +- &parms_index) < 0) ++ if (H5Z__nbit_decompress_one_array(data, i * size, buffer, buffer_size, &j, &buf_len, parms, ++ parms_nelmts, &parms_index) < 0) + HGOTO_ERROR(H5E_PLINE, H5E_CANTFILTER, FAIL, "can't decompress array"); + parms_index = 4; + } +@@ -1306,8 +1411,8 @@ H5Z__nbit_decompress(unsigned char *data, unsigned d_nelmts, unsigned char *buff + size = parms[4]; + parms_index = 4; /* set the index before goto function call */ + for (i = 0; i < d_nelmts; i++) { +- if (H5Z__nbit_decompress_one_compound(data, i * size, buffer, &j, &buf_len, parms, +- &parms_index) < 0) ++ if (H5Z__nbit_decompress_one_compound(data, i * size, buffer, buffer_size, &j, &buf_len, ++ parms, parms_nelmts, &parms_index) < 0) + HGOTO_ERROR(H5E_PLINE, H5E_CANTFILTER, FAIL, "can't decompress compound"); + parms_index = 4; + } diff --git a/meta-oe/recipes-support/hdf5/hdf5_2.0.0.bb b/meta-oe/recipes-support/hdf5/hdf5_2.0.0.bb index a0eb5eb155..3e87851cf9 100644 --- a/meta-oe/recipes-support/hdf5/hdf5_2.0.0.bb +++ b/meta-oe/recipes-support/hdf5/hdf5_2.0.0.bb @@ -22,6 +22,7 @@ SRC_URI = "https://support.hdfgroup.org/releases/hdf5/v2_0/v2_0_0/downloads/${BP file://CVE-2026-17573.patch \ file://CVE-2026-17574.patch \ file://CVE-2026-19025.patch \ + file://CVE-2026-19026-CVE-2026-19027-CVE-2026-19028.patch \ " SRC_URI[sha256sum] = "f4c2edc5668fb846627182708dbe1e16c60c467e63177a75b0b9f12c19d7efed" From patchwork Thu Nov 19 18:32:50 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104956 Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.1871.1795113413780701532 for ; Thu, 19 Nov 2026 10:36:53 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=qcJBKFR6; spf=pass (domain: gmail.com, ip: 209.85.210.173, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f173.google.com with SMTP id d2e1a72fcca58-8b5e5e64494so80572b3a.1 for ; Thu, 19 Nov 2026 10:36:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113413; x=1795718213; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=1DbDQJ1R5lIZiSM/GBg1YT6aVeeHgXw9a9B8yEQ7T8E=; b=qcJBKFR68Vj5k6MrDwO5TsP7PKoN2ZPUVKqVlogdJjQFfngd8iAIh61vLm6SbB392A z4rYWp/QSurAa0EcpzvEmsDSy5wre/L3PnQzwxiYRH2kuXd6BSRCH4vNHaFGWUkE3k4c sztb5ipBS5P3LOTnJ5L332TrQhI3ES21JvVwojjrH4aEU8+ImnzIGvINTKBlCyvzUYwA x7YPCyXG/b45cGar51DeE4bvapx0IdByVfMA4d8sKAVPD+AS1sNGHmgZ2VVGro44RkIz 42ThdUJ9HnYTvS7/Wg4y4kJSIBUO8hqrcqD5XHM0nBbHpd3ooAzxeQ+/Z+y2kSslJHDw DTmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113413; x=1795718213; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=1DbDQJ1R5lIZiSM/GBg1YT6aVeeHgXw9a9B8yEQ7T8E=; b=AZNtitZjCHWkF7T3qbPc9WZpZpcNKvpO4gjGXxPzWNBYrdi/mHNpTpxA+V//GeALTm ixSsy7zJAH6bWk619UN2MWJuxyZ5lFsIwG23oOtwwnd5RRiRa+Myi4kYbuu3QrsabpXr AcDLuG41rex0QYcXk1/FstxPfgKVolk428HVgv+vAc6oYfqQN3WZkh2IZ5Oo2MbusDfF V/6N2TsLiXMcpRSHPzgoduPt8qsVBrIzE7eISCxze0MGb9V3bCpg2iDX8/l5TRCB47Ij Jo1csmaLo+GWK/nX2c3D78GnYLgADN00kAJHuiC+Quop/HNniTJLepXeRv8PGzvF11Gi L2xQ== X-Gm-Message-State: APuU4Z8L4vrlDwgvuLDxdbVNbFfPWuaBhjN8saSgvcmylu6a8jiEt/Ms bElVTaVQaoCM+HLda8f1vgtls11/ohe0fOxhfnN6Pdyqaqki8WeKgjNqQ5gmEw== X-Gm-Gg: AYBFou2q0eLQVFRWZstVk24BiCW1yDdMRkaETPsob9ONKzu/IKsgWwsNS8+lNhcGyDo +JZLY1LOOtgQQiakFP42nr/NGmhZ1Fmg6xsTan6W4g2rfiPDNjY0pOPGgKlvxpmpdkG8id3KbTi WcXzoa6pdOMqBmGCUYQQYF2vq4SfqSUV8PuJ+Le6rHTiRxNq+zr+pKSSRW9UPftGtjUozn2ondO Do/IkYQrd3iXzArEhS3Cft2ZocswObG3TraEgqlKpEQwVV0BP9UerIxUO3cr+opdi9m6e3SUak7 ksMPxy+MJ/gCduOKYHHfwir/ayWNIYbrVu/YY1p90O0v7V4KGoxdEPzmTZMJh+M2JepLMRMBmkX wdR+I4edqIxg/We7HZCk9dDoOgxNbNa8nAc8Ont0dShRWr2hI+2x5I3e23puVE5bNFMpBPPVLao jE+CK4VgAeMfnpRaEOMHNeGUDYUmKHNOI+DiBCgJZFcAUj9Vjw5pJnjdYWB4E+FiOT+SwazRHrD u09WBPD//MNGQpb9ZlI9N9MQe5CnJvA37Rqhzj+YTXK77nE7vI1l/zkMEPNuQ0WjL7qN8ggCgxw ZyD96DkzgFMEiiXwnWpuVGvKDawSMFeoV1TFoDVws45SxpWuGIukq1O5p9ayTHKNmdRHO5IsQd8 oxFHoMFs= X-Received: by 2002:a05:6a00:32cb:b0:848:77b3:579a with SMTP id d2e1a72fcca58-8c87b8da4f3mr466789b3a.17.1795113412987; Thu, 19 Nov 2026 10:36:52 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.36.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:36:52 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Ankur Tyagi Subject: [blacksail][PATCH 22/64] hdf5: patch CVE-2026-19023 and CVE-2026-19024 Date: Fri, 20 Nov 2026 07:32:50 +1300 Message-ID: <706616366e534ddee37be5c02cba092d56e770b1.1795112941.git.ankur.tyagi85@gmail.com> X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:36:55 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132712 From: Ankur Tyagi Details: https://nvd.nist.gov/vuln/detail/cve-2026-19023 https://nvd.nist.gov/vuln/detail/cve-2026-19024 Signed-off-by: Ankur Tyagi --- .../files/CVE-2026-19023-CVE-2026-19024.patch | 176 ++++++++++++++++++ meta-oe/recipes-support/hdf5/hdf5_2.0.0.bb | 1 + 2 files changed, 177 insertions(+) create mode 100644 meta-oe/recipes-support/hdf5/files/CVE-2026-19023-CVE-2026-19024.patch diff --git a/meta-oe/recipes-support/hdf5/files/CVE-2026-19023-CVE-2026-19024.patch b/meta-oe/recipes-support/hdf5/files/CVE-2026-19023-CVE-2026-19024.patch new file mode 100644 index 0000000000..acf3817ea1 --- /dev/null +++ b/meta-oe/recipes-support/hdf5/files/CVE-2026-19023-CVE-2026-19024.patch @@ -0,0 +1,176 @@ +From e7e85949865b771b2b0b73ac1edaf54ce14cd894 Mon Sep 17 00:00:00 2001 +From: Matt L <124107509+mattjala@users.noreply.github.com> +Date: Wed, 7 Oct 2026 11:03:55 -0500 +Subject: [PATCH] Fix CVEs related to vlen binary output and malformed fill + values in h5dump (#6507) + +* Fix h5dump SIGSEGVs on vlen binary output and malformed fill value + +Fixes two crafted-file crashes in h5dump (GitHub issues #6486 and #6487). +A third report (#6488) is the Fletcher32 checksum-length underflow already +fixed for h5ls in PR #6497, so it is not addressed again here. + +Issue #6486 (tools) - render_bin_output() SIGSEGV with "-b" on a +variable-length string dataset. The H5T_STRING branch reused the local +"size" variable both as the per-element stride and as the string length +returned by strlen(), so after the first element the stride became that +string's length and subsequent elements were read from misaligned +addresses, dereferencing a garbage pointer. This affected any multi-element +vlen-string dataset, not just crafted files. A separate str_len variable is +now used for the write length so "size" stays the datatype stride. As this +is a tools bug, the regression test is a tools test: tools/test/h5dump adds +the tbinvlstr case (binary dump of a vlen-string dataset, file +tbinvlstr.h5, generated by h5dumpgentest.c/gent_binvlstr), which crashes on +develop and passes with the fix. + +Issue #6487 (library) - H5Pget_fill_value() SIGSEGV via H5T_path_find(). +A crafted version-1/2 fill value message can have "fill defined" set with a +negative size field; H5O_fill_old_decode() leaves fill.size negative and +fill.buf/type NULL instead of normalizing to the "undefined" sentinel. +That value is neither 0 nor -1, so H5P_get_fill_value() fell through to +H5T_path_find() with a NULL source type and crashed. H5P_get_fill_value() +now rejects a NULL fill datatype and returns an error, keeping the dataset +itself readable. h5dump's XML fill-value renderer (xml_dump_fill_value) is +also hardened: it checks the buffer allocation and the H5Pget_fill_value() +return value and emits an empty fill value element instead of dereferencing +an unallocated or unretrievable buffer. + +Regression test (library): test/fillval.c test_bad_fill_value() reads a +crafted file (generated by test/gen_bad_fill.c, committed as +test/testfiles/bad_fill_value.h5) and verifies that the dataset data is +still readable while H5Pget_fill_value() fails cleanly instead of crashing. + +Verified: both PoCs exit cleanly with the fix (SIGSEGV without it); the +committed fixtures crash the pre-fix library/tools and pass post-fix; the +fillval suite, the new tbinvlstr h5dump test, and the non-XML h5dump suite +pass. + +Co-Authored-By: Claude Opus 4.8 + +* Update CHANGELOG to list CVEs/GH issues + +* Renumber tbinvlstr.h5 generator macro to FILE114 + +--------- + +Co-authored-by: Claude Opus 4.8 +Co-authored-by: Larry Knox + +CVE: CVE-2026-19023 CVE-2026-19024 +Upstream-Status: Backport [https://github.com/HDFGroup/hdf5/commit/cfcd7fe7421cc94e0527d043f2d1b271986e7b09] + +Dropped changes to the test and CHANGELOG file. + +Signed-off-by: Ankur Tyagi +--- + src/H5Pdcpl.c | 7 +++++++ + tools/lib/h5tools.c | 9 ++++++--- + tools/src/h5dump/h5dump_xml.c | 33 ++++++++++++++++++++++++++++----- + 3 files changed, 41 insertions(+), 8 deletions(-) + +diff --git a/src/H5Pdcpl.c b/src/H5Pdcpl.c +index 2317c317f73..a1a33d52c7b 100644 +--- a/src/H5Pdcpl.c ++++ b/src/H5Pdcpl.c +@@ -3207,6 +3207,13 @@ H5P_get_fill_value(H5P_genplist_t *plist, const H5T_t *type, void *value /*out*/ + HGOTO_DONE(SUCCEED); + } /* end if */ + ++ /* ++ * A fill value with a nonzero size must have an associated datatype in ++ * order to be converted to the destination type. ++ */ ++ if (NULL == fill.type) ++ HGOTO_ERROR(H5E_PLIST, H5E_CANTGET, FAIL, "fill value has no datatype"); ++ + /* + * Can we convert between the source and destination datatypes? + */ +diff --git a/tools/lib/h5tools.c b/tools/lib/h5tools.c +index b1a2aa0de4c..3e028504f7c 100644 +--- a/tools/lib/h5tools.c ++++ b/tools/lib/h5tools.c +@@ -1825,24 +1825,27 @@ render_bin_output(FILE *stream, hid_t container, hid_t tid, void *_mem, hsize_t + H5T_str_t pad; + char *s = NULL; + unsigned char tempuchar; ++ size_t str_len; /* # of bytes to write for this element */ + + H5TOOLS_DEBUG("H5T_STRING"); + pad = H5Tget_strpad(tid); + + for (block_index = 0; block_index < block_nelmts; block_index++) { ++ /* Advance by the datatype size */ + mem = ((unsigned char *)_mem) + block_index * size; + + if (H5Tis_variable_str(tid)) { + s = *(char **)((void *)mem); + if (s != NULL) +- size = strlen(s); ++ str_len = strlen(s); + else + H5TOOLS_THROW((-1), "NULL string"); + } + else { +- s = (char *)mem; ++ s = (char *)mem; ++ str_len = size; + } +- for (i = 0; i < size && (s[i] || pad != H5T_STR_NULLTERM); i++) { ++ for (i = 0; i < str_len && (s[i] || pad != H5T_STR_NULLTERM); i++) { + memcpy(&tempuchar, &s[i], sizeof(unsigned char)); + if (1 != fwrite(&tempuchar, sizeof(unsigned char), 1, stream)) + H5TOOLS_THROW((-1), "fwrite failed"); +diff --git a/tools/src/h5dump/h5dump_xml.c b/tools/src/h5dump/h5dump_xml.c +index f1a34870f4a..6f3e00a27df 100644 +--- a/tools/src/h5dump/h5dump_xml.c ++++ b/tools/src/h5dump/h5dump_xml.c +@@ -3534,8 +3534,9 @@ xml_dump_fill_value(hid_t dcpl, hid_t type) + hid_t n_type = H5I_INVALID_HID; + void *buf; + char *name; +- h5tools_str_t buffer; /* string into which to render */ +- h5tools_context_t ctx; /* print context */ ++ herr_t fill_ret = FAIL; /* status of retrieving the fill value */ ++ h5tools_str_t buffer; /* string into which to render */ ++ h5tools_context_t ctx; /* print context */ + h5tool_format_t *outputformat = &xml_dataformat; + h5tool_format_t string_dataformat; + hsize_t curr_pos = 0; /* total data element position */ +@@ -3593,11 +3594,33 @@ xml_dump_fill_value(hid_t dcpl, hid_t type) + n_type = type; + + space = H5Tget_size(n_type); +- buf = malloc((size_t)space); ++ /* Zero-initialize so a partially-filled buffer never contains ++ * uninitialized memory for the rendering code below. */ ++ buf = calloc((size_t)space, 1); ++ ++ /* Retrieve the fill value. This can fail on a corrupted or crafted file ++ * whose fill value has no datatype. Any errors are suppressed and handled ++ * later. */ ++ if (buf != NULL) { ++ H5E_BEGIN_TRY ++ { ++ fill_ret = H5Pget_fill_value(dcpl, n_type, buf); ++ } ++ H5E_END_TRY ++ } + +- H5Pget_fill_value(dcpl, n_type, buf); ++ if (buf == NULL || fill_ret < 0) { ++ /* No usable fill value: emit an empty element rather than ++ * dereferencing an unallocated or unretrievable buffer. */ ++ ctx.need_prefix = true; + +- if (H5Tget_class(n_type) == H5T_REFERENCE) { ++ /* Render the element */ ++ h5tools_str_reset(&buffer); ++ h5tools_str_append(&buffer, "<%sNoData />", xmlnsprefix); ++ h5tools_render_element(rawoutstream, outputformat, &ctx, &buffer, &curr_pos, ++ (size_t)outputformat->line_ncols, (hsize_t)0, (hsize_t)0); ++ } ++ else if (H5Tget_class(n_type) == H5T_REFERENCE) { + const char *path = lookup_ref_path(*(H5R_ref_t *)buf); + + ctx.need_prefix = true; diff --git a/meta-oe/recipes-support/hdf5/hdf5_2.0.0.bb b/meta-oe/recipes-support/hdf5/hdf5_2.0.0.bb index 3e87851cf9..9d300b210a 100644 --- a/meta-oe/recipes-support/hdf5/hdf5_2.0.0.bb +++ b/meta-oe/recipes-support/hdf5/hdf5_2.0.0.bb @@ -23,6 +23,7 @@ SRC_URI = "https://support.hdfgroup.org/releases/hdf5/v2_0/v2_0_0/downloads/${BP file://CVE-2026-17574.patch \ file://CVE-2026-19025.patch \ file://CVE-2026-19026-CVE-2026-19027-CVE-2026-19028.patch \ + file://CVE-2026-19023-CVE-2026-19024.patch \ " SRC_URI[sha256sum] = "f4c2edc5668fb846627182708dbe1e16c60c467e63177a75b0b9f12c19d7efed" From patchwork Thu Nov 19 18:32:51 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104957 Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.1872.1795113416038851507 for ; Thu, 19 Nov 2026 10:36:56 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=NKktMCoW; spf=pass (domain: gmail.com, ip: 209.85.210.173, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f173.google.com with SMTP id d2e1a72fcca58-8a05b210703so84200b3a.0 for ; Thu, 19 Nov 2026 10:36:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113415; x=1795718215; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=ZKo2PqI0oKWBjpF4hAGroR7qnkIp+g5s7sUH7KzS4ZE=; b=NKktMCoWqKJCHAkWISjlxNUkEuMhdxbuj5c93BdyrVFEi5vDEMxUdlX8OHFcUw4mle QpksjIQB5DazOYO7D1gzTuUDeLgO9sTHVDV2RTPUz9tvnX859uaUf+91PATpSGy6KYF0 TeFM8CrFV+XFkb9cnVwa1PhfFAtEUjp27Pq5Wc4TeBlMgjGS/FPShDr1hodWBsQ0z3xS 9VreHTwW6yo/zAItqvWEVP8hPowJSESg09Tv9kaYnpbrpuRWaCx50W5wSDFkOemBsGRo ntgfhP3nk76+/hnUuu/fLm0UFcW/1mPJERyYjCsx4/A2XgSI+xtyhZqr0aWUJmI2KS/Q H1ZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113415; x=1795718215; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=ZKo2PqI0oKWBjpF4hAGroR7qnkIp+g5s7sUH7KzS4ZE=; b=steWfBL6cpVcPF082wuDL3E3/C1OCO8VjAXtCy87REiKp0YTEqSNGY2c28XM6NVmH8 iWVvoCdGlwVCSdOpTSAEc4idxfzx1WBDSIn0r45mIlD8u8bFRfIwqauCQTyU7zPTtXRT yDXGtaw1UvjAjWB/P10yH3g/yTunYUWMUisPkOFpYxSHki3l6RRacN/AUQvN2P3uwOcq Wlv1YrCRG2aqOQWtPssz7oK8FMeDNvLFgynSV2uUGRdrHx0IIvepbDQLeODwxSfB7jv8 dr3ScQVU7h50ul/p8AcIyWwnEH8mBcXOKWlU895ZsQML6Eb59jZk4MuoMVn7v8OlQZxV Nfsg== X-Gm-Message-State: APuU4Z+FejJKIvY1KlCWd9SCr21oc2ybhbW/B1sRGavBhHi672LIcXAE CfgOvAfvDFotWXdXoKXyBwq17aLUiE4WJxWhFnjRWQyiIhREAM3yl86/qBa2QA== X-Gm-Gg: AYBFou2+F8Q4o7l2SIP2p82+BBnB8o2ZE/AJDJ9+IM6T5LS/9Ft6KE3bTonlvpnhXXk 54aI/eL2AI/52xl3Zu4kIAtiuB9lT+vIB5j+OROvVSzrTYWH/VjbKGi0CoUn5OIt1Ofpm041l2A /4mBfA4cvPb3AUyB8Y1BP42qmJlkYMC7PkGUXBafGyxPTRknZtUe/M5QeafyMx39+3S4JT2+Ywh BEYzXh1WefpqvaoFq2dlgD3xVVAYSY1OS+iz/OHR5xpWIdGDiU/gc90ZedVQzXHG10sgzkiiv2R PskEANkjMVEUcQ/Qq18hHmNyuji1mpIe5Jc6dGF4jOPMBx6WJhdJS475Iz6iNOVpo5wMjObvGQ5 1lnLRDDpjqlbCF8ncwBGgaXfW3C7sZ/tw+6tURA/GEPVZn3Ld1pWcfGhvgl3nrx3F3Qx1YeRluH fWN8gXf0ayTsZVCBXO2vP6NL3idu04YFz2yGnIpdfFOFkgKA50QmZzXzOqldkVi0BFVuqztfS2h hbimNhWxilTtF9m7L5lf3KUVnGy1zVqASYML80GOngy9pCIzzUErAUuigdB9BbzAT+wWSdk/IwX CxZXZIUgbt0kLfqJuV2Ll6qkmlrrLzPgo/HKtRIDkBb0wDxREaMNtzjcTrI8bg== X-Received: by 2002:a05:6a00:1388:b0:89f:7ac5:9d54 with SMTP id d2e1a72fcca58-8c87b9cf650mr507463b3a.17.1795113415322; Thu, 19 Nov 2026 10:36:55 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.36.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:36:55 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Ankur Tyagi Subject: [blacksail][PATCH 23/64] hdf5: patch CVE-2026-120689 Date: Fri, 20 Nov 2026 07:32:51 +1300 Message-ID: <049b93d6ee8aeba8dae887339aa0d9741496b0d0.1795112941.git.ankur.tyagi85@gmail.com> X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:37:05 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132713 From: Ankur Tyagi Details: https://nvd.nist.gov/vuln/detail/cve-2026-120689 Signed-off-by: Ankur Tyagi --- .../hdf5/files/CVE-2026-120689.patch | 60 +++++++++++++++++++ meta-oe/recipes-support/hdf5/hdf5_2.0.0.bb | 1 + 2 files changed, 61 insertions(+) create mode 100644 meta-oe/recipes-support/hdf5/files/CVE-2026-120689.patch diff --git a/meta-oe/recipes-support/hdf5/files/CVE-2026-120689.patch b/meta-oe/recipes-support/hdf5/files/CVE-2026-120689.patch new file mode 100644 index 0000000000..dd9e9374ac --- /dev/null +++ b/meta-oe/recipes-support/hdf5/files/CVE-2026-120689.patch @@ -0,0 +1,60 @@ +From 0472315404dc03d0e89eec4513eb80930f9b176e Mon Sep 17 00:00:00 2001 +From: PGZXB <420254146@qq.com> +Date: Fri, 9 Oct 2026 02:52:55 +0800 +Subject: [PATCH] Fix StackOverflow when calling `H5Gget_info` (#6685) + +Verify B-tree node level when an expected level value is provided + +(cherry picked from commit 5933130b610c7bd6e66fe93c2798b97e3f3188c8) + +CVE: CVE-2026-120689 +Upstream-Status: Backport [https://github.com/HDFGroup/hdf5/commit/5933130b610c7bd6e66fe93c2798b97e3f3188c8] + +Signed-off-by: Ankur Tyagi +--- + release_docs/CHANGELOG.md | 6 ++++++ + src/H5B.c | 14 ++++++++++++++ + 2 files changed, 20 insertions(+) + +diff --git a/release_docs/CHANGELOG.md b/release_docs/CHANGELOG.md +index c181f174bbb..b5c99cd4b16 100644 +--- a/release_docs/CHANGELOG.md ++++ b/release_docs/CHANGELOG.md +@@ -778,6 +778,12 @@ Added Fortran wrapper `h5fdsubfiling_get_file_mapping_f()` for the subfiling fil + + A malformed HDF5 file could have an attribute with a recorded name length of zero.This would lead to an overflow and an invalid memory access. An integrity check has been added to detect this case and safely stop file decoding. + ++### Fixed a stack overflow when iterating a corrupted B-tree ++ ++ `H5B__iterate_helper()` now verifies that a B-tree node it has just protected has the level the traversal expects, when the expected level is known. The equivalent check in `H5B__cache_deserialize()` only runs when a node is first loaded into the metadata cache, so a corrupted B-tree whose child pointer revisits a node that is already cached (for example, a node that points to itself) could bypass that check and recurse without bound until the stack was exhausted. Such a file is now rejected with an error instead of crashing. This was observed through `H5Gget_info()`. ++ ++ Fixes GitHub issue #6403 ++ + ## Java Library + + ### Renamed the Callbacks.java file to H5Callbacks.java +diff --git a/src/H5B.c b/src/H5B.c +index c9571708b73..4c6b1a55480 100644 +--- a/src/H5B.c ++++ b/src/H5B.c +@@ -1140,6 +1140,20 @@ H5B__iterate_helper(H5F_t *f, const H5B_class_t *type, haddr_t addr, int exp_lev + if (NULL == (bt = (H5B_t *)H5AC_protect(f, H5AC_BT, addr, &cache_udata, H5AC__READ_ONLY_FLAG))) + HGOTO_ERROR(H5E_BTREE, H5E_CANTPROTECT, H5_ITER_ERROR, "unable to load B-tree node"); + ++ /* Check for a corrupted B-tree node. If the caller has told us what ++ * level to expect, verify that the node we just protected actually has ++ * that level. This check must be performed here rather than relying ++ * solely on the equivalent check in H5B__cache_deserialize, because ++ * that deserialize callback only runs when a node is first loaded into ++ * the metadata cache. A corrupted B-tree whose child pointer revisits ++ * a node that is already cached (e.g. a node that points to itself) ++ * bypasses the deserialize callback entirely, so without this check the ++ * recursion below would never terminate and would overflow the stack. ++ */ ++ if (exp_level != H5B_UNKNOWN_NODELEVEL && bt->level != (unsigned)exp_level) ++ HGOTO_ERROR(H5E_BTREE, H5E_BADVALUE, H5_ITER_ERROR, ++ "B-tree node level is not as expected, possibly corrupted"); ++ + /* Iterate over node's children */ + for (u = 0; u < bt->nchildren && ret_value == H5_ITER_CONT; u++) { + if (bt->level > 0) diff --git a/meta-oe/recipes-support/hdf5/hdf5_2.0.0.bb b/meta-oe/recipes-support/hdf5/hdf5_2.0.0.bb index 9d300b210a..57a62ff9d0 100644 --- a/meta-oe/recipes-support/hdf5/hdf5_2.0.0.bb +++ b/meta-oe/recipes-support/hdf5/hdf5_2.0.0.bb @@ -24,6 +24,7 @@ SRC_URI = "https://support.hdfgroup.org/releases/hdf5/v2_0/v2_0_0/downloads/${BP file://CVE-2026-19025.patch \ file://CVE-2026-19026-CVE-2026-19027-CVE-2026-19028.patch \ file://CVE-2026-19023-CVE-2026-19024.patch \ + file://CVE-2026-120689.patch \ " SRC_URI[sha256sum] = "f4c2edc5668fb846627182708dbe1e16c60c467e63177a75b0b9f12c19d7efed" From patchwork Thu Nov 19 18:32:52 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104958 Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1908.1795113418541381751 for ; Thu, 19 Nov 2026 10:36:58 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=S46Jpggh; spf=pass (domain: gmail.com, ip: 209.85.210.172, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f172.google.com with SMTP id d2e1a72fcca58-8b32bc605d9so65763b3a.2 for ; Thu, 19 Nov 2026 10:36:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113418; x=1795718218; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=ZxsGHdfckDqPHxHI7QhLMOqD85vHe/kgQGcZ71QdHZk=; b=S46Jpgghgkp0VVz3gfUeJIFBBC7tOr7gYnifSRw1wT0U330Tk765v5UIy0xFK9vZgC I1cY+RWJE6JYYOLj2a1F/X8MR6kHuhc1jF/uKr0t5ezMjeqP5fiDLA1I1NxPW6lkdrU6 7dNgel3dHL+/dS9co0FcJ1I/Rwczag8KnP/UX4xoQ8hiVfWx5ISodmUFRV9K/3QlDlLY NCQUytDluWLfJwEplVdIF5QLqm0iabCksYHYBEDwIv8JXazlajFTknUjGwpSjVqCrsxH vNSndb3JBDPVuxJ+DY9Rn9nwM1fIDvsCukUnINaXvFgzODmDuFenYPpwWsnEes5E6ArR 7Wew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113418; x=1795718218; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=ZxsGHdfckDqPHxHI7QhLMOqD85vHe/kgQGcZ71QdHZk=; b=JtKYaYCLiFb1o3sh9KgH2b+4bPUkCbrZX6+ntxby1yS2T2JktfE2HOjoOuPhH0umS3 9pqTxnc7V9nQ3bZl9Te50efQgk9i9+VhCuQkC/70GTTFsbcjQ3nx3Kd8unXmgA+Ib8O0 sF/HOvFTqqCXAyG3q4SQJhr5v4Md59Fsb8mJjImGOE8gHRQ+YSKnBosKf1xo/0gM4/S2 xV5r+PivnG5pACrVM2QekFM5z+swQol8r8meb6o8mXrVTNJls8GS9UEE1fJTsfyT7kZG A6Zsg8AKCe3dRV/gE/vZWXtXlq0ISEL9Bf9f2A0UexQvbLFBreC3cc9oJFxq4u7MeOiz atOA== X-Gm-Message-State: APuU4Z+ZYymxoT/iypBukDXSQ7Ox3Ez/4/Yab/V2eK++90kYQCHtRgYJ waKWW1cOsAXDDjxOJI24Kyqalj7GTHFzuNY+qMJX3g7VdUWxnI4/d0At2ktbYw== X-Gm-Gg: AYBFou12OT44LW6+6A9iGTKsznqUsUdotdgl0xn7S739RhTwLs3LPXfp38EUfStn71W dcECtgUm63iA7wWKy2zIL1QMliYle2z7b5c9FeuT5Aj4rvIcUyDNqD8bmcVU6WpJTUDIwTKogfi v7BDD+7Wnd/S+g8++lfoiIjia/Zo2w3QmKOT7EikOdrKwn2GX13Zyx4pgbJ1tXZSvaDOgnbmtWX gAoog8ppr3ZZ2TyuwHa+WpCw0S4X976P7j11nk5hhcfIxwkWaSAj9Ks5U5HfK8Q8v7SrN2rp7YL 2EogCsGmWThA1AtqLGjVf1wNtlHM4X5ZLc9J6MxWDPwGJE6bqvjLgjew7k86v4Mmos9GiKeimwb 03FYKBgRkqcGglOCukkOyEmEk9H7j9Q0gTDtvnb39cMEJkB3CkCXz+FRXoORQkWcpLeyboExwS9 fth36h3Ev6eBfDxovZzR3CCJRF1d0+Z3AnS/7zMpuXR9LU/BENJ33lAxO84EZuvn6RTKCpndEt5 Mm8GDg9L3WEfUqgECsjiIMsHLIUntNXjky0Gp+BLCpDm7GVoYY6KetzEStnjpaXxpRG8g2+oAjl RexZHuZmryalFFCAuu2UT+PLTzH2nq5Y8HyO7NhCwsuJlQbGWLuT7IIRI0hmeAYt X-Received: by 2002:a05:6a00:368d:b0:8b0:5457:9477 with SMTP id d2e1a72fcca58-8c876739fb1mr497399b3a.0.1795113417788; Thu, 19 Nov 2026 10:36:57 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.36.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:36:57 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Ankur Tyagi Subject: [blacksail][PATCH 24/64] hdf5: patch CVE-2026-120754 and CVE-2026-120755 Date: Fri, 20 Nov 2026 07:32:52 +1300 Message-ID: X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:37:06 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132714 From: Ankur Tyagi Details: https://nvd.nist.gov/vuln/detail/cve-2026-120754 https://nvd.nist.gov/vuln/detail/cve-2026-120755 Signed-off-by: Ankur Tyagi --- .../CVE-2026-120754-CVE-2026-120755.patch | 172 ++++++++++++++++++ meta-oe/recipes-support/hdf5/hdf5_2.0.0.bb | 1 + 2 files changed, 173 insertions(+) create mode 100644 meta-oe/recipes-support/hdf5/files/CVE-2026-120754-CVE-2026-120755.patch diff --git a/meta-oe/recipes-support/hdf5/files/CVE-2026-120754-CVE-2026-120755.patch b/meta-oe/recipes-support/hdf5/files/CVE-2026-120754-CVE-2026-120755.patch new file mode 100644 index 0000000000..3f0a8d69d5 --- /dev/null +++ b/meta-oe/recipes-support/hdf5/files/CVE-2026-120754-CVE-2026-120755.patch @@ -0,0 +1,172 @@ +From 78672660618de8cca7c804f465886af02a89e79b Mon Sep 17 00:00:00 2001 +From: Matt L <124107509+mattjala@users.noreply.github.com> +Date: Wed, 21 Oct 2026 13:52:39 -0500 +Subject: [PATCH] Bound filter header reads to the stored chunk length (#6585) + +* bound scaleoffset and fletcher32 reads to the chunk buffer + +* Bound filter header reads to the stored chunk length + +This PR is an expansion of #6579. + +The scaleoffset bounds checks measured against *buf_size, the size of the +chunk buffer, rather than nbytes, the number of bytes the pipeline read from +the file. H5D__chunk_lock() sizes a filtered chunk buffer to MAX(stored size, +unfiltered size) so filters have room to expand into, and fills only the +stored bytes, so the buffer is routinely longer than the data in it. A +truncated chunk therefore passed the header check and decompressed out of the +uninitialized remainder of the allocation, returning unrelated heap contents +as dataset data. Because the reads stay inside the allocation, the address +sanitizer does not see them. + +This PR switches every read-side check in H5Z__filter_scaleoffset() +to bound against nbytes and pass the stored length to +H5Z__scaleoffset_decompress(). + +Similar short-chunk checks are added to szip and fletcher32. + +The direct chunk test has been extended to cover a chunk whose unfiltered size is +larger than the bytes stored for it, and to cover szip. + +* Correct potential invalid pointer usage + +* update CHANGELOG + +* Update CHANGELOG comment + +* Guard scaleoffset output size against multiplication overflow + +--------- + +Co-authored-by: Nayyar +Co-authored-by: Larry Knox + +CVE: CVE-2026-120754 CVE-2026-120755 +Upstream-Status: Backport [https://github.com/HDFGroup/hdf5/commit/cdb13c4de9c7edbbae180f384e2e610a3b3cf185] + +Dropped changes to the test and CHANGELOG file. + +Signed-off-by: Ankur Tyagi +--- + src/H5Zfletcher32.c | 13 +++++++------ + src/H5Zscaleoffset.c | 15 +++++++++++---- + src/H5Zszip.c | 18 ++++++++++++++---- + 3 files changed, 32 insertions(+), 14 deletions(-) + +diff --git a/src/H5Zfletcher32.c b/src/H5Zfletcher32.c +index b89724ad0a3..5ef3b04cbcf 100644 +--- a/src/H5Zfletcher32.c ++++ b/src/H5Zfletcher32.c +@@ -62,13 +62,14 @@ H5Z__filter_fletcher32(unsigned flags, size_t H5_ATTR_UNUSED cd_nelmts, + assert(sizeof(uint32_t) >= 4); + + if (flags & H5Z_FLAG_REVERSE) { /* Read */ +- /* A Fletcher32-filtered buffer must contain at least the trailing +- * checksum. Reject anything smaller to avoid a size_t underflow +- * when computing the data length. ++ /* The checksum is stored at the end of the chunk, so anything shorter ++ * than the checksum itself makes the length arithmetic below wrap. A ++ * chunk of exactly FLETCHER_LEN bytes holds no data and would return a ++ * filtered size of zero, which the pipeline reports as a filter failure, ++ * so reject it here where the reason can be stated. + */ +- if (nbytes < FLETCHER_LEN) +- HGOTO_ERROR(H5E_STORAGE, H5E_OVERFLOW, 0, +- "fletcher32 filter input buffer too small to contain checksum"); ++ if (nbytes <= FLETCHER_LEN) ++ HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, 0, "buffer too short"); + + /* Do checksum if it's enabled for read; otherwise skip it + * to save performance. */ +diff --git a/src/H5Zscaleoffset.c b/src/H5Zscaleoffset.c +index d39b4f40403..d506e5203a0 100644 +--- a/src/H5Zscaleoffset.c ++++ b/src/H5Zscaleoffset.c +@@ -1205,10 +1205,18 @@ H5Z__filter_scaleoffset(unsigned flags, size_t cd_nelmts, const unsigned cd_valu + unsigned long long minval_mask = 0; + unsigned minval_size = 0; + +- minbits = 0; +- if (H5_IS_BUFFER_OVERFLOW((unsigned char *)*buf, 5, (unsigned char *)*buf + *buf_size - 1)) ++ /* Bound every read below by nbytes rather than *buf_size. The caller may ++ * provide a buffer larger than the data it holds, so restrict the read ++ * to the valid nbytes. ++ */ ++ /* The minbits and minval-size fields are the first five bytes of the ++ * stream, so validate that length before deriving an end-of-buffer ++ * pointer from nbytes ++ */ ++ if (nbytes < 5) + HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, 0, "buffer too short"); + ++ minbits = 0; + for (i = 0; i < 4; i++) { + minbits_mask = ((unsigned char *)*buf)[i]; + minbits_mask <<= i * 8; +@@ -1224,8 +1232,7 @@ H5Z__filter_scaleoffset(unsigned flags, size_t cd_nelmts, const unsigned cd_valu + minval_size = sizeof(unsigned long long) <= ((unsigned char *)*buf)[4] ? sizeof(unsigned long long) + : ((unsigned char *)*buf)[4]; + minval = 0; +- if (H5_IS_BUFFER_OVERFLOW((unsigned char *)*buf, 5 + minval_size, +- (unsigned char *)*buf + *buf_size - 1)) ++ if (H5_IS_BUFFER_OVERFLOW((unsigned char *)*buf, 5 + minval_size, (unsigned char *)*buf + nbytes - 1)) + HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, 0, "buffer too short"); + for (i = 0; i < minval_size; i++) { + minval_mask = ((unsigned char *)*buf)[5 + i]; +diff --git a/src/H5Zszip.c b/src/H5Zszip.c +index 9b37035374f..dd6c3619873 100644 +--- a/src/H5Zszip.c ++++ b/src/H5Zszip.c +@@ -28,6 +28,9 @@ + #include "szlib.h" + #endif + ++/* Size of the uncompressed-length header stored in front of the szip stream */ ++#define SZIP_HEADER_LEN 4 ++ + /* Local function prototypes */ + static htri_t H5Z__can_apply_szip(hid_t dcpl_id, hid_t type_id, hid_t space_id); + static herr_t H5Z__set_local_szip(hid_t dcpl_id, hid_t type_id, hid_t space_id); +@@ -284,6 +287,13 @@ H5Z__filter_szip(unsigned flags, size_t cd_nelmts, const unsigned cd_values[], s + uint32_t stored_nalloc; /* Number of bytes the compressed block will expand into */ + size_t nalloc; /* Number of bytes the compressed block will expand into */ + ++ /* The uncompressed length is stored in front of the compressed stream, so ++ * a chunk shorter than that header makes the length arithmetic below wrap. ++ * A chunk of exactly SZIP_HEADER_LEN bytes holds no compressed data. ++ */ ++ if (nbytes <= SZIP_HEADER_LEN) ++ HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, 0, "buffer too short"); ++ + /* Get the size of the uncompressed buffer */ + newbuf = (unsigned char *)(*buf); + UINT32DECODE(newbuf, stored_nalloc); +@@ -295,7 +305,7 @@ H5Z__filter_szip(unsigned flags, size_t cd_nelmts, const unsigned cd_values[], s + + /* Decompress the buffer */ + size_out = nalloc; +- if (SZ_BufftoBuffDecompress(outbuf, &size_out, newbuf, nbytes - 4, &sz_param) != SZ_OK) ++ if (SZ_BufftoBuffDecompress(outbuf, &size_out, newbuf, nbytes - SZIP_HEADER_LEN, &sz_param) != SZ_OK) + HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, 0, "szip_filter: decompression failed"); + assert(size_out == nalloc); + +@@ -313,7 +323,7 @@ H5Z__filter_szip(unsigned flags, size_t cd_nelmts, const unsigned cd_values[], s + unsigned char *dst = NULL; /* Temporary pointer to new output buffer */ + + /* Allocate space for the compressed buffer & header (assume data won't get bigger) */ +- if (NULL == (dst = outbuf = (unsigned char *)H5MM_malloc(nbytes + 4))) ++ if (NULL == (dst = outbuf = (unsigned char *)H5MM_malloc(nbytes + SZIP_HEADER_LEN))) + HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, 0, "unable to allocate szip destination buffer"); + + /* Encode the uncompressed length */ +@@ -332,8 +342,8 @@ H5Z__filter_szip(unsigned flags, size_t cd_nelmts, const unsigned cd_values[], s + /* Set return values */ + *buf = outbuf; + outbuf = NULL; +- *buf_size = nbytes + 4; +- ret_value = size_out + 4; ++ *buf_size = nbytes + SZIP_HEADER_LEN; ++ ret_value = size_out + SZIP_HEADER_LEN; + } + + done: diff --git a/meta-oe/recipes-support/hdf5/hdf5_2.0.0.bb b/meta-oe/recipes-support/hdf5/hdf5_2.0.0.bb index 57a62ff9d0..2d5d134e01 100644 --- a/meta-oe/recipes-support/hdf5/hdf5_2.0.0.bb +++ b/meta-oe/recipes-support/hdf5/hdf5_2.0.0.bb @@ -25,6 +25,7 @@ SRC_URI = "https://support.hdfgroup.org/releases/hdf5/v2_0/v2_0_0/downloads/${BP file://CVE-2026-19026-CVE-2026-19027-CVE-2026-19028.patch \ file://CVE-2026-19023-CVE-2026-19024.patch \ file://CVE-2026-120689.patch \ + file://CVE-2026-120754-CVE-2026-120755.patch \ " SRC_URI[sha256sum] = "f4c2edc5668fb846627182708dbe1e16c60c467e63177a75b0b9f12c19d7efed" From patchwork Thu Nov 19 18:32:53 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104959 Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1911.1795113421110986484 for ; Thu, 19 Nov 2026 10:37:01 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=Mj1YXsqO; spf=pass (domain: gmail.com, ip: 209.85.210.181, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f181.google.com with SMTP id d2e1a72fcca58-8b58d6f67a5so77868b3a.2 for ; Thu, 19 Nov 2026 10:37:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113420; x=1795718220; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=FD5hA5NP2EbYdBt0y7hYgcALI71h3eBJkyvRh2PiAq0=; b=Mj1YXsqO4cpjBlVxYInTWCNIOCfUUuzcS9ZHkSc0krVWi8S4vdJt/kgp0q3a5W2P3L j0+iv/q/UAlPTccy+k81N8fpa1BH2jfq8wB4Oi3+U+4d6WhTZcNiqziNq3zQEU6lr4FO OjzsmBY/vyJaYi4CLkbAFcYV/w7VjzQMTMnS0lwGZ7MiyrGrqKGnk5IrdrjVfcsHvR2m Vwv7u9RrH0TuEF4Wod/C7kdmTJkj4a/miMWLgjnLRbPa6WSL8BwrTL1oAsvCJ5sDVLpA xCEfEEU2tLnqC/ozUGm6U11LKX9C6SxwTcP7tDz93lUvqqZDNjQv38vcgAqk629xJkvX 77kQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113420; x=1795718220; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=FD5hA5NP2EbYdBt0y7hYgcALI71h3eBJkyvRh2PiAq0=; b=VQcs4Hb8EYwqc2iTDfCGPLT7FB2yYbz40ZToT84HwwnSC+ZMdGi/23IIoMHoA49kGy vqjeXvRz8kiCZZdgppnzllCkzyXorRwxCN7CvvkG/UgkSf9PAtKkhiXDJIJIj6YnK03T pvdePFpplJwpqJVdR/ii0prFBegA6ZbggrOrQ5TLiYX8OvdYoDJZxWuxgkrIs1k/4UQk /3zOQrV+EIAmR+7q6+ovI/GhBjTBJ12lVJTomm7vvNID+azh8W+a7bWCDgCq0a2jpCNd ZFoAis8vvZOqbQwtpaCDPrXsTmy7yuitqhVY/4DlZEf8PJnfkpV8kEiIbpLbH76kMPFQ fKSA== X-Gm-Message-State: APuU4Z9DkA0OjkKOsP6u+/5zOKIhpxQj35IhcKT2Ol8vVj4NAHCqHhoK dfmMxW/XpZIg16TQh8XDDo1fJmxK6FN+rgvz/mxXj3Y/sni+7ebGxcp9r2cQaA== X-Gm-Gg: AYBFou2nwKhZ5e207I6ivw8YwQnL0GYgXk0X+lo4A8nq67OXDPDekDEWXXOH/YqIi7K MJo6Aq4cFYW3A6S25lAdg5lOiVE/rZLZMU5eIP0GsOG7yAh5cKZznNGtyibJxxjPCy2LDV87Q7A j/jQ2sJROsf3DHFUZkDiuN0ZvvDJjLqI1kz1gObhFPPIlkF0dPs20bF37u0a1kIWjsQ7ldFXn1O YMGnMffbGCtDO8+qDyi3+2regBE54cgdunDK/M1v9LrOIu5cxWvjGTTsSRaImE6Zt2SMc+y9B7n wFcsSnKsqIbJ18lmq4KCMxUgQNMBACGyXrb5TqEtjIhCUtmL4YgwHO5q8p8zf1X+QMBTEixb5jZ AvK6d2/dBhNuzPLr3GtkF3/ThWuKFXrtBhXA5tIOzykvSDPTsNnG7rkgaf0gKWfAiobLXIGxuoI SrrxE4LFCUmK5bwWnyMvNmj7EGfD4Zyf23MSAuw3k1Oy8mv1Uxj9jbyEG2OJE3owD4UFRGjwJSx 5ZesuDEM6xh1k5Lc3zbmejUStdY2FXJK7pMuHrfHicrrifYRVQZtVL5GmLX1tC7mnb+jbnRrUYZ wjF88vRsPWWaxr/OnXB1osRYRrHht5dfOY6PKUvjM3ppLQo7Zw9bMUVTiVYkGA== X-Received: by 2002:a05:6a00:b42:b0:8b6:12fd:7271 with SMTP id d2e1a72fcca58-8c87c38846bmr481771b3a.25.1795113420369; Thu, 19 Nov 2026 10:37:00 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.36.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:37:00 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Ankur Tyagi Subject: [blacksail][PATCH 25/64] hdf5: patch CVE-2026-120756 Date: Fri, 20 Nov 2026 07:32:53 +1300 Message-ID: <8048828662fa6782a395e98712a76ac01c0618e6.1795112941.git.ankur.tyagi85@gmail.com> X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:37:06 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132715 From: Ankur Tyagi Details: https://nvd.nist.gov/vuln/detail/cve-2026-120756 Signed-off-by: Ankur Tyagi --- .../hdf5/files/CVE-2026-120756.patch | 45 +++++++++++++++++++ meta-oe/recipes-support/hdf5/hdf5_2.0.0.bb | 1 + 2 files changed, 46 insertions(+) create mode 100644 meta-oe/recipes-support/hdf5/files/CVE-2026-120756.patch diff --git a/meta-oe/recipes-support/hdf5/files/CVE-2026-120756.patch b/meta-oe/recipes-support/hdf5/files/CVE-2026-120756.patch new file mode 100644 index 0000000000..28bd658598 --- /dev/null +++ b/meta-oe/recipes-support/hdf5/files/CVE-2026-120756.patch @@ -0,0 +1,45 @@ +From 43855883c1ea10a072b7e7cf2dbc5a29ab411a8f Mon Sep 17 00:00:00 2001 +From: Nayyar +Date: Sat, 12 Sep 2026 16:37:49 +0530 +Subject: [PATCH] check object header message size after decoding its header + (#6589) + +(cherry picked from commit 10f1af5528168c5a71a58eba0b486e0677f3aaa3) + +CVE: CVE-2026-120756 +Upstream-Status: Backport [https://github.com/HDFGroup/hdf5/commit/10f1af5528168c5a71a58eba0b486e0677f3aaa3] + +Dropped changes to the test and CHANGELOG file. +Signed-off-by: Ankur Tyagi +--- + src/H5Ocache.c | 10 +++++++--- + 1 file changed, 7 insertions(+), 3 deletions(-) + +diff --git a/src/H5Ocache.c b/src/H5Ocache.c +index 8f0928f290e..9dc6a2e21bb 100644 +--- a/src/H5Ocache.c ++++ b/src/H5Ocache.c +@@ -1270,9 +1270,6 @@ H5O__chunk_deserialize(H5O_t *oh, haddr_t addr, size_t chunk_size, const uint8_t + if (mesg_size != H5O_ALIGN_OH(oh, mesg_size)) + HGOTO_ERROR(H5E_OHDR, H5E_CANTLOAD, FAIL, "message not aligned"); + +- if (H5_IS_BUFFER_OVERFLOW(chunk_image, mesg_size, p_end)) +- HGOTO_ERROR(H5E_OHDR, H5E_BADVALUE, FAIL, "message size exceeds buffer end"); +- + /* Message flags */ + if (H5_IS_BUFFER_OVERFLOW(chunk_image, 1, p_end)) + HGOTO_ERROR(H5E_OHDR, H5E_OVERFLOW, FAIL, "ran off end of input buffer while decoding"); +@@ -1305,6 +1302,13 @@ H5O__chunk_deserialize(H5O_t *oh, haddr_t addr, size_t chunk_size, const uint8_t + } + } + ++ /* The message body starts after the message header, so its size can ++ * only be checked against the buffer once the whole header has been ++ * decoded ++ */ ++ if (H5_IS_BUFFER_OVERFLOW(chunk_image, mesg_size, p_end)) ++ HGOTO_ERROR(H5E_OHDR, H5E_BADVALUE, FAIL, "message size exceeds buffer end"); ++ + /* Increment count of null messages */ + if (H5O_NULL_ID == id) + nullcnt++; diff --git a/meta-oe/recipes-support/hdf5/hdf5_2.0.0.bb b/meta-oe/recipes-support/hdf5/hdf5_2.0.0.bb index 2d5d134e01..390884e618 100644 --- a/meta-oe/recipes-support/hdf5/hdf5_2.0.0.bb +++ b/meta-oe/recipes-support/hdf5/hdf5_2.0.0.bb @@ -26,6 +26,7 @@ SRC_URI = "https://support.hdfgroup.org/releases/hdf5/v2_0/v2_0_0/downloads/${BP file://CVE-2026-19023-CVE-2026-19024.patch \ file://CVE-2026-120689.patch \ file://CVE-2026-120754-CVE-2026-120755.patch \ + file://CVE-2026-120756.patch \ " SRC_URI[sha256sum] = "f4c2edc5668fb846627182708dbe1e16c60c467e63177a75b0b9f12c19d7efed" From patchwork Thu Nov 19 18:32:54 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104960 Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1913.1795113423231586524 for ; Thu, 19 Nov 2026 10:37:03 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=qvCdJlRZ; spf=pass (domain: gmail.com, ip: 209.85.210.182, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-8a07078200fso84827b3a.2 for ; Thu, 19 Nov 2026 10:37:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113422; x=1795718222; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=ENccA9Y/+lG02UVA4kJA3ys6/ru2f9mjV0lgJ9jCHvQ=; b=qvCdJlRZ/OYc+GU+2XrOe3iQMYk6ZtwrqPQ+PlyTNPLjkGLnGISleX0WTEGPQVesOL NRlkUl+a6vI3GaGt0uGCOfD1mpijnjBczCVPFL0VBxPYWvesdNQA/MCXtSHmKgbaraoP FUQAAnf1nOZujjObluBoN6cnd0AtT1u+GyhKNvJZPpNW+HvErMYV/2cgNz9vS0YhvxXE MDiPkVSqtMNTMgodfvCxpTG4JGzd4rR9e8MaFUz+5B9abytbiwzgsaO3BKADKipRTIFq LLv5YtAP1r8pdaJf9RysCWP9sMl14c3SKclcG23Q0lQHd1QIuS1lUZCXJrZg4cSLsTBW mILA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113422; x=1795718222; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=ENccA9Y/+lG02UVA4kJA3ys6/ru2f9mjV0lgJ9jCHvQ=; b=yEp7UT9a8P2IDAmeA7owhfoUCuhGHkK0ps/kVakEJAbanKv1kNTVcCALpoV/je3lPf N0ZMbtKAPtNB8BWSK3uS14/rb6kv6wgKvcPX5UEEM+8IWIYvRlg0uBe6JmMLcMPm+b9O +x1qJnl0nq68+HkclSA9Q7WtjaTWMNn/1FwWSBh8bB/b3QR/xX3rQj4aeiwt9pXYpiuV 2xrCgmCKr+SW4SzrAhfm+kiGXBl4ifoJw2KsfJHrK9LtddotPkM6qz0BSk7xf4X0K2jw f8nEnjvybvjmwEEALNUjRzycDtRvWyhPdO/ooAFYDtosdTZl6pMtU3wAkevAGmomz60j jbMg== X-Gm-Message-State: APuU4Z9giLSNRDvLbluQxVDMoz4R4LxCY6tGyPXdtXHgcFAo0EGqgXhq RAu+cV0yvIvzfIY2eqSl2fhTyr3p+WfSya32q6xI5xHeZuGomhGFD6w/6y3Tug== X-Gm-Gg: AYBFou3KyKm8YNNqN93KEy6hiBtXla11+GGepjBGitcdmmzrfKZIH8BRTuITaMFBInS aVDrKNKAz8uW0sMdK2mY2j2xIrE3nnKUcejNZ/K3lpRQT82xHyGGy+7P76ZSMi3wpcIwERxiKdy YARRhxn+u47rf3GhqjMVziHSqxWo1Y2zAC98XAvwu3f++Q9D7x0vlwce1zKodYSilo1yCkXdsIw bkiWgujBqgJYfRGhb+1z26zXlCorSn+Zmnt/JeKF9XMnarPriqABLQ/leZM5OO1f8QpbPpP8v7V r5WXjI70Aejr53LOUPNE/rnWKtLYSL6nAhjUnp0ATzW0wTDCYRMSl7Dxdgs3E3DUjWM87yoaQJS A2em61Ie1UAG+Wi0V1ifLgpjzqOtvM/1Jz+v+9A7E4fqgIbK/TMyE232up5AZ+lF4hBDDIlobsq kJAlDM6ukJBGHHygYUeELMftqCNnao9Z3dSVidrQNKghJI5Xo6pRq26iK37YX225MQwR3HZRLCN ApCEWYiajKXuY1pCr1IBLlGZcOcCnkzQA3F0mqUoNGzate3pQU9VZbT5OvvghvsY6QPMd674Xq3 YOAzSS4jC5DchFGj/C3Ma8BC3gveJa9ADhO6CjbbroEHlMgcgstrK1y1aowm4A== X-Received: by 2002:a05:6a00:1ad3:b0:893:1336:4816 with SMTP id d2e1a72fcca58-8c87d809a46mr467149b3a.57.1795113422552; Thu, 19 Nov 2026 10:37:02 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.37.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:37:02 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Ankur Tyagi Subject: [blacksail][PATCH 26/64] hdf5: patch CVE-2026-120757 Date: Fri, 20 Nov 2026 07:32:54 +1300 Message-ID: <28dbc625a3b20166159912c5cbf45860d20a6185.1795112941.git.ankur.tyagi85@gmail.com> X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:37:06 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132716 From: Ankur Tyagi Details: https://nvd.nist.gov/vuln/detail/cve-2026-120757 Signed-off-by: Ankur Tyagi --- .../hdf5/files/CVE-2026-120757.patch | 63 +++++++++++++++++++ meta-oe/recipes-support/hdf5/hdf5_2.0.0.bb | 1 + 2 files changed, 64 insertions(+) create mode 100644 meta-oe/recipes-support/hdf5/files/CVE-2026-120757.patch diff --git a/meta-oe/recipes-support/hdf5/files/CVE-2026-120757.patch b/meta-oe/recipes-support/hdf5/files/CVE-2026-120757.patch new file mode 100644 index 0000000000..886d6d946b --- /dev/null +++ b/meta-oe/recipes-support/hdf5/files/CVE-2026-120757.patch @@ -0,0 +1,63 @@ +From fa4c737d41c1c86638525a290b5576c8966090d0 Mon Sep 17 00:00:00 2001 +From: Nayyar +Date: Thu, 8 Oct 2026 18:57:14 +0530 +Subject: [PATCH] reject malformed external link data in H5L__extern_traverse + (#6708) + +* validate external link data before parsing in traversal + +(cherry picked from commit 8117f4c75fdfb5e759ad73ce62d7ef4584130acd) + +CVE: CVE-2026-120757 +Upstream-Status: Backport [https://github.com/HDFGroup/hdf5/commit/8117f4c75fdfb5e759ad73ce62d7ef4584130acd] + +Dropped changes to the test and CHANGELOG file. + +Signed-off-by: Ankur Tyagi +--- + src/H5Lexternal.c | 18 ++++++++++++++++-- + 1 file changed, 16 insertions(+), 2 deletions(-) + +diff --git a/src/H5Lexternal.c b/src/H5Lexternal.c +index 793825d1c3d..5f874d53177 100644 +--- a/src/H5Lexternal.c ++++ b/src/H5Lexternal.c +@@ -93,7 +93,7 @@ static const H5L_class_t H5L_EXTERN_LINK_CLASS[1] = {{ + */ + static hid_t + H5L__extern_traverse(const char H5_ATTR_UNUSED *link_name, hid_t cur_group, const void *_udata, +- size_t H5_ATTR_UNUSED udata_size, hid_t lapl_id, hid_t H5_ATTR_UNUSED dxpl_id) ++ size_t udata_size, hid_t lapl_id, hid_t H5_ATTR_UNUSED dxpl_id) + { + H5P_genplist_t *plist; /* Property list pointer */ + H5G_loc_t root_loc; /* Location of root group in external file */ +@@ -121,6 +121,18 @@ H5L__extern_traverse(const char H5_ATTR_UNUSED *link_name, hid_t cur_group, cons + /* Sanity checks */ + assert(p); + ++ /* The udata holds a version/flags byte followed by two NULL-terminated ++ * strings (file name and object path). The strings are located below with ++ * strlen(), so validate the buffer against udata_size first: it must have ++ * room for both strings and end on a NULL terminator. A malformed link ++ * from a corrupted file would otherwise read past the udata buffer. This ++ * matches the checks in H5Lunpack_elink_val(). ++ */ ++ if (udata_size <= 2) ++ HGOTO_ERROR(H5E_LINK, H5E_CANTDECODE, H5I_INVALID_HID, "external link data too small"); ++ if (p[udata_size - 1] != '\0') ++ HGOTO_ERROR(H5E_LINK, H5E_CANTDECODE, H5I_INVALID_HID, "external link data is not NULL-terminated"); ++ + /* Check external link version & flags */ + if (((*p >> 4) & 0x0F) > H5L_EXT_VERSION) + HGOTO_ERROR(H5E_LINK, H5E_CANTDECODE, H5I_INVALID_HID, "bad version number for external link"); +@@ -131,7 +143,9 @@ H5L__extern_traverse(const char H5_ATTR_UNUSED *link_name, hid_t cur_group, cons + /* Gather some information from the external link's user data */ + file_name = (const char *)p; + fname_len = strlen(file_name); +- obj_name = (const char *)p + fname_len + 1; ++ if ((fname_len + 1) >= (udata_size - 1)) ++ HGOTO_ERROR(H5E_LINK, H5E_CANTDECODE, H5I_INVALID_HID, "external link data has no object path"); ++ obj_name = (const char *)p + fname_len + 1; + + /* Get the plist structure */ + if (NULL == (plist = H5P_object_verify(lapl_id, H5P_LINK_ACCESS, true))) diff --git a/meta-oe/recipes-support/hdf5/hdf5_2.0.0.bb b/meta-oe/recipes-support/hdf5/hdf5_2.0.0.bb index 390884e618..3cfce91bff 100644 --- a/meta-oe/recipes-support/hdf5/hdf5_2.0.0.bb +++ b/meta-oe/recipes-support/hdf5/hdf5_2.0.0.bb @@ -27,6 +27,7 @@ SRC_URI = "https://support.hdfgroup.org/releases/hdf5/v2_0/v2_0_0/downloads/${BP file://CVE-2026-120689.patch \ file://CVE-2026-120754-CVE-2026-120755.patch \ file://CVE-2026-120756.patch \ + file://CVE-2026-120757.patch \ " SRC_URI[sha256sum] = "f4c2edc5668fb846627182708dbe1e16c60c467e63177a75b0b9f12c19d7efed" From patchwork Thu Nov 19 18:32:55 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104961 Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1915.1795113425449664849 for ; Thu, 19 Nov 2026 10:37:05 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=fiVS9QXN; spf=pass (domain: gmail.com, ip: 209.85.210.173, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f173.google.com with SMTP id d2e1a72fcca58-8a9f9473029so88556b3a.2 for ; Thu, 19 Nov 2026 10:37:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113425; x=1795718225; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=2QiL+MkQyXfDlSf+K9zP7OAfqo4qnyxPlwgDV8DbqVc=; b=fiVS9QXNxpkXEXuwUYYZ/4VBauN3nvI4ltTTKDDdwdOFPUpq5N/hkVR4kDX9Gx4DqZ 9FK8k4ktNIa3mgP/513eS2ExJyNaYZb2m9s5Nk7faMNLtMHxnajCNvAtt/BeASPxbHhM VPEwShqsgjwmPwjNjxw3Re06G5twYi2tBmoF7atuHg7DW75H1sgCk4yS3cYGt4UWGLP3 0yVQg4c+hei9+Dtnr8sAmVUcgOASK4SozrvQ0xPGu37Vy0quVETrIxPhp4uiLXqsSM2o PxJfrnCXTGsObTEXzd7pzRvOetzx1rEhSG3eNlDAv0AV5cs0jspBFxPk8aQqJP0BNIZx pYtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113425; x=1795718225; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=2QiL+MkQyXfDlSf+K9zP7OAfqo4qnyxPlwgDV8DbqVc=; b=HwbT218BVoVbuv5lvA+Atmvpj/i8/maHQAcozAfFhw6ADLhbV1aYDZ+0lJv2xCFggj uiUqSMF1pgmgo6O4t7Y1VQ/QSLN9d9Uq6GMNQtZhSUcoKB4tX1/vSKf7RnkqibIAvx09 tjzxbhDCwGM0TNBolxPBNUcru4bV55DdqMIyvTzo29OHJU9V82YpeRWm82umqS9FlPIe e/ysj30lQ71SH+pkL8gs1AhyAQLG2Lb9blp65dVbFBX/FQWNC1JcV0zfLdncxX+Pb2fG +n89k2orxfjcD6mNvEtJQlmuvYf2pW2b1Xx+WAfNNWOqTlsjBO8wasrecExVY8A/4g7p VCGg== X-Gm-Message-State: APuU4Z+KeMJ8W4vpmdZlxq7GmlX4+q/SltBovMABCW0x00g2bg4chKXt RsOTEfIlp6XqjA+MLHO4zNNjlT8qowN8+QUdPoN3lhTFGRa4IEl7349ngvsOJA== X-Gm-Gg: AYBFou2nQ5ed5Yi0m4yHnwb7ntYvW4upl+Ma2xPIX9c/S4uwe+EvYkpv29nqR3tr4V+ 7qlHx2Za7uOFl8g1PkqpOL4+dinfr3SDIvU2GnfJ7sVEITCYyk+7LH4mWBduCMOGk8mjquco6g+ xBaGSIKAB46WF7+0PWzENrSKYjTX5T0c3QuGoo/6YJG6ZwdNEl3zDMmppyEVNgV03zs/9VHERo+ NXvN8IUzSL6fH8zlFVuAjISBNwIgORw8B8+RIdSns72K55nmvpt12UAabZsHCY/J10VfxOxwWah wjqNYhVKnI9AbY2AT9fBzcu0SyHHoRb0gHbifIEYW6elI8ciozP8/Txr7A5gJjpvzU/zoYCO46N G2b5zCFWjBovlHPaceiF4VumJLO12URfGAhOCUGG12bx1Ed7rfjou2DsLHnbZK9pcfD50QBDUqU vqLVRqrUFMSPJ4+8R98iprAsBBti1LZ54FoI62wGu5dGYlDv0DEdix8IJdfzQ4ylK4hXog2po+V nZ5SLsoH0q29MeQfV/WMfqdW0smcUFxmboLs3CHJYy2IDERsk6eQ1DIW4nWtJG7p4byEiKJ/LjP phO+yayIl4p1cFuFQ4j7gOUNHmcqHh9yPAaaEDAWcgddpygx5xpfI4LVL8rA7g== X-Received: by 2002:a05:6a00:340a:b0:89e:848a:fc97 with SMTP id d2e1a72fcca58-8c87c95be2bmr475819b3a.35.1795113424712; Thu, 19 Nov 2026 10:37:04 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.37.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:37:04 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Ankur Tyagi Subject: [blacksail][PATCH 27/64] hdf5: patch CVE-2026-120758 Date: Fri, 20 Nov 2026 07:32:55 +1300 Message-ID: X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:37:06 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132717 From: Ankur Tyagi Details: https://nvd.nist.gov/vuln/detail/cve-2026-120758 Signed-off-by: Ankur Tyagi --- .../hdf5/files/CVE-2026-120758.patch | 143 ++++++++++++++++++ meta-oe/recipes-support/hdf5/hdf5_2.0.0.bb | 1 + 2 files changed, 144 insertions(+) create mode 100644 meta-oe/recipes-support/hdf5/files/CVE-2026-120758.patch diff --git a/meta-oe/recipes-support/hdf5/files/CVE-2026-120758.patch b/meta-oe/recipes-support/hdf5/files/CVE-2026-120758.patch new file mode 100644 index 0000000000..a8fb5f72ff --- /dev/null +++ b/meta-oe/recipes-support/hdf5/files/CVE-2026-120758.patch @@ -0,0 +1,143 @@ +From 277a6bbfdb8e852b7bbd08ae002907fc559e0194 Mon Sep 17 00:00:00 2001 +From: tbeu +Date: Sat, 3 Oct 2026 07:43:53 +0200 +Subject: [PATCH] Fix NULL pointer dereferences in H5HL_protect and + H5HL_unprotect (#6377) + +* Fix NULL pointer dereferences in H5HL_protect and H5HL_unprotect + +When reading corrupted HDF5 files, H5HL_protect can encounter a heap +where prfx->heap is NULL or heap->dblk_image is NULL. Similarly, +H5HL_unprotect can encounter a heap where heap->prfx or heap->dblk has +been set to NULL by H5HL__prfx_dest during cache eviction of corrupted +entries. In both cases, the code proceeded to dereference NULL pointers, +causing a segfault (found by OSS-Fuzz via matio). + +Replace the assert in H5HL_unprotect with proper NULL checks and +HGOTO_ERROR, and add equivalent guards in H5HL_protect, so corrupted +files are rejected gracefully instead of crashing. + +* Address review: drop speculative H5HL_protect NULL checks, add regression test + changelog + +- Remove the NULL checks in H5HL_protect for prfx->heap and heap->dblk_image. + prfx->heap is set in H5HL__prfx_new and only cleared in H5HL__prfx_dest (which + frees the prefix in the same call), so the check is unreachable and could leak + prfx via the done block. heap->dblk_image is NULL by design whenever the data + block is not contiguous with the prefix, so that check was a false positive. +- Keep the H5HL_unprotect NULL checks for heap->prfx and heap->dblk, which are the + actual fix for the reported crash (OSS-Fuzz 504827191). +- Add a regression test (corrupt_heap_unprotect) in test/lheap.c using the + minimized fuzzer file heap_corrupt_prfx.h5, asserting the corrupted file fails + gracefully instead of crashing in H5HL_unprotect. +- Document the fix in release_docs/CHANGELOG.md. + +* Improve lheap regression test for H5HL_unprotect NULL deref + +Replace the file-based traversal (which does not deterministically reach +the cache-eviction path that nulls heap->prfx) with a white-box check that +protects a local heap, simulates the corrupted/evicted condition by nulling +the heap's prfx/dblk pointers, and verifies H5HL_unprotect() returns an +error instead of dereferencing NULL. Keep a best-effort open/traverse of the +OSS-Fuzz minimized file (issue 504827191) as a smoke test. + +Verified: without the fix the test aborts (H5AC_unpin_entry(NULL)); with the +fix it passes. + +* Improve lheap regression test to consider review comments + +* Fix formatting + +* test: improve lheap regression test for reviewer comments + +- Use H5L_info2_t in visitor (matches H5L_iterate2_t signature) +- Use H5O_info2_t with H5Oget_info_by_name3 +- Replicate matio's exact traversal: H5Literate2 + H5Gopen2/H5Dopen2 + + H5Lvisit2 recursion, H5Aiterate2 attribute reads, skip #refs#/#subsystem# +- Keep white-box deterministic NULL-pointer guard (fuzzer file does not + deterministically crash via public API alone; original crash required + matio fuzzer's specific cache-pressure environment) +- Add CORRUPT_HEAP_TESTFILE define back for white-box test + +* Fix formatting + +* Reject a local heap unprotect when its pinned cache entry is gone + +H5HL_unprotect() now reports an error instead of dereferencing NULL when the +cache entry that H5HL_protect() pinned is no longer linked to the heap, and it +checks for that before decrementing the protect count so a rejected call leaves +the heap unchanged. The regression test as written couldn't fail, since its cleanup +label was after passed and every failure path still returned 0 (success). +It also only ever built single-cache-object heaps, and didn't reach the branch the crash +came from. It now grows a heap into a separate data block to cover both +branches and uses the standard error reporting. + +--------- + +Co-authored-by: Matthew Larson +Co-authored-by: Matt L <124107509+mattjala@users.noreply.github.com> +Co-authored-by: Larry Knox + +CVE: CVE-2026-120758 +Upstream-Status: Backport [https://github.com/HDFGroup/hdf5/commit/91fc37c3325264e67699408e3a190fe4f329bf85] + +Dropped changes to the test and CHANGELOG file. + +Signed-off-by: Ankur Tyagi +--- + src/H5HL.c | 34 +++++++++++++++++++++------------- + 1 file changed, 21 insertions(+), 13 deletions(-) + +diff --git a/src/H5HL.c b/src/H5HL.c +index b55b3690617..838426406a9 100644 +--- a/src/H5HL.c ++++ b/src/H5HL.c +@@ -416,28 +416,36 @@ H5HL_unprotect(H5HL_t *heap) + /* Check arguments */ + assert(heap); + +- /* Decrement # of times heap is protected */ +- heap->prots--; +- + /* Check for last unprotection of heap */ +- if (heap->prots == 0) { +- /* Check for separate heap data block */ ++ if (heap->prots == 1) { ++ void *pin_obj; /* Pointer to local heap object to unpin */ ++ ++ /* Get the object that H5HL_protect() pinned. It is unlinked from the ++ * heap when the cache destroys it, which a damaged file can provoke, ++ * so check for it before the protect count is decremented. ++ */ + if (heap->single_cache_obj) { +- /* Mark local heap prefix as evictable again */ +- if (FAIL == H5AC_unpin_entry(heap->prfx)) +- HGOTO_ERROR(H5E_HEAP, H5E_CANTUNPIN, FAIL, "unable to unpin local heap data block"); ++ if (NULL == heap->prfx) ++ HGOTO_ERROR(H5E_HEAP, H5E_CANTUNPIN, FAIL, "local heap prefix is not in the cache"); ++ ++ pin_obj = heap->prfx; + } + else { +- /* Sanity check */ +- assert(heap->dblk); ++ if (NULL == heap->dblk) ++ HGOTO_ERROR(H5E_HEAP, H5E_CANTUNPIN, FAIL, "local heap data block is not in the cache"); + +- /* Mark local heap data block as evictable again */ + /* (data block still pins prefix) */ +- if (FAIL == H5AC_unpin_entry(heap->dblk)) +- HGOTO_ERROR(H5E_HEAP, H5E_CANTUNPIN, FAIL, "unable to unpin local heap data block"); ++ pin_obj = heap->dblk; + } ++ ++ /* Mark local heap object as evictable again */ ++ if (FAIL == H5AC_unpin_entry(pin_obj)) ++ HGOTO_ERROR(H5E_HEAP, H5E_CANTUNPIN, FAIL, "unable to unpin local heap object"); + } + ++ /* Decrement # of times heap is protected */ ++ heap->prots--; ++ + done: + FUNC_LEAVE_NOAPI(ret_value) + } /* end H5HL_unprotect() */ diff --git a/meta-oe/recipes-support/hdf5/hdf5_2.0.0.bb b/meta-oe/recipes-support/hdf5/hdf5_2.0.0.bb index 3cfce91bff..7117c72f96 100644 --- a/meta-oe/recipes-support/hdf5/hdf5_2.0.0.bb +++ b/meta-oe/recipes-support/hdf5/hdf5_2.0.0.bb @@ -28,6 +28,7 @@ SRC_URI = "https://support.hdfgroup.org/releases/hdf5/v2_0/v2_0_0/downloads/${BP file://CVE-2026-120754-CVE-2026-120755.patch \ file://CVE-2026-120756.patch \ file://CVE-2026-120757.patch \ + file://CVE-2026-120758.patch \ " SRC_URI[sha256sum] = "f4c2edc5668fb846627182708dbe1e16c60c467e63177a75b0b9f12c19d7efed" From patchwork Thu Nov 19 18:32:56 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104962 Received: from mail-pg1-f181.google.com (mail-pg1-f181.google.com [209.85.215.181]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1917.1795113427737020031 for ; Thu, 19 Nov 2026 10:37:07 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=RCoCAdh2; spf=pass (domain: gmail.com, ip: 209.85.215.181, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pg1-f181.google.com with SMTP id 41be03b00d2f7-cdd9d0c9bbdso51884a12.1 for ; Thu, 19 Nov 2026 10:37:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113427; x=1795718227; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=AzK/GcssTXrpUDQaCDfhx0bFanW0XUz8u95RSnWXkYE=; b=RCoCAdh2+j8TPY5ETXFZuZJgjQnpPSZnyTxyRF7dbq7qE15zR7Jzbz3jURqfDhb7SJ vtbLv3peZ7FSWQ+8OMFWSLDvqE/6bxNxNcU2Ofs9F8WnpdHkliKEBDDBoG6FLifzYWRw 27R1gttj1vqwwCNCVO5RAi5LAznVtbXXfaiarbmi6iNELpzMVZRfS7pPLxLa7oOokpF9 OBWCNhHHJGxhwc98ESdDo2uIdV7raWpAuiOYctcuCZBfvSHmC/Fo55qyuR1NnEC3Xskm OAqR7Oz0Eq3B1yX8iPIMEx0GKpfrUgg2hYR5qhwQxWXDrHxp407jvxBNEAIugzAxedLn 6DiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113427; x=1795718227; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=AzK/GcssTXrpUDQaCDfhx0bFanW0XUz8u95RSnWXkYE=; b=UXvro0Dg6m4/9dI2dq6OEFRLgYiexVdd46bNz4Nnv3gMKP9ht7L4shp5kjlPQaGKjl L9FC3rngumVhql2tprrDVT27p70BM1//4lK5qdgE342wXgnGmXlXAMOywTNKQ6Uya8bc ODb7BD8cyY6lH/UDKMPU8XoeT68ekG9gOVzYbcARJ972KGszQu36yOH3sUh+FOrGKAw9 Lts/fsRvf1BcNtzLlQzZ0YTYldvuPz+TzusB2WVgg3eBrsnzr0UJtCyAY6bMi799uY/N rTCD01UAN1KHauG/oTEAJPOhVPKqtXdtHjRX+3R4TGzjHr2lMAYIQOjVOgtjn2yt2yAc WipA== X-Gm-Message-State: APuU4Z+kK2d9UZfFfVKzML1p17v5nRybzW24W5NOJhBW3GvyaHXaBT8M LNvksjpEsABiql4BKCaUIkPvZS86N+2D7kD4GxYCYfVqH98eDGonKwEohBpGIA== X-Gm-Gg: AYBFou3XLJUq8Pb5zinFDICKffTcHGaS5fgKDsOT7yVW8c7eSTQj94StA2EDUbQVCVp q/6fdCNsJ7E5lMcstFWugn+b2D7bDaVEP6K2kCdyc8kapRIPg7Ur3zVv78STl8a9zp3lfnWse9p /qTg1fB/Wm0QWiRRHK5UEyKf85dCd3B7P8JSP+zI0CQ7Ck4NFrGQbX05qYSrbjEeyM8msk8H9Za o49kfFy/jkEnf9VC5mRsshm84PRfQ4SD1YlPpmgFUB1HTm+Jbm6IoBqn1k+Bjd8sfO3frvr0sHp GhexMfmVJaaDdD8CCQ8Ao68uRp85xA0XNzFPH5GDCQoRtWUwlUM2TGFx9iiSIs1RG5eu/3rHXD8 7DZjL6TyqEv9CuAEtQpWvbdAkNL0SXuX28mauiRiLBu6m1zNjZx/H29SsQZcgPYh0bxRzzb5An1 SjLHtPy2TiAtYj5bTRuz5E22zlI5aOKxVDFAjFO1xBqz/uGyykyVWtwIFOh8t8si40u19iKd/Fk rjdBqZLr9js+h2pm95CS9qMgBTO1/q9I2D94hnuWz6wgphJOLWzaJEqvPlaLd/1fPAARr4y2Ux0 r+4tO4TXuUoo7yOpSldQn751gx+T3Ul6i1ZRcg5ZEbEVfJmRvWzxFSc+Sa6B7A== X-Received: by 2002:a05:6a20:c887:b0:3e2:86b6:9be8 with SMTP id adf61e73a8af0-4014d36082amr463924637.35.1795113427026; Thu, 19 Nov 2026 10:37:07 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.37.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:37:06 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Ankur Tyagi Subject: [blacksail][PATCH 28/64] libgphoto2: patch CVE-2026-120451 Date: Fri, 20 Nov 2026 07:32:56 +1300 Message-ID: <8acab97a6259c675d4135245482acaf8be62efa2.1795112941.git.ankur.tyagi85@gmail.com> X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:37:16 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132718 From: Ankur Tyagi Details: https://nvd.nist.gov/vuln/detail/cve-2026-120451 Signed-off-by: Ankur Tyagi --- .../gphoto2/libgphoto2/CVE-2026-120451.patch | 43 +++++++++++++++++++ .../gphoto2/libgphoto2_2.5.34.bb | 1 + 2 files changed, 44 insertions(+) create mode 100644 meta-oe/recipes-graphics/gphoto2/libgphoto2/CVE-2026-120451.patch diff --git a/meta-oe/recipes-graphics/gphoto2/libgphoto2/CVE-2026-120451.patch b/meta-oe/recipes-graphics/gphoto2/libgphoto2/CVE-2026-120451.patch new file mode 100644 index 0000000000..7addb4d566 --- /dev/null +++ b/meta-oe/recipes-graphics/gphoto2/libgphoto2/CVE-2026-120451.patch @@ -0,0 +1,43 @@ +From 5924549b4750f0b17369f82e98959b779880400a Mon Sep 17 00:00:00 2001 +From: TheProtagonist07 <63047129+TheProtagonist07@users.noreply.github.com> +Date: Wed, 28 Oct 2026 18:51:05 +0530 +Subject: [PATCH] jl2005c: reject an allocation table that does not fit the + buffers + +jl2005c_init() computes alloc_table_size from the entry count reported by +the camera and then reads that many bytes into the 0x4020 byte info[] stack +buffer and copies them into priv->table[0x4000]. For nb_entries >= 1022 both +operations write past the end of their destination. + +Return GP_ERROR_CORRUPTED_DATA if the table would not fit. + +Addresses findings 1 and 2 of #1326. + +(cherry picked from commit 6a3393dd996502457ab965432cf0b2035278825e) + +CVE: CVE-2026-120451 +Upstream-Status: Backport [https://github.com/gphoto/libgphoto2/commit/6a3393dd996502457ab965432cf0b2035278825e] +Signed-off-by: Ankur Tyagi +--- + camlibs/jl2005c/jl2005c.c | 8 ++++++++ + 1 file changed, 8 insertions(+) + +diff --git a/camlibs/jl2005c/jl2005c.c b/camlibs/jl2005c/jl2005c.c +index c447a2300..12c106acb 100644 +--- a/camlibs/jl2005c/jl2005c.c ++++ b/camlibs/jl2005c/jl2005c.c +@@ -144,6 +144,14 @@ restart: + alloc_table_size = priv->nb_entries * 0x10 + 0x30; + if (alloc_table_size%0x200) + alloc_table_size += 0x200 - (alloc_table_size%0x200); ++ /* nb_entries comes from the camera. The table has to fit into the ++ * local info buffer as well as into priv->table. */ ++ if ((size_t)alloc_table_size > sizeof(info) || ++ (size_t)alloc_table_size - 0x30 > sizeof(priv->table)) { ++ GP_DEBUG("alloc_table_size 0x%x is too large for %d entries\n", ++ alloc_table_size, priv->nb_entries); ++ return GP_ERROR_CORRUPTED_DATA; ++ } + /* However, we have already just now downloaded 0x200 bytes, so + * when downloading the rest of the table we correct for that and + * just download whatever remains of the information block. diff --git a/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.34.bb b/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.34.bb index fca158fe11..488364b542 100644 --- a/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.34.bb +++ b/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.34.bb @@ -12,6 +12,7 @@ DEPENDS = "libtool jpeg virtual/libusb0 libexif zlib libxml2" SRC_URI = "${SOURCEFORGE_MIRROR}/gphoto/${BP}.tar.xz;name=libgphoto2 \ file://40-libgphoto2.rules \ file://0001-configure-Filter-out-buildpaths-from-CC.patch \ + file://CVE-2026-120451.patch \ " SRC_URI[libgphoto2.sha256sum] = "51993f5d9bfb6b4e5925cbbe5883085791bff6f81bcacb8ffe1b783ce76d586a" From patchwork Thu Nov 19 18:32:57 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104963 Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1918.1795113430312825331 for ; Thu, 19 Nov 2026 10:37:10 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=h5dUz6Mz; spf=pass (domain: gmail.com, ip: 209.85.210.171, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f171.google.com with SMTP id d2e1a72fcca58-8c700d6cc0bso775428b3a.1 for ; Thu, 19 Nov 2026 10:37:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113430; x=1795718230; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=EXDnuMmr3y9gcVgM0wnWPHDyc1JKSKw03AUnG1TJRpw=; b=h5dUz6Mz/9TTpbb0biiQEXGHcKojf4aw/5g9HtVncQI0CQsZUI15hefDTuK2nV3dUq JqOEdnJT+AaWTxKkJL2/SnI9/BTJWFdGeIB9PShy1/0drpMDx8uGiJ6NIphshf4qleSP i74aBqLNospd/v5VMzJfPC5K3WrMwHFTqohrmcWP7p7mmqMviPmU7xhbOQTJhQnzNsnD jSLnbpPkBU0UmrJaErp6uS9jPoPDdTcWhQIyEuycsnQWKVGMJ+WiAW4Y2EqwiGlDFgvD Xkdgawzfc+DS/D56UgHnsd24BhCZAAlfENgz225p1+8LIUEB38BOcQKrJRdWN++Jx3Ts 6trA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113430; x=1795718230; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=EXDnuMmr3y9gcVgM0wnWPHDyc1JKSKw03AUnG1TJRpw=; b=GSByxJEivqBCJ91FPGfZDe8rTI1O0gtf/ZOdxQmPpMC3LK1/eH/nfse5RVfRzyRBIw pBWZb6NwnGLmNrsq6FBouyyHs/YjiIu322EwxGiuNBoJMSIkm+Ug9ffovmAMz3hzHYpN n8qnSxNClNYTMo0QZAVcaIeb8wIxCRHOxnsro7Sl0gw3WOM9P6/elm2lKI8pczyiQlqk 1nOc+kJvtLlbXvFUohi291uwE+H6i+thqJgviLB+k+9RbYbLP3zCuIf9N3ltuntOvq5v Z0x/UcMpJdG7ynamJSA3slSq60pXTAJUfRL7ipC5yaxm8eHQPV1TbG5vfxyuFvTrnAHd 1vmA== X-Gm-Message-State: APuU4Z/TyADYnGk/09eBtsmOgEsSwkb1qq9kr6DyhGnGmwgI/Gc0EOTx Jv+D+0IRixrKschxfw0QzmMFg6WV8tVBOfxMfvdjEkW1g8r7DH4a54ib3kOnGw== X-Gm-Gg: AYBFou0Fy4iM9aPNyA2PPc7pdwajIQJM711GotAAsvm1znzouZPZLejl+PYEzEdWZkd hM48O5Uu6Mh19TBZByx5mVruJTEQFVvcjDuYT3LrmgP/dgSqF9nz6qcdex115Plk+fAb736u4Uc aL8QpJ4HY0iO4z9ZMrsRJqk+hGAltaRRFK9hlxmWqs0vzsdLAWcfF9RKx/EoNi8Y+6DDBB5dgCe W4HMYdFr4kIZnwow/levBj4QTPl8mDDQVkwvDQcMWW1EieiU2kkurCKLf/3Mr/6RFPO9l7bMx3y TrCb2299a8l8xdVsBO87onqJsN6b3kzOBQs4lG5/ucwi+GJvMouP9RXMTy5Sz13PCYXISguSkKE LnpNjybLGhYMHqEtaPFzwB2Z5zimG82RnFGxDp0PWh4C7l3oXT155KqBP7Edsse9S6I8d9emw2K dyGyH5ouNQFqs7c8Kfna60AeAJ/GYO30oBNUrClZ1NTih4qwKMheC7g7LtHRn9/qEcaJUHD24uJ 2kZS2oJjv/MPJWq1Q3GTbV9Cfv1eUGzGaGs3826d887QcfozpxIazYryNDvD2Z1hqHaxP77VPm9 i/iHuFZzJEBk+O/XdEAY603S6LaRJT45nC+Tlriyu+dwucX8JT9PDW2n8JnvUQ== X-Received: by 2002:a05:6a20:748a:b0:3f9:5b4a:5b7a with SMTP id adf61e73a8af0-40149f7bc4bmr363792637.3.1795113429559; Thu, 19 Nov 2026 10:37:09 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.37.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:37:09 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Ankur Tyagi Subject: [blacksail][PATCH 29/64] libgphoto2: patch CVE-2026-120452 Date: Fri, 20 Nov 2026 07:32:57 +1300 Message-ID: <47be0f170ec658f4adb947223069fdc18a8f2847.1795112941.git.ankur.tyagi85@gmail.com> X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:37:16 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132719 From: Ankur Tyagi Details: https://nvd.nist.gov/vuln/detail/cve-2026-120452 Signed-off-by: Ankur Tyagi --- .../gphoto2/libgphoto2/CVE-2026-120452.patch | 40 +++++++++++++++++++ .../gphoto2/libgphoto2_2.5.34.bb | 1 + 2 files changed, 41 insertions(+) create mode 100644 meta-oe/recipes-graphics/gphoto2/libgphoto2/CVE-2026-120452.patch diff --git a/meta-oe/recipes-graphics/gphoto2/libgphoto2/CVE-2026-120452.patch b/meta-oe/recipes-graphics/gphoto2/libgphoto2/CVE-2026-120452.patch new file mode 100644 index 0000000000..97e2318cbd --- /dev/null +++ b/meta-oe/recipes-graphics/gphoto2/libgphoto2/CVE-2026-120452.patch @@ -0,0 +1,40 @@ +From 9fe9a565d4755d99255e34384bbb19f2a439b242 Mon Sep 17 00:00:00 2001 +From: TheProtagonist07 <63047129+TheProtagonist07@users.noreply.github.com> +Date: Wed, 28 Oct 2026 19:19:32 +0530 +Subject: [PATCH] jl2005c: bound thumbnail conversion by the real input length + +jl2005bcd_decompress() picks thumbnail_width/height from a device header +byte and then byte-swaps that many RGB565 samples starting at input+16. +When the device claims a 128x120 thumbnail but the input buffer is smaller, +the loop reads and writes about 30 KB past the heap buffer. + +Reject the conversion with GP_ERROR_CORRUPTED_DATA when the input is too +small. Addresses finding 3 of #1326. + +(cherry picked from commit 30bf7ace6d47cfe1232ea73bde2aceb95aba4bfb) + +CVE: CVE-2026-120452 +Upstream-Status: Backport [https://github.com/gphoto/libgphoto2/commit/30bf7ace6d47cfe1232ea73bde2aceb95aba4bfb] +Signed-off-by: Ankur Tyagi +--- + camlibs/jl2005c/jl2005bcd_decompress.c | 7 +++++++ + 1 file changed, 7 insertions(+) + +diff --git a/camlibs/jl2005c/jl2005bcd_decompress.c b/camlibs/jl2005c/jl2005bcd_decompress.c +index 8c3307fd6..1c8a73c5b 100644 +--- a/camlibs/jl2005c/jl2005bcd_decompress.c ++++ b/camlibs/jl2005c/jl2005bcd_decompress.c +@@ -123,6 +123,13 @@ jl2005bcd_decompress (unsigned char *output, unsigned char *input, + GP_DEBUG("No thumbnail is present!\n"); + return GP_ERROR_NOT_SUPPORTED; + } else { ++ /* thumbnail_width/height come from a device header byte; the ++ * RGB565 payload that follows the 16-byte header must actually ++ * be large enough for that many samples. */ ++ if (inputsize < 16 + 2 * thumbnail_width * thumbnail_height) { ++ GP_DEBUG("thumbnail larger than input\n"); ++ return GP_ERROR_CORRUPTED_DATA; ++ } + out = malloc(thumbnail_width * thumbnail_height * 3); + thumb = (uint16_t *)(input + 16); + for (i = 0; i < thumbnail_width * thumbnail_height; diff --git a/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.34.bb b/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.34.bb index 488364b542..d8cf86ade2 100644 --- a/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.34.bb +++ b/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.34.bb @@ -13,6 +13,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/gphoto/${BP}.tar.xz;name=libgphoto2 \ file://40-libgphoto2.rules \ file://0001-configure-Filter-out-buildpaths-from-CC.patch \ file://CVE-2026-120451.patch \ + file://CVE-2026-120452.patch \ " SRC_URI[libgphoto2.sha256sum] = "51993f5d9bfb6b4e5925cbbe5883085791bff6f81bcacb8ffe1b783ce76d586a" From patchwork Thu Nov 19 18:32:58 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104964 Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com [209.85.210.179]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1923.1795113432525800362 for ; Thu, 19 Nov 2026 10:37:12 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=V6WQqTb9; spf=pass (domain: gmail.com, ip: 209.85.210.179, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f179.google.com with SMTP id d2e1a72fcca58-8b67f25e6e1so94872b3a.0 for ; Thu, 19 Nov 2026 10:37:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113432; x=1795718232; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=+tdxGz9nuzNcbOb/r1gA8JkURN2+uDsgVT7ugsv8OSE=; b=V6WQqTb9acYumohimaeK7hlD7bUCvfWOf3rwQQ0hsq+3jhrcZW+DXA52382ROZzXzp jzaToGeJTLvvcyTp8lC6hAdrdgPQ3eZzw1BYTZcyZ2OH9Bfn24vE8n+mqDjlwmvq4gOu ed6Fb3TN9WmzkkQaJGKbg453YNhtu1zx3zTIZLbzJbB30J67FThQUiSAbcagaXjTpq3Y +jRSviyxSBy0qPwfkc8zcfPP/Zz0TpQWjyoohTdwgIgfA4+pcCmluYvMj0N//FyxaEna adif6aTbJuRgZC7tdHPzwbXJLqmaL9E0mQEQDcvkZE+y4JdWL6YHYrgy0lcEndvyqvgZ w2Sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113432; x=1795718232; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=+tdxGz9nuzNcbOb/r1gA8JkURN2+uDsgVT7ugsv8OSE=; b=Akr14aJA7fX3/C4u9f95RzfkjgzXhGisxPEFmU7E64FcEEy6+bAUKKyGhnFww1insD vOF2AnVLHU0oCP5Z/zVsQfHNH7kcdkI4pyS4QWPbITElSA8Y0pCsHTKdSrXIAeOfeD71 u3ou3CPmUqx0crSYT+gG0X9O9B909M/k0ERZoJ+N8+WCbVVvEamVQL2K+4U4Oz4U3HYa 4tF8vwCOdB2W9Uls6jUeKuGguFAIMZvEnUoVg2oM0f5kTQDXcAwGWSNzdpTNjuCdvsyj D0EjiabNzTiztxJV3U/XNxhm/QIw0UOMkCbqpR+ONlNZq0TFbE047IAhgK/ZWI089oAk aXqA== X-Gm-Message-State: APuU4Z8r8aO8V5oCAzSogNEZqKmnlmAXWfX7I68KI9l/IQiSu1Urwix0 IwFaWQsKCP3cU/6WrcxjF4OablqWQA++GcuG+MzaG/dtdaHSXesezJnZjMFuKQ== X-Gm-Gg: AYBFou0pv4cY9SQOPadT5zTG/vcsFcqqdSayD4szjPLkqaIem7M4+1+qDFr/xO3nthe jqUxGUO3aLVcUnC0ZeWzbG7PsTbIlBSifZI8kb0K7wvkDJDnbFnDv1y/MxMhC6+8Dvk8GryRwUs sroHLW2pRrRNKeITcJmJVvBxrN1kWdXYpgViyJg7QQE12y7HQwJwTeJApOhISucAjqBib4Og8qv Mbl8giHZ4WVuPkO0OrszymOqoycEANZEyxztFzA0pQxzUxIapRgcrMacwonq8Djrn/zMQEzf+EP +nK9rPAGMDDAWqyiAJ2SW7+JnEx5FBM+usD2cHwStAT/a8KTHEoVbn22swaPuDIjni408GCz/Gp +Pxyj/t3NsZKo5HysJC6+xANp0r6FtIU15WJVP0pcs/9rpxDz0alm5+YbVkaAIhb4g/HEff+IB6 xUFe4j+s9LgUaFpHe7M843HsOWzCOO/7TRuEOuffnjfFSAv/y7Mv10Oh+1Cn4nnd+7flq+AhBqK Oa0PzkiJMGYDtCH75E3U4rpiBJpTgFYWqgxpSXw+6HnncQswzwaPN6bx6GJJDnyK268P4oT6dwP HOMLyICDZJ/tUZUuIU6fb+YDAdc7FY/WXhbAGl6kURdZ6VAstDn+s03D3FaSBKh1m2Z2t8bXW4c IlEhbinQ= X-Received: by 2002:a05:6a21:3b8d:b0:3e2:13e9:fbdf with SMTP id adf61e73a8af0-4014d4587ddmr469234637.35.1795113431795; Thu, 19 Nov 2026 10:37:11 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.37.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:37:11 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Ankur Tyagi Subject: [blacksail][PATCH 30/64] python3-django: upgrade 5.2.18 -> 5.2.19 Date: Fri, 20 Nov 2026 07:32:58 +1300 Message-ID: X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:37:16 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132720 From: Ankur Tyagi Changelog: https://docs.djangoproject.com/en/dev/releases/5.2.19/ Signed-off-by: Ankur Tyagi --- .../{python3-django_5.2.18.bb => python3-django_5.2.19.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-django_5.2.18.bb => python3-django_5.2.19.bb} (61%) diff --git a/meta-python/recipes-devtools/python/python3-django_5.2.18.bb b/meta-python/recipes-devtools/python/python3-django_5.2.19.bb similarity index 61% rename from meta-python/recipes-devtools/python/python3-django_5.2.18.bb rename to meta-python/recipes-devtools/python/python3-django_5.2.19.bb index eb84122116..9cbf0243ed 100644 --- a/meta-python/recipes-devtools/python/python3-django_5.2.18.bb +++ b/meta-python/recipes-devtools/python/python3-django_5.2.19.bb @@ -2,4 +2,4 @@ require python3-django.inc inherit python_setuptools_build_meta SRC_URI += "file://0001-fix-test_msgfmt_error_including_non_ascii-test.patch" -SRC_URI[sha256sum] = "461c5dd06d2ea16bd5ca37d3f46e4def1d6b0fe7588c6f4e2119517bb0af8b2d" +SRC_URI[sha256sum] = "ad03d8abc51dbff95ebf34b27123cf0c26a3b62db7ba0cd520783686362533d1" From patchwork Thu Nov 19 18:32:59 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104965 Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1925.1795113434874408286 for ; Thu, 19 Nov 2026 10:37:14 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=jcHlqqr9; spf=pass (domain: gmail.com, ip: 209.85.210.182, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-8b5a6f2f27fso62689b3a.3 for ; Thu, 19 Nov 2026 10:37:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113434; x=1795718234; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=+va10Nat06hLrhb+hrnhXfEo/MV8RXQzb1QjDdaC71M=; b=jcHlqqr9eJ+05DD4mm4E8n6a93FtHPr4qAc1+iRxrayuHI8IFUArBPWQdo6aE8d98F ZB1lFEzwvHUwjYEpBryfFFoR2EOtTck9nYCffGbIpcZCsMLyaf3v8r2TP2pOEWsrarQI zvsl5RkPOUcUyEWnD7FWM2BOZM3V65Ey6QaJuHz8cvAcb8iJoZQgE1p8CFE3Dx/hP+eF U/UOqfZXOyGaWNeMxG0J0J729vHmCbiCtpOiHj1H35e6wmBOXg+9lxkLW3dC3KouzLNX M8I0Dzt4+EefFP8RAMfHXJssiwhNMi+YAQb0W48P2S/dbrM6+Eg6NQTNFEjWOVjZsedU 7tIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113434; x=1795718234; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=+va10Nat06hLrhb+hrnhXfEo/MV8RXQzb1QjDdaC71M=; b=EOpz4h8zsqjT+NeD6ybSniebra6jCawEVBlcuJXk9CE5j28tBI7UrRNLMjc5hUaQxY /6wqCKYdL9+G6phG5vVAVdPGYB0FRorMHvzz8xyOKqM/WqfdrlPXxS5QLTFRX2v/Siy+ PNe+EkxdZY+vDOd81Kr1DDRXZwXM3UBP9RLa5cUID6Rb8i+o0/TllySH/bzlPFl6Ftbf zAaa0H7fiHvXfdkLAHpUEL7AfnwCsl5w96BQ7wUunQwuSCMa+QP0jHX7V5slJ/s47Mfp W9xKYUdAf41YbA8K01VQC7Wh2Rad1G3UOdawNllE4qaQ0jUL/2oiz+LU+bNOJdN6LKiv BzDg== X-Gm-Message-State: APuU4Z8x11IlYrXEefZtaedZtSi4BaNuFiJ1vtiqkEP0BpSIdp/jjCO8 zobFLFygjePOqegVXAM2z44r3lV2gt3sYS1f6GuH+F22S6sfy4SXHotr1kV3nw== X-Gm-Gg: AYBFou3OP8Avv74tVnpKSrzG/r0qZ6pI89GQL/yM84Ffd2Mcdaok7j2QYLdXnDKDQbA M10qdfhZmWPm40r/PWzFShvAaWPyqlpGLCdRkEVGqXBmH3sSlYNRM+viDAdyczECrwM5u0Vf4TE COye2gmaCGU2pLEKSVkyY4FVA7jQj2WLTLuQfsiZoOW6N1QV6rm2xVxemxKcOu08472mF4G1SaQ 1p1im2tOenxqbOM3GRTY/g48aGOFjCdr6AgJBsMC8dsq2FnTbJcDtqha4S2A9KumM7p03WhWuyx doP4KQUKslTIMk5eN+1Tj/0YwHfAO7QL4MNh3Ty2knlZyfok8QX8eVIOcn+OoRDxY6vyxg4ATb6 Wc8ZKJMwDKPmOs1tDLQGqNrfHG/zGy0y104kMjzCN3NGt72iZY0F1qxvaKfbaEf7sQnwY33oCrp g24vQoSJV81QKeHSTvJL+QbWXwrm6vm3Cm8fs+ymhW3CKY+VIAWAfiNw61L5W8TWzEvf1b52Kth 5KB6/m57rD4aXQpXwXkxKElCL0pKNocFKg2M/z+EyVR6/oDDN9L3cSGjnChCZC73eNEqJwuX/O0 4SshGUUNPUv2fxg65a2PqsVAz/04HYYWAJ9QOj1OM0ZOklZyB5Ry8bnhJe+fiA== X-Received: by 2002:a05:6a21:6b0d:b0:3f9:1898:5765 with SMTP id adf61e73a8af0-4014a276602mr504921637.9.1795113434164; Thu, 19 Nov 2026 10:37:14 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.37.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:37:13 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Ankur Tyagi Subject: [blacksail][PATCH 31/64] python3-django: upgrade 6.0.9 -> 6.0.10 Date: Fri, 20 Nov 2026 07:32:59 +1300 Message-ID: <848f1a3d8cc29826cd76f40979d51901759be515.1795112941.git.ankur.tyagi85@gmail.com> X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:37:16 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132721 From: Ankur Tyagi Changelog: https://docs.djangoproject.com/en/dev/releases/6.0.10/ Signed-off-by: Ankur Tyagi --- .../{python3-django_6.0.9.bb => python3-django_6.0.10.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-django_6.0.9.bb => python3-django_6.0.10.bb} (75%) diff --git a/meta-python/recipes-devtools/python/python3-django_6.0.9.bb b/meta-python/recipes-devtools/python/python3-django_6.0.10.bb similarity index 75% rename from meta-python/recipes-devtools/python/python3-django_6.0.9.bb rename to meta-python/recipes-devtools/python/python3-django_6.0.10.bb index acdd2c21d0..e2ac220b86 100644 --- a/meta-python/recipes-devtools/python/python3-django_6.0.9.bb +++ b/meta-python/recipes-devtools/python/python3-django_6.0.10.bb @@ -1,7 +1,7 @@ require python3-django.inc inherit python_setuptools_build_meta -SRC_URI[sha256sum] = "8ce037c971f421cfb47d38c097ca233a8f6dd42d9e9501a37e02dd7d08c5cb3f" +SRC_URI[sha256sum] = "6005d030df924f85088454c18bd35dcf082b058aa355ad3df520d8de9aef9f41" # Set DEFAULT_PREFERENCE so that the LTS version of django is built by # default. To build the 6.x branch, From patchwork Thu Nov 19 18:33:00 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104966 Received: from mail-pg1-f170.google.com (mail-pg1-f170.google.com [209.85.215.170]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1926.1795113437430996861 for ; Thu, 19 Nov 2026 10:37:17 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=qbpfn90w; spf=pass (domain: gmail.com, ip: 209.85.215.170, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pg1-f170.google.com with SMTP id 41be03b00d2f7-cdd9d0c9bbdso51983a12.1 for ; Thu, 19 Nov 2026 10:37:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113437; x=1795718237; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=ojo3IHF3hRwt0FE1i7p6Y+V0iCERKJG6020viiCXzck=; b=qbpfn90wQSaMA4TeSFrh9gE9eU1yDBJiWljlTFMp7H02HSWx6sDrQy9yDgrSpGUqhN Td745Uqg22nTkbCd00XUUsLqjHewbJ5Z9ViqyHtTT+grdRJC7558PXPe21Kuohh3NpeW wP1nJVkY1SfXu6yat56jftQdqypy7+FE05+Og3IG0DtR34PbV+09YGT0z6QE9yExXnhl VailkdGxYA308z49XwNN4FnEjC3zi5dDroUUvTku9tzwOfCwz0JTOniidaR4Lz0N3F1g jlvKEKQfxpLYnkF+c5lJcw6sNLwxub0LGGwsTgrl4gj2pgBPRyU1xZbmzo7xj4Or/u+X d7Yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113437; x=1795718237; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=ojo3IHF3hRwt0FE1i7p6Y+V0iCERKJG6020viiCXzck=; b=ae2wh4YXhgVAeRCKv+q1beW6UXSlpJfqHHKKhaMJVNb17RKdkPcGvV58f10OWPTIqG w+vU58KWFmnoX2h+vraWn+A0EseeurgQ/lMQX5zqZU0Hi1F83F5xeEyyKOk6oTxhSCxM bLDEuEkOQrtfFP+ShyITnCBH4h/RSBTPYi4XozJQHtrbD167oz4ZaA+cAOy3E3gW5AHK rb+qEHzW0Y/+QLKqQIyIeiWWXqzIPG/CRu9cJixEnv/p+cgABUgtRnQ/fEkzRjQ528hm 1Qh4a1au9LOrMmHY6EVllhan5h2LP7TXXeXVwEj+r4oD+pwLxuf5C9kPna0YujzBk6RK MYjA== X-Gm-Message-State: APuU4Z8BNUccUIQ90+1iKRShXFQpEXOLeTuPBLrjjWF/XcVC2Gl3ntad NGHiJw0DEBpCT65Dm1oX30JeJwtlIU9O1FAm3CgHHb90HEf0E8Fa8mdXHlXpmg== X-Gm-Gg: AYBFou2hmrdg8rArLBIsA8PNhuJyX44z+UYLCBGb7biQc9ObswFA0OMsSaBmupupzKO 3InHEB/hUbUNaa6rPu2EsJhIPAFEQhnXsj9ZdDCBU8W5RiqT9rVEi9/zAnU+GNbLFMWbbXLVCEJ ml7NsLcl3NJBp661fHw3r0wLn49OJzg8je/NinGA6ewOWi4LR6X7HIv/esrEuqaqVqFfwTP5sSJ 8N799dGisheTj9WQ2ws7Sdbtx+cs+KDfG0TIkNjZdrj5fDMX+6Ennz/ooTeK2Jqyo/EONX4tgl4 2xCQJTunKFZhvMtzH1epuHuiNJpln8oSX38ZZu0aUr3BpEAJC3ZNbhCuB5vOTTQwRn1uDcwcTGz LB/o5USrvyPc2zFjnFom/+GxY+2AEAowNmTxJc2EyRUAT4bNxciwCaNXYUCNQI93HezBeGm+1pk l0m9NaYyikFFZvOsYqj1kmd6BKM1fPDnRd7uaelVw+HSMCqeNyco+qrJsa60NysSTjHHpdP4qWY fAa0JBJceFFd8yKofRCQgnBCVooQtaLC4extSuyTNb2nLZO9iISosqKieQev7PNXFjJBZxQs/yW WktQsvRDzL5HRbQ84JCAcmlcI3VhRUTkxnoTfwdYbMbEoVEIJbBCdABBvlmnHw== X-Received: by 2002:a05:6a20:e614:b0:3e2:a849:64bc with SMTP id adf61e73a8af0-4014a271f0cmr485013637.9.1795113436727; Thu, 19 Nov 2026 10:37:16 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.37.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:37:16 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Ankur Tyagi , Khem Raj Subject: [blacksail][PATCH 32/64] uriparser: upgrade 1.0.2 -> 1.0.3 Date: Fri, 20 Nov 2026 07:33:00 +1300 Message-ID: <8a9b3941890ffd83e6de4127f65b34dd6ea4059a.1795112941.git.ankur.tyagi85@gmail.com> X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:37:26 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132722 From: Ankur Tyagi Changelog: https://github.com/uriparser/uriparser/blob/uriparser-1.0.3/ChangeLog Signed-off-by: Ankur Tyagi Signed-off-by: Khem Raj (cherry picked from commit 431f3b385d4b6891da019b0aa797f4105cbada15) Signed-off-by: Ankur Tyagi --- .../uriparser/{uriparser_1.0.2.bb => uriparser_1.0.3.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-oe/recipes-support/uriparser/{uriparser_1.0.2.bb => uriparser_1.0.3.bb} (91%) diff --git a/meta-oe/recipes-support/uriparser/uriparser_1.0.2.bb b/meta-oe/recipes-support/uriparser/uriparser_1.0.3.bb similarity index 91% rename from meta-oe/recipes-support/uriparser/uriparser_1.0.2.bb rename to meta-oe/recipes-support/uriparser/uriparser_1.0.3.bb index 161073103d..1ef8b15553 100644 --- a/meta-oe/recipes-support/uriparser/uriparser_1.0.2.bb +++ b/meta-oe/recipes-support/uriparser/uriparser_1.0.3.bb @@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://src/COPYING;md5=fcc5a53146c2401f4b4f6a3bdf3f0168 \ SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/${BP}/${BP}.tar.gz \ file://run-ptest" -SRC_URI[sha256sum] = "963554c32d40fb6cba5644f1ba63e6dd7a182b2948bd71ee448c532f53b07f1e" +SRC_URI[sha256sum] = "b5014a630e61e085787f760c83675a35ef8e719972b05e8f61ff2f48692b15dc" inherit cmake github-releases ptest From patchwork Thu Nov 19 18:33:01 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104967 Received: from mail-pf1-f177.google.com (mail-pf1-f177.google.com [209.85.210.177]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.1880.1795113440298095221 for ; Thu, 19 Nov 2026 10:37:20 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=wRjryUlE; spf=pass (domain: gmail.com, ip: 209.85.210.177, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f177.google.com with SMTP id d2e1a72fcca58-8b5a6f2f27fso62725b3a.3 for ; Thu, 19 Nov 2026 10:37:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113440; x=1795718240; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=sL6jp6oobL0n3Id1ovdt4wIIWLuB+ajXLjT/CZYSoD0=; b=wRjryUlEbXZFKDaAA0YXSZOFX0uCmZl3G3ReIVlNphbgUvLMeyDs8RQHpP6zCgBpxX QxDihsitAG8x9cUDWxeKPcOyfK/ZuqXsFeap3oKAxifw0ix/qrYCopJmF4eTcopy1xVM 8/gQCdfU9+vEq6o58EhgYaW25m8HCBgDZJiB1fKOWFztBPVETc0KFuzF5nCGQazKaURg ttdAQO1c9YUlByibuYKs2SUkHti+9PsZdHeXieDZEgHJKwlHPMy/we+LP40TtiV8sdTL xF1AfreVzTbG5td6F7XefjqPBtSXtWlt1hGAfwSInvEtv1t6S48JeJfswEE9UK6CydSI L9Dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113440; x=1795718240; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=sL6jp6oobL0n3Id1ovdt4wIIWLuB+ajXLjT/CZYSoD0=; b=agLb3ynX2Fcdqg6Fd/DU+auC/5a7wvRLk47rHTuV1Sh3d7fICtwAz6PJHVQpP23GEz BnQpd/pYsfaRHchRU65ewZehglriR5jAM22kzh+B9IIr3Nv+cT+tI0oAdHOZ4lqg/G22 M73legGzrNUk8jPduR06gOnw+DzQNPja2kBI6/zU74ATnFAuKBFkLCOcIM3XdgeLJHZ9 SX3SGLRNH/1q+sxn05nSffqsuL9LAa2MawV/o7v0Zu+nYTCAZi6no4iVSXHNFyRyMfAs kD+zqN5V1WO8WV2ocjCKveAbkKbufq0YB4s8IQw3hHvzyAg81Mrd43qTxQsRm183AgKf v+qw== X-Gm-Message-State: APuU4Z/KTYVaLPQ5HT1YetmULeKIqTZFb3ijLBR5o8xWnkQSBtHnCCbk 1mdbZnz5Nw2WMzJigcOhpa1ufjRhb5ldrqNHnzEZDHInUplhN99VtGb4yfOSrw== X-Gm-Gg: AYBFou2MusBW09vNTyIGOhjzM4ijhUkUcT28bJMrosSQ/npPhuKHQuoHVm9qBo3xazt kZiACFFSxUFm04akMuc8Smkb5DU+/WKFNXS7V2iHwJI0t/4Kqc6mPmLcagfhKihkX9mwvGqfAaY OvW1ZVsRaCuKdc69ZZ7WQ03M9G8gm68WFay33ix8QYBtb9MoZU/5fUajbVvv2XPFwcLyYtn9e4M NLzQsTuzAh4ULZKSanBO4baCoy8mPZKMTZyYF0KbxCXtTR0/msDIvJ3P7HBkYFEHoRUQdDM0hTu d3DHWnfCJ/6O+8Dh/P5oExvIOi6xkikzPJZXa675zQa6laOYcADlVVL6G7SdVYF5DQ6zGcu71Kr jeGabzpNLun1PQfwmON80kW9jAEZC8gkCGstg2UU5IbvgtOwWhz7PSMhtGU/OYTMIS1OtHqhDTP 1X4eY4eLoDNXFuIEbu/atnH+nmPUvDXKdZ56df5oyaR6L2YL1wzExRMx3A3N8ogk4C48SWgQxeL 1apbdEgfBWUp/XH1ywd0uu++2fCVkCtfLsMG8lEDYzSDouDJRRFdLiwVv96PsAKsnP+Bm0y5cZM oDF24lFw3GnSYp8cAPkhY84ZBZnwe58YZsRBzZ4XWlKmgGGDdY+L/fBcN3fEbw== X-Received: by 2002:a05:6a00:1786:b0:886:a737:e0fe with SMTP id d2e1a72fcca58-8c87c197705mr428535b3a.23.1795113439688; Thu, 19 Nov 2026 10:37:19 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.37.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:37:19 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Leon Anavi , Khem Raj , Ankur Tyagi Subject: [blacksail][PATCH 33/64] libmikmod: Upgrade 3.3.15 -> 3.3.16 Date: Fri, 20 Nov 2026 07:33:01 +1300 Message-ID: <33aa89552df6f71bd0375dbff396754cb2f5df62.1795112941.git.ankur.tyagi85@gmail.com> X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:37:26 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132723 From: Leon Anavi Upgrade to release 3.3.16: - Fix out-of-bounds reads in MTM loader (CVE-2026-111165.) - Fix out-of-bounds reads in IMF loader (CVE-2026-111166.) Signed-off-by: Leon Anavi Signed-off-by: Khem Raj (cherry picked from commit 35b8bd0c0bd118f612107cedff4f563bb008c649) Signed-off-by: Ankur Tyagi --- .../mikmod/{libmikmod_3.3.15.bb => libmikmod_3.3.16.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-oe/recipes-multimedia/mikmod/{libmikmod_3.3.15.bb => libmikmod_3.3.16.bb} (90%) diff --git a/meta-oe/recipes-multimedia/mikmod/libmikmod_3.3.15.bb b/meta-oe/recipes-multimedia/mikmod/libmikmod_3.3.16.bb similarity index 90% rename from meta-oe/recipes-multimedia/mikmod/libmikmod_3.3.15.bb rename to meta-oe/recipes-multimedia/mikmod/libmikmod_3.3.16.bb index bfd15cabe1..54e92721a8 100644 --- a/meta-oe/recipes-multimedia/mikmod/libmikmod_3.3.15.bb +++ b/meta-oe/recipes-multimedia/mikmod/libmikmod_3.3.16.bb @@ -8,7 +8,7 @@ DEPENDS = "alsa-lib texinfo" SRC_URI = "\ ${SOURCEFORGE_MIRROR}/project/mikmod/${BPN}/${PV}/${BPN}-${PV}.tar.gz \ " -SRC_URI[sha256sum] = "dc27b338154b8f88dc9e6317196d42c6abc13bf63c4e055257a18d4e38e1afa2" +SRC_URI[sha256sum] = "7b24e41468b0dfe7fae1104ae6a0d7c52e04a65e1851b268c7074e4d06685a53" UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/mikmod/files/libmikmod/" UPSTREAM_CHECK_REGEX = "/(?P\d+(\.\d+)+)/" From patchwork Thu Nov 19 18:33:02 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104968 Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.1883.1795113442975493562 for ; Thu, 19 Nov 2026 10:37:23 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=aT/SenNO; spf=pass (domain: gmail.com, ip: 209.85.210.172, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f172.google.com with SMTP id d2e1a72fcca58-8a070781f63so78521b3a.1 for ; Thu, 19 Nov 2026 10:37:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113442; x=1795718242; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=Oz7DyYhoI9ypJY2MXIVaA4BVfS34/7+UYTrRtSRrxTo=; b=aT/SenNO4KakeANAW3P9phJnpv2ATTqjxfAE5cRPLOxoJBtE6pgRaFrtvnVJn9jCbl WinN9SJ2K4gBk9Z/E/PzjlAqwHUCQO4eAMyFnbq43Dt/lrQsFHTXWKpPPtJ4UsWQeHww tzQcPf3NeLwwrvxV5b4Ac41Z33odMbZKX5oxJOqozTK9WtGhSiZ3czjkceMJ+4I9WWqF sswHkaoHwYds3jvPAPgWUYvh+VMoncHDlHraPCaMIxvZWi1vSgSFSO0jPh0IGb354K63 3Xs7c18RQ43f0mHzcQTEBG0RfrlirpurSilZy8XCJuWoZ+4R4L325O9ii41yiC+J48/y gX/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113442; x=1795718242; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=Oz7DyYhoI9ypJY2MXIVaA4BVfS34/7+UYTrRtSRrxTo=; b=EhHL2Id8wM5V3iKGu752hQm85PD7baclMkMvjtaQ8IRBDHE9VIrxNHVJ6ypf1egAsg jhMR0AdJb3PWLUbg1uqKl3Wo+H22dMmrjuC5YKqI9JnnJUwfG/q7Hy2EqVuUeSXzqt2/ V8tH6WD/ITn5OriQ9LWe7XmWwfAflLq4wOXKs/PncbBq9DuoPcKzgdoPBCoYwof8rNNI xcjjdmBj2ZZRApHCrEOtr4seiYxiDy4WQrF+EDmuaAD7IYnmJVRdNvmu5YNCf1bBJFfp Kms7lo0rQ9u3eR7+VEAWaau3pcbxUnbLdljxC3DNtJNZWeciiOAIhwEQsuD2xrzhfUbu 3JMg== X-Gm-Message-State: APuU4Z+XFmzhnuX/fLZ7yLQp1BqElv2VEnzthOd5lpPqHYrfn1R6g3yM Z4rIOHZ0zn8rQkrfYJkDsrxVGsHmZIkLZFg3YS7ECyYHzmszn5PY2IffUV7yXA== X-Gm-Gg: AYBFou2izJuoLAJtX+snSQeLePAq08xsE1AuCX+2vDHE2RGp3UidAoZtn+0za8Hw+IJ +oq+i0PWcOpr43rW5Zd9yB/2mV1DQf6uwun2IZqJE1QD6h71ZZmzu7waJ+ZMzh8BQnYq7/h0jUp h0Xn4r4OUQi43Ara4ny/7LwLS+5sCvdDp35fSawJ4vzhNLMQaCjXAqw6/5YrcfBq+oy4K/GtoAT n6Lzb8tbuVIdiFjMu2IlVk8m/nOOhjFW0OG/JWnwO7RNiEz9pQdZTkSyLfPVPYAHQSYLqnAQABh OBSR0hz38/DOA8q8j49KedyKaJNqMqi37OUPtewAG45tzbXX/yrwQZn71BJIjtME7yNnd1IRWve A9WyG2HVz5b14EgC3ePW6ryRVsnuepOZUI9F352luNzl+0LwRanGe8ZLumIlYuJnb/MA3cbVWT5 IrXsduJrZ79YgZ9aw62V5h0L9/WdmrMOti4KppuYfKY9yVBxp6MaVB3g+AxHhuU5yEo45vrkVZy +j5vG3FHBDpiHiOqyFNTGBEvqHlImToyHT1889ih0IpJ6cc566tvHUwD6Zo3VabtuoEUTpnGbrQ tZchP/at+czKWNNhrmgATi2HRB88JsBtnlDF2du3vLDExn/0Pg7Vhdh0d8PBDw== X-Received: by 2002:a05:6300:8095:b0:3f9:f95a:7416 with SMTP id adf61e73a8af0-4014c2519a5mr414645637.57.1795113442343; Thu, 19 Nov 2026 10:37:22 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.37.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:37:22 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Ankur Tyagi , Khem Raj Subject: [blacksail][PATCH 34/64] weechat: upgrade 4.10.1 -> 4.10.2 Date: Fri, 20 Nov 2026 07:33:02 +1300 Message-ID: <3167dd1d73e739d88cd4c2e01306619f2d095508.1795112941.git.ankur.tyagi85@gmail.com> X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:37:26 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132724 From: Ankur Tyagi Changelog: https://github.com/weechat/weechat/releases/tag/v4.10.2 Signed-off-by: Ankur Tyagi Signed-off-by: Khem Raj (cherry picked from commit 25144ffbd4fbad57f9c78f21158339814640a578) Signed-off-by: Ankur Tyagi --- .../weechat/{weechat_4.10.1.bb => weechat_4.10.2.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-networking/recipes-irc/weechat/{weechat_4.10.1.bb => weechat_4.10.2.bb} (95%) diff --git a/meta-networking/recipes-irc/weechat/weechat_4.10.1.bb b/meta-networking/recipes-irc/weechat/weechat_4.10.2.bb similarity index 95% rename from meta-networking/recipes-irc/weechat/weechat_4.10.1.bb rename to meta-networking/recipes-irc/weechat/weechat_4.10.2.bb index 00030452dc..01565119e4 100644 --- a/meta-networking/recipes-irc/weechat/weechat_4.10.1.bb +++ b/meta-networking/recipes-irc/weechat/weechat_4.10.2.bb @@ -8,7 +8,7 @@ DEPENDS = "zlib libgcrypt gnutls curl aspell zstd cjson gettext-native" SRC_URI = "https://weechat.org/files/src/weechat-${PV}.tar.xz" -SRC_URI[sha256sum] = "b8744c6f5dc5543062791f563e0516dbc96a36161e1a03c468b3b7dcc8be5aff" +SRC_URI[sha256sum] = "6fcd05f350c808a4206d6951af36a9eec11b145b6a1a2a8a2b29dd3502e07022" inherit cmake pkgconfig python3targetconfig From patchwork Thu Nov 19 18:33:03 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104969 Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1930.1795113445609774978 for ; Thu, 19 Nov 2026 10:37:25 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=HGIp7z5k; spf=pass (domain: gmail.com, ip: 209.85.210.170, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f170.google.com with SMTP id d2e1a72fcca58-8b32bc605d9so65963b3a.2 for ; Thu, 19 Nov 2026 10:37:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113445; x=1795718245; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=CLdCTqlWM0H0cvWlAnTqePj86xboanTt1ubb22MuLg0=; b=HGIp7z5k+MvStdTEgOISJPkd4EwXgHKjTPMvrXPa+UtzeIeXJPqZgqyGbT0nr1yGFJ E0vF5bpV9Sc2tMmhh/ZVr61XzBdWVjKQZcOPc6Yc16O9sqKEAKMAEG/yQiuZ4+n4OlTD IGS+8lawWhCoDUR6BT/DfxT9I9McALSESz7/Wtnm2Ky6SYE3q3Wj2G/NtL93eB34ssy/ ubQcq7O3OT0w9pI75PxoZk964FW75UNOUQQpfHBo0hF+4P0Qnk3TgMceezhwixkQmrJj IY0NkUqa01jy7CnbclbtMsG+bSxElZI3l6A5kV++P9Jz11M7P4W0IcQuu4LUSLYBjJXD 2JAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113445; x=1795718245; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=CLdCTqlWM0H0cvWlAnTqePj86xboanTt1ubb22MuLg0=; b=rc3+e7HFtxG4BHEf71r/jj8Y97fvELpnt8g8Np9EgJ/3Ocbyrap6XYBQn2+E5IFBnd PXQF+MKJp72TXMv4DZ5i8/iMDeBr7wNM4VDPFDKAnZzumQxSOm09gXyptG8Qy6r0F6+P E67nzLq92qzWORd+QKZ5pQthBA5Ka0oa60Nn0+Sa0W5vIIX5m1mrKUVeMxdSkCnSW9RF qUTN3y1usOm0CVqOnuSxcliVa9fylbF1qymqSSYTyeStsMbjzYc4IIjMF2MmWKDAP1rc tux0sNYXDIeQqwwGEmyW5VrE+5Wy8l7eVZd2748rnB6I7ls4DH9PyLXGmzVJ6/YFKsM/ beTw== X-Gm-Message-State: APuU4Z80iuyUtliGtfsiYacVO/1tQGpggT7UROqb1ACiamUYaCMq0Zfc iktMWqGprxKtRuvdf7qYO9bR0ugMd0UZoyEBHoDz+sERSUE6LxVrbI+6vyP3mQ== X-Gm-Gg: AYBFou0jD7BMHJ+W+dWRaQKXiL9lSd68Vdf89okd2TRT6qJw5L4Wx7TKrU75VzxKD2p YCqHjj5kPXBqfi1IJC0xR9lq9sAGT9v8qP2jslh27hqc3vauanSuJefsLP9ZA1Ip4mlypDOtdCq npkbXarCYHyEZI2U46DmHHYOzojdUiPnIxYYmkTtOZCmbR64ksDzCxY7A36b1uOBv2p6C02GR6K ghHBWZHHOmkNqcSq6NEZnMxGo6qj1XtGRQpADRD1/IcfkljLbFZBWRSu5/IskaMM1WOff82Y25o zUHLX25hHrcQeWbLTC8mA4fWTrHL+yXhdhJKA06imMD1e5YR7z9lY4eAhOUTAEHGz/pAa8KfqCn ojdqx7WN12rhE4yXC5p0Fcu1Mhp6RicI2GEmI1laxydxkgpkLZ3TJVqAAZ3ZCVl4eyFkyKNY0MJ hC7kuZCwY0sT9D2YMDO31dgrbs5ArY8Ap1zdx9BhRQaOvdsUVXXaUy3/IxHQ+2rw7TiUEoPfNiu 0jwpR3H2M25cDvhx0GphGBaJ2upHR0Lb4MTMTmsUVfafQqXdKmEcUAVY6RhsppKxP9COGxSUeD9 1bsKveDXEia342Sq3ncD9FBT+/3LQ6DAfv0VCiZwjxyRwDT38OCAH4MxElgRxA== X-Received: by 2002:a05:6300:404c:b0:3fb:5869:81f4 with SMTP id adf61e73a8af0-4014b565489mr500551637.36.1795113444849; Thu, 19 Nov 2026 10:37:24 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.37.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:37:24 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Ankur Tyagi , Khem Raj Subject: [blacksail][PATCH 35/64] libopenmpt: upgrade 0.8.9 -> 0.8.10 Date: Fri, 20 Nov 2026 07:33:03 +1300 Message-ID: X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:37:26 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132725 From: Ankur Tyagi Changelog: https://lib.openmpt.org/libopenmpt/2026/10/31/security-updates-0.8.10-0.7.22-0.6.31/ Signed-off-by: Ankur Tyagi Signed-off-by: Khem Raj (cherry picked from commit edd7b9726660848cf3785b6b7c07bd543af7f6a3) Signed-off-by: Ankur Tyagi --- .../libopenmpt/{libopenmpt_0.8.9.bb => libopenmpt_0.8.10.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-multimedia/recipes-multimedia/libopenmpt/{libopenmpt_0.8.9.bb => libopenmpt_0.8.10.bb} (97%) diff --git a/meta-multimedia/recipes-multimedia/libopenmpt/libopenmpt_0.8.9.bb b/meta-multimedia/recipes-multimedia/libopenmpt/libopenmpt_0.8.10.bb similarity index 97% rename from meta-multimedia/recipes-multimedia/libopenmpt/libopenmpt_0.8.9.bb rename to meta-multimedia/recipes-multimedia/libopenmpt/libopenmpt_0.8.10.bb index 3b4be321cc..fd3e05a2d1 100644 --- a/meta-multimedia/recipes-multimedia/libopenmpt/libopenmpt_0.8.9.bb +++ b/meta-multimedia/recipes-multimedia/libopenmpt/libopenmpt_0.8.10.bb @@ -14,7 +14,7 @@ DEPENDS = "virtual/libiconv" SRC_URI = "https://lib.openmpt.org/files/libopenmpt/src/libopenmpt-${PV}+release.autotools.tar.gz \ file://run-ptest \ " -SRC_URI[sha256sum] = "d7ce84fd05d686c4bcf66af40eae857afa371442db60eeda3f874bd6cf6fc318" +SRC_URI[sha256sum] = "976d259288c40cd285771f77d09eff3d02514511d5677ecfcfb53be5013317e2" UPSTREAM_CHECK_REGEX = "${BPN}-(?P\d+(\.\d+)+)\+release\.autotools\.tar\.gz" From patchwork Thu Nov 19 18:33:04 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104970 Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.1884.1795113447723172149 for ; Thu, 19 Nov 2026 10:37:27 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=T6iHQUAG; spf=pass (domain: gmail.com, ip: 209.85.210.180, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f180.google.com with SMTP id d2e1a72fcca58-89d6bd67045so6371b3a.0 for ; Thu, 19 Nov 2026 10:37:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113447; x=1795718247; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=TPO9KCr8z/DxZy8c8XrGFAIF1T8M7xeqY7NOEchHbNY=; b=T6iHQUAG65ST9wHsqAMvt3D0T2/OygJU+UbgITdsc63B5DR/9wDoxmkTwNmkB5KISl bIiacVcX2TByeXrnEphgDDWtuz3eJfpglMtQe6jEjQPM27KHBb+JJw1/qpy94+MPqzr4 vCQyHne0CZJdaSK9IyW/iZo1oCtvLj2l3BBf74lsC1mURyGHCKA2CLdqDI2rt5nrd/AK cBIFY4r8lyD6NttrKNtAdfMDp/AqbKdz6bEjVZKcaTu+L3u9VT383ilAW1luvqWCOBpA lAl4brn2V97gMIwHm5MK0x1VfgFyulCff8lG5Vta9UmyAvdT/OMFXn3NssmfN1UZ7jhl 59Uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113447; x=1795718247; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=TPO9KCr8z/DxZy8c8XrGFAIF1T8M7xeqY7NOEchHbNY=; b=w0uxEvOYd2iCy1HL52HOykHuCbrXTCuncpZyGCX+loSJMyVFxhcpR5Au2kmsqIeaIc hZf+qltpNDZIn9b3Sc1eVHr4D/RxsJGw5GuDcE6ups/rwCwd7h0CoLzFA4CJjc8vU5Ov dzH24Ox274IRhdXCGiB7Z/whHh3fZRdAqsHwOqk7R+mDafWdbZfnuWVERnHkTksYezLD GezAO8kZDS/eJYdvnnPx+YFrpfRsRc+00MfVLatFIHaptxre8RukEEYpPs/UmxPUx3hU xLkACHCAlQZiI8pz2pT21NroV9sqgJ8lPgZNUlDyOpiv93/0MQWcz7wOD8tCkC3fTCvv 5cWQ== X-Gm-Message-State: APuU4Z/wq/MfM1x7wcssEpL05z2wIebyp5EXW4RxSdSCG9ES1SgH/FEe Mree+KJCrnvhUbHnQXMXTCYzrQGyP/fukEgNYybcwBV4cbWTomiZ1ipzVjgw8w== X-Gm-Gg: AYBFou38y548RM49UR63sDMTzQy72kPfNVd+L1YGJIgqU1VoMuh9Vtd+5ZRqd2CoQ3B QAfyljVFB3aylpWBfQ/h/ky/qK0bU4YWtddpKP565CZngRfNTDrgnjuVaD/vYdSbV2wWuRjCUtG Z0Sm2Zzn9chlw81Suzu3ircbAKFH6NeuxNleIjJXX1ZmLUlvS4ABGr3q0961GMxy6srvNLJpWFo aQ7wzVB4jRqxzcyGidfvf0bkMdweb/yshK8wG0M6A50ri9tDBv11nkb7fWvi52zoAQmi26LjFi/ 5hZTUyLFG/YC0lii8/WzT9yttTsBx2itcr3rdQpqpdbWr8pS96Pd6qeRXG7LwqcJTNJcvv3X6JX zk+CnXRawRXFbDBpqYYq+JDwK2I488E1qcebAzhjShoUDbDOOH/CGVZvt0UUoftcuOa+lUlcJH0 aCbslN3j5OZz0/u1Jr7C/cF9tsm6q8HqX+UkF30oChc2YstZYB1ml5CHKY7rIesroTIK4AHm8lY 22biPSj0NQVgcJRI5PtVhR4rHnDX12x2Zz4UL4ZpsnI5KjL+AZZC98G26J/5/m3tqaXxtrFZfvV m1F+TpG8MFCoVb9Gr0MLcoW0OBoXY9Tg4j9Mu65OM3MtathZQj0qu3MjXv4Rsk2w3C2o4/Bgw+9 yt+IWupM= X-Received: by 2002:a05:6a00:1892:b0:8b9:a5ee:cf05 with SMTP id d2e1a72fcca58-8c7dd3075c0mr1353469b3a.17.1795113447109; Thu, 19 Nov 2026 10:37:27 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.37.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:37:26 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: James Lee Subject: [blacksail][PATCH 36/64] mctp: upgrade 2.6.1 -> 2.6.2 Date: Fri, 20 Nov 2026 07:33:04 +1300 Message-ID: X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:37:36 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132726 From: James Lee mctp 2.6.2 is a bugfix release that corrects mctpd's dbus policy file. Users need access to the org.freedesktop.DBus.Properties interface to view the properties of the objects managed by mctpd. There is a misspelling in the v2.6.1 policy file that prevents this. Bump mctp and mctpd to version 2.6.2 to correct this. Changelog: https://github.com/CodeConstruct/mctp/blob/v2.6.2/CHANGELOG.md Signed-off-by: James Lee --- meta-networking/recipes-support/mctp/mctp.inc | 2 +- .../recipes-support/mctp/{mctp_2.6.1.bb => mctp_2.6.2.bb} | 0 .../recipes-support/mctp/{mctpd_2.6.1.bb => mctpd_2.6.2.bb} | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename meta-networking/recipes-support/mctp/{mctp_2.6.1.bb => mctp_2.6.2.bb} (100%) rename meta-networking/recipes-support/mctp/{mctpd_2.6.1.bb => mctpd_2.6.2.bb} (100%) diff --git a/meta-networking/recipes-support/mctp/mctp.inc b/meta-networking/recipes-support/mctp/mctp.inc index cc140f23a1..1150c9aae7 100644 --- a/meta-networking/recipes-support/mctp/mctp.inc +++ b/meta-networking/recipes-support/mctp/mctp.inc @@ -4,7 +4,7 @@ LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM = "file://LICENSE;md5=4cc91856b08b094b4f406a29dc61db21" SRC_URI = "git://github.com/CodeConstruct/mctp;branch=stable/2.6.x;protocol=https;tag=v${PV}" -SRCREV = "ea1dfa9e59681c42d02ed3bf91cb150161481403" +SRCREV = "96a3d47ae30df7bd47fa57cd88f69d5317d68ef0" inherit meson pkgconfig diff --git a/meta-networking/recipes-support/mctp/mctp_2.6.1.bb b/meta-networking/recipes-support/mctp/mctp_2.6.2.bb similarity index 100% rename from meta-networking/recipes-support/mctp/mctp_2.6.1.bb rename to meta-networking/recipes-support/mctp/mctp_2.6.2.bb diff --git a/meta-networking/recipes-support/mctp/mctpd_2.6.1.bb b/meta-networking/recipes-support/mctp/mctpd_2.6.2.bb similarity index 100% rename from meta-networking/recipes-support/mctp/mctpd_2.6.1.bb rename to meta-networking/recipes-support/mctp/mctpd_2.6.2.bb From patchwork Thu Nov 19 18:33:05 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104971 Received: from mail-pf1-f177.google.com (mail-pf1-f177.google.com [209.85.210.177]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.1886.1795113450293668747 for ; Thu, 19 Nov 2026 10:37:30 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=WXRZOpE0; spf=pass (domain: gmail.com, ip: 209.85.210.177, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f177.google.com with SMTP id d2e1a72fcca58-8a06e79e152so75934b3a.0 for ; Thu, 19 Nov 2026 10:37:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113450; x=1795718250; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=h0FUFLEZTGzlWamemxAXdZY+ZtgQNv3UyFvsYDXcDYQ=; b=WXRZOpE0kVRAIi5FQ4CvlDVGIDzXs2uLp30Xe4tmY2eMzQ6BRVnX8p8c/zKZOWGSEg wr4ip2c58Na8BkvQUummNGZjmIipi36Ydb6zrclibjzX8aMntFfi+b40wLXFk+SW1/zf Wcegq/ahVMHTrcxe/I2txklkrGnRVz1MutmYWa7//1eU2gf0kUPLXohjicaaKhj6nDd0 YoxbxXATFCiKLKH0qpqvnGeqj39dEMJaK61zT2c0ob+b6mboo49bp1AuM7b/dL/qyC+T Lv/9HHU9tBFuHgem2udXCmdezNhBrxENAQzaYp1+z81+eGWs1Z/548QumU4wvxV0vTNT ShvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113450; x=1795718250; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=h0FUFLEZTGzlWamemxAXdZY+ZtgQNv3UyFvsYDXcDYQ=; b=inabWvhpA8d5Irg+c63AWbjUtxopNIuCCKiv0CTsW0MddWpvxmDmStMiPvy7HHKekF cP4U/d2LR+aEwhdUDeZjOfSBsDOzB+37l+endGwY3qgIU0tEyonQXFsIhamfzWTuZKXT PB8MQH5S6XRK0/wEUsOX75X0qBbxEKqwa98LB7hs7t7/5+FH8GB+/wYaDgN4EzkJNMQU XI9SB5HT1MzPXteDg5rEG8kLOua+0dKi2yQ8JGeKsl6O843szh+9Fs4q28dMiCmEQRGm 3VFlWyidXO1PLCNUw9f/ywEdtIpKNVGkdmacvpmHsbJGORF5sKSCVaX3oBiGLbXswW6w sf2g== X-Gm-Message-State: APuU4Z+NVMMAt/csOw3bBJaLUnkZ3sl/QK+96m2GZKDtPm3j2Zy6bc6Z rqaj6VIeoZ7A4H9RYvi0gaCLSOE4zKFpd28PjSZH0eJ0kjs4kQr9dfZpuJO/kQ== X-Gm-Gg: AYBFou0j2ZRvlW6p6UGRktC7JbQqjo3lg1rkrxeu0ZPH5MUG4rMSqAdnmPPENZTPyea BqX+lAJy5+9yj6+ZbfWdRmefQNrhnz7aF5QKgP9J7+ZyzASEzmtE4bE7fClEoqF3BMEDwESj6VY 2q0KTiJ2h65KR4wRyZJi3SJsxK0jzc60xOSevEiPbnlkveQBOny27WKlNtda+iwrPsM07vFV2tY Hk3mw5cYFW3iB5ldszYmO3qvUmRfcyW3VATd3LjJx6uoKllmIKmTw8doQfHG8c+NASZnLwutWBK ECz1eRFKMMr2UvdkHfhPpVIb+BIC1syW5qWVGPQijKludA2IMnPhQWKiljfcEWYFZ2mSfoswtp7 KaRweM8o3gpUpHH9QdUWUN4Rr5J+tUWVljvwIW51CymF6QvgLhStFt+Faz6vA8tansSWE4lde6j Dv5WZqbvAIt5SiFJ23WjX7gJOd+4phOklWuh/sFsUKMIAC8MK//pa4dxeqEKT3DbkdsUIMaJ/u6 ZnzKcIDaLA10HQb0axrDwTIQl/RxgQz0FL9G2gq00ij+RoWFnnoqBlZ+lZip26Q+g9vHmZ2ELky XVAT7yKJe6Q0XBWw6stH9aLF9TddMrB1zOfzmerUvH+gxYqiAMCchzXIbzOpAOh/ X-Received: by 2002:a05:6a20:a108:b0:3fa:f23f:a1d1 with SMTP id adf61e73a8af0-4014df5edebmr460043637.75.1795113449550; Thu, 19 Nov 2026 10:37:29 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.37.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:37:29 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Ankur Tyagi Subject: [blacksail][PATCH 37/64] 7zip: upgrade 26.05 -> 26.06 Date: Fri, 20 Nov 2026 07:33:05 +1300 Message-ID: <8b3d8e398c552ee2e9be961fc2d24a49c8876f92.1795112941.git.ankur.tyagi85@gmail.com> X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:37:37 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132727 From: Ankur Tyagi Changelog: https://github.com/ip7z/7zip/releases/tag/26.06 Signed-off-by: Ankur Tyagi --- meta-oe/recipes-extended/7zip/{7zip_26.05.bb => 7zip_26.06.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-oe/recipes-extended/7zip/{7zip_26.05.bb => 7zip_26.06.bb} (98%) diff --git a/meta-oe/recipes-extended/7zip/7zip_26.05.bb b/meta-oe/recipes-extended/7zip/7zip_26.06.bb similarity index 98% rename from meta-oe/recipes-extended/7zip/7zip_26.05.bb rename to meta-oe/recipes-extended/7zip/7zip_26.06.bb index 050673f678..375f55f0ef 100644 --- a/meta-oe/recipes-extended/7zip/7zip_26.05.bb +++ b/meta-oe/recipes-extended/7zip/7zip_26.06.bb @@ -12,7 +12,7 @@ SRC_URI = "git://github.com/ip7z/7zip.git;protocol=https;branch=main;tag=${PV} \ file://0001-Remove-treating-warning-as-errors.patch \ file://7z_wrapper.sh \ " -SRCREV = "b88c6bc09339de32f7d18bbab900686b244f42ba" +SRCREV = "d3296e39e1f1f92c7b41c0c3848e65640428d42d" UPSTREAM_CHECK_URI = "https://github.com/ip7z/7zip/releases/latest" From patchwork Thu Nov 19 18:33:06 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104972 Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.1888.1795113452447908361 for ; Thu, 19 Nov 2026 10:37:32 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=hHBZaq/z; spf=pass (domain: gmail.com, ip: 209.85.210.173, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f173.google.com with SMTP id d2e1a72fcca58-8b904d10882so71347b3a.0 for ; Thu, 19 Nov 2026 10:37:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113452; x=1795718252; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=wOP29ozpki2ZcLEcdAReRlCMfqJh2G7tO+pqYnkedD4=; b=hHBZaq/zJuAk83W5bBw43MY6GC2gZKhaHq/KrBllqLAswDDLt2+H3SbCMjVajucFN2 WCTpRfOjtpTiZa9qoUD6G7hwyZiqcHBHmQB/T8qN1Dfa+LLaPTu/ZcixaW+qvj46vjhD EnDKhmhqxXkmQKKimxg1AKrrxNAOQxG2jWLBT8GGqtGRs4pKxEIixIQBxRWr13syMRJg HqRBfYg/8kjCtEwc0pY5TZnKkySbp0jELYLCjF6ZXVxdf09WB3pxBq9nBiqknvsH22Oc Ri8knsgOD88NZbsw51sRZe6D6dUiJOXiGuV3mcR45fAid2aSvCX8yMV6UQRrZ8PcTRpT CcYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113452; x=1795718252; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=wOP29ozpki2ZcLEcdAReRlCMfqJh2G7tO+pqYnkedD4=; b=v9lLiwRgrgnYq0BOts/ALRMW+MkLzFP3WyQKPnsL/GpxxaZkc8gdUQC1PPCuxprcwA mco/hkNKY3pq7GTgnv0JWEUevwd0jdoVbYWu3l0GiQ/SZlMhtUKFeVLoZpWEv1NaOwNr pVE4SduI6A6IPzPY653XbqW0MYAHgroAkb9UT0xSP1f0OBgNwxD6yVcsR6qShLRJ4Wxu MRfcKiB0ghg4sFsU44/ePEwQv4WzZYlISpQt7ucNdqvfxnBiq0d8+u1oXaeXUCan3CPl d/CqxF8HnaLplpx+ikL6uNWhTNArPDPMK+J1ZvtzvsSKNdijskRkt5Esb4+A+VVx1VI+ qtfA== X-Gm-Message-State: APuU4Z9s6M0LVocv/afMZr/zfoe4YCIRMexW3Cnv3TRINZTpokKYbSw7 fKqEAIx65VPJkIh6miGzXzsmIXv0AhyhdrBCKYvW2iGzOU9jFXh5pqCLh7jiIw== X-Gm-Gg: AYBFou1FvfCKgLuXGGReOGp6IpV2E41y9/HtTG0r55dMhxf2hc0/GkpVyWCoGZi5MH/ 6YvR2SWo7HOsyMME2ZCqnHbQwcfIU8beXOP5KoYyIOfWRGEr3HJr/UfOMnPx9H+9CgQsX0iEhJm 0BV+AMLeBj/2FJJIgdVppQT86UB4PXulvceksnAg2SfMXRW9QHa+l7/IgtLWyHsRFaEMjF3COrV qP5/V+s0TreoWuQtwBzNf3KNV2Cy0o2z9TtCmfv/HmrQcRWNHlGPmKbYbzzWbAMjM5OoqHI2Fwx 3F4WdqDbZYi131gnkWFYDkk7aAzFx7LqcT9Nv9xVnOUptMvRoi/UR2y7/MepK3QYx08yYnqbHrg FTAJNtMnVdf1Y2Ve/yo1kj170omfo05mAppBznzvqG41A0nN1UEfspsmcaM0MV6GukvHEh8sJz/ ZwJi915eVm21kJSiyI0ZNw7flDK//zpRGLOvhw5S+y+kv/NlCDTEJ0XWlNSs4BPQxgAzGLtxoDt n20X6TQWl3+VLC3/wABGMP7jnWeHcP1nmtBnsGeBhZLTjAM8m4WctKQXANufPcLGx1wwpBwfOcK 1nxhaxI5WZ0oRz4N0kscjnDbIAbum3pVyWc85tKiIMqTkjbi3b9Entcf0sn8Lw== X-Received: by 2002:a05:6a00:94fb:b0:891:3049:8ef8 with SMTP id d2e1a72fcca58-8c87d5169c8mr406662b3a.47.1795113451736; Thu, 19 Nov 2026 10:37:31 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.37.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:37:31 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Ankur Tyagi Subject: [blacksail][PATCH 38/64] apitrace: patch CVE-2026-126050 Date: Fri, 20 Nov 2026 07:33:06 +1300 Message-ID: <6c648c710a18f8d4d2a4ca79d5a94b06209e25dc.1795112941.git.ankur.tyagi85@gmail.com> X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:37:37 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132728 From: Ankur Tyagi Details: https://nvd.nist.gov/vuln/detail/cve-2026-126050 Signed-off-by: Ankur Tyagi --- .../apitrace/apitrace/CVE-2026-126050.patch | 39 +++++++++++++++++++ .../apitrace/apitrace_14.0.bb | 1 + 2 files changed, 40 insertions(+) create mode 100644 meta-oe/recipes-devtools/apitrace/apitrace/CVE-2026-126050.patch diff --git a/meta-oe/recipes-devtools/apitrace/apitrace/CVE-2026-126050.patch b/meta-oe/recipes-devtools/apitrace/apitrace/CVE-2026-126050.patch new file mode 100644 index 0000000000..4b0d3b2768 --- /dev/null +++ b/meta-oe/recipes-devtools/apitrace/apitrace/CVE-2026-126050.patch @@ -0,0 +1,39 @@ +From a7c7db06b56f22235eeea2da608ef84dd401f3b6 Mon Sep 17 00:00:00 2001 +From: Deus Rex research team +Date: Tue, 10 Nov 2026 13:05:32 +0000 +Subject: [PATCH] trace: Fix heap out-of-bounds write in + SnappyFile::flushReadCache(). + +The Snappy trace reader takes each chunk's compressed length from a +4-byte field in the file and reads that many bytes into +m_compressedCache, a heap buffer allocated once with a fixed size of +snappy::MaxCompressedLength(1 MiB) = 1223370 bytes. The length is never +compared with that size, so a .trace file that declares and supplies a +longer chunk makes the read write past the end of the buffer. + +(cherry picked from commit 3890c5a448addfd75ccbe1bd09e3075de6fb3395) +CVE: CVE-2026-126050.patch +Upstream-Status: Backport [https://github.com/apitrace/apitrace/commit/3890c5a448addfd75ccbe1bd09e3075de6fb3395] +Signed-off-by: Ankur Tyagi +--- + lib/trace/trace_file_snappy.cpp | 7 +++++++ + 1 file changed, 7 insertions(+) + +diff --git a/lib/trace/trace_file_snappy.cpp b/lib/trace/trace_file_snappy.cpp +index 5b60ec9d..9b0a681d 100644 +--- a/lib/trace/trace_file_snappy.cpp ++++ b/lib/trace/trace_file_snappy.cpp +@@ -224,6 +224,13 @@ void SnappyFile::flushReadCache(size_t skipLength) + return; + } + ++ if (compressedLength > snappy::MaxCompressedLength(SNAPPY_CHUNK_SIZE)) { ++ std::cerr << "error: invalid compressed chunk length in trace\n"; ++ m_stream.setstate(std::ios_base::failbit); ++ createCache(0); ++ return; ++ } ++ + m_stream.read((char*)m_compressedCache, compressedLength); + if (m_stream.fail()) { + std::cerr << "warning: unexpected end of file while reading trace\n"; diff --git a/meta-oe/recipes-devtools/apitrace/apitrace_14.0.bb b/meta-oe/recipes-devtools/apitrace/apitrace_14.0.bb index cb5ee92e04..7c51f45842 100644 --- a/meta-oe/recipes-devtools/apitrace/apitrace_14.0.bb +++ b/meta-oe/recipes-devtools/apitrace/apitrace_14.0.bb @@ -8,6 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=aeb969185a143c3c25130bc2c3ef9a50 \ SRCREV = "18cfd388ac47a9e00978b34d6c20341f3e2cdb56" SRC_URI = "gitsm://github.com/${BPN}/${BPN}.git;branch=master;protocol=https;tag=${PV} \ file://0001-zstd-disable-the-x86-64-BMI2-assembly-fast-loops.patch \ + file://CVE-2026-126050.patch \ " DEPENDS += "zlib libpng python3-native" From patchwork Thu Nov 19 18:33:07 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104973 Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.1889.1795113454586719610 for ; Thu, 19 Nov 2026 10:37:34 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=omIiz62d; spf=pass (domain: gmail.com, ip: 209.85.210.171, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f171.google.com with SMTP id d2e1a72fcca58-8a07078200fso85164b3a.2 for ; Thu, 19 Nov 2026 10:37:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113454; x=1795718254; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=HDlEgziNqunqggW/luFDNrufEbsRgIUzQyEFSwkgPBc=; b=omIiz62dgJLkp5/OZ5mYvxe5dPsts4tEF5CEPdilEMRIri2YQZXqWBBW/FPUOj8O4v Nrv+hUJU6aixM8eK4lOWqvEJyHDi9eSgJdQp3UEI891F3IEZlgHBZZ4h4A2r9aouiMbB VX7ESDooBTPH5CRC2ftuTsD+wpfV+UB0yfJDCg7rfFuHVN51lvs9qYvU5unk5FOV7GHb tFR2i0PxKFQUNRDIGAHY6M2QeOwoQ1J9TH9cJtmy4m4u+S+/AoOWCk8Bw6XqX1mDkxBO tZmLYvYEBUABf7m6i9RG8C2681YgPFA7S8flJYyXjuD7t2vw2SPsUpJOHsPoQMENF/SJ aG/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113454; x=1795718254; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=HDlEgziNqunqggW/luFDNrufEbsRgIUzQyEFSwkgPBc=; b=Wuio2jsBLRYJgIzTqQ3YSg6ye8DNjL86tztgeut1aytoZIWisQMyAbRMPqGFyMydsD F6msGYhyOzhd03mBOG1toBAVzdx8rP00ZAyuHt46EhwlFz/OTgcB+H3ICOcP2ndwnmI3 0g/RNdqK9vw6Ld/sG931RBso7Dgz6f8OZAGVkV0kMssnRdX5eIVMEJNKKtFYBmqgsqN6 F5lCcskgq0gHwqqxP3qGdlhp3+5BClZ99ycXAIGG9ouGz1WFfJ+pVCzN8SfXn+ignEtM KZJrURV98bfcz1obk6ZYrLSXRFOJ+/TEEizyrUgTggyfuoDC2k7YdXBfoYOtX1Q48GHS aQ4w== X-Gm-Message-State: APuU4Z9Yr1efY/RIdtjC6TxURsDqbiX4xBFTx2rQduDhwdvHj9TeFXWF 5NTdkQL+LIfP5YOiKwW4OdCiktyROwNMrvLdfNGWOzHx7edcc/Whq2ZuSU2LgQ== X-Gm-Gg: AYBFou3rjTsdM7DNaFUqqw7ywn2VRvGJF69kfp3G6hBpS8YBucDoIvQMXd2KsbbIucN lF+DnJtiwAF7Ku9oc9LOrkvrQ5xHBCEJa7GLngMU2XsJ36kf5gc+eV4uQfO/kKoh02sLONyUYqj IXnfiQHpQTgggSei7r8JrAuTHMFHmfKmT+FVJP4QMHYMFOhnfwdfodi+RcsBpyg6OtP8LpHB6Lc u6CjrwAnGkjZhBLNdtxGcG2Z3ZksfE950yJKC3uOQFYNJmzHwb9cMKp0KBaBqGFE/yCdKmdFXn0 Zq1SF+gtEm7ppPC2GERlOWcp0czMEPfJDew7RfDZrlkJucSa2GRJqHGvLok7WSR5//tHf/W/jUH dr6G3FIGhOdWNq+oF3LBzVOZx076oHc7jtDg+Ff0svP8rb1FEm+dWZC14XAzkXiG4wxSG8mnF69 YmhAN64TuPFEv1v6dex74bW/sxY/lfz7J/roXxEYx7wLVatTdIfqpmBpOHtX7c82goKdp/gWxVJ Xt/98NVNTWwmkggodc9VHL2FFS9G2QEkoQiBpeUfe5qDTjsCl3rThTVpK6oWgGY9KqUtqn8r9gm uZ9AL85ggvFzTFN7L3+tzoAi86WB/Gg1neHRDEf0BkrU3hdFBffrtK7wQchkraETalX5t+yLmgc TyuThG34= X-Received: by 2002:a05:6a21:115:b0:3e2:a07b:f383 with SMTP id adf61e73a8af0-4014e752d44mr463435637.70.1795113453961; Thu, 19 Nov 2026 10:37:33 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.37.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:37:33 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Ankur Tyagi Subject: [blacksail][PATCH 39/64] cockpit: mark CVE-2024-2947 fixed Date: Fri, 20 Nov 2026 07:33:07 +1300 Message-ID: <8a91e76e858d2220689c041094acaedfe6f5de26.1795112941.git.ankur.tyagi85@gmail.com> X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:37:37 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132729 From: Ankur Tyagi Commit[1] also identified by Debian[2] Details: https://nvd.nist.gov/vuln/detail/cve-2024-2947 [1]https://github.com/cockpit-project/cockpit/commit/9c4cc9b6df632082538b53bdc8ee9ec1c5cad4da [2]https://security-tracker.debian.org/tracker/CVE-2024-2947 Signed-off-by: Ankur Tyagi --- meta-webserver/recipes-webadmin/cockpit/cockpit_366.1.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-webserver/recipes-webadmin/cockpit/cockpit_366.1.bb b/meta-webserver/recipes-webadmin/cockpit/cockpit_366.1.bb index e12cabcd98..3aa1f155e7 100644 --- a/meta-webserver/recipes-webadmin/cockpit/cockpit_366.1.bb +++ b/meta-webserver/recipes-webadmin/cockpit/cockpit_366.1.bb @@ -202,3 +202,4 @@ do_install:append() { } CVE_PRODUCT = "cockpit-project:cockpit" +CVE_STATUS[CVE-2024-2947] = "fixed-version: fixed since v314" From patchwork Thu Nov 19 18:33:08 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104974 Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1934.1795113456934852880 for ; Thu, 19 Nov 2026 10:37:37 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=UoTCeb08; spf=pass (domain: gmail.com, ip: 209.85.210.182, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-8b67f25e6e1so95079b3a.0 for ; Thu, 19 Nov 2026 10:37:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113456; x=1795718256; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=2h/7Xw7QWiKqNawLALhqEGQOuq9Yggf5eN9lcwkDIwU=; b=UoTCeb08Xn/ePeE+ZbyOy8UhzpqPPy9LxhNmaXyFkB+JimElE9+Gv4pecvMGfBO+Wl TjDf10i6ThSwBniQp3zXWMCVpwV9CLicysuGhTAARLtZMi+msiNpijo1YKqE3ItetFq0 1rJSOTlTEVZMNqw7tg6nXoDgQVh82cMu9KC4I4fwN7+T3COYp4etgN5apeIa4h01s0i4 hg2zc2X+lqQH06yzoJtDPmsw47oAZspBW6AFJhyGUTXl+8/qjYOqTSacDXC1AGxsO7cN 4PkxloveIiFLqFDd04VhBgvpJvxZSQBJC7+bpHvgIEKgPEvmKJIyFAxtxgUADNlI4qm0 QurA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113456; x=1795718256; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=2h/7Xw7QWiKqNawLALhqEGQOuq9Yggf5eN9lcwkDIwU=; b=kkGS7bYB6L5e7QW3OoPfM9OsywD0LP8e+hUKpEVgmWawuuJdSThUbD2NqQWLByZ4jp jhdRD7qt48Rv4SqTG6ZUdr9EnKAepyje99DJ1WgagTIs2B1VjF0Sh9RJMHnd1asSKC7K /U5x6DkNCeIDJKkMgK7GBqHYllv9ZAb4GooRNd8Dfd9paBPZTKERqlF79X3/QX68s745 vdaE4iyoH2YU0TpnuAVQo0ojP4lPNxPNzCPWFLPjT+8Rlwo/s/ReYF7jZjrvw5UU2+p0 5VQ6Iz1Ifniv1EIbrA3cRY1ZdjQP37B5EdMsFsXHCozK/MsKP97cPhjaZ3jAUVYYywZk n70Q== X-Gm-Message-State: APuU4Z+fuTb2EbGv9zMt5jhqqmKRvCoV/dZz6j7lWqPvKnnV/rG6Xrv8 YBjelmUaVW/gVplDa0uyY6NwSVkpUCxubx9+NSKGpmYQiCJXAWwKRSbMnc+DxA== X-Gm-Gg: AYBFou14oe7cKazr+LXlXoSeUYyW5ourXEipfCXR76hrY92ERY1lsuLSGx7X8SC2Vjt veCUyJHiBZI9iZj5I0Md43NeEUC9CQPRc62cMvXOxQ/jJceKaJ+h5Z+WG4z43G/NhBhSZWqOeU6 YAU3zyqi1xtriPI1WM4ClgnbRq7SLzftV3i60+xlwSHJNIfU58oRlXhjjEGohS2Iunl+lzry98z GhuRb2Kfnq8M8UrciRembOQEAQNzflliNREE/dcPrfrj2A5YjsBvPqzeYUalFu6vnEpat2DWZ6R mFE09b08TPDGM7cb2d+RA+27TYjOFyRvacX2AsCtZfyFe3w1iFLO01RwKozrGXYqAcqAFdQq+DJ fYzbjFvLmkjvIxilClnKUHUS1dG1PXfU7pR2BXUNC6ejm6Z87cN1cDVPIhRNT6lEArZbVT4Xes6 543DIU42KRkXu0NWSY1geG8vAp0FV30w/o7pai/os8V9/GYEU0Nbt2zTl10/i/6XxFjQeyZ3dwK hwQS/5bRIZeKz3+AcgA5OsQiHThrWoAfBlBePzTb1bPHmgKYJT3KcDmzbEuZY6d133emm1lWhxg 7Nhj92XMu0nMYzb0DQNBnsjGe4naUY5bD0sMA46sVYi/ho4ajMHCXmPX59nsXQ== X-Received: by 2002:a05:6a00:2d01:b0:89c:d875:603c with SMTP id d2e1a72fcca58-8c87d615131mr502855b3a.53.1795113456336; Thu, 19 Nov 2026 10:37:36 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.37.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:37:35 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Ankur Tyagi Subject: [blacksail][PATCH 40/64] brotli: set CVE_PRODUCT to "google:brotli" Date: Fri, 20 Nov 2026 07:33:08 +1300 Message-ID: <91b7adcba3d51e4a785e39f3d7dd092977844f82.1795112941.git.ankur.tyagi85@gmail.com> X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:37:37 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132730 From: Ankur Tyagi cve-check class is setting default CVE_PRODUCT to 'brotli' which ignores the CVEs from NVD Database. Reference: CVE-2026-111497 https://nvd.nist.gov/vuln/detail/cve-2026-111497 Signed-off-by: Ankur Tyagi --- meta-oe/recipes-extended/brotli/brotli_1.2.1.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-oe/recipes-extended/brotli/brotli_1.2.1.bb b/meta-oe/recipes-extended/brotli/brotli_1.2.1.bb index dca16cb79b..14d7fe96e5 100644 --- a/meta-oe/recipes-extended/brotli/brotli_1.2.1.bb +++ b/meta-oe/recipes-extended/brotli/brotli_1.2.1.bb @@ -20,3 +20,5 @@ do_install:append () { } BBCLASSEXTEND = "native nativesdk" + +CVE_PRODUCT = "google:brotli" From patchwork Thu Nov 19 18:33:09 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104975 Received: from mail-pf1-f177.google.com (mail-pf1-f177.google.com [209.85.210.177]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1938.1795113460719372918 for ; Thu, 19 Nov 2026 10:37:40 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=JVFB7nqt; spf=pass (domain: gmail.com, ip: 209.85.210.177, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f177.google.com with SMTP id d2e1a72fcca58-8a070781f63so78693b3a.1 for ; Thu, 19 Nov 2026 10:37:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113460; x=1795718260; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=wS0oBfFXLAO7f85Gl3HZi9YwcyL9mR19tTPYvUs6LTE=; b=JVFB7nqtg0EfOBiTGBCsmkDoenlqsXDYWtec8xzZkkyew2mgzzaOGPiguLnYI7EECf ZhKaPN13AzZcV2ZGI8IqiUv+GeJJoVDHhojVgwh6hMZKvY9ZVEv2zHCX0YlkZivZrCfe RrK4WmJUpf2Y+YXhvguCYO5nwrLqXr4ga26uAZWUVunZOLsV25EJGQSoE7czP5yTRAVa ImKCC3bhJTnSpRoLy7Ns96jFr2g9O8hViMqlK5/f5GRKMzWbsuOQ0JnYsOFsXGHegS2r nQnIVbTLnRMfCeQLjIjx+v41F1sCEyNB+zBc1pjrAdGqLbfXLzFxZ31xoZhce3UTjxFo 0BdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113460; x=1795718260; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=wS0oBfFXLAO7f85Gl3HZi9YwcyL9mR19tTPYvUs6LTE=; b=WXvknYS8C0jPaY7kP3trhFdy36LV2vcRfWF/YIVG0gLIrnHmLROiKiOIUxp7X/cd0F HvOUBPlQ5jPjBcHldqs2/7ecsY4VXcPKjN/mtOdr+DnaAUqt2YsbrzziH4yhM0IcRsHB zI9sEujXxY6Kc7Ft9Es+DNWi1YeqB5BsxLFIqGQIZwa5assXqnMO6lKejW5wb3NctXsF 0zBa+QAZoh5LD5r2eYf6UHf/AjIyJdXFPRoev3DkLA1uUWyeQmXQEY4w5gKBdWtr2zfu +iUaqa+tCta2WOHO901BEtGh+GfSP51bZB5s6SLC0TPzUk7ySy8LEIDSJH0GMUgwLuUE Rwgg== X-Gm-Message-State: APuU4Z9B+S79RMkaJJB3hsys/qKQLREM/eX5/AIWUROuZRlXkbcs9CiL Y+nrLKzKXm0N/A9X+XqmYLhDLFIKwKUj9O7Nqb4MK2TXFHJuFxP0lO60GnY+eQ== X-Gm-Gg: AYBFou0/x1xxHXkLhfT0553MtzpwZgA1kXIoFhJzlDFBzfkAWm9YidU3DSjy1zDnHNk U1v2jWlQMEX3Zcn7rsROZCIcDGonPXEmtgqw2Y8afkNhzV7hRKdxFW2zhf7muWzO57EQfVaCqeU DiIEkfWeiWbqhdwTz1/xUfJA9RCrJA7h4wHEcDldhYtLm6Hmjd9BNZC9fHshviz0cLQeBAACEfE K3NZDzhtfvDumbhlCa/ANsevAtRm19njyolA0s5/igN4FWM8G4AspI9tY0nvlAMilS8Gm9KkHeU LXviRsAVIuK1EGRY7ULHuIfdXetMONwkg/RKrdaptMXcFTIFZbczk2PpbN19wuLp8YkzHJYE6pC jpMZjqA4+90RpBO1NmLBQwVukyREyKc9kUDu+uG5V0W8Wl2wsC4taq4S+3VK2aU/H9/maMNJLsn fociikxf+e+ipCXIDw1UfIiesKGdZ/xz3ZhJBX+E/1bPI8p8xV/+74GpmaKR5IJ9nk93Ol7/Uqr Te+98eIngQlNI1ZtEbOCm6lrEgY9KOp5pY6kyAN+mk/k+l25migdX6i97H60IV+w/exzBtT2Dii +4sCHXYJ0RT+urn+4M+j+9jvz5GlEUWS+DMdokso/eG7lfO1lOfHLBxtw6n9YQ== X-Received: by 2002:a05:6a00:1401:b0:8a0:2344:c44b with SMTP id d2e1a72fcca58-8c87cc4260fmr420912b3a.40.1795113459483; Thu, 19 Nov 2026 10:37:39 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.37.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:37:39 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Ankur Tyagi Subject: [blacksail][PATCH 41/64] ettercap: patch CVEs CVE-2026-125400 - CVE-2026-125406 Date: Fri, 20 Nov 2026 07:33:09 +1300 Message-ID: <450282b08dfaa349239b505cf10af7d4d9909171.1795112941.git.ankur.tyagi85@gmail.com> X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:37:47 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132731 From: Ankur Tyagi Also backport commits[1][2][3] to cherry pick commit identified by NVD. Details: https://nvd.nist.gov/vuln/detail/cve-2026-125400 [1]https://github.com/Ettercap/ettercap/commit/593a11ff49e61293fcf4ed24f8b017df0aeac6fd [2]https://github.com/Ettercap/ettercap/commit/feeae6fa366e01a3dd9f1857ec6aae847b2ae00c [3]https://github.com/Ettercap/ettercap/commit/ffd9e06c3cdab9c056f7e729b5083ed81126315e Signed-off-by: Ankur Tyagi --- .../ettercap/ettercap_0.8.4.1.bb | 4 + .../ettercap/files/CVE-2026-125400-06_1.patch | 121 +++ .../ettercap/files/CVE-2026-125400-06_2.patch | 149 ++++ .../ettercap/files/CVE-2026-125400-06_3.patch | 92 ++ .../ettercap/files/CVE-2026-125400-06_4.patch | 807 ++++++++++++++++++ 5 files changed, 1173 insertions(+) create mode 100644 meta-networking/recipes-support/ettercap/files/CVE-2026-125400-06_1.patch create mode 100644 meta-networking/recipes-support/ettercap/files/CVE-2026-125400-06_2.patch create mode 100644 meta-networking/recipes-support/ettercap/files/CVE-2026-125400-06_3.patch create mode 100644 meta-networking/recipes-support/ettercap/files/CVE-2026-125400-06_4.patch diff --git a/meta-networking/recipes-support/ettercap/ettercap_0.8.4.1.bb b/meta-networking/recipes-support/ettercap/ettercap_0.8.4.1.bb index 9a2090719b..8ac3c7703c 100644 --- a/meta-networking/recipes-support/ettercap/ettercap_0.8.4.1.bb +++ b/meta-networking/recipes-support/ettercap/ettercap_0.8.4.1.bb @@ -23,6 +23,10 @@ RDEPENDS:${PN} += "bash ethtool libgcc" SRC_URI = "gitsm://github.com/Ettercap/ettercap;branch=master;protocol=https;tag=v${PV} \ file://0001-ec.h-do-not-strip-a-pre-existing-_GNU_SOURCE-define.patch \ + file://CVE-2026-125400-06_1.patch \ + file://CVE-2026-125400-06_2.patch \ + file://CVE-2026-125400-06_3.patch \ + file://CVE-2026-125400-06_4.patch \ " SRCREV = "0dc8409779f3a09cbfff4434b9a4d7b33480d88d" diff --git a/meta-networking/recipes-support/ettercap/files/CVE-2026-125400-06_1.patch b/meta-networking/recipes-support/ettercap/files/CVE-2026-125400-06_1.patch new file mode 100644 index 0000000000..5fdc42d48b --- /dev/null +++ b/meta-networking/recipes-support/ettercap/files/CVE-2026-125400-06_1.patch @@ -0,0 +1,121 @@ +From d6ae972f54be633b3b7b2d7905f89cf53abbb839 Mon Sep 17 00:00:00 2001 +From: Gianfranco Costamagna +Date: Fri, 24 Apr 2026 11:37:12 +0200 +Subject: [PATCH] ec_gg: Add new GG_MAX_LEN equal to 70 + +(cherry picked from commit 593a11ff49e61293fcf4ed24f8b017df0aeac6fd) + +CVE: CVE-2026-125400 CVE-2026-125401 CVE-2026-125402 CVE-2026-125403 CVE-2026-125404 CVE-2026-125405 CVE-2026-125406 +Upstream-Status: Backport [https://github.com/Ettercap/ettercap/commit/593a11ff49e61293fcf4ed24f8b017df0aeac6fd] + +Signed-off-by: Ankur Tyagi +--- + src/dissectors/ec_gg.c | 31 ++++++++++++++++--------------- + 1 file changed, 16 insertions(+), 15 deletions(-) + +diff --git a/src/dissectors/ec_gg.c b/src/dissectors/ec_gg.c +index 82799f93..fa303e87 100644 +--- a/src/dissectors/ec_gg.c ++++ b/src/dissectors/ec_gg.c +@@ -149,22 +149,23 @@ uncomment #define below if you want to see all contacts status changes - be care + + /* globals */ + +-#define GG_LOGIN50_CMD 0x0000000c +-#define GG_LOGIN60_CMD 0x00000015 +-#define GG_LOGIN70_CMD 0x00000019 ++#define GG_LOGIN50_CMD 0x0000000c ++#define GG_LOGIN60_CMD 0x00000015 ++#define GG_LOGIN70_CMD 0x00000019 + +-#define GG_WELCOME_CMD 0x00000001 ++#define GG_WELCOME_CMD 0x00000001 + +-#define GG_SEND_MSG_CMD 0x0000000b +-#define GG_RECV_MSG_CMD 0x0000000a ++#define GG_SEND_MSG_CMD 0x0000000b ++#define GG_RECV_MSG_CMD 0x0000000a + + #define GG_NEW_STATUS_CMD 0x00000002 + + #define GG_STATUS_CMD 0x00000002 + +-#define GG_STATUS50_CMD 0x0000000c ++#define GG_STATUS50_CMD 0x0000000c + #define GG_STATUS60_CMD 0x0000000f + #define GG_STATUS70_CMD 0x00000017 ++#define GG_MAX_LEN 70 + + struct gg_hdr { + u_int32 type; +@@ -182,7 +183,7 @@ struct gg_login50_hdr { + u_int32 version; + u_int8 local_ip[4]; + u_int16 local_port; +- char description[71]; /* 70+1 (0x0) */ ++ char description[GG_MAX_LEN + 1]; /* 70+1 (0x0) */ + u_int32 time; + }__attribute__ ((packed)); + +@@ -198,7 +199,7 @@ struct gg_login60_hdr { + u_int16 remote_port; + u_int8 image_size; + u_int8 unknown2; /* 0xbe */ +- char description[71]; /* 70+1 (0x0) */ ++ char description[GG_MAX_LEN + 1]; /* 70+1 (0x0) */ + u_int32 time; + }__attribute__ ((packed)); + +@@ -217,7 +218,7 @@ struct gg_login70_hdr { + u_int16 remote_port; + u_int8 image_size; + u_int8 unknown5; /* 0xbe */ +- char description[71]; /* 70+1 (0x0) */ ++ char description[GG_MAX_LEN + 1]; /* 70+1 (0x0) */ + u_int32 time; + }__attribute__ ((packed)); + +@@ -238,14 +239,14 @@ struct gg_recv_msg_hdr { + + struct gg_new_status_hdr { + u_int32 status; +- char description[71]; /* 70+1 (0x0) */ ++ char description[GG_MAX_LEN + 1]; /* 70+1 (0x0) */ + u_int32 time; + }; + + struct gg_status_hdr { + u_int32 uin; + u_int32 status; +- char description[71]; /* 70+1 (0x0) */ ++ char description[GG_MAX_LEN + 1]; /* 70+1 (0x0) */ + u_int32 time; + }; + +@@ -256,7 +257,7 @@ struct gg_status50_hdr { + u_int16 remote_port; + u_int32 version; + u_int16 unknown1; /* remote port again? */ +- char description[71]; /* 70+1 (0x0) */ ++ char description[GG_MAX_LEN + 1]; /* 70+1 (0x0) */ + u_int32 time; + }__attribute__ ((packed)); + +@@ -268,7 +269,7 @@ struct gg_status60_hdr { + u_int8 version; + u_int8 image_size; + u_int8 unknown1; /* 0x00 */ +- char description[71]; /* 70+1 (0x0) */ ++ char description[GG_MAX_LEN + 1]; /* 70+1 (0x0) */ + u_int32 time; + }__attribute__ ((packed));; + +@@ -281,7 +282,7 @@ struct gg_status70_hdr { + u_int8 image_size; + u_int8 unknown1; /* 0x00 */ + u_int32 unknown2; /* 0x00 */ +- char description[71]; /* 70+1 (0x0) */ ++ char description[GG_MAX_LEN + 1]; /* 70+1 (0x0) */ + u_int32 time; + }__attribute__ ((packed));; + diff --git a/meta-networking/recipes-support/ettercap/files/CVE-2026-125400-06_2.patch b/meta-networking/recipes-support/ettercap/files/CVE-2026-125400-06_2.patch new file mode 100644 index 0000000000..af8e290f40 --- /dev/null +++ b/meta-networking/recipes-support/ettercap/files/CVE-2026-125400-06_2.patch @@ -0,0 +1,149 @@ +From 6e5c1c1f7d18a381ef64877538e2a7fb714083e2 Mon Sep 17 00:00:00 2001 +From: Gianfranco Costamagna +Date: Fri, 24 Apr 2026 11:40:16 +0200 +Subject: [PATCH] fix Heap buffer overflow in GG Dissector, thanks to + for the bug report and fix Closes: #1306 + +(cherry picked from commit feeae6fa366e01a3dd9f1857ec6aae847b2ae00c) + +CVE: CVE-2026-125400 CVE-2026-125401 CVE-2026-125402 CVE-2026-125403 CVE-2026-125404 CVE-2026-125405 CVE-2026-125406 +Upstream-Status: Backport [https://github.com/Ettercap/ettercap/commit/feeae6fa366e01a3dd9f1857ec6aae847b2ae00c] + +Signed-off-by: Ankur Tyagi +--- + src/dissectors/ec_gg.c | 64 ++++++++++++++++++++++++++---------------- + 1 file changed, 40 insertions(+), 24 deletions(-) + +diff --git a/src/dissectors/ec_gg.c b/src/dissectors/ec_gg.c +index fa303e87..2a7dd8a6 100644 +--- a/src/dissectors/ec_gg.c ++++ b/src/dissectors/ec_gg.c +@@ -359,10 +359,12 @@ FUNC_DECODER(dissector_gg) + if ((gg->type == GG_LOGIN50_CMD) && !FROM_SERVER("gg", PACKET)) { + gg_get_status(gg_login50->status,tbuf); + gg_get_version(gg_login50->version,tbuf3); +- if ((int)gg->len-22 < 0) ++ size_t offset=22; ++ if (gg->len-offset < 0) + return NULL; +- strncpy(tbuf2,gg_login50->description, (gg->len)-22); +- tbuf2[(gg->len)-22]='\0'; ++ size_t copy_len = MIN(gg->len - offset, GG_MAX_LEN); ++ strncpy(tbuf2,gg_login50->description, copy_len); ++ tbuf2[copy_len]='\0'; + sprintf(user,"%u",gg_login50->uin); + PACKET->DISSECTOR.user = strdup(user); + sprintf(pass,"%u",gg_login50->hash); +@@ -381,10 +383,12 @@ if ((gg->type == GG_LOGIN50_CMD) && !FROM_SERVER("gg", PACKET)) { + else if (gg->type == GG_LOGIN60_CMD) { + gg_get_status(gg_login60->status,tbuf); + gg_get_version(gg_login60->version,tbuf3); +- if ((int)gg->len-31 < 0) ++ size_t offset=31; ++ if (gg->len-offset < 0) + return NULL; +- strncpy(tbuf2,gg_login60->description, (gg->len)-31); +- tbuf2[(gg->len)-31]='\0'; ++ size_t copy_len = MIN(gg->len - offset, GG_MAX_LEN); ++ strncpy(tbuf2,gg_login60->description, copy_len); ++ tbuf2[copy_len]='\0'; + sprintf(user,"%u",gg_login60->uin); + PACKET->DISSECTOR.user = strdup(user); + sprintf(pass,"%u",gg_login60->hash); +@@ -405,10 +409,12 @@ else if (gg->type == GG_LOGIN60_CMD) { + else if (gg->type == GG_LOGIN70_CMD) { + gg_get_status(gg_login70->status,tbuf); + gg_get_version(gg_login70->version,tbuf3); +- if ((int)gg->len-92 < 0) ++ size_t offset=92; ++ if (gg->len-offset < 0) + return NULL; +- strncpy(tbuf2,gg_login70->description, (gg->len)-92); +- tbuf2[(gg->len)-92]='\0'; ++ size_t copy_len = MIN(gg->len - offset, GG_MAX_LEN); ++ strncpy(tbuf2,gg_login70->description, copy_len); ++ tbuf2[copy_len]='\0'; + sprintf(user,"%u",gg_login70->uin); + PACKET->DISSECTOR.user = strdup(user); + sprintf(pass,"%X%X%X%X%X",gg_login70->hash[0],gg_login70->hash[1],gg_login70->hash[2],gg_login70->hash[3],gg_login70->hash[4]); +@@ -454,10 +460,12 @@ else if (gg->type == GG_WELCOME_CMD) { + #ifdef GG_CONTACTS_STATUS_CHANGES + else if ((gg->type == GG_STATUS_CMD) && FROM_SERVER("gg", PACKET)) { + gg_get_status(gg_status->status,tbuf); +- if ((int)gg->len-8 < 0) ++ size_t offset=8; ++ if (gg->len-offset < 0) + return NULL; +- strncpy(tbuf2,gg_status->description, (gg->len)-8); +- tbuf2[(gg->len)-8]='\0'; ++ size_t copy_len = MIN(gg->len - offset, GG_MAX_LEN); ++ strncpy(tbuf2,gg_status->description, copy_len); ++ tbuf2[copy_len]='\0'; + DISSECT_MSG("GG : %s:%d -> %s:%d - STATUS CHANGED UIN: %u STATUS: %s (%s)\n", ip_addr_ntoa(&PACKET->L3.src, tmp), + ntohs(PACKET->L4.src), + ip_addr_ntoa(&PACKET->L3.dst, tmp2), +@@ -468,10 +476,12 @@ else if ((gg->type == GG_STATUS_CMD) && FROM_SERVER("gg", PACKET)) { + #endif + else if ((gg->type == GG_NEW_STATUS_CMD) && !FROM_SERVER("gg", PACKET)) { + gg_get_status(gg_new_status->status,tbuf); +- if ((int)gg->len-4 < 0) ++ size_t offset=4; ++ if (gg->len-offset < 0) + return NULL; +- strncpy(tbuf2,gg_new_status->description, (gg->len)-4); +- tbuf2[(gg->len)-4]='\0'; ++ size_t copy_len = MIN(gg->len - offset, GG_MAX_LEN); ++ strncpy(tbuf2,gg_new_status->description, copy_len); ++ tbuf2[copy_len]='\0'; + DISSECT_MSG("GG : %s:%d -> %s:%d - NEW STATUS STATUS: %s (%s)\n", ip_addr_ntoa(&PACKET->L3.src, tmp), + ntohs(PACKET->L4.src), + ip_addr_ntoa(&PACKET->L3.dst, tmp2), +@@ -482,10 +492,12 @@ else if ((gg->type == GG_NEW_STATUS_CMD) && !FROM_SERVER("gg", PACKET)) { + else if ((gg->type == GG_STATUS50_CMD) && FROM_SERVER("gg", PACKET)) { + gg_get_status(gg_status50->status,tbuf); + gg_get_version(gg_status50->version,tbuf3); +- if ((int)gg->len-20 < 0) ++ size_t offset=20; ++ if (gg->len-offset < 0) + return NULL; +- strncpy(tbuf2,gg_status50->description, (gg->len)-20); +- tbuf2[(gg->len)-20]='\0'; ++ size_t copy_len = MIN(gg->len - offset, GG_MAX_LEN); ++ strncpy(tbuf2,gg_status50->description, copy_len); ++ tbuf2[copy_len]='\0'; + DISSECT_MSG("GG4/5 : %s:%d -> %s:%d - STATUS CHANGED UIN: %u STATUS: %s (%s) VERSION: %s RIP: %u.%u.%u.%u:%u\n", ip_addr_ntoa(&PACKET->L3.src, tmp), + ntohs(PACKET->L4.src), + ip_addr_ntoa(&PACKET->L3.dst, tmp2), +@@ -499,10 +511,12 @@ else if ((gg->type == GG_STATUS50_CMD) && FROM_SERVER("gg", PACKET)) { + else if (gg->type == GG_STATUS60_CMD) { + gg_get_status(gg_status60->status,tbuf); + gg_get_version(gg_status60->version,tbuf3); +- if ((int)gg->len-14 < 0) ++ size_t offset=14; ++ if (gg->len-offset < 0) + return NULL; +- strncpy(tbuf2,gg_status60->description, (gg->len)-14); +- tbuf2[(gg->len)-14]='\0'; ++ size_t copy_len = MIN(gg->len - offset, GG_MAX_LEN); ++ strncpy(tbuf2,gg_status60->description, copy_len); ++ tbuf2[copy_len]='\0'; + DISSECT_MSG("GG6 : %s:%d -> %s:%d - STATUS CHANGED UIN: %u STATUS: %s (%s) VERSION: %s RIP: %u.%u.%u.%u:%u\n", ip_addr_ntoa(&PACKET->L3.src, tmp), + ntohs(PACKET->L4.src), + ip_addr_ntoa(&PACKET->L3.dst, tmp2), +@@ -515,11 +529,13 @@ else if (gg->type == GG_STATUS60_CMD) { + } + else if (gg->type == GG_STATUS70_CMD) { + gg_get_status(gg_status70->status,tbuf); +- if ((int)gg->len-18 < 0) ++ size_t offset=18; ++ if (gg->len-offset < 0) + return NULL; ++ size_t copy_len = MIN(gg->len - offset, GG_MAX_LEN); + gg_get_version(gg_status70->version,tbuf3); +- strncpy(tbuf2,gg_status70->description, (gg->len)-18); +- tbuf2[(gg->len)-18]='\0'; ++ strncpy(tbuf2,gg_status70->description, copy_len); ++ tbuf2[copy_len]='\0'; + DISSECT_MSG("GG7 : %s:%d -> %s:%d - STATUS CHANGED UIN: %u STATUS: %s (%s) VERSION: %s RIP: %u.%u.%u.%u:%u\n", ip_addr_ntoa(&PACKET->L3.src, tmp), + ntohs(PACKET->L4.src), + ip_addr_ntoa(&PACKET->L3.dst, tmp2), diff --git a/meta-networking/recipes-support/ettercap/files/CVE-2026-125400-06_3.patch b/meta-networking/recipes-support/ettercap/files/CVE-2026-125400-06_3.patch new file mode 100644 index 0000000000..f649082cb9 --- /dev/null +++ b/meta-networking/recipes-support/ettercap/files/CVE-2026-125400-06_3.patch @@ -0,0 +1,92 @@ +From 4fee3420f939bb738e883a8baad15a6da473ab8a Mon Sep 17 00:00:00 2001 +From: Gianfranco Costamagna +Date: Fri, 24 Apr 2026 11:48:23 +0200 +Subject: [PATCH] ec_gg: don't check if two unsigned integers go <0, check just + if the len is greater than the offset + +(cherry picked from commit ffd9e06c3cdab9c056f7e729b5083ed81126315e) + +CVE: CVE-2026-125400 CVE-2026-125401 CVE-2026-125402 CVE-2026-125403 CVE-2026-125404 CVE-2026-125405 CVE-2026-125406 +Upstream-Status: Backport [https://github.com/Ettercap/ettercap/commit/ffd9e06c3cdab9c056f7e729b5083ed81126315e] + +Signed-off-by: Ankur Tyagi +--- + src/dissectors/ec_gg.c | 16 ++++++++-------- + 1 file changed, 8 insertions(+), 8 deletions(-) + +diff --git a/src/dissectors/ec_gg.c b/src/dissectors/ec_gg.c +index 2a7dd8a6..aaabd9b9 100644 +--- a/src/dissectors/ec_gg.c ++++ b/src/dissectors/ec_gg.c +@@ -360,7 +360,7 @@ if ((gg->type == GG_LOGIN50_CMD) && !FROM_SERVER("gg", PACKET)) { + gg_get_status(gg_login50->status,tbuf); + gg_get_version(gg_login50->version,tbuf3); + size_t offset=22; +- if (gg->len-offset < 0) ++ if (gg->len < offset) + return NULL; + size_t copy_len = MIN(gg->len - offset, GG_MAX_LEN); + strncpy(tbuf2,gg_login50->description, copy_len); +@@ -384,7 +384,7 @@ else if (gg->type == GG_LOGIN60_CMD) { + gg_get_status(gg_login60->status,tbuf); + gg_get_version(gg_login60->version,tbuf3); + size_t offset=31; +- if (gg->len-offset < 0) ++ if (gg->len < offset) + return NULL; + size_t copy_len = MIN(gg->len - offset, GG_MAX_LEN); + strncpy(tbuf2,gg_login60->description, copy_len); +@@ -410,7 +410,7 @@ else if (gg->type == GG_LOGIN70_CMD) { + gg_get_status(gg_login70->status,tbuf); + gg_get_version(gg_login70->version,tbuf3); + size_t offset=92; +- if (gg->len-offset < 0) ++ if (gg->len < offset) + return NULL; + size_t copy_len = MIN(gg->len - offset, GG_MAX_LEN); + strncpy(tbuf2,gg_login70->description, copy_len); +@@ -461,7 +461,7 @@ else if (gg->type == GG_WELCOME_CMD) { + else if ((gg->type == GG_STATUS_CMD) && FROM_SERVER("gg", PACKET)) { + gg_get_status(gg_status->status,tbuf); + size_t offset=8; +- if (gg->len-offset < 0) ++ if (gg->len < offset) + return NULL; + size_t copy_len = MIN(gg->len - offset, GG_MAX_LEN); + strncpy(tbuf2,gg_status->description, copy_len); +@@ -477,7 +477,7 @@ else if ((gg->type == GG_STATUS_CMD) && FROM_SERVER("gg", PACKET)) { + else if ((gg->type == GG_NEW_STATUS_CMD) && !FROM_SERVER("gg", PACKET)) { + gg_get_status(gg_new_status->status,tbuf); + size_t offset=4; +- if (gg->len-offset < 0) ++ if (gg->len < offset) + return NULL; + size_t copy_len = MIN(gg->len - offset, GG_MAX_LEN); + strncpy(tbuf2,gg_new_status->description, copy_len); +@@ -493,7 +493,7 @@ else if ((gg->type == GG_STATUS50_CMD) && FROM_SERVER("gg", PACKET)) { + gg_get_status(gg_status50->status,tbuf); + gg_get_version(gg_status50->version,tbuf3); + size_t offset=20; +- if (gg->len-offset < 0) ++ if (gg->len < offset) + return NULL; + size_t copy_len = MIN(gg->len - offset, GG_MAX_LEN); + strncpy(tbuf2,gg_status50->description, copy_len); +@@ -512,7 +512,7 @@ else if (gg->type == GG_STATUS60_CMD) { + gg_get_status(gg_status60->status,tbuf); + gg_get_version(gg_status60->version,tbuf3); + size_t offset=14; +- if (gg->len-offset < 0) ++ if (gg->len < offset) + return NULL; + size_t copy_len = MIN(gg->len - offset, GG_MAX_LEN); + strncpy(tbuf2,gg_status60->description, copy_len); +@@ -530,7 +530,7 @@ else if (gg->type == GG_STATUS60_CMD) { + else if (gg->type == GG_STATUS70_CMD) { + gg_get_status(gg_status70->status,tbuf); + size_t offset=18; +- if (gg->len-offset < 0) ++ if (gg->len < offset) + return NULL; + size_t copy_len = MIN(gg->len - offset, GG_MAX_LEN); + gg_get_version(gg_status70->version,tbuf3); diff --git a/meta-networking/recipes-support/ettercap/files/CVE-2026-125400-06_4.patch b/meta-networking/recipes-support/ettercap/files/CVE-2026-125400-06_4.patch new file mode 100644 index 0000000000..81c4c4a8a5 --- /dev/null +++ b/meta-networking/recipes-support/ettercap/files/CVE-2026-125400-06_4.patch @@ -0,0 +1,807 @@ +From eb36ce39dc88056e854745d36dcc04b2d09a296f Mon Sep 17 00:00:00 2001 +From: "Emilio A. Escobar" +Date: Tue, 8 Sep 2026 08:37:37 -0700 +Subject: [PATCH] Fix seven memory-safety bugs reachable from network traffic + +All seven were reported by the DREAM Security Research Team against v0.8.4.1 +(3548c10c) and validated against master. + +Vulnerability discovered by: Adiel Sol, Arad Inbar, Erez Cohen, Nir Somech, +Ben Grinberg, Daniel Lubel, Shir Sadon (DREAM Security Research Team) + +Each has a draft advisory; the GHSA id is cited in the comment at every fix +site. CVE ids have been requested and are not assigned yet. + +GHSA-f3j5-rhhr-85j5 - use-after-free in func_pcre (src/ec_filter.c) + The PCRE2 match data was freed before pcre2_get_ovector_pointer() was + called on it, and the resulting pointer then drove an allocation size, + two memcpy offsets into the pcap buffer, and the packet length delta. + The offsets are now copied out of the match data before it is released, + which also plugs the leaks on the no-match paths of both level 5 and 6. + This is the default build path wherever pcre2 is installed. + +GHSA-vrjv-f8gv-2h35 - heap overflow in gg_get_version (ec_gg.c) + The helper composed up to 44 bytes into a 30-byte allocation via + sprintf()/strcat(). Both helpers now build into a private buffer and hand + back only a bounded copy. Also fixes user[10]/pass[40], which were one + byte short for a u_int32 uin and 41 bytes short for five %X, and the + scratch buffers leaked by the short-packet guards. + +GHSA-v48w-7cvh-c7f4 - SNI heap over-read (ec_sslwrap.c) + val_len was read from the ClientHello and passed to strndup() without + being checked against the extension length, so it read up to 64KB past + the buffer and shipped the result to the upstream server. The reported + double free was not reproducible - ae->hostname is freed once and + SAFE_FREE() NULLs - but the callback fires twice and leaked the first + allocation, so it now releases any previous value before reassigning. + +GHSA-hq2w-pg4m-6w63 - out-of-bounds read in sslw_remove_sts (ec_sslwrap.c) + The search for the end of the STS header used the length of the whole + packet from an already-advanced pointer, reading past the buffer, and did + not check memmem() for NULL - h_end became 0x2, header_length underflowed + and memcpy() got a near-SIZE_MAX length. Bounded and NULL-checked; len + still describes the whole packet, as the rebuild below is sized from it. + +GHSA-j37f-7jx3-rf8j - size_t underflow in ccmp_decrypt (ec_encryption_ccmp.c) + len -= WPA_CCMP_TRAILER wrapped for frames shorter than 8 bytes and the + decrypt loop then ran ~2^60 times up the stack. Both the outer and inner + function now reject undersized frames, and the UINT16_MAX check moved + above the VLA it was meant to bound. + +GHSA-jw9q-j2rm-94j2 - heap over-read in the NTLM parser (ec_http.c) + lmResponse/ntResponse/uUser offsets were used as displacements from the + decoded message with no bounds checking, letting a peer read 24 bytes + from anywhere in a 4GB window and have us log the result. The decoded + length is now kept and every offset/length pair validated against it; + short blobs are rejected before msgType is read at offset 8. + +GHSA-w5ch-7c4x-crcc - stack underflow in the telnet dissector (ec_telnet.c) + Backspace handling decremented the write pointer with no lower bound, so + leading backspaces walked it below the VLA and later characters wrote + attacker-chosen bytes underneath it. Bounded by str. + +Verified with an AddressSanitizer build: the func_pcre use-after-free +reproduces end to end via etterfilter + a crafted pcap and is gone after +the fix, and extracted harnesses confirm the gg, ccmp and telnet fixes. +Existing test suite passes. + +Co-Authored-By: Claude Opus 5 (1M context) +Claude-Session: https://claude.ai/code/session_01U7DPkxps63uUMetZEJSTLr +(cherry picked from commit a8c1a5085791b38c234be0e4129302fdc36964e0) + +CVE: CVE-2026-125400 CVE-2026-125401 CVE-2026-125402 CVE-2026-125403 CVE-2026-125404 CVE-2026-125405 CVE-2026-125406 +Upstream-Status: Backport [https://github.com/Ettercap/ettercap/commit/a8c1a5085791b38c234be0e4129302fdc36964e0] + +Signed-off-by: Ankur Tyagi +--- + src/dissectors/ec_gg.c | 138 +++++++++++++++++++++---------------- + src/dissectors/ec_http.c | 101 +++++++++++++++++++++++---- + src/dissectors/ec_telnet.c | 8 ++- + src/ec_encryption_ccmp.c | 38 ++++++++-- + src/ec_filter.c | 46 ++++++++++--- + src/ec_sslwrap.c | 36 ++++++++-- + 6 files changed, 274 insertions(+), 93 deletions(-) + +diff --git a/src/dissectors/ec_gg.c b/src/dissectors/ec_gg.c +index aaabd9b9..adf7f6f2 100644 +--- a/src/dissectors/ec_gg.c ++++ b/src/dissectors/ec_gg.c +@@ -166,6 +166,9 @@ uncomment #define below if you want to see all contacts status changes - be care + #define GG_STATUS60_CMD 0x0000000f + #define GG_STATUS70_CMD 0x00000017 + #define GG_MAX_LEN 70 ++/* GHSA-vrjv-f8gv-2h35: sized for the longest string each helper can build */ ++#define GG_TBUF_SIZE 64 ++#define GG_TBUF3_SIZE 64 + + struct gg_hdr { + u_int32 type; +@@ -290,8 +293,8 @@ struct gg_status70_hdr { + + FUNC_DECODER(dissector_gg); + void gg_init(void); +-void gg_get_status(u_int32 status, char *str); +-void gg_get_version(u_int32 version, char *str); ++void gg_get_status(u_int32 status, char *str, size_t size); ++void gg_get_version(u_int32 version, char *str, size_t size); + + /************************************************/ + +@@ -320,7 +323,12 @@ FUNC_DECODER(dissector_gg) + struct gg_recv_msg_hdr *gg_recv_msg; + struct gg_new_status_hdr *gg_new_status; + char *tbuf, *tbuf2, *tbuf3; +- char user[10], pass[40]; ++ /* GHSA-vrjv-f8gv-2h35: a u_int32 uin needs 11 bytes and 5 x %X needs 41 */ ++ char user[12], pass[48]; ++ ++/* GHSA-vrjv-f8gv-2h35: the short-packet guards below used to return without ++ * releasing the three scratch buffers */ ++#define GG_BAIL() do { SAFE_FREE(tbuf); SAFE_FREE(tbuf2); SAFE_FREE(tbuf3); return NULL; } while(0) + + /* don't complain about unused var */ + (void)end; +@@ -352,16 +360,16 @@ FUNC_DECODER(dissector_gg) + + DEBUG_MSG("Gadu-Gadu --> TCP dissector_gg (%.8X:%.8X)", gg->type, gg->len); + +- SAFE_CALLOC(tbuf, 50, sizeof(char)); +- SAFE_CALLOC(tbuf2, 71, sizeof(char)); +- SAFE_CALLOC(tbuf3, 30, sizeof(char)); ++ SAFE_CALLOC(tbuf, GG_TBUF_SIZE, sizeof(char)); ++ SAFE_CALLOC(tbuf2, GG_MAX_LEN + 1, sizeof(char)); ++ SAFE_CALLOC(tbuf3, GG_TBUF3_SIZE, sizeof(char)); + + if ((gg->type == GG_LOGIN50_CMD) && !FROM_SERVER("gg", PACKET)) { +- gg_get_status(gg_login50->status,tbuf); +- gg_get_version(gg_login50->version,tbuf3); ++ gg_get_status(gg_login50->status, tbuf, GG_TBUF_SIZE); ++ gg_get_version(gg_login50->version, tbuf3, GG_TBUF3_SIZE); + size_t offset=22; + if (gg->len < offset) +- return NULL; ++ GG_BAIL(); + size_t copy_len = MIN(gg->len - offset, GG_MAX_LEN); + strncpy(tbuf2,gg_login50->description, copy_len); + tbuf2[copy_len]='\0'; +@@ -381,11 +389,11 @@ if ((gg->type == GG_LOGIN50_CMD) && !FROM_SERVER("gg", PACKET)) { + gg_login50->local_port); + } + else if (gg->type == GG_LOGIN60_CMD) { +- gg_get_status(gg_login60->status,tbuf); +- gg_get_version(gg_login60->version,tbuf3); ++ gg_get_status(gg_login60->status, tbuf, GG_TBUF_SIZE); ++ gg_get_version(gg_login60->version, tbuf3, GG_TBUF3_SIZE); + size_t offset=31; + if (gg->len < offset) +- return NULL; ++ GG_BAIL(); + size_t copy_len = MIN(gg->len - offset, GG_MAX_LEN); + strncpy(tbuf2,gg_login60->description, copy_len); + tbuf2[copy_len]='\0'; +@@ -407,11 +415,11 @@ else if (gg->type == GG_LOGIN60_CMD) { + gg_login60->remote_port); + } + else if (gg->type == GG_LOGIN70_CMD) { +- gg_get_status(gg_login70->status,tbuf); +- gg_get_version(gg_login70->version,tbuf3); ++ gg_get_status(gg_login70->status, tbuf, GG_TBUF_SIZE); ++ gg_get_version(gg_login70->version, tbuf3, GG_TBUF3_SIZE); + size_t offset=92; + if (gg->len < offset) +- return NULL; ++ GG_BAIL(); + size_t copy_len = MIN(gg->len - offset, GG_MAX_LEN); + strncpy(tbuf2,gg_login70->description, copy_len); + tbuf2[copy_len]='\0'; +@@ -459,10 +467,10 @@ else if (gg->type == GG_WELCOME_CMD) { + } + #ifdef GG_CONTACTS_STATUS_CHANGES + else if ((gg->type == GG_STATUS_CMD) && FROM_SERVER("gg", PACKET)) { +- gg_get_status(gg_status->status,tbuf); ++ gg_get_status(gg_status->status, tbuf, GG_TBUF_SIZE); + size_t offset=8; + if (gg->len < offset) +- return NULL; ++ GG_BAIL(); + size_t copy_len = MIN(gg->len - offset, GG_MAX_LEN); + strncpy(tbuf2,gg_status->description, copy_len); + tbuf2[copy_len]='\0'; +@@ -475,10 +483,10 @@ else if ((gg->type == GG_STATUS_CMD) && FROM_SERVER("gg", PACKET)) { + } + #endif + else if ((gg->type == GG_NEW_STATUS_CMD) && !FROM_SERVER("gg", PACKET)) { +- gg_get_status(gg_new_status->status,tbuf); ++ gg_get_status(gg_new_status->status, tbuf, GG_TBUF_SIZE); + size_t offset=4; + if (gg->len < offset) +- return NULL; ++ GG_BAIL(); + size_t copy_len = MIN(gg->len - offset, GG_MAX_LEN); + strncpy(tbuf2,gg_new_status->description, copy_len); + tbuf2[copy_len]='\0'; +@@ -490,11 +498,11 @@ else if ((gg->type == GG_NEW_STATUS_CMD) && !FROM_SERVER("gg", PACKET)) { + } + #ifdef GG_CONTACTS_STATUS_CHANGES + else if ((gg->type == GG_STATUS50_CMD) && FROM_SERVER("gg", PACKET)) { +- gg_get_status(gg_status50->status,tbuf); +- gg_get_version(gg_status50->version,tbuf3); ++ gg_get_status(gg_status50->status, tbuf, GG_TBUF_SIZE); ++ gg_get_version(gg_status50->version, tbuf3, GG_TBUF3_SIZE); + size_t offset=20; + if (gg->len < offset) +- return NULL; ++ GG_BAIL(); + size_t copy_len = MIN(gg->len - offset, GG_MAX_LEN); + strncpy(tbuf2,gg_status50->description, copy_len); + tbuf2[copy_len]='\0'; +@@ -509,11 +517,11 @@ else if ((gg->type == GG_STATUS50_CMD) && FROM_SERVER("gg", PACKET)) { + gg_status50->remote_port); + } + else if (gg->type == GG_STATUS60_CMD) { +- gg_get_status(gg_status60->status,tbuf); +- gg_get_version(gg_status60->version,tbuf3); ++ gg_get_status(gg_status60->status, tbuf, GG_TBUF_SIZE); ++ gg_get_version(gg_status60->version, tbuf3, GG_TBUF3_SIZE); + size_t offset=14; + if (gg->len < offset) +- return NULL; ++ GG_BAIL(); + size_t copy_len = MIN(gg->len - offset, GG_MAX_LEN); + strncpy(tbuf2,gg_status60->description, copy_len); + tbuf2[copy_len]='\0'; +@@ -528,12 +536,12 @@ else if (gg->type == GG_STATUS60_CMD) { + gg_status60->remote_port); + } + else if (gg->type == GG_STATUS70_CMD) { +- gg_get_status(gg_status70->status,tbuf); ++ gg_get_status(gg_status70->status, tbuf, GG_TBUF_SIZE); + size_t offset=18; + if (gg->len < offset) +- return NULL; ++ GG_BAIL(); + size_t copy_len = MIN(gg->len - offset, GG_MAX_LEN); +- gg_get_version(gg_status70->version,tbuf3); ++ gg_get_version(gg_status70->version, tbuf3, GG_TBUF3_SIZE); + strncpy(tbuf2,gg_status70->description, copy_len); + tbuf2[copy_len]='\0'; + DISSECT_MSG("GG7 : %s:%d -> %s:%d - STATUS CHANGED UIN: %u STATUS: %s (%s) VERSION: %s RIP: %u.%u.%u.%u:%u\n", ip_addr_ntoa(&PACKET->L3.src, tmp), +@@ -564,133 +572,147 @@ else { + return NULL; + } + +-void gg_get_status(u_int32 status, char *str) { ++void gg_get_status(u_int32 status, char *str, size_t size) { ++ char buf[128]; ++ ++ buf[0] = '\0'; + + switch ((status&0x00ff)) { + + case 0x0014: +- strcpy(str,"invisible"); ++ strcpy(buf,"invisible"); + break; + + case 0x0002: +- strcpy(str,"available"); ++ strcpy(buf,"available"); + break; + + case 0x0003: +- strcpy(str,"busy"); ++ strcpy(buf,"busy"); + break; + + case 0x0006: +- strcpy(str,"blocked"); ++ strcpy(buf,"blocked"); + break; + + case 0x0001: +- strcpy(str,"not available"); ++ strcpy(buf,"not available"); + break; + + case 0x0016: +- strcpy(str,"invisible + descr"); ++ strcpy(buf,"invisible + descr"); + break; + + case 0x0004: +- strcpy(str,"available + descr"); ++ strcpy(buf,"available + descr"); + break; + + case 0x0005: +- strcpy(str,"busy + descr"); ++ strcpy(buf,"busy + descr"); + break; + + case 0x0015: +- strcpy(str,"not available + descr"); ++ strcpy(buf,"not available + descr"); + break; + + default: +- strcpy(str,"unknown"); ++ strcpy(buf,"unknown"); + } + + if ((status&0xff00)==0x8000) +- strcat(str," + private"); ++ strcat(buf," + private"); ++ ++/* GHSA-vrjv-f8gv-2h35: the helper composes into an ample private buffer ++ * and only ever hands the caller a bounded copy */ ++snprintf(str, size, "%s", buf); + + } + +-void gg_get_version(u_int32 version, char *str) { ++void gg_get_version(u_int32 version, char *str, size_t size) { ++ char buf[128]; ++ ++ buf[0] = '\0'; + + switch ((version&0x00ff)) { + + case 0x0000002A: +- strcpy(str,"7.7"); ++ strcpy(buf,"7.7"); + break; + + case 0x00000029: +- strcpy(str,"7.6"); ++ strcpy(buf,"7.6"); + break; + + case 0x00000024: +- strcpy(str,"6.1/7.6"); ++ strcpy(buf,"6.1/7.6"); + break; + + case 0x00000028: +- strcpy(str,"7.5"); ++ strcpy(buf,"7.5"); + break; + + case 0x00000027: + case 0x00000026: + case 0x00000025: +- strcpy(str,"7.0"); ++ strcpy(buf,"7.0"); + break; + + case 0x00000022: + case 0x00000021: + case 0x00000020: +- strcpy(str,"6.0"); ++ strcpy(buf,"6.0"); + break; + + case 0x0000001E: + case 0x0000001C: +- strcpy(str,"5.7"); ++ strcpy(buf,"5.7"); + break; + + case 0x0000001B: + case 0x00000019: +- strcpy(str,"5.0"); ++ strcpy(buf,"5.0"); + break; + + case 0x00000018: +- strcpy(str,"5.0/4.9"); ++ strcpy(buf,"5.0/4.9"); + break; + + case 0x00000017: + case 0x00000016: +- strcpy(str,"4.9"); ++ strcpy(buf,"4.9"); + break; + + case 0x00000015: + case 0x00000014: +- strcpy(str,"4.8"); ++ strcpy(buf,"4.8"); + break; + + case 0x00000011: +- strcpy(str,"4.6"); ++ strcpy(buf,"4.6"); + break; + + case 0x00000010: + case 0x0000000f: +- strcpy(str,"4.5"); ++ strcpy(buf,"4.5"); + break; + + case 0x0000000b: +- strcpy(str,"4.0"); ++ strcpy(buf,"4.0"); + break; + + default: +- sprintf(str,"unknown (0x%X)",version); ++ sprintf(buf,"unknown (0x%X)",version); + } + + if ((version&0xf0000000)==0x40000000) +- strcat(str," + has audio"); ++ strcat(buf," + has audio"); + + if ((version&0x0f000000)== 0x04000000) +- strcat(str," + eraomnix"); ++ strcat(buf," + eraomnix"); ++ ++/* GHSA-vrjv-f8gv-2h35: the helper composes into an ample private buffer ++ * and only ever hands the caller a bounded copy */ ++snprintf(str, size, "%s", buf); + + } + +diff --git a/src/dissectors/ec_http.c b/src/dissectors/ec_http.c +index 6384d0af..30f09a94 100644 +--- a/src/dissectors/ec_http.c ++++ b/src/dissectors/ec_http.c +@@ -26,6 +26,8 @@ + #include + #include + ++#include /* offsetof() */ ++ + /* globals */ + #define USER 0 + #define PASS 1 +@@ -105,6 +107,7 @@ static int Parse_Basic_Auth(char *ptr, char *from_here, struct packet_object *po + static int Parse_User_Agent(char *end, char *from_here, struct packet_object *po); + static char *unicodeToString(char *p, size_t len); + static void dumpRaw(char *str, unsigned char *buf, size_t len); ++static char *unicodeToStringChecked(char *base, size_t buflen, u_int32 offset, u_int16 len); + int http_fields_init(void); + + #define CVAL(buf,pos) (((unsigned char *)(buf))[pos]) +@@ -112,7 +115,19 @@ int http_fields_init(void); + #define SVAL(buf,pos) (PVAL(buf,pos)|PVAL(buf,(pos)+1)<<8) + #define IVAL(buf,pos) (SVAL(buf,pos)|SVAL(buf,(pos)+2)<<16) + +-#define GetUnicodeString(structPtr, header) unicodeToString(((char*)structPtr) + IVAL(&structPtr->header.offset,0) , SVAL(&structPtr->header.len,0)/2) ++/* ++ * GHSA-jw9q-j2rm-94j2: the offset and length of every NTLM string are taken ++ * verbatim from the packet, so both have to be validated against the size of ++ * the decoded message before they are used as a displacement. buflen is the ++ * number of bytes base64decode() actually produced. ++ */ ++#define NTLM_FIELD_IN_BOUNDS(buflen, off, cnt) \ ++ ((size_t)(off) <= (size_t)(buflen) && (size_t)(cnt) <= (size_t)(buflen) - (size_t)(off)) ++ ++#define GetUnicodeString(structPtr, header, buflen) \ ++ unicodeToStringChecked((char*)(structPtr), (buflen), \ ++ IVAL(&(structPtr)->header.offset,0), \ ++ SVAL(&(structPtr)->header.len,0)) + + /************************************************/ + +@@ -465,7 +480,21 @@ static int Parse_NTLM_Auth(char *ptr, char *from_here, struct packet_object *po) + ec_strtok(to_decode, "\r", &tok); + + char *decoded; +- base64decode(to_decode, &decoded); ++ int decoded_len; ++ ++ decoded_len = base64decode(to_decode, &decoded); ++ ++ /* ++ * GHSA-jw9q-j2rm-94j2: base64decode() sizes its output from the input ++ * string, so a short blob left every read below out of bounds - starting ++ * with msgType, which lives at offset 8. ++ */ ++ if (decoded_len < (int)sizeof(tSmbStdHeader)) { ++ SAFE_FREE(to_decode); ++ SAFE_FREE(decoded); ++ return 1; ++ } ++ + hSmb = (tSmbStdHeader *) decoded; + msgType = IVAL(&hSmb->msgType, 0); + +@@ -476,7 +505,14 @@ static int Parse_NTLM_Auth(char *ptr, char *from_here, struct packet_object *po) + tSmbNtlmAuthChallenge *challenge_struct; + + challenge_struct = (tSmbNtlmAuthChallenge *) decoded; +- ++ ++ /* the fixed part up to and including challengeData must be present */ ++ if (decoded_len < (int)(offsetof(tSmbNtlmAuthChallenge, challengeData) + 8)) { ++ SAFE_FREE(to_decode); ++ SAFE_FREE(decoded); ++ return 1; ++ } ++ + /* Create a session to remember the server challenge */ + dissect_create_session(&s, po, DISSECT_CODE(dissector_http)); + SAFE_CALLOC(s->data, 1, sizeof(struct http_status)); +@@ -502,17 +538,42 @@ static int Parse_NTLM_Auth(char *ptr, char *from_here, struct packet_object *po) + if (conn_status->c_status == NTLM_WAIT_RESPONSE) { + /* Fill the user and passwords */ + response_struct = (tSmbNtlmAuthResponse *) decoded; +- po->DISSECTOR.user = strdup(GetUnicodeString(response_struct, uUser)); +- SAFE_CALLOC(po->DISSECTOR.pass, strlen(po->DISSECTOR.user) + 150, sizeof(char)); +- snprintf(po->DISSECTOR.pass, strlen(po->DISSECTOR.user) + 150, "(NTLM) %s:\"\":\"\":", po->DISSECTOR.user); +- outstr = po->DISSECTOR.pass + strlen(po->DISSECTOR.pass); +- dumpRaw(outstr,((unsigned char*)response_struct)+IVAL(&response_struct->lmResponse.offset,0), 24); +- outstr[48] = ':'; +- outstr+=49; +- dumpRaw(outstr,((unsigned char*)response_struct)+IVAL(&response_struct->ntResponse.offset,0), 24); +- outstr[48] = ':'; +- outstr += 49; +- strcat(po->DISSECTOR.pass, (const char*)conn_status->c_data); ++ ++ u_int32 lm_off = IVAL(&response_struct->lmResponse.offset, 0); ++ u_int32 nt_off = IVAL(&response_struct->ntResponse.offset, 0); ++ char *ntlm_user; ++ ++ /* ++ * GHSA-jw9q-j2rm-94j2: the fixed header has to be there, and both ++ * response offsets have to address 24 bytes that are really inside ++ * the decoded message. Both used to be added to the message base ++ * unchecked, letting a peer read - and have us log - heap memory ++ * from anywhere in a 4GB window above the allocation. ++ */ ++ if (decoded_len >= (int)offsetof(tSmbNtlmAuthResponse, buffer) && ++ NTLM_FIELD_IN_BOUNDS(decoded_len, lm_off, 24) && ++ NTLM_FIELD_IN_BOUNDS(decoded_len, nt_off, 24) && ++ (ntlm_user = GetUnicodeString(response_struct, uUser, decoded_len)) != NULL) { ++ ++ po->DISSECTOR.user = strdup(ntlm_user); ++ SAFE_CALLOC(po->DISSECTOR.pass, strlen(po->DISSECTOR.user) + 150, sizeof(char)); ++ snprintf(po->DISSECTOR.pass, strlen(po->DISSECTOR.user) + 150, "(NTLM) %s:\"\":\"\":", po->DISSECTOR.user); ++ outstr = po->DISSECTOR.pass + strlen(po->DISSECTOR.pass); ++ dumpRaw(outstr, ((unsigned char*)response_struct) + lm_off, 24); ++ outstr[48] = ':'; ++ outstr+=49; ++ dumpRaw(outstr, ((unsigned char*)response_struct) + nt_off, 24); ++ outstr[48] = ':'; ++ outstr += 49; ++ strcat(po->DISSECTOR.pass, (const char*)conn_status->c_data); ++ } else { ++ DEBUG_MSG("HTTP --> malformed NTLM type 3 message, skipped"); ++ session_free(s); ++ SAFE_FREE(ident); ++ SAFE_FREE(to_decode); ++ SAFE_FREE(decoded); ++ return 1; ++ } + + /* Are we authenticating to the proxy or to a website? */ + if (Proxy_Auth) +@@ -865,6 +926,18 @@ static void dumpRaw(char *str, unsigned char *buf, size_t len) + snprintf(str, 3, "%02x", buf[i]); + } + ++/* ++ * Bounds-checked wrapper around unicodeToString(). Returns NULL when the ++ * packet-supplied offset/length pair does not fit inside the decoded message. ++ */ ++static char *unicodeToStringChecked(char *base, size_t buflen, u_int32 offset, u_int16 len) ++{ ++ if (!NTLM_FIELD_IN_BOUNDS(buflen, offset, len)) ++ return NULL; ++ ++ return unicodeToString(base + offset, len / 2); ++} ++ + /* A little helper function */ + static char *unicodeToString(char *p, size_t len) + { +diff --git a/src/dissectors/ec_telnet.c b/src/dissectors/ec_telnet.c +index cbf97b33..dab44afe 100644 +--- a/src/dissectors/ec_telnet.c ++++ b/src/dissectors/ec_telnet.c +@@ -151,7 +151,13 @@ FUNC_DECODER(dissector_telnet) + stringlen = strlen((const char*)str); + for (p = str, i = 0; i < stringlen; i++) { + if (str[i] == '\b' || str[i] == 0x7f) { +- p--; ++ /* ++ * GHSA-w5ch-7c4x-crcc: a backspace arriving before any ++ * printable character used to walk p below str, after which ++ * this loop wrote attacker-chosen bytes underneath the VLA. ++ */ ++ if (p > str) ++ p--; + } else { + *p = str[i]; + p++; +diff --git a/src/ec_encryption_ccmp.c b/src/ec_encryption_ccmp.c +index 8f8761e8..3c78733c 100644 +--- a/src/ec_encryption_ccmp.c ++++ b/src/ec_encryption_ccmp.c +@@ -56,15 +56,35 @@ int wpa_ccmp_decrypt(u_char *mac, u_char *data, size_t len, struct wpa_sa sa) + { + u_char mic[WPA_CCMP_TRAILER]; + u_char PN[6]; /* 48 bit Packet Number */ +- size_t data_len = len - sizeof(struct wpa_header); + u_char AAD[AES_BLOCK_SIZE*2]; + u_char BZERO[AES_BLOCK_SIZE], A[AES_BLOCK_SIZE], B[AES_BLOCK_SIZE]; +- u_char decbuf[len]; + AES_KEY aes_ctx; ++ size_t data_len; + +- if (len > UINT16_MAX) { +- return -E_NOTHANDLED; +- } ++ /* ++ * GHSA-j37f-7jx3-rf8j: len is the payload that follows the WPA header, so ++ * it has to be at least large enough to hold the CCMP MIC trailer. It used ++ * to be used unchecked: data_len underflowed for len < 8, the memset near ++ * the end of this function wrote before data, and ccmp_decrypt() wrapped ++ * its own length and ran away up the stack. ++ * ++ * The upper bound is checked here too, before the decbuf VLA is sized from ++ * len rather than after it. ++ */ ++ if (len > UINT16_MAX) ++ return -E_NOTHANDLED; ++ ++ if (len < WPA_CCMP_TRAILER) ++ return -E_NOTHANDLED; ++ ++ /* ++ * Numerically identical to the previous len - sizeof(struct wpa_header) ++ * (both are 8), but this is the value CCM actually wants in B0: the length ++ * of the plaintext payload, i.e. everything except the MIC trailer. ++ */ ++ data_len = len - WPA_CCMP_TRAILER; ++ ++ u_char decbuf[len]; + + /* init the AES with the decryption key from SA */ + AES_set_encrypt_key(sa.decryption_key, 128, &aes_ctx); +@@ -191,6 +211,14 @@ static int ccmp_decrypt(u_char *enc, u_char *BZERO, u_char *B, u_char *A, u_char + { + int i = 1; + ++ /* ++ * GHSA-j37f-7jx3-rf8j: len is unsigned, so a frame shorter than the ++ * trailer wrapped this subtraction to ~SIZE_MAX and the loop below then ++ * wrote AES blocks far past the caller's stack buffer. ++ */ ++ if (len < WPA_CCMP_TRAILER) ++ return -E_NOTHANDLED; ++ + /* remove the trailer from the length */ + len -= WPA_CCMP_TRAILER; + +diff --git a/src/ec_filter.c b/src/ec_filter.c +index a436d6df..7b6ca084 100644 +--- a/src/ec_filter.c ++++ b/src/ec_filter.c +@@ -567,8 +567,18 @@ static int func_pcre(struct filter_op *fop, struct packet_object *po) + return -E_NOTFOUND; + #else + #ifdef HAVE_PCRE2 +- PCRE2_SIZE *ovec; ++ /* ++ * GHSA-f3j5-rhhr-85j5: hold our own copy of the ovector. ++ * The ovector lives inside the pcre2_match_data block, so a pointer to it ++ * is only valid while that block is alive. Copying the offsets out lets us ++ * release the match data on every path without the rest of the function ++ * reading (and computing memcpy offsets from) freed heap memory. ++ */ ++ PCRE2_SIZE ovec[PCRE_OVEC_SIZE]; ++ PCRE2_SIZE *ovec_src; + pcre2_match_data *match_data; ++ uint32_t ovec_pairs, n; ++ memset(&ovec, 0, sizeof(ovec)); + #else + int ovec[PCRE_OVEC_SIZE]; + memset(&ovec, 0, sizeof(ovec)); +@@ -583,14 +593,28 @@ static int func_pcre(struct filter_op *fop, struct packet_object *po) + /* search in the real packet */ + #ifdef HAVE_PCRE2 + match_data = pcre2_match_data_create_from_pattern(fop->op.func.ropt->pregex, NULL); +- if ( (ret = pcre2_match(fop->op.func.ropt->pregex, (PCRE2_SPTR)po->DATA.data, po->DATA.len, 0, 0, match_data, NULL)) < 0) +-#else +- if ( (ret = pcre_exec(fop->op.func.ropt->pregex, fop->op.func.ropt->preg_extra, po->DATA.data, po->DATA.len, 0, 0, ovec, sizeof(ovec) / sizeof(*ovec))) < 0) +-#endif ++ if ( (ret = pcre2_match(fop->op.func.ropt->pregex, (PCRE2_SPTR)po->DATA.data, po->DATA.len, 0, 0, match_data, NULL)) < 0) { ++ /* also plugs the leak this path used to have */ ++ pcre2_match_data_free(match_data); + return -E_NOTFOUND; ++ } ++ ++ /* snapshot the offsets before the match data goes away */ ++ ovec_src = pcre2_get_ovector_pointer(match_data); ++ ovec_pairs = pcre2_get_ovector_count(match_data); ++ if (ovec_pairs > PCRE_OVEC_SIZE / 2) ++ ovec_pairs = PCRE_OVEC_SIZE / 2; ++ for (n = 0; n < ovec_pairs * 2; n++) ++ ovec[n] = ovec_src[n]; + +-#ifdef HAVE_PCRE2 + pcre2_match_data_free(match_data); ++ ++ /* never let a marker index past the pairs we actually copied */ ++ if (ret > (int)ovec_pairs) ++ ret = (int)ovec_pairs; ++#else ++ if ( (ret = pcre_exec(fop->op.func.ropt->pregex, fop->op.func.ropt->preg_extra, po->DATA.data, po->DATA.len, 0, 0, ovec, sizeof(ovec) / sizeof(*ovec))) < 0) ++ return -E_NOTFOUND; + #endif + + /* the pcre wants to modify the packet */ +@@ -621,9 +645,6 @@ static int func_pcre(struct filter_op *fop, struct packet_object *po) + } + /* now: i = strlen(q) */ + +-#ifdef HAVE_PCRE2 +- ovec = pcre2_get_ovector_pointer(match_data); +-#endif + SAFE_CALLOC(replaced, markers*(ovec[1]-ovec[0]) + i + 1, sizeof(char)); + + po->flags |= PO_MODIFIED; +@@ -707,11 +728,14 @@ static int func_pcre(struct filter_op *fop, struct packet_object *po) + /* search in the decoded one */ + #ifdef HAVE_PCRE2 + match_data = pcre2_match_data_create_from_pattern(fop->op.func.ropt->pregex, NULL); +- if ( pcre2_match(fop->op.func.ropt->pregex, (PCRE2_SPTR)po->DATA.disp_data, po->DATA.disp_len, 0, 0, match_data, NULL) < 0) ++ if ( pcre2_match(fop->op.func.ropt->pregex, (PCRE2_SPTR)po->DATA.disp_data, po->DATA.disp_len, 0, 0, match_data, NULL) < 0) { ++ pcre2_match_data_free(match_data); ++ return -E_NOTFOUND; ++ } + #else + if ( pcre_exec(fop->op.func.ropt->pregex, fop->op.func.ropt->preg_extra, po->DATA.disp_data, po->DATA.disp_len, 0, 0, NULL, 0) < 0) +-#endif + return -E_NOTFOUND; ++#endif + + #ifdef HAVE_PCRE2 + pcre2_match_data_free(match_data); +diff --git a/src/ec_sslwrap.c b/src/ec_sslwrap.c +index 8581c7a9..873225b7 100644 +--- a/src/ec_sslwrap.c ++++ b/src/ec_sslwrap.c +@@ -573,7 +573,16 @@ static int sslw_clienthello_cb(SSL *ssl, int *alert, void *arg) + + ae = (struct accepted_entry *)arg; + +- /* extract hostname value from SNI extension */ ++ /* ++ * Extract hostname value from SNI extension. ++ * ++ * This callback is invoked more than once per handshake (it returns ++ * SSL_CLIENT_HELLO_RETRY the first time), so release whatever the previous ++ * invocation stored before taking ownership of a new string. SAFE_FREE() ++ * NULLs as it frees, which keeps this safe to re-enter and makes a double ++ * free of ae->hostname unreachable on every path that reaches here. ++ */ ++ SAFE_FREE(ae->hostname); + ae->hostname = sslw_get_clienthello_sni(ssl); + + if (ae->tls_handshake_state != SSL_CLIENTHELLO_INTERCEPTED) { +@@ -600,8 +609,14 @@ static char* sslw_get_clienthello_sni(SSL *ssl) + sni_type = sni[2]; + val_len = sni[3] << 8 | sni[4]; + +- if (sni_type == TLSEXT_NAMETYPE_host_name) +- return strndup(sni+5, val_len); ++ /* ++ * GHSA-v48w-7cvh-c7f4: val_len comes straight off the wire and the ++ * client_hello callback runs before OpenSSL validates extension ++ * bodies, so it has to be checked against the extension we actually ++ * got. Without this, strndup() walked up to 64KB past the buffer. ++ */ ++ if (sni_type == TLSEXT_NAMETYPE_host_name && val_len <= len - 5) ++ return strndup((const char *)sni + 5, val_len); + } + } + +@@ -1309,9 +1324,22 @@ static int sslw_remove_sts(struct packet_object *po) + len = end - ptr; + + ptr = (u_char*)memmem(ptr, len, "\r\nStrict-Transport-Security:", slen); ++ if (ptr == NULL) ++ return -E_NOTFOUND; + ptr += 2; + +- h_end = (u_char*)memmem(ptr, len, "\r\n", 2); ++ /* ++ * GHSA-hq2w-pg4m-6w63: len still described the whole buffer, so this search ++ * ran up to (ptr - po->DATA.data) bytes past the end of it and could match ++ * out of bounds. Bound it by what is actually left after the advanced ++ * pointer, and bail out when the header is not terminated inside this ++ * packet - h_end used to become 0x2 there, underflowing header_length and ++ * handing memcpy() a near-SIZE_MAX length. len itself must keep describing ++ * the whole packet, since the reconstruction below is sized from it. ++ */ ++ h_end = (u_char*)memmem(ptr, (size_t)(end - ptr), "\r\n", 2); ++ if (h_end == NULL) ++ return -E_NOTFOUND; + h_end += 2; + + size_t before_header = ptr - po->DATA.data; From patchwork Thu Nov 19 18:33:10 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104976 Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1942.1795113462719190335 for ; Thu, 19 Nov 2026 10:37:42 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=n/iKW5hI; spf=pass (domain: gmail.com, ip: 209.85.210.180, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f180.google.com with SMTP id d2e1a72fcca58-8c6c06b3321so104106b3a.3 for ; Thu, 19 Nov 2026 10:37:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113462; x=1795718262; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=DJ8Sqp2Qy8v/2Tm+GlgAu/UL6bsjajOG1m6Q/zvsfgI=; b=n/iKW5hIdtsNpm9nMfZGA/Xn7gn3eVDdKNjcHg52eA0EaGoQ338cU+/y+Z+Fm+2wt2 NZLSG0vrZvW0OjCRTGIJfePq9V8fo/jypqqOQmPa73DXPVW0tmzZew3UFuZ6Fqs3pAPg G6tm8uihN39XPLcXBLNpHvoSzxuKLppJjtjaAI3bM6QomOU9qOenUmhuGIft0pSSyUe7 +jzJcMWlSAYnP4m9Fa5WYobpGY1riuqkHe9zAdcyEt2xPh/MDRYhK1kUzp59qCo1vpA+ sqklZC9kckvsaFtN6PK6kKTwFKKGn7N9Ct5wbfj1jWlyMqh8BvOfC7llmhJmgoAEvjwl RRdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113462; x=1795718262; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=DJ8Sqp2Qy8v/2Tm+GlgAu/UL6bsjajOG1m6Q/zvsfgI=; b=ZLFbOFtJTkUqgq/Rw7ps9HEShxAlVwkbAjo42i+L1OtbL8c7nSvget1bUTAYY1xzNY sfWHYGBqFpyjG6Tp3edA+bRuMXbAspEotmix8AIgvEmJKt2LJmy6TO37M6NMq7iBeNbV 3SzM449E6dtGvAba6D7PWnrbLPH+2JSKCzFj/m7E5ZPKG1n3nWCE76+aZrO1/QECWnGZ nvX4raiowpK3E4MtRom2RyTD/KDwAcxCybs2Lz3xNC8xzoNjy7iBUIfdaO7FwCJ9uiZU j3Ln5KUEZ2Wni90Ex+13O9BuZQZbdAA1jor02rBqXigkkcIs/nsHxaSewi0inC/b80rI 29sg== X-Gm-Message-State: APuU4Z+C2hbjV0azFXNoP3UiVdszojYK30vQajkwhYfP9UvafbPUu7NG kErMx1XKmesRN1G2+hPz4UDkhMVuyLy1u3rXBB9QWj72XONDwjDvTLWNeGaUSg== X-Gm-Gg: AYBFou3VVWgmZZcZn5hLqK5W503Gvh11YwSbq0kywKjcqIfG0dqLzEN+F7MFjkzIzSY 6bCP35UwPGxnFYFgfCvEYQziy6vHIacy6wznen72Tch+vArC+9SXHu3B7ZqN9U91CWW6r0QaIuo U55ldVStasyWEIxeZYI2aT6LeQ7SeWF8n24rXqeMHOKDfQ22c9WzdCmE5/SOwNx0auac1R98Df0 rmxWhSvl+++kBvJpseCM8Bm5cWzIxp5PHKHPEAfxHmBPdEjq1mrt+3qC95HGIa+fk1Dh3vjnnD5 UkoN759HM0bA1Qo1KLyRW16SHcLpemYs2s7OnPZbZfw9LWRo3vEeIAjAn+npfbYpNHD4nuwNosW VKxHDP9m9pu6mUfK/5XLzsprSoP8oBPBnF7fwjn7e6/0bK1Nad2VzkYdsvEnzVr8RMT3pVgUZ/j lZXGJWxRVlQrJ37h8wo2NIDHiI2twpDxc6qEc/4Ud3UUk75XAf8v3cPHx4ryjxeRqpNESufBWv1 W6O9jJL8KsxxvQTVfMS9UlVE6AQqWZx3Z+kCgZYG/7cUI1fYLCc7Y633d9caSDQFjLfPXPg5v+Z musIeTN83hIH++RvnS+u/tagqq1BsEMhAkQaVDCIkQYvxjCuJt2f0IC9kNLkOg== X-Received: by 2002:a05:6a00:460e:b0:8b5:7fc8:867a with SMTP id d2e1a72fcca58-8c87ce31324mr475290b3a.36.1795113462066; Thu, 19 Nov 2026 10:37:42 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.37.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:37:41 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Ankur Tyagi Subject: [blacksail][PATCH 42/64] tinyproxy: patch CVE-2026-125371 Date: Fri, 20 Nov 2026 07:33:10 +1300 Message-ID: X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:37:47 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132732 From: Ankur Tyagi Details: https://nvd.nist.gov/vuln/detail/cve-2026-125371 Signed-off-by: Ankur Tyagi --- .../tinyproxy/tinyproxy/CVE-2026-125371.patch | 70 +++++++++++++++++++ .../tinyproxy/tinyproxy_1.11.3.bb | 1 + 2 files changed, 71 insertions(+) create mode 100644 meta-networking/recipes-support/tinyproxy/tinyproxy/CVE-2026-125371.patch diff --git a/meta-networking/recipes-support/tinyproxy/tinyproxy/CVE-2026-125371.patch b/meta-networking/recipes-support/tinyproxy/tinyproxy/CVE-2026-125371.patch new file mode 100644 index 0000000000..7a86af207c --- /dev/null +++ b/meta-networking/recipes-support/tinyproxy/tinyproxy/CVE-2026-125371.patch @@ -0,0 +1,70 @@ +From 8c8463fb1a0bf7db82d3dfc6f363d5b339e96cd3 Mon Sep 17 00:00:00 2001 +From: rofl0r +Date: Tue, 15 Sep 2026 06:42:05 +0000 +Subject: [PATCH] acl: use hostspec parser to disallow suffix hostname matches + +the existing ad-hoc parsing in acl.c allowed an attacker to +use e.g. an "untrusted.net" domain name to access a reachable +tinyproxy instance if it had an allow list entry for "trusted.net". + +exploiting it would require that the attacker has prior knowledge +of the instance's configuration or is damn good at guessing and +well-budgeted to register lots of potentially matching domains. + +fix by re-using the existing hardened hostspec parser. + +closes #627 + +(cherry picked from commit 3991ac8f98c6a9f05b3265018b812dbf2ca92c28) +CVE: CVE-2026-125371 +Upstream-Status: Backport [https://github.com/tinyproxy/tinyproxy/commit/3991ac8f98c6a9f05b3265018b812dbf2ca92c28] +Signed-off-by: Ankur Tyagi +--- + src/acl.c | 25 +++++++++---------------- + 1 file changed, 9 insertions(+), 16 deletions(-) + +diff --git a/src/acl.c b/src/acl.c +index 2d141ba..db526db 100644 +--- a/src/acl.c ++++ b/src/acl.c +@@ -105,7 +105,6 @@ acl_string_processing (struct acl_s *acl, const char *ip_address, + { + int match; + struct addrinfo hints, *res, *ressave; +- size_t test_length, match_length; + char ipbuf[512]; + + assert (acl && acl->h.type == HST_STRING); +@@ -153,23 +152,17 @@ STRING_TEST: + return -1; + } + +- test_length = strlen (string_addr); +- match_length = strlen (acl->h.address.string); +- + /* +- * If the string length is shorter than AC string, return a -1 so +- * that the "driver" will skip onto the next control in the list. ++ * compare the reverse-resolved client hostname against the ACL ++ * entry, using the shared hostspec matcher so that hostname ++ * entries are matched at label boundaries: plain entries match ++ * the whole hostname exactly, and leading-dot entries match the ++ * apex host plus every subdomain below it. This prevents ++ * suffix-collision bypasses, e.g. "Allow trusted.net" must not ++ * admit "untrusted.net" (GH issue #627). + */ +- if (test_length < match_length) +- return -1; +- +- if (strcasecmp +- (string_addr + (test_length - match_length), +- acl->h.address.string) == 0) { +- if (acl->access == ACL_DENY) +- return 0; +- else +- return 1; ++ if (hostspec_match (string_addr, &acl->h) != 0) { ++ return acl->access != ACL_DENY; + } + + /* Indicate that no tests succeeded, so skip to next control. */ diff --git a/meta-networking/recipes-support/tinyproxy/tinyproxy_1.11.3.bb b/meta-networking/recipes-support/tinyproxy/tinyproxy_1.11.3.bb index 46d3a4d7c6..86e7e906b1 100644 --- a/meta-networking/recipes-support/tinyproxy/tinyproxy_1.11.3.bb +++ b/meta-networking/recipes-support/tinyproxy/tinyproxy_1.11.3.bb @@ -13,6 +13,7 @@ SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BP}.tar.gz file://CVE-2026-54387.patch \ file://CVE-2026-55202.patch \ file://CVE-2026-54388.patch \ + file://CVE-2026-125371.patch \ " SRC_URI[sha256sum] = "9bcf46db1a2375ff3e3d27a41982f1efec4706cce8899ff9f33323a8218f7592" From patchwork Thu Nov 19 18:33:11 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104977 Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.1894.1795113465000274553 for ; Thu, 19 Nov 2026 10:37:45 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=ZPJSMnQA; spf=pass (domain: gmail.com, ip: 209.85.210.176, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f176.google.com with SMTP id d2e1a72fcca58-8b904d10882so71411b3a.0 for ; Thu, 19 Nov 2026 10:37:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113464; x=1795718264; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=QP6oPwa70E5kCFOZjGla0Yl4/YlmeEjF3j013wiu/k0=; b=ZPJSMnQA21gSpnxgl+lgWHqcoBU7VHXoofE9Gk1aEBmWnk6V562/Lg3TYbVhdhQ+8S yeo/bFdJjw5DNGSRrCYkZE+a/kJaJPiGK/RRX/UGCs/oqN+L9O7iENtoMnJYdtgF51/f a5vflpbV+aDeTucRjApJve9ETCh9Z6TSqZ1siX/7C29mxqvYgndmkdKw+GbqTzLR+1QC Ds8jHd/pL8fd26PXSCgaWjpPJmfBB2jc4E42n/xrv7f9S1nndLAPjg0pFU2CwzS49Z7+ S/aJW2D5DK4PjuMd5rFSvRYEa9akGFX+MJtXlS9NxaK97qUeFJWu/yYJa5QBytt6CUee wHuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113464; x=1795718264; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=QP6oPwa70E5kCFOZjGla0Yl4/YlmeEjF3j013wiu/k0=; b=qYPsAkp80jiUB5SyAN3ACYAo/8Z8UhQLQhs3GD26cCrY90WlAoDS1vq4INg2kF1Rec Qilm5Tuumt6u6O8N7FROvcLh61Ekuq7mUnnMgfbjVdJqSt3H6sV5zi3rSBnGillke3dE r+rLfMOZsOKeto1KrAsz4mXKsHx8i+lVi64YYcsVOGqm3JbldL86NI2Xm2fDDoGX2Njz Dp4MdrTX3tBGVu4F5Zde21dVE8ULea+uP7wFl3AcLE+tNMmyZ/oqxFFFpk8n8sFlxOyA 3TFMnXnesdsT88SulSocwHsFJcrnKUoGthb7zvBaCdmXWwRQB64Yf/fW17aVu6h2Ix1T Qapw== X-Gm-Message-State: APuU4Z/cV+x2rAeSlt8D2V643n/LKaxToyyGVr0KUJ5dUggLY66IA7FZ fDWaqAtV0VfmYYNP3Z6ngVafyVyhob1TEdneL6u3otXKfOr78rU6RveAmeZhlg== X-Gm-Gg: AYBFou3WZ9M0nf3bqy3nXEPRGdsf9sVAFWe3N7APlYWBwd8VjvHnH1Iyd4aJQb0hKXO 5c4efhV2R3/z3QQTZxSiMBx+KNc5cPTjAavl6t9J0R04hMJCBfR5NabIh63u+pBB4whus+Kxv++ xiRZFNIvRY6hvyVoeNtu8TkZX1aDVswR0ZnO1aGZhGkruq36QhxfkOcWns+qjvr+y4v5Phu+Yzr 1fJ5IvGZJZBjasSgltwfVxdRNGfObKef9lYZ3AR0SvoUaHY89ESB/WiWFb1+FA5EbUOmo5JDaQB QA0DQbZtGaSpAK7POWUqDBoaAt4HnP1dCZIDKLFMwtkvKRVnsA8mJOyWucULC0W0sxaWI/GtpKD e3LhbDysL8C+vFF1mtwpI6bkSvo4MUVXVBdBa+YY3jNsbPrgJ71ovGpAp21q8Kck2gt9n0k8siO POdZhkEQANDg8xy9acSjTFDvULFr4Xi1VdtoFK0jyjBd+cPkaQq3oid+CGVcLeSWa1Jwqrd61EJ zks3sMaeit0GoX2jUcY3yfUNrKDBHCjUHG7TG0jqvrTVTBS8arGU6+WgX8sWUrZhcq+xtZBekPk 7yMyOpVVMYXa0jLdZ5hd0sCQMJykkduXUS161miHCVW5CY8q8Zy78moh8tiueQ== X-Received: by 2002:a05:6a00:419b:b0:881:c881:96e8 with SMTP id d2e1a72fcca58-8c87c388455mr480805b3a.23.1795113464289; Thu, 19 Nov 2026 10:37:44 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.37.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:37:43 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Ankur Tyagi Subject: [blacksail][PATCH 43/64] webmin: patch CVE-2026-125391 Date: Fri, 20 Nov 2026 07:33:11 +1300 Message-ID: <822648cbe30d20fdcf2f959b3e9849cc6718e37f.1795112941.git.ankur.tyagi85@gmail.com> X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:37:47 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132733 From: Ankur Tyagi Details: https://nvd.nist.gov/vuln/detail/cve-2026-125391 Signed-off-by: Ankur Tyagi --- .../webmin/files/CVE-2026-125391.patch | 37 +++++++++++++++++++ .../recipes-webadmin/webmin/webmin_2.653.bb | 1 + 2 files changed, 38 insertions(+) create mode 100644 meta-webserver/recipes-webadmin/webmin/files/CVE-2026-125391.patch diff --git a/meta-webserver/recipes-webadmin/webmin/files/CVE-2026-125391.patch b/meta-webserver/recipes-webadmin/webmin/files/CVE-2026-125391.patch new file mode 100644 index 0000000000..077adc95d5 --- /dev/null +++ b/meta-webserver/recipes-webadmin/webmin/files/CVE-2026-125391.patch @@ -0,0 +1,37 @@ +From 86791cd2bd1848b3967dc86ae0909493e768db7e Mon Sep 17 00:00:00 2001 +From: Ilia Ross +Date: Sun, 8 Nov 2026 17:38:12 +0100 +Subject: [PATCH] Fix Samba account option command injection + +(cherry picked from commit 18cab89b1fc74ab7e8b1b8b90bbccbe5aba99154) +CVE: CVE-2026-125391 +Upstream-Status: Backport [https://github.com/webmin/webmin/commit/18cab89b1fc74ab7e8b1b8b90bbccbe5aba99154] +Signed-off-by: Ankur Tyagi +--- + samba/samba-lib.pl | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +diff --git a/samba/samba-lib.pl b/samba/samba-lib.pl +index bafd03b8b..2bd90ba26 100755 +--- a/samba/samba-lib.pl ++++ b/samba/samba-lib.pl +@@ -656,7 +656,8 @@ if ($has_pdbedit) { + "cd / && $config{'pdbedit'} -a -s $config{'smb_conf'} -t -u ". + quotemeta($user->{'name'}). + ($config{'sync_gid'} ? " -g $config{'sync_gid'}" : ""). +- " -c '[".join("", @opts)."]' $ws <$temp 2>&1"); ++ " -c ".quotemeta("[".join("", @opts)."]"). ++ " $ws <$temp 2>&1"); + $? && &error("$config{'pdbedit'} failed :
$out
"); + } + else { +@@ -700,7 +701,8 @@ if ($has_pdbedit) { + $out = &backquote_logged( + "cd / && $config{'pdbedit'} -r -s $config{'smb_conf'} -u ". + quotemeta($_[0]->{'name'}). +- " -c '[".join("", @opts)."]' 2>&1"); ++ " -c ".quotemeta("[".join("", @opts)."]"). ++ " 2>&1"); + $? && &error("$config{'pdbedit'} failed :
$out
"); + } + } diff --git a/meta-webserver/recipes-webadmin/webmin/webmin_2.653.bb b/meta-webserver/recipes-webadmin/webmin/webmin_2.653.bb index a46c3aad16..e4380e16a0 100644 --- a/meta-webserver/recipes-webadmin/webmin/webmin_2.653.bb +++ b/meta-webserver/recipes-webadmin/webmin/webmin_2.653.bb @@ -17,6 +17,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/webadmin/webmin-${PV}.tar.gz \ file://media-tomb.patch \ file://mysql-config-fix.patch \ file://webmin.service \ + file://CVE-2026-125391.patch \ " SRC_URI[sha256sum] = "9acc680d3d45cee876f36fc8810ce68bb6e44a0365e245a4298a180e0d016696" UPSTREAM_CHECK_URI = "http://www.webmin.com/download.html" From patchwork Thu Nov 19 18:33:12 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104978 Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1945.1795113467074618102 for ; Thu, 19 Nov 2026 10:37:47 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=Vr/6S/TQ; spf=pass (domain: gmail.com, ip: 209.85.210.169, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f169.google.com with SMTP id d2e1a72fcca58-8a05b210703so84493b3a.0 for ; Thu, 19 Nov 2026 10:37:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113466; x=1795718266; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=3FKr6IdO3AGErrp84q6Y01mG8CJRDIV41AlHUtn2j/s=; b=Vr/6S/TQXfsrch0zi7ZzQ+QkpWaSyYqA6q0do4YDyScpRuE5nzUcNgYeRCUf10Uj5L jcrecmp+ogURau3Ouc+Wnqa/WaafGOXxkHSM8D9GyBN8YWUWAWySJ/q9Pf0tVJXSfond yLRFELiDfwSiXChNUrTgYv+cZ6eCSqM5ynkbacC1is27pNmIIhMpEuh/QwGo7YwqrrUb oeatQm3eRj3s8ZAsj9CeqvbcQozdR8c8phKMwcOMBSLeyJ0pAOujfRYDwI5YMtc1yLKQ 0kM0Ea848QLQlcJhDpKsTsUnfaCTD9zp50fJ2vm3kK6BeNgQmWdFZECYK5jpR6cb43XT agdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113466; x=1795718266; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=3FKr6IdO3AGErrp84q6Y01mG8CJRDIV41AlHUtn2j/s=; b=PGuoFSwhdHm0hyBjxZxKpW7alGCtj5S/foRFVqCgq7kWMv9tdSYjlwfhRC3lO+IEnb zAh4aBqcEThEVSqkSoMwqCBwypSfiAMyFXv6sjZNacIUK0LoUR1tAPOziGoEMBUvkVPe lHSR5RJ3vCDUcbLSNlqf1Alyx+S4Z0c2aQ9BNHtSdmkGmZMsQ5NUHDkvR4Kfnuy6HZIY NxFnYjxyPDtj6KptdBkxmS02xrqGp4WIXhjmGNl4f3c16pBuZrc/E/y2Id1lSg/mSDiY ZqNzCXRci50gTBXYJ51/0bYNnKeSsMzjRnqXEdg2p/s1kRk1fVUEP8RpInZvd+Z1b8jm Avyg== X-Gm-Message-State: APuU4Z8zhB3k9JkzRXnUssbZQySGqRX7spECMADT9eSY2P5cAFzRxS4p sEB3FZad8PkdWAshD3P+oFv+cNp8LvW0QOWAwnfetNSR75QtRILd/Ke9mkjDnQ== X-Gm-Gg: AYBFou0j9TMimMPsMNv/B8cwExjlLeAHvb5P8Zq0T/QworIsLEglhYwZYCSwEFgSXHV 7eSHE2zabeEuqEwwFogUa8HQl0uQ1GvISna7KUb17FBpW7FaZngJ6EnhKjy0YWSWc9HGAvp+5G6 S7tR/4QhWfsIjKSc2KJ8zgmoGnAO6VKHxyWf3qD3MBgAFJGPDO0ytm4H4Ny4K97Br1PWKR5o+3M Z414SjZWPQWOxt+Y4b9XQsReBK7mKfmjf2J8QD4Iwrtc88o7cqiorlmshLbQHFrzUMy3JmTXu6w h5dvRlBzSo9Xck9cQ6O8QJLlHOsCdYzAFnANGILZ9zRDex9BuYK8REg9hNKDTM31RJJS2XCodFs XKPoIDWd5n/u56vjyhjrIXIxUixWzDx7H1x7xHDHlWi1LAnTf5mBUbyfP+w6oeLqkFt8xHre3WJ nSJdIuCIrh/8vTsbSZnqKUgVHoxoCxKjVUKk6FHCLooEurz500Xk1wbuYSTyFtpZXkJxJ9VV8BL 7nBPUug26VDUMyfq5pNu7yQzRsl9gN/OOT44K6qb8WlF4OjUkHCsDD11kc8Y71DCHFuL8cV4DiL eSDyw/+TX0BPw0QTPjXWeVEAWY9DIT/mYx0tyU0dxIFyfF7nNr9Z0btKFmCl7g== X-Received: by 2002:a05:6a20:2f98:b0:3fa:43b:3b86 with SMTP id adf61e73a8af0-4014bc4a0c2mr464044637.47.1795113466419; Thu, 19 Nov 2026 10:37:46 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.37.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:37:46 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Ankur Tyagi Subject: [blacksail][PATCH 44/64] webmin: patch CVE-2026-125392 Date: Fri, 20 Nov 2026 07:33:12 +1300 Message-ID: <776f734c4f01992a64106eaee3bb746f2a13cdb3.1795112941.git.ankur.tyagi85@gmail.com> X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:37:47 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132734 From: Ankur Tyagi Details: https://nvd.nist.gov/vuln/detail/cve-2026-125392 Signed-off-by: Ankur Tyagi --- .../webmin/files/CVE-2026-125392.patch | 26 +++++++++++++++++++ .../recipes-webadmin/webmin/webmin_2.653.bb | 1 + 2 files changed, 27 insertions(+) create mode 100644 meta-webserver/recipes-webadmin/webmin/files/CVE-2026-125392.patch diff --git a/meta-webserver/recipes-webadmin/webmin/files/CVE-2026-125392.patch b/meta-webserver/recipes-webadmin/webmin/files/CVE-2026-125392.patch new file mode 100644 index 0000000000..f357eb703a --- /dev/null +++ b/meta-webserver/recipes-webadmin/webmin/files/CVE-2026-125392.patch @@ -0,0 +1,26 @@ +From 261c858c1f09b734add7239b835c1085eab3106c Mon Sep 17 00:00:00 2001 +From: Jamie Cameron +Date: Sun, 8 Nov 2026 17:20:57 -0800 +Subject: [PATCH] Add HTML escaping in all-records mode + +(cherry picked from commit 224cbd91467c98c3147df695fe9abc8149183356) +CVE: CVE-2026-125392 +Upstream-Status: Backport [https://github.com/webmin/webmin/commit/224cbd91467c98c3147df695fe9abc8149183356] +Signed-off-by: Ankur Tyagi +--- + bind8/edit_recs.cgi | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/bind8/edit_recs.cgi b/bind8/edit_recs.cgi +index 2141c0a12..627143b37 100755 +--- a/bind8/edit_recs.cgi ++++ b/bind8/edit_recs.cgi +@@ -268,7 +268,7 @@ for(my $i=0; $i<@_; $i++) { + if (length($joined) > 80) { + $joined = substr($joined, 0, 80)." ..."; + } +- push(@cols, $joined); ++ push(@cols, &html_escape($joined)); + } + if ($config{'allow_comments'} && $in{'type'} ne "WKS") { + push(@cols, &html_escape($r->{'comment'})); diff --git a/meta-webserver/recipes-webadmin/webmin/webmin_2.653.bb b/meta-webserver/recipes-webadmin/webmin/webmin_2.653.bb index e4380e16a0..8598994a17 100644 --- a/meta-webserver/recipes-webadmin/webmin/webmin_2.653.bb +++ b/meta-webserver/recipes-webadmin/webmin/webmin_2.653.bb @@ -18,6 +18,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/webadmin/webmin-${PV}.tar.gz \ file://mysql-config-fix.patch \ file://webmin.service \ file://CVE-2026-125391.patch \ + file://CVE-2026-125392.patch \ " SRC_URI[sha256sum] = "9acc680d3d45cee876f36fc8810ce68bb6e44a0365e245a4298a180e0d016696" UPSTREAM_CHECK_URI = "http://www.webmin.com/download.html" From patchwork Thu Nov 19 18:33:13 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104979 Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com [209.85.210.179]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1946.1795113469405207225 for ; Thu, 19 Nov 2026 10:37:49 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=Z4hUpYG2; spf=pass (domain: gmail.com, ip: 209.85.210.179, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f179.google.com with SMTP id d2e1a72fcca58-8a0880a46e7so919982b3a.1 for ; Thu, 19 Nov 2026 10:37:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113469; x=1795718269; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=LSJSGAJPx03D7Tpd3VpFQct2bfESpAi2T5mLwdAAEZE=; b=Z4hUpYG2J8ZdSRDLcZLzOEc2RDRDm6ZG+r30u1RV4I743q1weHl9C7s+WR1u/p4k8B mfbEJnOYTBeSDe8LckZnAh+vqSpLyJTKf2uIhSQb7jbepdczhzdXLfdpd5GKcpENGEnW 91nPnsqHKX+z5qsXSah8XyQk6Ph4OTqLSSsyLcDth2zTDPa4G38LaeQx/ZryLMndkF2U PqzIDxDihQKBrdq+CPNKdTpWbIDfrXOYsUdUT4mxV4QiN75rjonFXR5rdy1DcMgJWAT5 HgFgIH40/pUkDY0AEptEGg2/rEfysoCnEtQ4SffvK+ussW9SG0wThz9Y7puOSmjkNeiB xtgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113469; x=1795718269; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=LSJSGAJPx03D7Tpd3VpFQct2bfESpAi2T5mLwdAAEZE=; b=JgzrrBhG0wIJZqibfNhuOkPGmwiwX4yRdQNjhzhmRnFakt3BeY8jRiev1WHrHJF4UN hEZHRJghknN73ca1Frbtw1xG5Vp+B5QHXor8xpapFNea55lXfmaL3Nqfmi5asthqB9VH LWRInz8R7bLeBaG6bs1CiuWHEflrP1vR6JiXbvKyNJ+osrY9DEhc0q/T4Dc9HOFd81jX OaktSrkATRnT7ExK3oVCT+192VxfrjeMJAiABuYxEIp8abTa9vBHVvu7Q5+iIG0dfTNS 3XIhQc7P3BG0xlGMmCtJisdDTsb91cqUW1+fJF1QQLD0nJhLk9LIm/xhpfD6+gtkizO8 5YnA== X-Gm-Message-State: APuU4Z+fSOGLILPvKu3DBIo2sRIds2i4QsuBXUPFw4xA1Qe9Z8nz4GBM tk2umOF0osCJ2s21KXgJytmn+K/is+vU48vag9T6+2EtRFUvpj+NyWNYSbS8ZA== X-Gm-Gg: AYBFou3RBW4JFpuR6e26W1Kh86CgaI2R3RgTBOZ0Hdb+08QCvgT+ZDnwRKYi4ctEc1f AveGXZOxVJU9G1mEm/BmQ9NhP0ggiA4RKw9icAwnYWOfCuqClioXUdR778WfdblmvCA9h6xc9Mi Gn5352AaeCBJjIxfMaicRZ+gMGpAhtUN2j0ndFUY0+IPlgldC3l0UCzc0QZZ9uNpoBFGdHXdplH 4nTsA4ywGTMIZ2iFOrV/o1ynwH0lV12BwqpSOypt+Ter0tY/JsCX52U5j4Mq4Jn//pDIvTXSNYb 8PJvdjBc3tr78P+iR4PGE/iF5rlHfzUEvRJJeQiXRtcaufv+5JzOYx+p9+aInVm76+xEgb97Fds uMKPHBFmrVzYjHKgAGD3ScYlWyNATCfHE/ytE78WlrV9Sr4T0hmAq5D322tHaI/aZOeux3q+qh3 1p7k53OpcnS2FjvBy9t2JKzRPTT2t8dgBJ45vKoi482LqEakkfmbYu30hPTuUCyjP2BOOdiKc19 Seim0vRym4CW2woew6H3WZGk/+Ak0N+Or7H0TTktsjGfgAdFvjz5pkZ/A18ZIr9r5jcku+PPdLA gGR/Q3U4IaG6Z3zF4XQ68oXvl3a4+a4cl3uoMqSDUdpgCrH01E37YlVLqY1Uig== X-Received: by 2002:a05:6a00:3d44:b0:8a0:5eff:ad5b with SMTP id d2e1a72fcca58-8c7ddfafeecmr1358317b3a.33.1795113468690; Thu, 19 Nov 2026 10:37:48 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.37.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:37:48 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Ankur Tyagi Subject: [blacksail][PATCH 45/64] python3-aiohttp: patch CVE-2026-111063 Date: Fri, 20 Nov 2026 07:33:13 +1300 Message-ID: <817f4398c2204be3d9f9ce75c424f02eb58597f6.1795112941.git.ankur.tyagi85@gmail.com> X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:37:57 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132735 From: Ankur Tyagi Details: https://nvd.nist.gov/vuln/detail/cve-2026-111063 Signed-off-by: Ankur Tyagi --- .../python3-aiohttp/CVE-2026-111063.patch | 136 ++++++++++++++++++ .../python/python3-aiohttp_3.14.3.bb | 2 + 2 files changed, 138 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-aiohttp/CVE-2026-111063.patch diff --git a/meta-python/recipes-devtools/python/python3-aiohttp/CVE-2026-111063.patch b/meta-python/recipes-devtools/python/python3-aiohttp/CVE-2026-111063.patch new file mode 100644 index 0000000000..f9654a5a9b --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-aiohttp/CVE-2026-111063.patch @@ -0,0 +1,136 @@ +From 2dcbe838baee9938cdf4f0b7a8c682b92913bb76 Mon Sep 17 00:00:00 2001 +From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> +Date: Sun, 27 Sep 2026 21:27:34 +0100 +Subject: [PATCH] [PR #13830/e11d2836 backport][3.14] Fix secure shared cookie + (#13832) + +**This is a backport of PR #13830 as merged into master +(e11d2836203a21bec59095498e578d37801027e7).** + +Co-authored-by: Sam Bull +(cherry picked from commit 999c356d61e966faffa97b06ab0d0455226d36c5) + +CVE: CVE-2026-111063 +Upstream-Status: Backport [https://github.com/aio-libs/aiohttp/commit/999c356d61e966faffa97b06ab0d0455226d36c5] + +Signed-off-by: Ankur Tyagi +--- + CHANGES/13830.bugfix.rst | 1 + + aiohttp/cookiejar.py | 3 +++ + docs/client_reference.rst | 3 ++- + docs/spelling_wordlist.txt | 1 + + tests/test_client_functional.py | 9 +++++++-- + tests/test_cookiejar.py | 28 ++++++++++++++++++++++++++++ + 6 files changed, 42 insertions(+), 3 deletions(-) + create mode 100644 CHANGES/13830.bugfix.rst + +diff --git a/CHANGES/13830.bugfix.rst b/CHANGES/13830.bugfix.rst +new file mode 100644 +index 000000000..2a3976924 +--- /dev/null ++++ b/CHANGES/13830.bugfix.rst +@@ -0,0 +1 @@ ++Fixed ``CookieJar.filter_cookies()`` sending shared cookies (cookies without a ``Domain`` attribute) marked ``Secure`` over unencrypted connections -- by :user:`Dreamsorcerer`. +diff --git a/aiohttp/cookiejar.py b/aiohttp/cookiejar.py +index 2b9722470..0d2f3e05c 100644 +--- a/aiohttp/cookiejar.py ++++ b/aiohttp/cookiejar.py +@@ -478,6 +478,9 @@ class CookieJar(AbstractCookieJar): + # Send shared cookie + key = ("", "") + for c in self._cookies[key].values(): ++ if is_not_secure and c["secure"]: ++ continue ++ + # Check cache first + if c.key in self._morsel_cache[key]: + filtered[c.key] = self._morsel_cache[key][c.key] +diff --git a/docs/client_reference.rst b/docs/client_reference.rst +index 734201128..a237fb64b 100644 +--- a/docs/client_reference.rst ++++ b/docs/client_reference.rst +@@ -2544,7 +2544,8 @@ Utilities + :param ~yarl.URL response_url: URL of response, ``None`` for *shared + cookies*. Regular cookies are coupled with server's URL and + are sent only to this server, shared ones are sent in every +- client request. ++ client request (except that shared cookies marked ``Secure`` ++ are only sent over encrypted connections). + + .. method:: filter_cookies(request_url) + +diff --git a/docs/spelling_wordlist.txt b/docs/spelling_wordlist.txt +index 24561f52d..88638bf12 100644 +--- a/docs/spelling_wordlist.txt ++++ b/docs/spelling_wordlist.txt +@@ -369,6 +369,7 @@ un + unawaited + unclosed + undercounting ++unencrypted + unescaped + unhandled + unicode +diff --git a/tests/test_client_functional.py b/tests/test_client_functional.py +index 9470876d0..639ca4606 100644 +--- a/tests/test_client_functional.py ++++ b/tests/test_client_functional.py +@@ -2909,12 +2909,17 @@ async def test_morsel_with_attributes(aiohttp_client) -> None: + c = http.cookies.Morsel() + c.set("test3", "456", "456") + c["httponly"] = True +- c["secure"] = True + c["max-age"] = 1000 + ++ # A Secure shared cookie must be withheld entirely: the test server ++ # is plain http, so it must not reach the handler at all. ++ c2: http.cookies.Morsel[str] = http.cookies.Morsel() ++ c2.set("test4", "789", "789") ++ c2["secure"] = True ++ + app = web.Application() + app.router.add_get("/", handler) +- client = await aiohttp_client(app, cookies={"test2": c}) ++ client = await aiohttp_client(app, cookies={"test2": c, "test4": c2}) + + async with client.get("/") as resp: + assert 200 == resp.status +diff --git a/tests/test_cookiejar.py b/tests/test_cookiejar.py +index 9276ff252..9f279801b 100644 +--- a/tests/test_cookiejar.py ++++ b/tests/test_cookiejar.py +@@ -1206,6 +1206,34 @@ async def test_treat_as_secure_origin() -> None: + assert len(filtered_cookies) == 1 + + ++async def test_treat_as_secure_origin_sends_secure_shared_cookie() -> None: ++ endpoint = URL("http://127.0.0.1/") ++ ++ jar = CookieJar(unsafe=True, treat_as_secure_origin=[endpoint]) ++ jar.update_cookies(SimpleCookie("shared-secure-cookie=first; Secure;")) ++ ++ filtered_cookies = jar.filter_cookies(request_url=endpoint) ++ assert "shared-secure-cookie" in filtered_cookies ++ ++ ++async def test_filter_cookies_with_secure_shared_cookie() -> None: ++ """Secure shared cookies (no Domain attribute) must not be sent over cleartext.""" ++ jar = CookieJar() ++ jar.update_cookies( ++ SimpleCookie("shared-secure-cookie=first; Secure; shared-cookie=second;") ++ ) ++ ++ filtered = jar.filter_cookies(URL("http://example.com/")) ++ assert set(filtered.keys()) == {"shared-cookie"} ++ ++ filtered = jar.filter_cookies(URL("https://example.com/")) ++ assert set(filtered.keys()) == {"shared-cookie", "shared-secure-cookie"} ++ ++ # The morsel cached by the https request must not bypass the Secure check. ++ filtered = jar.filter_cookies(URL("http://example.com/")) ++ assert set(filtered.keys()) == {"shared-cookie"} ++ ++ + async def test_filter_cookies_does_not_leak_memory() -> None: + """Test that filter_cookies doesn't create empty cookie entries. + diff --git a/meta-python/recipes-devtools/python/python3-aiohttp_3.14.3.bb b/meta-python/recipes-devtools/python/python3-aiohttp_3.14.3.bb index b862076869..3f97b89ef2 100644 --- a/meta-python/recipes-devtools/python/python3-aiohttp_3.14.3.bb +++ b/meta-python/recipes-devtools/python/python3-aiohttp_3.14.3.bb @@ -6,6 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b5e9e27554f71f0f132919037cb967b2" SRC_URI[sha256sum] = "9491196535a88924a60afd5b5f434b5b203b6cc616250878dbdb223a8f7844bc" +SRC_URI += "file://CVE-2026-111063.patch" + CVE_PRODUCT = "aiohttp:aiohttp" CVE_STATUS_GROUPS = "CVE_AIOHTTP_FIX_3_13_4" CVE_AIOHTTP_FIX_3_13_4[status] = "fixed-version: fixed in 3.13.4" From patchwork Thu Nov 19 18:33:14 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104980 Received: from mail-pg1-f170.google.com (mail-pg1-f170.google.com [209.85.215.170]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.1898.1795113471875619374 for ; Thu, 19 Nov 2026 10:37:51 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=kugwcANC; spf=pass (domain: gmail.com, ip: 209.85.215.170, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pg1-f170.google.com with SMTP id 41be03b00d2f7-cd69954c755so47529a12.3 for ; Thu, 19 Nov 2026 10:37:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113471; x=1795718271; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=SAF7qDbL8eA6kMUKZU8F1PSUIQVQEg3hxxtPho6fm+0=; b=kugwcANCU+1Oc1HWK7UUlwzZ/8ijaBwks54zp4swgWjpBfXVf41vx0FVNqD1mEHGrO /PRPr3pqzayftuYv/KLjGfeDdfeo+CJkeWAXkZb5A9lmldT8A8zKMm6H6Elo6ONfaIWC rpC66sSVs/p+QPp762/kXU7LgecXmf/tRndln/GnX2HR+hTO1FMSygPO2QPjwGmAtJQh r+WH6TgAsMX7FYp3rqXj7NlJRKJpDFmDPKZMVnhZ02uV8mqjmAioSWtsDcxycpAwJknh Y8lX0St/1sOwuORZu3SeOV3lwQ+uPWSYjCK/P3GcZW5YtRj5PRkmq2ek1qbiwKahRCAI 1Ilg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113471; x=1795718271; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=SAF7qDbL8eA6kMUKZU8F1PSUIQVQEg3hxxtPho6fm+0=; b=pD77NehFvDC8WV3ptFdah/lggHw/c5KvRCOkcfcCznlZLuOlustf3G4SW3prhNxYRs FeJpBT/iCfE4o9vd7+WM3kFtGucfBGkmgoDIk9HUewtwe7k5TpHVROid0YzAplaGnNMQ 9RBO32EkcOEyezQmaOyLSK3ml7mgtGG3bpETm/21hU9jAMJv+zNmKQUtEZ5yIG2X4XMq HAiqUVtoonBCyvawtwgv3Lcbs8vVU/RrY3G3WzTP9ysuahAio1gn/hsxnzdI1Ec9Tcbm dD9q4wm9nvpaaVU88bvTF8RLJbDzQn4/VnVBI8MinO9EODX7uBQLSWMytE2nMrE6BBQR QgoA== X-Gm-Message-State: APuU4Z9aQatMHoeh1eVEvC1qgtki7NzMq08J/zOBNuj4IjlgB/v8za++ BBOs3XUgLg/6GHvpvHA8tx0iGWk3QfhB1a4GhDfnC7FiMrmDv/rlNH3XPNtaig== X-Gm-Gg: AYBFou29gfz9kt084a2no+3DB+inOgHLwKn/InNqE1TAMbiVtKUGzgq4VQzbzJVpl0n JoXBEI72vPhYUY+VMcKdnrUVjm9eABUBjcb4Jv4yLAb3lqiVodv4T2pWpovLDz69iSg6CnwNHVT +LJkn0/EvLW32Gwp0cJIWmwUMk5ARoyAh9AXTHMo9ItMsrOiNN9MF01XlO3Urz1gZ90ouhFAFYF Dpl5oTxjt+vh2dZflqI8FuOiDVdJPrLeq8LRsZjq+rw+NdT8Di62I9WRk5EcQnny9sGDc67OJsR 5AW65F1OAB4tXENc1czWW68XO5JQGG4TGFSDXuZyhyLLR4NyOtR1aiFgv1/T3zWZWEl+w3t/W0p XLAPwGy0m/D6geZD7vblpNxyiQX/YDqg/l3bJJC/f90tR+IIziag66JFHnMUrAb/sIjjhocVDxA Zb7suUTON+Nwl9OodWzW/lSZIP/i6vaLeuNlOad9ByA8fNscaza/A5wRSGnKa878oDBTIPyXKEH 0FHltsOdc+cjqUiKev4mGAePSdyvU1fiepkRYEdZ2myqP656AUXmNw8b3Vmavu7wBSn+k5srR/l I4PY10wLfaxODxxYxPKGcIaUPval+NkWdzAjk4roC5HK3cnc9Tc99zQmSOb+/w== X-Received: by 2002:a05:6a20:a128:b0:3eb:af80:78c4 with SMTP id adf61e73a8af0-401493a6873mr592753637.3.1795113471148; Thu, 19 Nov 2026 10:37:51 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.37.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:37:50 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Ankur Tyagi Subject: [blacksail][PATCH 46/64] python3-aiohttp: patch CVE-2026-111065 Date: Fri, 20 Nov 2026 07:33:14 +1300 Message-ID: X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:37:57 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132736 From: Ankur Tyagi Details: https://nvd.nist.gov/vuln/detail/cve-2026-111065 Signed-off-by: Ankur Tyagi --- .../python3-aiohttp/CVE-2026-111065.patch | 172 ++++++++++++++++++ .../python/python3-aiohttp_3.14.3.bb | 4 +- 2 files changed, 175 insertions(+), 1 deletion(-) create mode 100644 meta-python/recipes-devtools/python/python3-aiohttp/CVE-2026-111065.patch diff --git a/meta-python/recipes-devtools/python/python3-aiohttp/CVE-2026-111065.patch b/meta-python/recipes-devtools/python/python3-aiohttp/CVE-2026-111065.patch new file mode 100644 index 0000000000..affe7e62a9 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-aiohttp/CVE-2026-111065.patch @@ -0,0 +1,172 @@ +From 16a92b236b34f86d3873e29292b78159dd3ff19f Mon Sep 17 00:00:00 2001 +From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> +Date: Wed, 9 Sep 2026 14:43:30 +0100 +Subject: [PATCH] [PR #13677/9e08ba02 backport][3.14] Fix cookie overflow + (#13679) + +**This is a backport of PR #13677 as merged into master +(9e08ba02abe573ce9e4cc541d4e3c3646adb43a7).** + +--------- + +Co-authored-by: Sam Bull +(cherry picked from commit 9dd8eaf4e31f1237ef2c1574a8c82a739fca5805) + +CVE: CVE-2026-111065 +Upstream-Status: Backport [https://github.com/aio-libs/aiohttp/commit/9dd8eaf4e31f1237ef2c1574a8c82a739fca5805] + +Signed-off-by: Ankur Tyagi +--- + CHANGES/13677.bugfix.rst | 1 + + aiohttp/client.py | 5 ++++ + aiohttp/cookiejar.py | 10 ++++++- + tests/test_client_functional.py | 46 ++++++++++++++++++++++++++++++++- + tests/test_cookiejar.py | 22 ++++++++++++++++ + 5 files changed, 82 insertions(+), 2 deletions(-) + create mode 100644 CHANGES/13677.bugfix.rst + +diff --git a/CHANGES/13677.bugfix.rst b/CHANGES/13677.bugfix.rst +new file mode 100644 +index 000000000..bea67cba7 +--- /dev/null ++++ b/CHANGES/13677.bugfix.rst +@@ -0,0 +1 @@ ++Fixed a possible ``OverflowError`` on cookies and a connection not being closed properly -- by :user:`Dreamsorcerer`. +diff --git a/aiohttp/client.py b/aiohttp/client.py +index 12f236d6c..df9fbd8c9 100644 +--- a/aiohttp/client.py ++++ b/aiohttp/client.py +@@ -697,6 +697,7 @@ class ClientSession: + + timer = tm.timer() + req: ClientRequest | None = None ++ resp: ClientResponse | None = None + try: + with timer: + # https://www.rfc-editor.org/rfc/rfc9112.html#name-retrying-requests +@@ -1020,6 +1021,10 @@ class ClientSession: + handle.cancel() + handle = None + ++ if resp is not None: ++ # A failure occurred after the response was received. ++ resp.close() ++ + if req is not None and req._body is not None: + await req._body.close() + +diff --git a/aiohttp/cookiejar.py b/aiohttp/cookiejar.py +index 0d2f3e05c..b949cc118 100644 +--- a/aiohttp/cookiejar.py ++++ b/aiohttp/cookiejar.py +@@ -425,7 +425,15 @@ class CookieJar(AbstractCookieJar): + if max_age := cookie["max-age"]: + try: + delta_seconds = int(max_age) +- max_age_expiration = min(time.time() + delta_seconds, self.MAX_TIME) ++ # https://datatracker.ietf.org/doc/html/rfc6265#section-5.2.2 ++ if delta_seconds <= 0: ++ max_age_expiration = 0.0 ++ else: ++ # Cap first to protect against OverflowError on next line. ++ delta_seconds = min(delta_seconds, self.MAX_TIME) ++ max_age_expiration = min( ++ time.time() + delta_seconds, self.MAX_TIME ++ ) + self._expire_cookie(max_age_expiration, domain, path, name) + except ValueError: + cookie["max-age"] = "" +diff --git a/tests/test_client_functional.py b/tests/test_client_functional.py +index 639ca4606..f07104b81 100644 +--- a/tests/test_client_functional.py ++++ b/tests/test_client_functional.py +@@ -15,7 +15,7 @@ import tarfile + import time + import zipfile + import zlib +-from collections.abc import AsyncIterator, Awaitable, Callable ++from collections.abc import AsyncIterator, Awaitable, Callable, Sequence + from contextlib import suppress + from typing import Any, NoReturn + from unittest import mock +@@ -3050,6 +3050,50 @@ async def test_set_cookies_max_age_overflow(aiohttp_client) -> None: + assert int(cookie["max-age"]) == int(overflow) + + ++async def test_connection_released_when_cookie_processing_fails( ++ aiohttp_client: AiohttpClient, ++) -> None: ++ class EvilJar(aiohttp.CookieJar): ++ def update_cookies_from_headers( ++ self, headers: Sequence[str], response_url: URL ++ ) -> None: ++ raise RuntimeError("boom") ++ ++ hold = asyncio.Event() ++ ++ async def hostile(request: web.Request) -> web.StreamResponse: ++ ret = web.StreamResponse() ++ ret.content_length = 2 ++ ret.set_cookie("sid", "x") ++ await ret.prepare(request) ++ await ret.write(b"x") ++ await hold.wait() ++ assert False ++ ++ async def clean(request: web.Request) -> web.Response: ++ return web.Response() ++ ++ app = web.Application() ++ app.router.add_get("/hostile", hostile) ++ app.router.add_get("/clean", clean) ++ connector = aiohttp.TCPConnector(limit=1) ++ client = await aiohttp_client(app, connector=connector, cookie_jar=EvilJar()) ++ ++ try: ++ for _ in range(2): ++ with pytest.raises(RuntimeError, match="boom") as excinfo: ++ await client.get("/hostile") ++ assert not connector._acquired ++ del excinfo ++ ++ # The single connector slot is free again: an unaffected request ++ # succeeds instead of waiting forever for a connection. ++ async with client.get("/clean") as resp: ++ assert resp.status == 200 ++ finally: ++ hold.set() ++ ++ + async def test_request_conn_error() -> None: + client = aiohttp.ClientSession() + with pytest.raises(aiohttp.ClientConnectionError): +diff --git a/tests/test_cookiejar.py b/tests/test_cookiejar.py +index 9f279801b..be6da2a5f 100644 +--- a/tests/test_cookiejar.py ++++ b/tests/test_cookiejar.py +@@ -2069,3 +2069,25 @@ async def test_cookie_jar_unsafe_property() -> None: + + jar_unsafe = CookieJar(unsafe=True) + assert jar_unsafe.unsafe is True ++ ++ ++async def test_update_cookies_max_age_beyond_float_range_is_clamped() -> None: ++ """A hostile Max-Age larger than float max must clamp, not raise OverflowError.""" ++ url = URL("https://example.com/") ++ jar = CookieJar() ++ ++ jar.update_cookies_from_headers([f"sid=x; Max-Age={'9' * 309}"], url) ++ ++ assert "sid" in jar.filter_cookies(url) ++ assert jar._expirations[("example.com", "", "sid")] == CookieJar.MAX_TIME ++ ++ ++async def test_update_cookies_negative_max_age_beyond_float_range_expires() -> None: ++ """A negative Max-Age below float min must expire the cookie, not raise.""" ++ url = URL("https://example.com/") ++ jar = CookieJar() ++ ++ jar.update_cookies_from_headers([f"sid=x; Max-Age=-{'9' * 309}"], url) ++ ++ assert "sid" not in jar.filter_cookies(url) ++ assert len(jar) == 0 diff --git a/meta-python/recipes-devtools/python/python3-aiohttp_3.14.3.bb b/meta-python/recipes-devtools/python/python3-aiohttp_3.14.3.bb index 3f97b89ef2..f3bb555408 100644 --- a/meta-python/recipes-devtools/python/python3-aiohttp_3.14.3.bb +++ b/meta-python/recipes-devtools/python/python3-aiohttp_3.14.3.bb @@ -6,7 +6,9 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b5e9e27554f71f0f132919037cb967b2" SRC_URI[sha256sum] = "9491196535a88924a60afd5b5f434b5b203b6cc616250878dbdb223a8f7844bc" -SRC_URI += "file://CVE-2026-111063.patch" +SRC_URI += "file://CVE-2026-111063.patch \ + file://CVE-2026-111065.patch \ +" CVE_PRODUCT = "aiohttp:aiohttp" CVE_STATUS_GROUPS = "CVE_AIOHTTP_FIX_3_13_4" From patchwork Thu Nov 19 18:33:15 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104981 Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.1899.1795113474213917996 for ; Thu, 19 Nov 2026 10:37:54 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=WyAAyp1a; spf=pass (domain: gmail.com, ip: 209.85.210.180, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f180.google.com with SMTP id d2e1a72fcca58-8c5ebbc5150so86268b3a.3 for ; Thu, 19 Nov 2026 10:37:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113473; x=1795718273; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=jkOSClZIalhZgkHS9HxGU4OnrmAudc4stNu0zE/BspI=; b=WyAAyp1aMSZkZT87MPc19rLu/dKmcOKSsIJ8swcsOjjvz2CFMrch5CXOYuFtMtArOl VV4yPOjCj8q9Zz9EsOXW0Rt5CtFElt1Q0VJUsrsIpkks9h9raMppL5RLPQ0Oa0NXJdQN AEIS5ZhJRPCVBM5wrLYOkwKHT/P9rYrXCaSunFDYw7L4mtkXbuedd2cPNijNLKaM5wXa /rV6oFEWtGtZrKNQYQiLCqr+VQc+daRkIhfmcZid44pMCQ3wyaYageVX+SDyEVw88WWN pPioO6w5M9cdAmgkX3GnBwrr6aMdSA3/Wp3/qdOvWMtSc53mE1S+Jm8ale4D6agwMQsD +nqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113473; x=1795718273; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=jkOSClZIalhZgkHS9HxGU4OnrmAudc4stNu0zE/BspI=; b=ib1IqBb0kTej2cQSZ8UwQ7YagnVgRQtYDXkrsN12XX0Cs3PcPm2PyUi91OAKARKPd9 q+D+8y3xxQQP6TJC75RtGMbu0imO4In5gKlMJCbE6j87Wo77okTBbU09SKGO0ScR4aXK NUvnWyLE4bKPyfkabq9hMjNK6In2w1bTqGLH4Z745AoMwEhZfCYK3oiTcnHRioVaL6Mv TNu0CEI/qvTCd9+Vb1KdmmVF1hiQc05I3oBIxz5drJx05PivH+6gGD3WWWM61NW91zWg pfQV26R480xjvn7ZDN4oUC/OFzrBlqDYN1bP1B2mK6uXYsWl0dFUX7U6Kee/hIUDhY7N ltWQ== X-Gm-Message-State: APuU4Z+vML5/YRtVaK9SMLizBb8djGQEN2T5A41vjjTr2KELlE+/CNyx xvMGaFwY9VzpRSqcUdovTVXx0XB35qDv1D1XYLBIn0eymuZwVUq8AJvvTbLGog== X-Gm-Gg: AYBFou1+SOQX4fvojF0GRfRjy63r+Co0RsnJKjaOoqvp34194mJ3shIAx8pbZmu0Hzn 0F79vF7MqsyozY/amLz4Dgl/02z7MoFeiBGAgbCF9QebzSVvQHE2dtwKr/fPgDkXiyLMB9j6ceX 4J1hRNxUF3glUUchODna/YsEee7x/JGwjT6y50U0WE0T1qCk//thQYUS/EfcxkuteSMN3gVipx/ YjcTMfalxwSIE1STO2o3h14T/OiKInVeaw8DSarCaYqJuv2F06IC9CiwIB5FgW+8ZvQG3nOuokk 7JHYaf5kYcJhRpHurROBPBN85X9kPucbPdyQx0B/HpCG6vWtN4Oz6p12p2R7NG6x0Lxv9+XdqjK q9fbA8rNOrrlqx/4cKkvIvtj0s7ccpkKlOixRQgAnhtTNzqmaDDut8w016leapaZrzO3cMHEMBK OcpIPE7TGsnrIlScFV7aKvpYVWiki3IT35Nqjkl+2qZr0/9rGuyIPkIVwOyLF3OJwK1NL3MGLkD AQSWis3DEYj5an7Ch2ZrwNO4sBeZr4yfrLTE8jmGBXnfrtBUqB37yDtagPNVryH7YCGmz0qjvIF F/5SK92j6n86Ri9lzFCQjiNVA2IIsuQlqBYUeohZVZ8NXvvGzcYYW2HWiM2rjA== X-Received: by 2002:a05:6a00:13a4:b0:886:3827:c4a2 with SMTP id d2e1a72fcca58-8c8792b5df2mr430410b3a.3.1795113473405; Thu, 19 Nov 2026 10:37:53 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.37.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:37:53 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Ankur Tyagi Subject: [blacksail][PATCH 47/64] python3-aiohttp: patch CVE-2026-111066 Date: Fri, 20 Nov 2026 07:33:15 +1300 Message-ID: <51f8d0ddd4dd187832a0716a786800d546aad175.1795112941.git.ankur.tyagi85@gmail.com> X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:37:57 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132737 From: Ankur Tyagi Details: https://nvd.nist.gov/vuln/detail/cve-2026-111066 Signed-off-by: Ankur Tyagi --- .../python3-aiohttp/CVE-2026-111066.patch | 382 ++++++++++++++++++ .../python/python3-aiohttp_3.14.3.bb | 1 + 2 files changed, 383 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-aiohttp/CVE-2026-111066.patch diff --git a/meta-python/recipes-devtools/python/python3-aiohttp/CVE-2026-111066.patch b/meta-python/recipes-devtools/python/python3-aiohttp/CVE-2026-111066.patch new file mode 100644 index 0000000000..5f11f31d54 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-aiohttp/CVE-2026-111066.patch @@ -0,0 +1,382 @@ +From a45985a1dba1aaacad2b12724b450496a6ab0903 Mon Sep 17 00:00:00 2001 +From: Sam Bull +Date: Tue, 18 Aug 2026 21:54:45 +0100 +Subject: [PATCH] Reduce number of file descriptors needed in multipart + messages (#13426) (#13475) + +(cherry picked from commit c92ed4c48dafd40d5ed4c86587af9e081ac7d971) +(cherry picked from commit 2d94633b7f1b4c1ba07d647b629a8440652b2d09) + +CVE: CVE-2026-111066 +Upstream-Status: Backport [https://github.com/aio-libs/aiohttp/commit/2d94633b7f1b4c1ba07d647b629a8440652b2d09] + +Signed-off-by: Ankur Tyagi +--- + CHANGES/13426.bugfix.rst | 1 + + aiohttp/web_request.py | 91 ++++++++++++++----- + tests/test_web_functional.py | 166 ++++++++++++++++++++++++++++++++++- + 3 files changed, 234 insertions(+), 24 deletions(-) + create mode 100644 CHANGES/13426.bugfix.rst + +diff --git a/CHANGES/13426.bugfix.rst b/CHANGES/13426.bugfix.rst +new file mode 100644 +index 000000000..8b9ee295f +--- /dev/null ++++ b/CHANGES/13426.bugfix.rst +@@ -0,0 +1 @@ ++Switched multipart handling to use spooled temporary files to reduce number of file descriptors needed -- by :user:`Dreamsorcerer`. +diff --git a/aiohttp/web_request.py b/aiohttp/web_request.py +index ca925e2ac..eaed708eb 100644 +--- a/aiohttp/web_request.py ++++ b/aiohttp/web_request.py +@@ -3,13 +3,13 @@ import datetime + import io + import re + import string +-import tempfile ++import sys + import types + import warnings + from collections.abc import Iterator, Mapping, MutableMapping + from re import Pattern + from types import MappingProxyType +-from typing import TYPE_CHECKING, Any, Final, Optional, TypeVar, cast, overload ++from typing import IO, TYPE_CHECKING, Any, Final, Optional, TypeVar, cast, overload + from urllib.parse import parse_qsl + + import attr +@@ -54,6 +54,30 @@ from .typedefs import ( + from .web_exceptions import HTTPRequestEntityTooLarge, NotAppKeyWarning + from .web_response import StreamResponse + ++if sys.version_info >= (3, 11): ++ from tempfile import SpooledTemporaryFile ++else: ++ import tempfile ++ ++ class SpooledTemporaryFile(tempfile.SpooledTemporaryFile[bytes], io.IOBase): ++ """Make the spooled file satisfy the documented `FileField.file` type. ++ ++ `tempfile.SpooledTemporaryFile` only became an `io.IOBase` subclass in ++ 3.11 (python/cpython#70363), and never grew the three capability ++ predicates before then. Both underlying files (`io.BytesIO` before ++ rollover, a `w+b` temp file after) are readable, writable and seekable. ++ """ ++ ++ def readable(self) -> bool: ++ return True ++ ++ def writable(self) -> bool: ++ return True ++ ++ def seekable(self) -> bool: ++ return True ++ ++ + __all__ = ("BaseRequest", "FileField", "Request") + + +@@ -66,11 +90,18 @@ if TYPE_CHECKING: + _T = TypeVar("_T") + + ++# Multipart file parts are buffered in memory and only spilled to a temporary ++# file once they outgrow this size. A temp file per part would let a body made ++# of many tiny parts exhaust the process's file descriptors; spooling bounds ++# that at ``client_max_size // _FILE_SPOOL_MAX_SIZE`` descriptors per request. ++_FILE_SPOOL_MAX_SIZE: Final[int] = 1024**2 ++ ++ + @attr.s(auto_attribs=True, frozen=True, slots=True) + class FileField: + name: str + filename: str +- file: io.BufferedReader ++ file: IO[bytes] + content_type: str + headers: CIMultiDictProxy[str] + +@@ -754,8 +785,13 @@ class BaseRequest(MutableMapping[str | RequestKey[Any], Any], HeadersMixin): + multipart = await self.multipart() + max_size = self._client_max_size + +- size = 0 ++ payload = self._payload + while (field := await multipart.next()) is not None: ++ # This check is needed for empty payloads, which still add ++ # overhead without entering the loop and the check below. ++ if 0 < max_size < payload.total_bytes: ++ raise HTTPRequestEntityTooLarge(max_size) ++ + field_ct = field.headers.get(hdrs.CONTENT_TYPE) + + if isinstance(field, BodyPartReader): +@@ -767,20 +803,35 @@ class BaseRequest(MutableMapping[str | RequestKey[Any], Any], HeadersMixin): + # present. + # https://tools.ietf.org/html/rfc7578#section-4.4 + if field.filename: +- # store file in temp file +- tmp = await self._loop.run_in_executor( +- None, tempfile.TemporaryFile +- ) ++ tmp = SpooledTemporaryFile(_FILE_SPOOL_MAX_SIZE) ++ # rolled means the temp file now uses the disk, at ++ # which point we want to run in the executor. ++ rolled = False + while chunk := await field.read_chunk(size=DEFAULT_CHUNK_SIZE): ++ # Bounds one part, mid-read. ++ if 0 < max_size < payload.total_bytes: ++ if rolled: ++ await self._loop.run_in_executor(None, tmp.close) ++ else: ++ tmp.close() ++ raise HTTPRequestEntityTooLarge(max_size) + async for decoded_chunk in field.decode_iter(chunk): +- await self._loop.run_in_executor( +- None, tmp.write, decoded_chunk ++ # Update before writing, so we know if next ++ # write is going to hit the disk. ++ rolled = rolled or ( ++ tmp.tell() + len(decoded_chunk) ++ > _FILE_SPOOL_MAX_SIZE + ) +- size += len(decoded_chunk) +- if 0 < max_size < size: +- await self._loop.run_in_executor(None, tmp.close) +- raise HTTPRequestEntityTooLarge(max_size) +- await self._loop.run_in_executor(None, tmp.seek, 0) ++ if rolled: ++ await self._loop.run_in_executor( ++ None, tmp.write, decoded_chunk ++ ) ++ else: ++ tmp.write(decoded_chunk) ++ if rolled: ++ await self._loop.run_in_executor(None, tmp.seek, 0) ++ else: ++ tmp.seek(0) + + if field_ct is None: + field_ct = "application/octet-stream" +@@ -788,7 +839,7 @@ class BaseRequest(MutableMapping[str | RequestKey[Any], Any], HeadersMixin): + ff = FileField( + field.name, + field.filename, +- cast(io.BufferedReader, tmp), ++ tmp, + field_ct, + field.headers, + ) +@@ -797,8 +848,7 @@ class BaseRequest(MutableMapping[str | RequestKey[Any], Any], HeadersMixin): + # deal with ordinary data + raw_data = bytearray() + while chunk := await field.read_chunk(): +- size += len(chunk) +- if 0 < max_size < size: ++ if 0 < max_size < payload.total_bytes: + raise HTTPRequestEntityTooLarge(max_size) + raw_data.extend(chunk) + +@@ -865,10 +915,7 @@ class BaseRequest(MutableMapping[str | RequestKey[Any], Any], HeadersMixin): + if self._post is None or self.content_type != "multipart/form-data": + return + +- # NOTE: Release file descriptors for the +- # NOTE: `tempfile.Temporaryfile`-created `_io.BufferedRandom` +- # NOTE: instances of files sent within multipart request body +- # NOTE: via HTTP POST request. ++ # Release the temp files created within multipart request body. + for file_name, file_field_object in self._post.items(): + if isinstance(file_field_object, FileField): + file_field_object.file.close() +diff --git a/tests/test_web_functional.py b/tests/test_web_functional.py +index d126347aa..78304a72c 100644 +--- a/tests/test_web_functional.py ++++ b/tests/test_web_functional.py +@@ -1,6 +1,8 @@ + import asyncio ++import base64 + import io + import json ++import os + import pathlib + import socket + import sys +@@ -31,6 +33,7 @@ from aiohttp.pytest_plugin import AiohttpClient, AiohttpServer + from aiohttp.streams import StreamReader + from aiohttp.typedefs import Handler + from aiohttp.web_protocol import MAX_MSG_QUEUE_SIZE, RequestHandler ++from aiohttp.web_request import _FILE_SPOOL_MAX_SIZE + + try: + import brotlicffi as brotli +@@ -2072,8 +2075,167 @@ async def test_post_max_client_size_for_file(aiohttp_client) -> None: + await resp.release() + + +-async def test_response_with_bodypart(aiohttp_client) -> None: +- async def handler(request): ++def _multipart_file_parts(count: int, body: bytes = b"") -> bytes: ++ """Raw multipart/form-data body of ``count`` file parts, boundary ``b``.""" ++ return ( ++ b"".join( ++ b'--b\r\nContent-Disposition: form-data; name="f%d"; ' ++ b'filename="x"\r\n\r\n' % index + body + b"\r\n" ++ for index in range(count) ++ ) ++ + b"--b--\r\n" ++ ) ++ ++ ++async def test_post_max_client_size_counts_multipart_headers( ++ aiohttp_client: AiohttpClient, ++) -> None: ++ async def handler(request: web.Request) -> NoReturn: ++ await request.post() ++ assert False ++ ++ app = web.Application(client_max_size=1) ++ app.router.add_post("/", handler) ++ client = await aiohttp_client(app) ++ ++ body = _multipart_file_parts(55) ++ assert len(body) > 1 ++ async with client.post( ++ "/", data=body, headers={CONTENT_TYPE: "multipart/form-data; boundary=b"} ++ ) as resp: ++ assert resp.status == 413 ++ ++ ++@pytest.mark.parametrize( ++ "max_size", ++ (_FILE_SPOOL_MAX_SIZE, 2 * _FILE_SPOOL_MAX_SIZE), ++ ids=("spooled", "rolled-over"), ++) ++async def test_post_max_client_size_within_single_part( ++ aiohttp_client: AiohttpClient, max_size: int ++) -> None: ++ async def handler(request: web.Request) -> NoReturn: ++ await request.post() ++ assert False ++ ++ app = web.Application(client_max_size=max_size) ++ app.router.add_post("/", handler) ++ client = await aiohttp_client(app) ++ ++ # A sole oversized part is never followed by a boundary, so only the ++ # per-chunk check can reject it, and it must do so before buffering. The ++ # larger limit lets the part reach the disk first, so the spool is then ++ # closed off the event loop too. ++ data = FormData() ++ with io.BytesIO(b"x" * (3 * _FILE_SPOOL_MAX_SIZE)) as file_handle: ++ data.add_field("file", file_handle, filename="x.bin") ++ async with client.post("/", data=data) as resp: ++ assert resp.status == 413 ++ ++ ++@pytest.mark.parametrize("filename", (b"", b'; filename="x"'), ids=("field", "file")) ++async def test_post_max_client_size_counts_undecoded_bytes( ++ aiohttp_client: AiohttpClient, filename: bytes ++) -> None: ++ async def handler(request: web.Request) -> NoReturn: ++ await request.post() ++ assert False ++ ++ limit = 64 * 1024 ++ app = web.Application(client_max_size=limit) ++ app.router.add_post("/", handler) ++ client = await aiohttp_client(app) ++ ++ # base64 decodes to exactly the limit but arrives 4/3 larger. The limit is ++ # on the request body, so both kinds of part must reject it alike. ++ encoded = base64.b64encode(b"A" * limit) ++ assert len(encoded) > limit ++ body = ( ++ b'--b\r\nContent-Disposition: form-data; name="f"' + filename + b"\r\n" ++ b"Content-Transfer-Encoding: base64\r\n\r\n" + encoded + b"\r\n--b--\r\n" ++ ) ++ async with client.post( ++ "/", data=body, headers={CONTENT_TYPE: "multipart/form-data; boundary=b"} ++ ) as resp: ++ assert resp.status == 413 ++ ++ ++@pytest.mark.skipif(not os.path.isdir("/dev/fd"), reason="needs /dev/fd to count fds") ++@pytest.mark.parametrize( ++ ("parts", "part_body", "expected_fds"), ++ ( ++ (55, b"payload", 0), ++ (1, b"x" * (_FILE_SPOOL_MAX_SIZE + 1), 1), ++ ), ++ ids=("many-small-parts", "one-oversized-part"), ++) ++async def test_post_file_fields_descriptor_cost( ++ aiohttp_client: AiohttpClient, parts: int, part_body: bytes, expected_fds: int ++) -> None: ++ """Only a part past the spool size may cost a descriptor.""" ++ ++ async def handler(request: web.Request) -> web.Response: ++ before = set(await asyncio.to_thread(os.listdir, "/dev/fd")) ++ data = await request.post() ++ after = set(await asyncio.to_thread(os.listdir, "/dev/fd")) ++ assert len(data) == parts ++ return web.Response(text=str(len(after - before))) ++ ++ app = web.Application(client_max_size=8 * 1024**2) ++ app.router.add_post("/", handler) ++ client = await aiohttp_client(app) ++ ++ with io.BytesIO(_multipart_file_parts(parts, part_body)) as body: ++ async with client.post( ++ "/", ++ data=body, ++ headers={CONTENT_TYPE: "multipart/form-data; boundary=b"}, ++ ) as resp: ++ assert resp.status == 200 ++ assert await resp.text() == str(expected_fds) ++ ++ ++@pytest.mark.parametrize( ++ "size", ++ ( ++ 0, ++ 1, ++ _FILE_SPOOL_MAX_SIZE - 1, ++ _FILE_SPOOL_MAX_SIZE, ++ _FILE_SPOOL_MAX_SIZE + 1, ++ ), ++) ++async def test_post_file_field_spool_rollover( ++ aiohttp_client: AiohttpClient, size: int ++) -> None: ++ """A part is byte-identical either side of the spool/temp-file boundary.""" ++ payload = (b"0123456789abcdef" * (size // 16 + 1))[:size] ++ ++ async def handler(request: web.Request) -> web.Response: ++ field = (await request.post())["file"] ++ assert isinstance(field, aiohttp.web_request.FileField) ++ assert isinstance(field.file, io.IOBase) ++ assert field.file.readable() ++ assert field.file.writable() ++ assert field.file.seekable() ++ content = await asyncio.to_thread(field.file.read) ++ assert len(content) == size ++ assert content == payload ++ return web.Response() ++ ++ app = web.Application(client_max_size=8 * 1024**2) ++ app.router.add_post("/", handler) ++ client = await aiohttp_client(app) ++ ++ data = FormData() ++ with io.BytesIO(payload) as file_handle: ++ data.add_field("file", file_handle, filename="x.bin") ++ async with client.post("/", data=data) as resp: ++ assert resp.status == 200 ++ ++ ++async def test_response_with_bodypart(aiohttp_client: AiohttpClient) -> None: ++ async def handler(request: web.Request) -> web.Response: + reader = await request.multipart() + part = await reader.next() + return web.Response(body=part) diff --git a/meta-python/recipes-devtools/python/python3-aiohttp_3.14.3.bb b/meta-python/recipes-devtools/python/python3-aiohttp_3.14.3.bb index f3bb555408..2477b6a0e8 100644 --- a/meta-python/recipes-devtools/python/python3-aiohttp_3.14.3.bb +++ b/meta-python/recipes-devtools/python/python3-aiohttp_3.14.3.bb @@ -8,6 +8,7 @@ SRC_URI[sha256sum] = "9491196535a88924a60afd5b5f434b5b203b6cc616250878dbdb223a8f SRC_URI += "file://CVE-2026-111063.patch \ file://CVE-2026-111065.patch \ + file://CVE-2026-111066.patch \ " CVE_PRODUCT = "aiohttp:aiohttp" From patchwork Thu Nov 19 18:33:16 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104982 Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.1901.1795113476395988913 for ; Thu, 19 Nov 2026 10:37:56 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=FnuWyPwK; spf=pass (domain: gmail.com, ip: 209.85.210.182, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-886e61fa30fso64940b3a.1 for ; Thu, 19 Nov 2026 10:37:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113476; x=1795718276; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=HqOMFeep3KRPc3J5qe/hX98ShiZ+fyhI9KmFYO61Y7s=; b=FnuWyPwK/9d2vJVrlEiDArRphs/KV6pywaIBuAnEJjQ/OiI00pq7/nhOy41kU0st4S /cacHgE3f6T1HRtuOpJ3owEml4MqlUmgJp/GC78YVqFabLj2/ehFa/6bakRAcHvdbgAr DC5KOzr3sDZNgorJkPymgJ++0Ly2nB2p4kWeUIp0ptPfcr9jEjccudFbIQgws9180yxU Yno67s8Mqzx4rTpPIYfy41WSpffNyIy4Xzt1qlo9He576Ui+kKLa1tJHnzKWhbaTGYm8 CkLKJjUCrL1dSaHRI3b5zD8LffwUrV8Jpw1T0twbpnhz/hEl4slPMVVykh2o7LyrFwhf rsHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113476; x=1795718276; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=HqOMFeep3KRPc3J5qe/hX98ShiZ+fyhI9KmFYO61Y7s=; b=JL2VbEFiKTkVTMJBcK7iIH/CbFWA0LcXW2UrPcJ1pY+2e/qbg+Blcf1tEpO4i33Gzw aAGOzf+I1gKtUuIF3f3qkJ11WhpiR+2G+buO20QqZnycS2vIa+HuFAg0ab/BFOFD4gND CFDbBlEqcLi1KPAiH2hvQUQIKkW2kj8beSDoC1o8+ndYm4pvZ09fjH7buLDDQ1QHYt9h 8z68Pz/SlaAPFVon4Vs/xMydNUpxIv/M5nQpKEiD6mNByKPx3ogStGtMIYVjfMW0kPmb ekxXSGvjyKnGuBvZD80Bq+tFvHgvShKfyWGmbxPDtjHHuv735w6CO6Q5xArwhPJ1tSbU cXWA== X-Gm-Message-State: APuU4Z/5/2Sv3eoj10P5L3bbUzuQ5Ne3s/vsUIPQFn6kMjGFcM41r8bj RSSeG5gQWdVYJdteC/mABHipklBPFGg4cBAb0BYmP9ByM+VD5soI7WYr0DXxyg== X-Gm-Gg: AYBFou3xKeOcf51od0J7XHVvslYweHWO6F5vsdTN1y4nWTJQbfy/eVie3ks1XQMKL/2 hyuvWL9BPpCIn9/6Q8MrmaBPCi3NrmmoqDVwupNqu9ahPRlrZWskuN/SIhtP6o3D79Eah+jhvSs pThB3XGaU4df7ZQfnayPiKTi+dbIO8R36nYBMAmeBQdFC5BERuCkGeXU078glMfcSO65G+I3usF Q4rhZ1AEDcXJOgC3rS7nC4QMdMMOpmTIkL1M25XO9/Tt4g5hA74lnQS3w4o9+PNhW7WuxUSGmrJ xWmX51FoFijalDbAaVI/XCYwWdY9SM0EbomtIG3A8sAyrx+abKiB620gma4QE1pxpCdWXk2fs86 fZwgdy7qJBRh2QFDzT7rYYt0nCImmpZsem+5fc1syH2hAAuPp3i4Ij25hnPMSXxBzO7QiYGJzq7 9qUNXl7LN6I6gwaNntO8xMA8JD2pH1gtAogJaX9V1H8GK7S4/UhXjOAXXpohzQFt+OtrSKJzClS aqMwxYDSjK2ihZO8YTuCAZKbKIQn7K0Zh1pE4mpOgenlKH1BcnmujBFhMVMdqIVBlEfSXuQbOAK 1A88asb7JzGTiiXNOfXec8xeTx3DvVFcEPmGJWeirJK5br8kgOY+B5EzP2YwzA== X-Received: by 2002:a05:6a00:1f14:b0:878:34d7:69b2 with SMTP id d2e1a72fcca58-8c87d51d37fmr416199b3a.57.1795113475648; Thu, 19 Nov 2026 10:37:55 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.37.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:37:55 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Ankur Tyagi Subject: [blacksail][PATCH 48/64] python3-aiohttp: patch CVE-2026-111748 Date: Fri, 20 Nov 2026 07:33:16 +1300 Message-ID: <52de27fc3bfdbcc38be5d2218de391b6669e4de2.1795112941.git.ankur.tyagi85@gmail.com> X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:37:57 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132738 From: Ankur Tyagi Details: https://nvd.nist.gov/vuln/detail/cve-2026-111748 Signed-off-by: Ankur Tyagi --- .../python3-aiohttp/CVE-2026-111748.patch | 170 ++++++++++++++++++ .../python/python3-aiohttp_3.14.3.bb | 1 + 2 files changed, 171 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-aiohttp/CVE-2026-111748.patch diff --git a/meta-python/recipes-devtools/python/python3-aiohttp/CVE-2026-111748.patch b/meta-python/recipes-devtools/python/python3-aiohttp/CVE-2026-111748.patch new file mode 100644 index 0000000000..ade4af77a2 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-aiohttp/CVE-2026-111748.patch @@ -0,0 +1,170 @@ +From 75abab9fcf5382fb46947fe9f53142f6aa60abbc Mon Sep 17 00:00:00 2001 +From: Sam Bull +Date: Sun, 27 Sep 2026 18:11:00 +0100 +Subject: [PATCH] Use protocol scheme for absolute-form requests (#13821) + (#13827) (#13828) + +(cherry picked from commit a921cfd0fec28d5a9e5bf8d6f4372b8fa63c49df) +(cherry picked from commit 93d91e37e7c6035d09e89646b3de737735ed91b5) +(cherry picked from commit 6d4e7b01f9b951aa084a75d7356e907d4ee80411) + +CVE: CVE-2026-111748 +Upstream-Status: Backport [https://github.com/aio-libs/aiohttp/commit/6d4e7b01f9b951aa084a75d7356e907d4ee80411] + +Dropped tests changes during the backport + +Signed-off-by: Ankur Tyagi +--- + CHANGES/13821.bugfix.rst | 1 + + aiohttp/_cparser.pxd | 3 ++- + aiohttp/_http_parser.pyx | 29 +++++++++++++++++++++++++---- + aiohttp/http_parser.py | 26 ++++++++++++++++++++++---- + aiohttp/web_request.py | 7 ++++++- + 5 files changed, 56 insertions(+), 10 deletions(-) + create mode 100644 CHANGES/13821.bugfix.rst + +diff --git a/CHANGES/13821.bugfix.rst b/CHANGES/13821.bugfix.rst +new file mode 100644 +index 000000000..f35418d2d +--- /dev/null ++++ b/CHANGES/13821.bugfix.rst +@@ -0,0 +1 @@ ++Fixed the web server trusting the scheme of an absolute-form request-target -- by :user:`Dreamsorcerer`. +diff --git a/aiohttp/_cparser.pxd b/aiohttp/_cparser.pxd +index 903f35c45..3a427002d 100644 +--- a/aiohttp/_cparser.pxd ++++ b/aiohttp/_cparser.pxd +@@ -67,7 +67,8 @@ cdef extern from "llhttp.h": + HTTP_RESPONSE + + enum llhttp_method: +- HTTP_CONNECT ++ HTTP_CONNECT, ++ HTTP_OPTIONS + + void llhttp_settings_init(llhttp_settings_t* settings) + void llhttp_init(llhttp_t* parser, llhttp_type type, +diff --git a/aiohttp/_http_parser.pyx b/aiohttp/_http_parser.pyx +index 0fe6084e5..4660a0c90 100644 +--- a/aiohttp/_http_parser.pyx ++++ b/aiohttp/_http_parser.pyx +@@ -722,12 +722,20 @@ cdef class HttpRequestParser(HttpParser): + return + self._path = self._buf.decode('utf-8', 'surrogateescape') + try: +- idx3 = len(self._path) + if self._cparser.method == cparser.HTTP_CONNECT: + # authority-form, + # https://datatracker.ietf.org/doc/html/rfc7230#section-5.3.3 +- self._url = URL.build(authority=self._path, encoded=True) +- elif idx3 > 1 and self._path[0] == '/': ++ try: ++ self._url = URL.build(authority=self._path, encoded=True) ++ host = self._url.raw_host ++ except ValueError: ++ host = None ++ if host is None: ++ raise InvalidURLError( ++ self._path.encode(errors="surrogateescape") ++ .decode("latin1") ++ ) ++ elif self._path[0] == '/': + # origin-form, + # https://datatracker.ietf.org/doc/html/rfc7230#section-5.3.1 + idx1 = self._path.find("?") +@@ -758,10 +766,23 @@ cdef class HttpRequestParser(HttpParser): + fragment=fragment, + encoded=True, + ) ++ elif self._path == '*' and self._cparser.method == cparser.HTTP_OPTIONS: ++ # asterisk-form, ++ self._url = URL(self._path, encoded=True) + else: + # absolute-form for proxy maybe, + # https://datatracker.ietf.org/doc/html/rfc7230#section-5.3.2 +- self._url = URL(self._path, encoded=True) ++ try: ++ self._url = URL(self._path, encoded=True) ++ host = self._url.raw_host ++ except ValueError: ++ host = None ++ # https://www.rfc-editor.org/rfc/rfc9110#section-4.2.1-4 ++ if host is None: ++ raise InvalidURLError( ++ self._path.encode(errors="surrogateescape") ++ .decode("latin1") ++ ) + finally: + PyByteArray_Resize(self._buf, 0) + +diff --git a/aiohttp/http_parser.py b/aiohttp/http_parser.py +index 0c9fd086b..678aee020 100644 +--- a/aiohttp/http_parser.py ++++ b/aiohttp/http_parser.py +@@ -685,7 +685,18 @@ class HttpRequestParser(HttpParser[RawRequestMessage]): + if method == "CONNECT": + # authority-form, + # https://datatracker.ietf.org/doc/html/rfc7230#section-5.3.3 +- url = URL.build(authority=path, encoded=True) ++ try: ++ url = URL.build(authority=path, encoded=True) ++ host = url.raw_host ++ except ValueError: ++ # Duplicated so mypy understands that url must be defined below. ++ raise InvalidURLError( ++ path.encode(errors="surrogateescape").decode("latin1") ++ ) ++ if host is None: ++ raise InvalidURLError( ++ path.encode(errors="surrogateescape").decode("latin1") ++ ) + elif path.startswith("/"): + # origin-form, + # https://datatracker.ietf.org/doc/html/rfc7230#section-5.3.1 +@@ -708,9 +719,16 @@ class HttpRequestParser(HttpParser[RawRequestMessage]): + else: + # absolute-form for proxy maybe, + # https://datatracker.ietf.org/doc/html/rfc7230#section-5.3.2 +- url = URL(path, encoded=True) +- if url.scheme == "": +- # not absolute-form ++ try: ++ url = URL(path, encoded=True) ++ host = url.raw_host ++ except ValueError: ++ # Duplicated so mypy understands that url must be defined below. ++ raise InvalidURLError( ++ path.encode(errors="surrogateescape").decode("latin1") ++ ) ++ # https://www.rfc-editor.org/rfc/rfc9110#section-4.2.1-4 ++ if host is None: + raise InvalidURLError( + path.encode(errors="surrogateescape").decode("latin1") + ) +diff --git a/aiohttp/web_request.py b/aiohttp/web_request.py +index eaed708eb..5f6c92333 100644 +--- a/aiohttp/web_request.py ++++ b/aiohttp/web_request.py +@@ -196,8 +196,14 @@ class BaseRequest(MutableMapping[str | RequestKey[Any], Any], HeadersMixin): + self._cache: dict[str, Any] = {} + url = message.url + if url.absolute: ++ if scheme is None and url.scheme: ++ # Absolute URL is peer-controlled, use the protocol. ++ scheme = "https" if protocol.ssl_context else "http" + if scheme is not None: ++ # Authority-form (CONNECT) has no scheme: leave the target ++ # unchanged unless clone(scheme=...) overrides it. + url = url.with_scheme(scheme) ++ self._cache["scheme"] = scheme + if host is not None: + url = url.with_host(host) + # absolute URL is given, +@@ -205,7 +211,6 @@ class BaseRequest(MutableMapping[str | RequestKey[Any], Any], HeadersMixin): + # all other properties should be good + self._cache["url"] = url + self._cache["host"] = url.host +- self._cache["scheme"] = url.scheme + self._rel_url = url.relative() + else: + self._rel_url = url diff --git a/meta-python/recipes-devtools/python/python3-aiohttp_3.14.3.bb b/meta-python/recipes-devtools/python/python3-aiohttp_3.14.3.bb index 2477b6a0e8..3654f95532 100644 --- a/meta-python/recipes-devtools/python/python3-aiohttp_3.14.3.bb +++ b/meta-python/recipes-devtools/python/python3-aiohttp_3.14.3.bb @@ -9,6 +9,7 @@ SRC_URI[sha256sum] = "9491196535a88924a60afd5b5f434b5b203b6cc616250878dbdb223a8f SRC_URI += "file://CVE-2026-111063.patch \ file://CVE-2026-111065.patch \ file://CVE-2026-111066.patch \ + file://CVE-2026-111748.patch \ " CVE_PRODUCT = "aiohttp:aiohttp" From patchwork Thu Nov 19 18:33:17 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104983 Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1949.1795113478586866684 for ; Thu, 19 Nov 2026 10:37:58 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=H0W8XA/j; spf=pass (domain: gmail.com, ip: 209.85.210.170, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f170.google.com with SMTP id d2e1a72fcca58-8a05b210703so84566b3a.0 for ; Thu, 19 Nov 2026 10:37:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113478; x=1795718278; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=JczhozRz3vzKyF+dmJZAfyVNQCPv8vcOXRxLVtrpa20=; b=H0W8XA/jccjyrz3GVGDAJJ8ZVWnjY9T8YpF+tXn8Nm351rgkQEASuyUsJ8ahMNTUEz iwnWYs6EqKo/GIrKwJfI+IVl2DMG/6esj0sB6kXii7DiWOW06O1uunbAwynBYxReVJhI meYGBow88FN279oK046CyK8GYWKtqCNbAy80RPAEqP8laSoS5hRFsBTGsF+BmOLHhYUw l97dnFqYk8RvjCLiVqaT9vZzLSHuJ/rAfc1b1ZtS4w6vJKpYBoxlUOC+uDJ5oF6ZBChM mKe702/stEnPrW1OcKARiWWPXmL8elCPxrpNnn+bv3Q99rgemwHcdrWDIVF9AgQgNsR+ 4pkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113478; x=1795718278; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=JczhozRz3vzKyF+dmJZAfyVNQCPv8vcOXRxLVtrpa20=; b=H0svIPQxCVi6jYGc61CdcRVGA5iTd+qM/fgl1nEodExILxsFlazvxnLPIdIdvgMkMK HGs5LGiR+xZUDDuMK9ZAmKKfDVCBcDQ+0CrwGoBbSZtXmkDszj/crgEiKgGXwDsVDFsJ KjysyU9B9nAFC0CHLOOHy9GDVPSueY0+uJjqtJj1+MttpAPeaQ9I+F4L+7RZFpyXcGKo WBIDQprPi0fFoRQ05y8pO83nAF7CQJXkZIwZ9Djz1mRjSD/oL7lq1FCPTN1NivPPX7+K wzmegTTIlXNDPpLXUnZqTsC5+rELDjwHM+aD1Sinrs417D7YZS6uoearS+dxdcNlkJPJ bF0A== X-Gm-Message-State: APuU4Z9zGUEd++jSzbd98IJ8kfr457a4dTlSLatAie1icj7fsTbCnMTu 9RDUqNVn9WYY5ax96WGUIONaJOX+43xxcx+nWeDLfu5PiuzrEQ9Eh/5sUtL7Ng== X-Gm-Gg: AYBFou0cP6pLqWdglOtKJqjzTH7A+noU59yF6rYUTMbssas1/FAEFnMVtbqiee2zrXU Ka8rhOs0XQDi2uZF14m9pF9rYmVK2K/VsTI2HpkOeTOQ6nBAkTeZpEzlDkbcbaeFGyuVZ+jW6gp b7oqVlUQXbujy5vI/2IRFaQhbNm5ZZFK2Vdt/m8N+KEickItRPLTRoZ76G1i8UdUhPf2N6wDVOi nqJ9a6dGKeQ54Ltj9rdll1MpDXdjZt5BZ/892J5NRiDPoTPpnwnPkxtKPPEoanx7/PboF4mHxoN iTmvIB6r2kWlU6bH6XBBZvOU59QrnRkgemchfH33L83QePtV3zUsYxXnLGPiHu1ujGQ7QaJ6wcM VbSA6xU7ovX5mI+mQGMaMgMd+2r3nWDj6MG97/lKsonj5KSXTvJZi1WKEu2riMJotVE+pvAwPzR 3xA3Ex5RfWltCea6CpjVWQxPPEw6aZSK3q08cs3+MIchEZHJcJOJoRSR6AM1EZkuByDAsC1sAEN s3TkFivxPGSM2TnZL88fvRVDI3n4x3oxjMQ3fqZN9FP+JoCjffJGADl2G92P5xOWf08aXAkfqVf CUu6Sc2K1YUBMCxCp8ycxKq5o08XWdR8KQtPNV6PvKZJWXyfhZB7xF+cRjn3nw== X-Received: by 2002:a05:6a00:1817:b0:8a0:5dd9:7983 with SMTP id d2e1a72fcca58-8c87b9cfaaamr412986b3a.12.1795113477807; Thu, 19 Nov 2026 10:37:57 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.37.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:37:57 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Ankur Tyagi Subject: [blacksail][PATCH 49/64] python3-aiohttp: patch CVE-2026-111749 Date: Fri, 20 Nov 2026 07:33:17 +1300 Message-ID: X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:38:07 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132739 From: Ankur Tyagi Details: https://nvd.nist.gov/vuln/detail/cve-2026-111749 Signed-off-by: Ankur Tyagi --- .../python3-aiohttp/CVE-2026-111749.patch | 262 ++++++++++++++++++ .../python/python3-aiohttp_3.14.3.bb | 1 + 2 files changed, 263 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-aiohttp/CVE-2026-111749.patch diff --git a/meta-python/recipes-devtools/python/python3-aiohttp/CVE-2026-111749.patch b/meta-python/recipes-devtools/python/python3-aiohttp/CVE-2026-111749.patch new file mode 100644 index 0000000000..d1a7c60fb5 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-aiohttp/CVE-2026-111749.patch @@ -0,0 +1,262 @@ +From 66405536d4410c7456a52d2b6780e827f4e56d44 Mon Sep 17 00:00:00 2001 +From: Sam Bull +Date: Wed, 9 Sep 2026 02:21:06 +0100 +Subject: [PATCH] Fix host-only state on cookie expiration (#13674) (#13676) + +(cherry picked from commit 9332972cfcb0f5a2b6677e7307819ab8f13b5d09) +(cherry picked from commit 6a07c171ef9f3be583e2907dcd1931372efca8d6) + +CVE: CVE-2026-111749 +Upstream-Status: Backport [https://github.com/aio-libs/aiohttp/commit/6a07c171ef9f3be583e2907dcd1931372efca8d6] + +Signed-off-by: Ankur Tyagi +--- + CHANGES/13674.bugfix.rst | 1 + + aiohttp/abc.py | 2 +- + aiohttp/cookiejar.py | 29 ++++++++-------- + docs/client_reference.rst | 10 ++++-- + tests/test_client_session.py | 2 +- + tests/test_cookiejar.py | 64 ++++++++++++++++++++++++++++++++++-- + 6 files changed, 89 insertions(+), 19 deletions(-) + create mode 100644 CHANGES/13674.bugfix.rst + +diff --git a/CHANGES/13674.bugfix.rst b/CHANGES/13674.bugfix.rst +new file mode 100644 +index 000000000..5152bceae +--- /dev/null ++++ b/CHANGES/13674.bugfix.rst +@@ -0,0 +1 @@ ++Fixed host-only cookie state being lost on expiration -- by :user:`Dreamsorcerer`. +diff --git a/aiohttp/abc.py b/aiohttp/abc.py +index b67287318..74ca7216e 100644 +--- a/aiohttp/abc.py ++++ b/aiohttp/abc.py +@@ -181,7 +181,7 @@ class AbstractCookieJar(Sized, IterableBase): + + @property + @abstractmethod +- def host_only_cookies(self) -> frozenset[tuple[str, str]]: ++ def host_only_cookies(self) -> frozenset[tuple[str, str, str]]: + """Return the host-only cookies stored in this jar.""" + + @abstractmethod +diff --git a/aiohttp/cookiejar.py b/aiohttp/cookiejar.py +index b949cc118..1af02144e 100644 +--- a/aiohttp/cookiejar.py ++++ b/aiohttp/cookiejar.py +@@ -134,7 +134,8 @@ class CookieJar(AbstractCookieJar): + self._morsel_cache: defaultdict[tuple[str, str], dict[str, Morsel[str]]] = ( + defaultdict(dict) + ) +- self._host_only_cookies: set[tuple[str, str]] = set() ++ # Cookie identity is (domain, path, name). ++ self._host_only_cookies: set[tuple[str, str, str]] = set() + self._unsafe = unsafe + self._quote_cookie = quote_cookie + if treat_as_secure_origin is None: +@@ -166,7 +167,7 @@ class CookieJar(AbstractCookieJar): + return MappingProxyType(self._cookies) + + @property +- def host_only_cookies(self) -> frozenset[tuple[str, str]]: ++ def host_only_cookies(self) -> frozenset[tuple[str, str, str]]: + """Return the host-only cookies stored in this jar.""" + return frozenset(self._host_only_cookies) + +@@ -195,7 +196,7 @@ class CookieJar(AbstractCookieJar): + if attr_val: + morsel_data[attr] = attr_val + # Persist or it reloads as a domain cookie and leaks to subdomains. +- if (domain, name) in self._host_only_cookies: ++ if (domain, path, name) in self._host_only_cookies: + morsel_data["host_only"] = True + if (exp := self._expirations.get((domain, path, name))) is not None: + morsel_data["expires_timestamp"] = exp +@@ -358,7 +359,7 @@ class CookieJar(AbstractCookieJar): + + def _delete_cookies(self, to_del: list[tuple[str, str, str]]) -> None: + for domain, path, name in to_del: +- self._host_only_cookies.discard((domain, name)) ++ self._host_only_cookies.discard((domain, path, name)) + self._cookies[(domain, path)].pop(name, None) + self._morsel_cache[(domain, path)].pop(name, None) + self._expirations.pop((domain, path, name), None) +@@ -395,18 +396,12 @@ class CookieJar(AbstractCookieJar): + domain = "" + del cookie["domain"] + +- if not domain and hostname is not None: +- # Set the cookie's domain to the response hostname +- # and set its host-only-flag +- self._host_only_cookies.add((hostname, name)) +- domain = cookie["domain"] = hostname +- + if domain and domain[0] == ".": + # Remove leading dot + domain = domain[1:] + cookie["domain"] = domain + +- if hostname and not self._is_domain_match(domain, hostname): ++ if domain and hostname and not self._is_domain_match(domain, hostname): + # Setting cookies for different domains is not allowed + continue + +@@ -422,6 +417,14 @@ class CookieJar(AbstractCookieJar): + cookie["path"] = path + path = path.rstrip("/") + ++ if not domain and hostname is not None: ++ self._host_only_cookies.add((hostname, path, name)) ++ domain = cookie["domain"] = hostname ++ else: ++ # A cookie with an explicit Domain attribute replaces any ++ # host-only cookie with the same (domain, path, name) identity. ++ self._host_only_cookies.discard((domain, path, name)) ++ + if max_age := cookie["max-age"]: + try: + delta_seconds = int(max_age) +@@ -522,7 +525,7 @@ class CookieJar(AbstractCookieJar): + for name, cookie in self._cookies[p].items(): + domain = cookie["domain"] + +- if (domain, name) in self._host_only_cookies and domain != hostname: ++ if domain != hostname and p + (name,) in self._host_only_cookies: + continue + + # Skip edge case when the cookie has a trailing slash but request doesn't. +@@ -672,7 +675,7 @@ class DummyCookieJar(AbstractCookieJar): + return MappingProxyType({}) + + @property +- def host_only_cookies(self) -> frozenset[tuple[str, str]]: ++ def host_only_cookies(self) -> frozenset[tuple[str, str, str]]: + """Return an empty frozenset.""" + return frozenset() + +diff --git a/docs/client_reference.rst b/docs/client_reference.rst +index a237fb64b..476e6e81f 100644 +--- a/docs/client_reference.rst ++++ b/docs/client_reference.rst +@@ -2611,11 +2611,17 @@ Utilities + + .. attribute:: host_only_cookies + +- A :class:`frozenset` of ``(domain, name)`` tuples indicating which +- cookies are host-only (not sent to subdomains). ++ A :class:`frozenset` of ``(domain, path, name)`` tuples indicating ++ which cookies are host-only (not sent to subdomains). + + .. versionadded:: 3.14 + ++ .. versionchanged:: 3.14.4 ++ ++ The tuples gained the *path* element; host-only state is tracked ++ per ``(domain, path, name)`` cookie identity so that same-named ++ cookies on other paths cannot affect it. ++ + + .. class:: DummyCookieJar(*, loop=None) + +diff --git a/tests/test_client_session.py b/tests/test_client_session.py +index 6b3516879..4481a4bf8 100644 +--- a/tests/test_client_session.py ++++ b/tests/test_client_session.py +@@ -758,7 +758,7 @@ async def test_cookie_jar_usage(loop: Any, aiohttp_client: Any) -> None: + return MappingProxyType({}) + + @property +- def host_only_cookies(self) -> frozenset[tuple[str, str]]: ++ def host_only_cookies(self) -> frozenset[tuple[str, str, str]]: + return frozenset() + + def clear(self, predicate: abc.ClearCookiePredicate | None = None) -> None: +diff --git a/tests/test_cookiejar.py b/tests/test_cookiejar.py +index be6da2a5f..4fd2959e1 100644 +--- a/tests/test_cookiejar.py ++++ b/tests/test_cookiejar.py +@@ -878,7 +878,45 @@ async def test_cookie_jar_host_only_cookies_property() -> None: + + host_only = jar.host_only_cookies + assert isinstance(host_only, frozenset) +- assert ("example.com", "hostonly") in host_only ++ assert ("example.com", "", "hostonly") in host_only ++ ++ ++async def test_host_only_marker_survives_same_name_expiry_on_other_path() -> None: ++ """Expiring a same-name cookie on another path must not clear host-only state.""" ++ jar = CookieJar() ++ origin = URL("http://auth.example.com/") ++ subdomain = URL("http://evil.auth.example.com/") ++ ++ jar.update_cookies_from_headers(["sid=secret; Path=/"], origin) ++ assert "sid" not in jar.filter_cookies(subdomain) ++ ++ # Attacker-controlled descendant expires a same-name cookie on its own path. ++ jar.update_cookies_from_headers( ++ ["sid=gone; Domain=auth.example.com; Path=/attacker; Max-Age=0"], ++ subdomain, ++ ) ++ ++ assert ("auth.example.com", "", "sid") in jar.host_only_cookies ++ assert "sid" not in jar.filter_cookies(subdomain) ++ assert jar.filter_cookies(origin)["sid"].value == "secret" ++ ++ ++async def test_explicit_domain_replacement_clears_host_only_marker() -> None: ++ """A replacing cookie with an explicit Domain is a domain cookie.""" ++ jar = CookieJar() ++ origin = URL("http://example.com/") ++ subdomain = URL("http://sub.example.com/") ++ ++ jar.update_cookies_from_headers(["sid=hostonly; Path=/"], origin) ++ assert ("example.com", "", "sid") in jar.host_only_cookies ++ assert "sid" not in jar.filter_cookies(subdomain) ++ ++ jar.update_cookies_from_headers( ++ ["sid=domainwide; Domain=example.com; Path=/"], origin ++ ) ++ ++ assert jar.host_only_cookies == frozenset() ++ assert jar.filter_cookies(subdomain)["sid"].value == "domainwide" + + + async def test_cookie_jar_cookies_property_immutable() -> None: +@@ -1857,7 +1895,7 @@ async def test_save_load_json_preserves_host_only_scope(tmp_path: Path) -> None: + jar_load = CookieJar() + jar_load.load(file_path=file_path) + +- assert jar_load.host_only_cookies == frozenset({("auth.example.com", "sid")}) ++ assert jar_load.host_only_cookies == frozenset({("auth.example.com", "", "sid")}) + assert "sid" not in jar_load.filter_cookies(subdomain) + assert "sid" in jar_load.filter_cookies(issuer) + +@@ -1882,6 +1920,28 @@ async def test_save_load_json_domain_cookie_still_matches_subdomain( + assert "sid" in jar_load.filter_cookies(subdomain) + + ++async def test_save_load_json_host_only_per_path(tmp_path: Path) -> None: ++ """Verify save/load keeps host-only state per (domain, path, name).""" ++ file_path = tmp_path / "per_path.json" ++ origin = URL("https://example.com/") ++ subdomain = URL("https://sub.example.com/") ++ ++ jar_save = CookieJar() ++ jar_save.update_cookies_from_headers( ++ ["sid=hostonly; Path=/", "sid=domainwide; Domain=example.com; Path=/api"], ++ origin, ++ ) ++ jar_save.save(file_path=file_path) ++ ++ jar_load = CookieJar() ++ jar_load.load(file_path=file_path) ++ ++ assert jar_load.host_only_cookies == frozenset({("example.com", "", "sid")}) ++ assert "sid" not in jar_load.filter_cookies(subdomain) ++ filtered = jar_load.filter_cookies(URL("https://sub.example.com/api/x")) ++ assert filtered["sid"].value == "domainwide" ++ ++ + async def test_save_load_json_preserves_max_age_deadline(tmp_path: Path) -> None: + """Verify save/load restores the absolute deadline without resetting it.""" + file_path = tmp_path / "max_age.json" diff --git a/meta-python/recipes-devtools/python/python3-aiohttp_3.14.3.bb b/meta-python/recipes-devtools/python/python3-aiohttp_3.14.3.bb index 3654f95532..78845ffb56 100644 --- a/meta-python/recipes-devtools/python/python3-aiohttp_3.14.3.bb +++ b/meta-python/recipes-devtools/python/python3-aiohttp_3.14.3.bb @@ -10,6 +10,7 @@ SRC_URI += "file://CVE-2026-111063.patch \ file://CVE-2026-111065.patch \ file://CVE-2026-111066.patch \ file://CVE-2026-111748.patch \ + file://CVE-2026-111749.patch \ " CVE_PRODUCT = "aiohttp:aiohttp" From patchwork Thu Nov 19 18:33:18 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104985 Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.1904.1795113480863662115 for ; Thu, 19 Nov 2026 10:38:00 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=d812yLhK; spf=pass (domain: gmail.com, ip: 209.85.210.178, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f178.google.com with SMTP id d2e1a72fcca58-8a4c72951b8so89691b3a.3 for ; Thu, 19 Nov 2026 10:38:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113480; x=1795718280; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=bnhZOEUmH7DZgb+dCxIVsEa2abQGsaAOGIYQhRfpgCQ=; b=d812yLhKcZLWBwYRooB9/v7XV1TgtUHRBcY98Advkh8X/7RuP6AXOPB4dcpnpXn5fX USgPPUsx51LdqT6wJCJc7TmECwDTb2LU+GuX6fdY23mdi4ub4vRdNd6aQVq190HWuzWc Eee+LVFJSZy04dg/Di8VxPsFKfPPm89mmWjhVXEtSTFcmcFtUjzZ5BMVwW+2B2iyGnXm rRZ4CXSX/fydIdyc89+eVgVo3iaizoECL0WRESFeYvU9ioW+yKjRK5YFCiaVn4a8z1V3 V/vRXKDY4/ZWNa7T/pxKWO3qtMJGeL+cGdWJjIHOp73AinlQucDApcYT0mNEmCJn+SVr S1Pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113480; x=1795718280; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=bnhZOEUmH7DZgb+dCxIVsEa2abQGsaAOGIYQhRfpgCQ=; b=dx4GaQWqqJ5m1cxmw3/RB1t77v/2vWEDH/d2eS9tgB3orGjVnswu1tRe+6IsRn5z98 ZW+GeCEgPNbWoAvQJ3iQ3LWDEyVU9QmYjw3BXjBVrkBi8yI8O+uf3WFXc0F6mJlTqvLG 3pirfBjSpiAFGYwqOw8vq43r/ERiNB+0Hy17oVMbP64a8YLR6MRP18RVHJPl0e7Jf1Cq JQTqx+JgxZkImQVnhsf+55edcDPfMEi/ox2bXqlbwybINod7rCvnb66JBs7imrga56BC 2ODSgejY53/9qQ3WxWRbVD3YTOkw7sU+oVQAcx1ePBRNMayskXTSEDtoh55GsSHbrt5Y 143Q== X-Gm-Message-State: APuU4Z+3NAb0+UOO3RpdDAUe4E3Vg0KgENPrMpRfpcKIsmVRxw8QdTGq 2TpkeGSMwyCiiF93wznV8XJEKOZr/Y/cHK3S/FB/30YxZmZfHYKPtj/PfvEzYw== X-Gm-Gg: AYBFou2HFbUYn+SU+4NBR47/ycd1wn6wNqFTiivL1yA6/1IaiErmyRWRprjpwEIGrvM uDJwS5WzZRWjukP/lArYhMzLxIe8QaL6TFtHK/gieT9WdImDbLbM9wfsdsQbzUSjFYCmQUfvDk7 EOuBqhlPLzewz7EDwW90lQzXvC3wE8emfB9t0bEOu1IA2RIQMr5M02d29gqJMCiAqwIKqidmunQ 6ba+lRrzIThRuaHUPkDe61PDb95fCca+uoUSP3RY8/U/Zg3ecJ8rKk0s2b8DnwjjSmqXyW6d4uY bDluo1NzhaPLroLp0NwndY6ygFxwQnypd+e68jSlT1PYfWVnmj6/ir6c1ncZws7/PPHUeRx7GjP uduo5jGBQJcRr3d3FFAvieOCNylCXIIXnAZYuPD5/em27p/NsEMUZTN433ImEybTwDPZ0grz++J wo+ioHNMjcmLAf/0yHpOjmDNR+DhUxxtfmr0dFcnUzwF1pThMUtUAhsOVjbFiV9zS0rjZOQoCwK ZXsBJFz5Z/Z9NCRJDLOPbMQq9DN4LCfbgsU0Wz/8QpwqSZL8/oZoYLSYJIlqbbfqXMBcsrmEBV+ gTi2CVqiBFguYYEnXtw7USCmzc6sKQL2btZPlAr9NU8UxS5RFsk/0F+VhL2Axw== X-Received: by 2002:a05:6a00:2d06:b0:89e:fe2d:abe2 with SMTP id d2e1a72fcca58-8c87c862ab8mr415289b3a.44.1795113480185; Thu, 19 Nov 2026 10:38:00 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.37.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:37:59 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Ankur Tyagi Subject: [blacksail][PATCH 50/64] python3-aiohttp: patch CVE-2026-111750 Date: Fri, 20 Nov 2026 07:33:18 +1300 Message-ID: X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:38:07 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132740 From: Ankur Tyagi Details: https://nvd.nist.gov/vuln/detail/cve-2026-111750 Signed-off-by: Ankur Tyagi --- .../python3-aiohttp/CVE-2026-111750.patch | 82 +++++++++++++++++++ .../python/python3-aiohttp_3.14.3.bb | 1 + 2 files changed, 83 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-aiohttp/CVE-2026-111750.patch diff --git a/meta-python/recipes-devtools/python/python3-aiohttp/CVE-2026-111750.patch b/meta-python/recipes-devtools/python/python3-aiohttp/CVE-2026-111750.patch new file mode 100644 index 0000000000..ff9088ad3c --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-aiohttp/CVE-2026-111750.patch @@ -0,0 +1,82 @@ +From 18e23a890422e952b0fdbf09e02794adda56c120 Mon Sep 17 00:00:00 2001 +From: Sam Bull +Date: Wed, 9 Sep 2026 01:25:13 +0100 +Subject: [PATCH] Fix head request parsing (#13671) (#13673) + +(cherry picked from commit 5789546e37fe35af27d0a2f840870b22bc15bfc4) +(cherry picked from commit 9b27347e61454d9f8ca2055f4c67a37dee336e83) + +CVE: CVE-2026-111750 +Upstream-Status: Backport [https://github.com/aio-libs/aiohttp/commit/9b27347e61454d9f8ca2055f4c67a37dee336e83] + +Signed-off-by: Ankur Tyagi +--- + CHANGES/13671.bugfix.rst | 1 + + aiohttp/http_parser.py | 6 +++++- + tests/test_http_parser.py | 27 ++++++++++++++++++++++++++- + 3 files changed, 32 insertions(+), 2 deletions(-) + create mode 100644 CHANGES/13671.bugfix.rst + +diff --git a/CHANGES/13671.bugfix.rst b/CHANGES/13671.bugfix.rst +new file mode 100644 +index 000000000..e6fbc7000 +--- /dev/null ++++ b/CHANGES/13671.bugfix.rst +@@ -0,0 +1 @@ ++Fixed pure-Python request parser not reading a body in a ``HEAD`` request -- by :user:`Dreamsorcerer`. +diff --git a/aiohttp/http_parser.py b/aiohttp/http_parser.py +index 678aee020..947060c9a 100644 +--- a/aiohttp/http_parser.py ++++ b/aiohttp/http_parser.py +@@ -433,8 +433,12 @@ class HttpParser(abc.ABC, Generic[_MsgT]): + + assert self.protocol is not None + # calculate payload ++ # https://www.rfc-editor.org/info/rfc9112/#name-message-body-length ++ # https://www.rfc-editor.org/info/rfc9110/#section-9.3.1-6 ++ # EMPTY_BODY_METHODS should only apply to responses. ++ # self.method is None on request parser. + empty_body = code in EMPTY_BODY_STATUS_CODES or bool( +- method and method in EMPTY_BODY_METHODS ++ self.method and self.method in EMPTY_BODY_METHODS + ) + if not empty_body and ( + (length is not None and length > 0) or msg.chunked +diff --git a/tests/test_http_parser.py b/tests/test_http_parser.py +index fcc1b6018..e9d40532b 100644 +--- a/tests/test_http_parser.py ++++ b/tests/test_http_parser.py +@@ -2181,7 +2181,32 @@ def test_http_request_chunked_payload_and_next_message(parser) -> None: + assert not payload2.is_eof() + + +-def test_http_request_chunked_payload_chunks(parser) -> None: ++def test_http_request_parser_head_with_content_length_payload( ++ parser: HttpRequestParser, ++) -> None: ++ smuggled = b"GET /smuggled HTTP/1.1\r\nHost: a\r\n\r\n" ++ text = ( ++ b"HEAD /test HTTP/1.1\r\nHost: a\r\nContent-Length: %d\r\n\r\n" % len(smuggled) ++ + smuggled ++ + b"POST /next HTTP/1.1\r\nHost: a\r\nContent-Length: 0\r\n\r\n" ++ ) ++ messages, upgraded, tail = parser.feed_data(text) ++ ++ assert len(messages) == 2 ++ msg, payload = messages[0] ++ assert msg.method == "HEAD" ++ assert b"".join(payload._buffer) == smuggled ++ assert payload.is_eof() ++ ++ msg2, payload2 = messages[1] ++ assert msg2.method == "POST" ++ assert msg2.path == "/next" ++ assert payload2.is_eof() ++ assert not upgraded ++ assert not tail ++ ++ ++def test_http_request_chunked_payload_chunks(parser: HttpRequestParser) -> None: + text = b"GET /test HTTP/1.1\r\nHost: a\r\ntransfer-encoding: chunked\r\n\r\n" + msg, payload = parser.feed_data(text)[0][0] + diff --git a/meta-python/recipes-devtools/python/python3-aiohttp_3.14.3.bb b/meta-python/recipes-devtools/python/python3-aiohttp_3.14.3.bb index 78845ffb56..81ed8a849b 100644 --- a/meta-python/recipes-devtools/python/python3-aiohttp_3.14.3.bb +++ b/meta-python/recipes-devtools/python/python3-aiohttp_3.14.3.bb @@ -11,6 +11,7 @@ SRC_URI += "file://CVE-2026-111063.patch \ file://CVE-2026-111066.patch \ file://CVE-2026-111748.patch \ file://CVE-2026-111749.patch \ + file://CVE-2026-111750.patch \ " CVE_PRODUCT = "aiohttp:aiohttp" From patchwork Thu Nov 19 18:33:19 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104984 Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1952.1795113483240883212 for ; Thu, 19 Nov 2026 10:38:03 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=JXcITtTd; spf=pass (domain: gmail.com, ip: 209.85.210.181, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f181.google.com with SMTP id d2e1a72fcca58-8a05b210703so84590b3a.0 for ; Thu, 19 Nov 2026 10:38:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113482; x=1795718282; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=+W+3ebitfH7Z2kx9Dq0ky1ws67GrYQknPDAcWL2i/bE=; b=JXcITtTdG8jluT4ADs6crKM5lZRIvkVu+mV7pxDc+BvK/2SCNZqxH15GmMdxcE8gQi Jnd4hASJMcMYiEm/AUMu54thlMvliP55p+oggNfd9INhvL2VNagYXsiCuVFp09aN8or+ FqU2rb4KSEwKrEIWpHJ27KobliIFc+GOnRM7bG6TX6BwPAP0+oVPensBJvsIywgIshE6 e6nQxtuVSs7boi1X5FP7zQwL9nLSOV/d1uDfieCoNYvd0mQWn17/1L4BJ8PLSGzyM5ht ev2a9zaN2CcE3dfz8IsjrC8bmfNrhmBW0CzoxdSLfnH+yg5DvN//N8qKNhvh+cwnkbV2 vOrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113482; x=1795718282; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=+W+3ebitfH7Z2kx9Dq0ky1ws67GrYQknPDAcWL2i/bE=; b=ZkEb9cArJjMlo+B0wzajRGRcCazDNLMQSn2wihrFwEiuICik2UADMGgpVSLYnzH2E7 zDjS/vnxjyfufqzsQpvY5UYN5DFz8yoo5O6s++/rIK28GZanHO+AK/zjG1skXpTUSS1f wH2lEEPgtgZmFXoLi74yASOvUDD0xU7qQGyxIC93N8/Wc0Wc8p3LrHJUt+4VCynEadRT Td0XpvtcnWyJT3LBQ/zM4GVHCyUNAFjlMIJYcsYO8ZEVTkhvosRR5LOzVp81KaILY+R5 6jb89yhuqQphNiJR97UTKezVRIyIkDYYZqLifjTJh78c3yYP/HB8dJYTsrgLbk8PRxyP RZVg== X-Gm-Message-State: APuU4Z+ld8H+enWjXs5rGLKMMUt5K+42jesVtvCfRZrzDCk2rTNkDGhs 7F9VydNk6nwZ24+hg3Fe8oSexluS4B8VPyJ7PbE2u/aMNQr9UwkgZDxpRf+bBg== X-Gm-Gg: AYBFou3P93wCb8+43SpMFS1N1REwN+uU15qlH+zjA5V6OjK44RSzrruRwmwwauw+7Hz weYv/b3hNKf6L1Yo2V9qf7twn4IMXCW4e3tBcCjq+f66EY/VQrwnSrwaGLChV4d0kaemQFYz3aE QtT3LsF5asNlGIUoUhOYuhuJapoiB9WmVnoWWaY6Eq/KXxDjZtyJ1JySd+Ci5k98mk0RjdQv9Uv jkw7tBV54s4qdhClolKohfH0GV6pO818Cnu7qGAOToqmIEdvlM4pD3Ruu5pDEYhlv/ojtqGosAf m+FkqailbDnKBpU7Xvs4hz/2mfpn0mMj224wDdP49jGR5kuROHUP1psDhN9WMbdcCs0B/Wr/qhf kA9FGLeXxD1J9eli9lNAgDs3xcLWjMPCZD7IYwW3NrFsSZsSJX3IRj8euBPzAcrbuWE4T/FtjuG EZlTMdy4+HtL9scgfmLwQmoSRQTw0BFtEfs3YiknGElLcOWAMjKFGI7CBaNL+1kTrSugGlbKJ9Q FB/2cpgi5WTVuUvUp6E8Ufjk2aoTuDyLdrBMDFbR8MykIG99ALSXhPlAB8+AuU5nme8CpRFePHs nRdcr6jQdtYim5ajppE8duRedikX3NaKI7HOxvH7abNyaaQRs5R70yiWk05DDw== X-Received: by 2002:a05:6a00:14c3:b0:8bb:1a7b:bb8 with SMTP id d2e1a72fcca58-8c8792b690fmr518634b3a.3.1795113482497; Thu, 19 Nov 2026 10:38:02 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.38.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:38:02 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Ankur Tyagi Subject: [blacksail][PATCH 51/64] python3-filelock: upgrade 4.0.4 -> 4.0.12 Date: Fri, 20 Nov 2026 07:33:19 +1300 Message-ID: <89c4b589ef10fd32741a8424357c440df41f70f9.1795112941.git.ankur.tyagi85@gmail.com> X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:38:07 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132741 From: Ankur Tyagi Changelog: https://py-filelock.readthedocs.io/en/latest/changelog.html#release-4-0-5 https://py-filelock.readthedocs.io/en/latest/changelog.html#release-4-0-6 https://py-filelock.readthedocs.io/en/latest/changelog.html#release-4-0-7 https://py-filelock.readthedocs.io/en/latest/changelog.html#release-4-0-8 https://py-filelock.readthedocs.io/en/latest/changelog.html#release-4-0-9 https://py-filelock.readthedocs.io/en/latest/changelog.html#release-4-0-10 https://py-filelock.readthedocs.io/en/latest/changelog.html#release-4-0-11 https://py-filelock.readthedocs.io/en/latest/changelog.html#release-4-0-12 Signed-off-by: Ankur Tyagi --- .../{python3-filelock_4.0.4.bb => python3-filelock_4.0.12.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-filelock_4.0.4.bb => python3-filelock_4.0.12.bb} (93%) diff --git a/meta-python/recipes-devtools/python/python3-filelock_4.0.4.bb b/meta-python/recipes-devtools/python/python3-filelock_4.0.12.bb similarity index 93% rename from meta-python/recipes-devtools/python/python3-filelock_4.0.4.bb rename to meta-python/recipes-devtools/python/python3-filelock_4.0.12.bb index 23cc4484c8..cfb84f1c7e 100644 --- a/meta-python/recipes-devtools/python/python3-filelock_4.0.4.bb +++ b/meta-python/recipes-devtools/python/python3-filelock_4.0.12.bb @@ -9,7 +9,7 @@ CVE_PRODUCT = "tox-dev:filelock" SRC_URI += "file://run-ptest" -SRC_URI[sha256sum] = "90999ed63a26ccf86b93b959ab10cf1017f422d816be454ed54cbed263e71ab5" +SRC_URI[sha256sum] = "cf42711a7ac791818b299fab0332a088c65aeeefa36290de98db92c434303b0c" BBCLASSEXTEND = "native nativesdk" From patchwork Thu Nov 19 18:33:20 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104986 Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.1907.1795113486193319101 for ; Thu, 19 Nov 2026 10:38:06 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=RU7QehHK; spf=pass (domain: gmail.com, ip: 209.85.210.170, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f170.google.com with SMTP id d2e1a72fcca58-8b6a88e4341so67481b3a.1 for ; Thu, 19 Nov 2026 10:38:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113485; x=1795718285; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=Sz/oXJGQuT7STL02UEDYZ3i8MsiPJdSnDSgvN9ru3TI=; b=RU7QehHKwT4J8qUnr5d2/QFj//GyyeG7Qp7SyI7qsBhWfeOBAMyaBDmT+UKyUmnV+X /3uG7igz12R3FAgocFyWn4ZKBtYDMMHFxeF7zMILsOpfU9tKdYNP9pyZPkRBupjyn75N 4ScSKxs4Uk2DNKzus1VYGbCftEKk/Cgb2FcjTZv8Vd4gIzDK3Brhi76vnubCRNWGnUL2 xdr0UGLD44xE7tm0nllLxKvx1I+EHDN6toJhGFhjucxIQ9IUwfRyLOf+ydah7xzO5y3V 97HLEKaiJoGPccH8qmLEtAlCFgv/3zGXELlKVEprCoNpmtzDe3WKncmoDuOcmgau0Y7B 4lBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113485; x=1795718285; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=Sz/oXJGQuT7STL02UEDYZ3i8MsiPJdSnDSgvN9ru3TI=; b=n1M3YZPC30EFh4Ksiwg/M1KPxEJKcRi2XYmEFadYTTPh9i2vkIunfF/8j19baAQSY2 SgsBPeYCTejSr3ixmK2Ar68TRe1wvcjZaFfNIRo/NNM1WWzm6xUv3JV11cBt8T4u+vbj muzA7YYUb4Tup2vh6Ad6tiaqkp1rvjkvWJEwY3vKXqfmHRzL5QKobhtb+LRpwGFZxDFK SyLGVV4ZXd45bfy5nCp8shEIbOsfuoC7wjfOVH83YKnWdFM3KTq7PTClFKTuk5Q2AK5c lYWHRFGHwVloEdoww54V2pmW1o8dEPcCVGvmTnt6VZO3Z2GZv2CjUvbQizbM2TkIn52c 5Uhw== X-Gm-Message-State: APuU4Z/TXFkSB7O8s6BS4k8YkNsfm6RUlxDMhC0aLdgk9K2VksxhCQUb B11P7yH4CMGCdJdpuQDOmRel+NKhu1MnElP9BxJVFHCzgLy7vGerKYKdqwU66Q== X-Gm-Gg: AYBFou1ed+oztDRCzhK/Tn0/8d/W6WzsXJ89F5yLHc06mZqaE0lm/vFF+n0AEPlTc/i c/W/jkyN0Tfkn2VExp1ajAfuWg5OuhIXuRR9B7zX9QfCONU4d1ftxdmWC43FB1FLj4U31CSKMOq Tsr8qQe7YqP3RxJnlAzN6/VfcmsM8NHhSW9addsSFWXHNaLqtvoHQQo4VQaQYguUkKmAli4ivRb oqlWgLNycRYTB8dMMX1UwVjoz6U3gTaHNC/bNDX4oZMbi4Rc1jHJZB+zKLLE47NLnWQE/7mOPSx zBlmwoL4DE+5urPtbtJ0BKjuYDjttPYzJT3DDY/+nYOvryY/UEG7Yt1lP4SfZaHPtHRjdmvKOCx TrhEr2alLizJkPF3q14C/FEJFjdteFbBcawAcSGdWFkiiIEu3ec4UTWF/UDQnHkjX5B3DHb2P3z c6RSLVH00kpCpd2PeNs1wqgKMGY26CnPgmACgsXXFx/vCIwhFKWCLZTSNUFdZ3hPbITvy7cUuxa fTR3BF200AfmQEX9+p51XSpQWwBsffEdb+D4cacxhUUzfF96odiR/NC6XhTyBcNUFfO+j0sKc84 RiYl7TmGotFPNgYEp+WV8ODCzM6Thqjh33CR7ln16wn0wKRuQXooMBKJmEeltqV1wR/W9AyrVgB cGXC2Esarvg== X-Received: by 2002:a05:6a21:6e4a:b0:3f9:da7f:317a with SMTP id adf61e73a8af0-4014ee4f4cbmr446115637.70.1795113485499; Thu, 19 Nov 2026 10:38:05 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.38.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:38:05 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Markus Volk , Khem Raj , Ankur Tyagi Subject: [blacksail][PATCH 52/64] mpv: fix a file descriptor leak in the render API Date: Fri, 20 Nov 2026 07:33:20 +1300 Message-ID: X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:38:08 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132742 From: Markus Volk With the OpenGL render API (vo_libmpv) every frame left a fence behind that nothing cleaned up. On v3d each one holds a sync file, so after about a minute of video the process ran into the open file limit and the picture stopped ("MESA: error: Export failed"). Backport the upstream fix. AI-Generated: Uses Claude Code (Claude Fable 5.1) Signed-off-by: Markus Volk Signed-off-by: Khem Raj (cherry picked from commit 2826f6233d450a7cb788a9e04f77f2cd55d951f0) Signed-off-by: Ankur Tyagi --- ...equire-swap_buffers-param-for-FenceS.patch | 35 +++++++++++++++++++ .../recipes-multimedia/mplayer/mpv_0.41.0.bb | 5 ++- 2 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-multimedia/mplayer/mpv/0001-opengl-context-require-swap_buffers-param-for-FenceS.patch diff --git a/meta-oe/recipes-multimedia/mplayer/mpv/0001-opengl-context-require-swap_buffers-param-for-FenceS.patch b/meta-oe/recipes-multimedia/mplayer/mpv/0001-opengl-context-require-swap_buffers-param-for-FenceS.patch new file mode 100644 index 0000000000..70ba81b34c --- /dev/null +++ b/meta-oe/recipes-multimedia/mplayer/mpv/0001-opengl-context-require-swap_buffers-param-for-FenceS.patch @@ -0,0 +1,35 @@ +From f74adc4243bd9e1a8ee96d187c939e6232510650 Mon Sep 17 00:00:00 2001 +From: Dudemanguy +Date: Thu, 22 Jan 2026 11:12:22 -0600 +Subject: [PATCH] opengl/context: require swap_buffers param for FenceSync + +Commits 8854c742711705be1fcfcc6a5875960a3e2593dc and +5ae0e0ff9a6974453c1aba41ddc8442d12ac9264 eliminated the external +swapchain API that the render backend (vo_libmpv) was previously using. +However, it was missed that this was being used to skip the +gl->FenceSync calls and that logic change was not properly accounted +for. This meant that vo_libmpv would leak fences since +ra_gl_ctx_swap_buffers is never called to clean them up. + +Fix this by making sure the ra_ctx_params have swap_buffers defined +before calling gl->FenceSync. All platforms are required to implement +this anyway with the exception of vo_libmpv since it's a funny special +case. Fixes #17217. +Upstream-Status: Backport [https://github.com/mpv-player/mpv/commit/f74adc4243bd9e1a8ee96d187c939e6232510650] +--- + video/out/opengl/context.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/video/out/opengl/context.c b/video/out/opengl/context.c +index 86e8d5daac8b4..86e5c797d670a 100644 +--- a/video/out/opengl/context.c ++++ b/video/out/opengl/context.c +@@ -232,7 +232,7 @@ bool ra_gl_ctx_submit_frame(struct ra_swapchain *sw, const struct vo_frame *fram + if (p->opts->use_glfinish) + gl->Finish(); + +- if (gl->FenceSync) { ++ if (gl->FenceSync && p->params.swap_buffers) { + GLsync fence = gl->FenceSync(GL_SYNC_GPU_COMMANDS_COMPLETE, 0); + if (fence) + MP_TARRAY_APPEND(p, p->vsync_fences, p->num_vsync_fences, fence); diff --git a/meta-oe/recipes-multimedia/mplayer/mpv_0.41.0.bb b/meta-oe/recipes-multimedia/mplayer/mpv_0.41.0.bb index c8a0222ebf..7178182c29 100644 --- a/meta-oe/recipes-multimedia/mplayer/mpv_0.41.0.bb +++ b/meta-oe/recipes-multimedia/mplayer/mpv_0.41.0.bb @@ -23,7 +23,10 @@ LIC_FILES_CHKSUM = "file://LICENSE.GPL;md5=570a9b3749dd0463a1778803b12a6dce" LICENSE_FLAGS = "commercial" SRCREV = "41f6a645068483470267271e1d09966ca3b9f413" -SRC_URI = "git://github.com/mpv-player/mpv;name=mpv;branch=release/${@oe.utils.trim_version('${PV}', 2)};protocol=https;tag=v${PV}" +SRC_URI = " \ + git://github.com/mpv-player/mpv;name=mpv;branch=release/${@oe.utils.trim_version('${PV}', 2)};protocol=https;tag=v${PV} \ + file://0001-opengl-context-require-swap_buffers-param-for-FenceS.patch \ +" inherit meson pkgconfig mime-xdg From patchwork Thu Nov 19 18:33:21 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104987 Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1954.1795113489213304012 for ; Thu, 19 Nov 2026 10:38:09 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=fiSQJgoY; spf=pass (domain: gmail.com, ip: 209.85.210.182, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-8c70c2ab5a2so62536b3a.3 for ; Thu, 19 Nov 2026 10:38:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113488; x=1795718288; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=ens5hGzrN+wmZgQXRtezOl4joYugEsjZy7sXJkemFY0=; b=fiSQJgoYfQituHH7BNxLT0jk0NQgwcVojzVTofaL7eBkxKX6kAZiv8HpCSY66E9Cmb sozeehOUoe2X6oLCvX7sqWYOCt908Rotn1zQSwq/W5Sv4nS194pDyrr5z1aiScnypri5 Whir/+aPgz78GiF/rNdURvv0b9L6ccrK7pJUmqGeEkR1A2sKLXTncmiNQnVd7TGrSDhP PD+Dmkg6h19psVazuhDnu2TyGFjQjygbgA0J+g6I2tRyjZgdFwJLFGN5zP26r10Xnh5M ymXk0ZJeAd1Q+eBegFIFnoTM+th4N0IWlGCOIGJ6UeMogdXqDCKATAMFeBXsGIpHccJn 2Abw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113488; x=1795718288; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=ens5hGzrN+wmZgQXRtezOl4joYugEsjZy7sXJkemFY0=; b=mC1Y4AYHV1PQZRXlUt2fKib09zD2Dost5zTd0PK7LLhPRPe8wqr5f6RpmwObQbsWpq zCUF2lrzq0jnZkv1Ex219kO0gPqIeSMj5zhoQKgKMm4qMCNzqsUTjs1koGAOEmd7kD7H QWvpkxWsaLJWh+VZ79jOYiPdlmN+z1/ooyVm59RHYr1blGePF5GTOLIoMMlTQdw4p59R 92rssf8gfCMOVAMxtCVKHXNSbKnOKzCUL5kJEw98csJU9w97ylos4QgoT9IsdSMNe2kA Dfo08UnhTZX1PQtJ9IRorQXfkkkmYlZa+63kAuToRn1jLl2tJOb8RhJMJxkHtX5NiDe2 0/CQ== X-Gm-Message-State: APuU4Z9+PK1cbkqxvCRARpGJ2ozqB61yAF15ZwNqxewu/aLGBiBCK8/0 agAyNj1QaeW6gqzr2CM6eNDrmFlHrb6uakmSlqeB+EBBuWLQoPxn5apBApu3Lg== X-Gm-Gg: AYBFou3U3yl0iMFNyj/zjmQF0Jj4U62K1zfYoemU4wpO1RKO+d992h4hUyabngLT0/j /is/0/TXtiS5bVlhy5GrjdlGyEevt1cetOZ9UJm+/oMq4mgvZw7Ua4g7FzCq2iKWOTMCZaEYzkt OpQwfN40+braD2YRjtHnzWlmmmVpOIfOEZUn1dt0eM3Q46m+7RN2nXAV1PPmrXCzl7USrOREPoz 5P4pp/Wf2dlHSgtshaqN9Fp72cvmsIkEUEYZdtBX19CakFuvpqBKkmR5APruZuk1m7ZXABIJ67l E5QdVBSiWqEExHKs+wyRUi2bLvxK6kWJ0XHzTlEiJb6VZpFEEQppZx8GOB8Backfo/HCTk2qxzU G8/cNOEDfGAU1ITpfCfHW30nvz8G6e5LndFeoE1u+yJr28itIJphsJUka1phV3KvIFIzujtKhZx ruV2mgX7N6wdhiOa3NCusBT9RNw72CMABj/HB+Ae5lJGAI6V6A1cJwP6g5L/ChZtxZTwfQaCuLB aHCOsNBaVxUWIct6Qr5IWkHhPsKHUGiw+Z8FqEibdyJNhUK1rOpcaGA5LQnCutONNzbxxHDfbvv R5QPnz0l+ZRKt3xuxWzKT9hTLIouOvK4MvYaeGqtYL/5zgWLNCfsP72d85V2Z2yNVwXbGQf22Rv jqIDeIk8= X-Received: by 2002:a05:6a00:23c6:b0:88d:8074:1a9e with SMTP id d2e1a72fcca58-8c8793b79camr435685b3a.3.1795113488528; Thu, 19 Nov 2026 10:38:08 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.38.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:38:08 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Markus Volk , Khem Raj , Ankur Tyagi Subject: [blacksail][PATCH 53/64] mpv: make the drmprime overlay framebuffer the whole frame Date: Fri, 20 Nov 2026 07:33:21 +1300 Message-ID: X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:38:18 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132743 From: Markus Volk The DRM framebuffer was made the size of the source rect while SRC_X and SRC_Y place that rect inside the frame. With panscan or a crop the rect reaches past the framebuffer, the atomic commit fails with ENOSPC and the plane stays dark. The patch, Upstream-Status: Pending, makes the framebuffer the size of the frame. AI-Generated: Uses Claude Code (Claude Opus 5.5) Signed-off-by: Markus Volk Signed-off-by: Khem Raj (cherry picked from commit d364539dc6133e29c7eaf26b18445cd1897b33c2) Signed-off-by: Ankur Tyagi --- ...make-the-framebuffer-the-whole-frame.patch | 24 +++++++++++++++++++ .../recipes-multimedia/mplayer/mpv_0.41.0.bb | 1 + 2 files changed, 25 insertions(+) create mode 100644 meta-oe/recipes-multimedia/mplayer/mpv/0002-hwdec_drmprime_overlay-make-the-framebuffer-the-whole-frame.patch diff --git a/meta-oe/recipes-multimedia/mplayer/mpv/0002-hwdec_drmprime_overlay-make-the-framebuffer-the-whole-frame.patch b/meta-oe/recipes-multimedia/mplayer/mpv/0002-hwdec_drmprime_overlay-make-the-framebuffer-the-whole-frame.patch new file mode 100644 index 0000000000..577d8cfdaa --- /dev/null +++ b/meta-oe/recipes-multimedia/mplayer/mpv/0002-hwdec_drmprime_overlay-make-the-framebuffer-the-whole-frame.patch @@ -0,0 +1,24 @@ +From: Markus Volk +Subject: [PATCH] hwdec_drmprime_overlay: make the framebuffer the whole frame + +The framebuffer for the DRM plane was made the size of the source rect, +while SRC_X and SRC_Y place that rect inside the frame. As soon as the +rect does not start at the top left, with panscan or a video crop, it +reaches past the framebuffer and the atomic commit fails with ENOSPC; the +plane stays dark. Make the framebuffer the size of the frame and let the +SRC_* properties pick the part that is shown. + +Upstream-Status: Pending +--- +--- a/video/out/hwdec/hwdec_drmprime_overlay.c ++++ b/video/out/hwdec/hwdec_drmprime_overlay.c +@@ -187,7 +187,8 @@ + int dstw = MP_ALIGN_UP(p->dst.x1 - p->dst.x0, 2); + int dsth = MP_ALIGN_UP(p->dst.y1 - p->dst.y0, 2); + +- if (drm_prime_create_framebuffer(p->log, p->ctx->fd, desc, srcw, srch, &next_frame.fb, &p->handle_refs)) { ++ // The framebuffer is the whole frame, SRC_* pick the part shown ++ if (drm_prime_create_framebuffer(p->log, p->ctx->fd, desc, hw_image->w, hw_image->h, &next_frame.fb, &p->handle_refs)) { + ret = -1; + goto fail; + } diff --git a/meta-oe/recipes-multimedia/mplayer/mpv_0.41.0.bb b/meta-oe/recipes-multimedia/mplayer/mpv_0.41.0.bb index 7178182c29..f37ae4ac50 100644 --- a/meta-oe/recipes-multimedia/mplayer/mpv_0.41.0.bb +++ b/meta-oe/recipes-multimedia/mplayer/mpv_0.41.0.bb @@ -26,6 +26,7 @@ SRCREV = "41f6a645068483470267271e1d09966ca3b9f413" SRC_URI = " \ git://github.com/mpv-player/mpv;name=mpv;branch=release/${@oe.utils.trim_version('${PV}', 2)};protocol=https;tag=v${PV} \ file://0001-opengl-context-require-swap_buffers-param-for-FenceS.patch \ + file://0002-hwdec_drmprime_overlay-make-the-framebuffer-the-whole-frame.patch \ " inherit meson pkgconfig mime-xdg From patchwork Thu Nov 19 18:33:22 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104988 Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1957.1795113491633560854 for ; Thu, 19 Nov 2026 10:38:11 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=sSveAVLh; spf=pass (domain: gmail.com, ip: 209.85.210.180, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f180.google.com with SMTP id d2e1a72fcca58-8a60f90a924so59383b3a.3 for ; Thu, 19 Nov 2026 10:38:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113491; x=1795718291; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=Vd5SD3p0efXkTUYyLJO4uC1u5tQVNvKva8m39m31jKo=; b=sSveAVLh5wW3X2EgJfGz55vMJrp0wn7YHthOf8NAkUYGOlzWBWib19ZREjfiK7kQH4 8tXQZOHxFPu+GFyHFHigKJa2FIoO/HfFRNeFh+da5GyxBigHhZ04c7OMNSTzKYBzURuH KeCliPTvtXv/JTobYpRXZVamGtO/7tHOH/x76e0mmARlV/WXXYESPvn7BHiIhis9XfBB tr7NumNrJknLSk8OJEGwFPT50AHV+7SE2jvahIeRu3xC67elDYI0vOHpFBPxB3H8PE3o CeIMvAeSeDYnY4uJ9LYkqkIJPaFF9/dE11O14LXU8RsH+AdGh26c0B2eJ+PiI6HwZ+yX JslA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113491; x=1795718291; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=Vd5SD3p0efXkTUYyLJO4uC1u5tQVNvKva8m39m31jKo=; b=Lhv6b6wMFosz+HsmDaUuTM8TayivxQdA3CPWlTNa5HGz9Y01bbrUMUbpukIjaEHeMI f5I1jJA7JI4WZ7zaufhsndzzkX1VfC5lRtidA8ows0OgLQ7OoKnRkyf9tfmvh8yK8f77 VGavcWrjMMlh4Hmt4sK0Yv18895z28krQZ91pyHHXtV1TTeYAZXZ1bbf63n8BG+8lDvt 8qVv0O35qEckkv/k+2ZYpY6lOm5tF7J4VJzlvDPUl31erS3yeubRAkvj2MtOFUfFpCUo pcM7+8+DCIfGJh0teZ/X24Ka26XAIDdtTGSXFUzSQOq0Kx2go4H/nvSwJgWUMEuqUtwL kZlQ== X-Gm-Message-State: APuU4Z+DyADdNbcDOcZWQK2+OHgw8ijSVmq1jn4TTkmFGgKAj0tiNzhE lXbiFT+NcBccS7S259TeEHTtR6KTb4vGw6mQcRGfE8HkAS989CvBZS43MlN71Q== X-Gm-Gg: AYBFou1QkoKoDnXa9aOJQZI2DHbBAnOcNhwNvvdGtXfeZ+SQ4noIZhbgG6pqKX9vhzx oVb1+ecjSIyFXtz/bauT/DeC9f3MRuQ89+gxw2Lv0LxqAlTxA9/tYsi+/lWzNr6ns/vKqG2R528 2+Y2IR8TPQke9maBrBYr84VvPmti2YMB58hgMKHFstH6jqujJr+pjXZqeTKZ8x2LlC4/ogdjNye E60XFhlkRRvcmAfjjpB+q8paGU5PSwnBmDHqyIsEiplQcl8d3vB2jNFrjFeIy0NojXNZTp0qqzG Z7mPCV244VUYk4scJE8AVJoaT+PDJIeyuF3vcoUikqZ6N+WS92cfzGt0KVBXJAYNGqCZuDbJcMO NTohc2YPLbpB3X+1DM3DxltV0XB+dYP3luJZY4XF01NlwVk2EIa/zXqnqdvRmgzlk43gZTsAuXf sn+1gL/gi5JzEOfJBhjRCKOZ0chFlfLwXrmpKZiDmdgOQgG2MjQR2qoSQoAOGtu88LCB3Osu3Qx lR12yAqUHi5igPYr8lQy0FaitBEOiP4fcozousJW7fKN4rQAYDEe/v0Q64HNbiPNnu5m2Vw8Usc O0kmYQcAQAr3ACdIF95cz8TB2FW7IzXAaB1auJOCllhvoKvsY2MIsXhouJUjaA== X-Received: by 2002:a05:6a20:9148:b0:3d4:52bd:b89d with SMTP id adf61e73a8af0-4014ae820dcmr514861637.23.1795113490894; Thu, 19 Nov 2026 10:38:10 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.38.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:38:10 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Ankur Tyagi Subject: [blacksail][PATCH 54/64] mpv: patch CVE-2026-123095 Date: Fri, 20 Nov 2026 07:33:22 +1300 Message-ID: <0eb3681e733ab8a11def8c52978698e77d259057.1795112941.git.ankur.tyagi85@gmail.com> X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:38:18 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132744 From: Ankur Tyagi Details: https://nvd.nist.gov/vuln/detail/cve-2026-123095 Signed-off-by: Ankur Tyagi --- .../mplayer/mpv/CVE-2026-123095.patch | 37 +++++++++++++++++++ .../recipes-multimedia/mplayer/mpv_0.41.0.bb | 1 + 2 files changed, 38 insertions(+) create mode 100644 meta-oe/recipes-multimedia/mplayer/mpv/CVE-2026-123095.patch diff --git a/meta-oe/recipes-multimedia/mplayer/mpv/CVE-2026-123095.patch b/meta-oe/recipes-multimedia/mplayer/mpv/CVE-2026-123095.patch new file mode 100644 index 0000000000..1efa0fdee6 --- /dev/null +++ b/meta-oe/recipes-multimedia/mplayer/mpv/CVE-2026-123095.patch @@ -0,0 +1,37 @@ +From 2c6599aa7d16efd29ae49865757eb449d9306742 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= +Date: Wed, 4 Nov 2026 20:28:57 +0100 +Subject: [PATCH] ytdl_hook: reject playlist entry URLs with control characters + +The entries are joined into a memory:// M3U playlist, one URL per line. +A URL with a line break became several entries, and only the first line +went through url_is_safe(). The other lines were loaded with the origin +of the opened URL, so any protocol was allowed. Skip any URLs with +control characters. + +Fixes: e6e6b0dcc7 +Fixes: GHSA-p99g-m25w-x8xv +(cherry picked from commit c3096515dcd26c14004f985538b5aa41db613856) + +CVE: CVE-2026-123095 +Upstream-Status: Backport [https://github.com/mpv-player/mpv/commit/c3096515dcd26c14004f985538b5aa41db613856] + +Signed-off-by: Ankur Tyagi +--- + player/lua/ytdl_hook.lua | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/player/lua/ytdl_hook.lua b/player/lua/ytdl_hook.lua +index 65ef859595..2b0edb193a 100644 +--- a/player/lua/ytdl_hook.lua ++++ b/player/lua/ytdl_hook.lua +@@ -1111,6 +1111,9 @@ local function run_ytdl_hook(url) + -- links without protocol as returned by --flat-playlist + if not site then + msg.error("Playlist entry does not have unique URL, can't add it.") ++ elseif site:find("%c") then ++ -- a line break would add entries to the playlist ++ msg.error("Playlist entry URL contains control characters, can't add it.") + elseif not site:find("://") then + -- youtube extractor provides only IDs, + -- others come prefixed with the extractor name and ":" diff --git a/meta-oe/recipes-multimedia/mplayer/mpv_0.41.0.bb b/meta-oe/recipes-multimedia/mplayer/mpv_0.41.0.bb index f37ae4ac50..0c99e354e7 100644 --- a/meta-oe/recipes-multimedia/mplayer/mpv_0.41.0.bb +++ b/meta-oe/recipes-multimedia/mplayer/mpv_0.41.0.bb @@ -27,6 +27,7 @@ SRC_URI = " \ git://github.com/mpv-player/mpv;name=mpv;branch=release/${@oe.utils.trim_version('${PV}', 2)};protocol=https;tag=v${PV} \ file://0001-opengl-context-require-swap_buffers-param-for-FenceS.patch \ file://0002-hwdec_drmprime_overlay-make-the-framebuffer-the-whole-frame.patch \ + file://CVE-2026-123095.patch \ " inherit meson pkgconfig mime-xdg From patchwork Thu Nov 19 18:33:23 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104989 Received: from mail-pf1-f175.google.com (mail-pf1-f175.google.com [209.85.210.175]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.1908.1795113495166776296 for ; Thu, 19 Nov 2026 10:38:15 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=OvkcAfYx; spf=pass (domain: gmail.com, ip: 209.85.210.175, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f175.google.com with SMTP id d2e1a72fcca58-8c4cc85a315so108788b3a.0 for ; Thu, 19 Nov 2026 10:38:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113494; x=1795718294; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=2g0IjJLLnWPQDYoyIr4qJqM6t31zYYKQTRXLoEtMRhk=; b=OvkcAfYx6jio/vBwjr8hTn7SwLpcqJamX2oPWoyj5kXpa23GjGEEBmDdxgG8uMP+nw PNdHp+EGwEwFd6/8rCMaGkXL8izP3ZoJVwzN03X0slSVOx/dgy/DQeqfbJp1zAdRwDDL yX3EF9F/pyHYvIegQrzodRuREaaTor9s4kwI0AYFFRC4i/dhL6pnyJNScaFHvu57ZC3F Wf5ZZM4fooia3Oxdsf9inYG2DckhEqWEIAhAstsPME3ZPjxiQ2ikX8IQo9qQeLT7glZv 69sWOGEp+SjGf3ZSC5K1X6V0ptHsAbKbjxRDlE3UQE4qZ9TzddttPCM03KlalmQOKeHb +3Zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113494; x=1795718294; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=2g0IjJLLnWPQDYoyIr4qJqM6t31zYYKQTRXLoEtMRhk=; b=JHhTbA9i2OPWKgmolmk1OnNLngsyhRTxWf7csR5y8daXIcCt7Ra+T2H5BwA9Y6cLmR FQV7Zbg/ez468/CVuSYl6QPi6RXCEqESRGBuuq1qGbj3tVglFq7fkXF0eMCqa6cl6xjU oNAYD1RrF1riQ6x/tc0bs6OXnZ67KpyrB7W+TM6gp3gpYF1PmOTZMSE8sDu9Bz3uufFe shfO+Nb5pA1/mZ4lJz/5stGO20k0kRcnxu8vsu9kHvYuuwijyieWZCUP9tGGjhWTPAnq g3CYt3D6CMgNSyJd6CcUmuNYb7sGwCrBhNmqG1OGxT8OLUhFpvTft308DbDxJqg4j5jR jPFg== X-Gm-Message-State: APuU4Z+Rjg3Sgk45Zr7F1UfYl7QDauzdA4H5XbDHCNElT6Nql5mEANxi gLGLd6UR6R16AVqorUSc41Iewj77tRMRTzv3OuyldmaVF/OM1MzmvsCVcPvNkw== X-Gm-Gg: AYBFou0zLwrANPG0j069NlNT/YxAc8S/TPdPhzYnlQCjZ+zEGpfIVDZcryY4W8ZdFkV iKGUwJ70vcHGCGViD9BtWD6pSju2HRfXcJCzpczmJxTPZ/c3gsSIdott1pniFlfgY/c3W2wsvbA jB59PsLBzMeRVwjZmkNeikcbfxZ7OLO4algrBEWoq78UXirSLhq1rFtnN2Qas3Wvyc1U44PmB3I wx/jaeyzFEa4V8j96Wbyvl/hn8Qt+JfPiLKu6M9pMKdFssMBGT9dj5ZFs5+ucjgpdFEvKrGqySa oPVcX5AVoD1WjIPH7uI+rRsZRqLi6W2AQy1hMUj3wnmzeykUAEXGY6GzKCnECoxEvBWl8Iy+27l Yp0NN3GkbucAAlbdArv9ckNpcWYB0SMBI4AuPg7EnNhWsS0bCLUYrkLxygK6PlPwAfcHINfRI5N uL7Ija/Ks+vqfWrvi//rvL0KjNuAITuvju0lMN16icx0Q2hG5eaN26xIQH/R6nkHdc0x4dNadY2 m3x7lI4pHDYm8EZEwga5y719ZxbXGDJFPSH7znbPzEzM4ONWKRXuRvVurQzb70066hCElbGSbQH u40hqeJBP0/AkQAemZ6eq4kyZuQfghbmiRFaVPhUAtZ0+JVNrtDnKyF+IV7DAA== X-Received: by 2002:aa7:8893:0:b0:89f:9da8:1b66 with SMTP id d2e1a72fcca58-8c87c389aedmr472233b3a.33.1795113494503; Thu, 19 Nov 2026 10:38:14 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.38.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:38:13 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Awais Belal , Armin Kuster , Ankur Tyagi Subject: [blacksail][PATCH 55/64] mongodb: fix build with python 3.12 Date: Fri, 20 Nov 2026 07:33:23 +1300 Message-ID: X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:38:18 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132745 From: Awais Belal The moduleconfig.py build script uses the 'imp' module which is deprecated in favor of 'importlib' in python 3.12. This fixes the build issue by replacing the affected portion of the code and the package now builds fine on hosts with python 3.12. Signed-off-by: Awais Belal Signed-off-by: Armin Kuster (cherry picked from commit edd1a1e284fdcb80cd48d411f235d47f23bc27ae) Signed-off-by: Ankur Tyagi --- ...econfig.py-python-3.12-compatibility.patch | 57 +++++++++++++++++++ .../recipes-dbs/mongodb/mongodb_git.bb | 3 +- 2 files changed, 58 insertions(+), 2 deletions(-) create mode 100644 meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-moduleconfig.py-python-3.12-compatibility.patch diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-moduleconfig.py-python-3.12-compatibility.patch b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-moduleconfig.py-python-3.12-compatibility.patch new file mode 100644 index 0000000000..51926b9d2e --- /dev/null +++ b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-moduleconfig.py-python-3.12-compatibility.patch @@ -0,0 +1,57 @@ +From 37580777bc5294d606584f3731d9f5f5425bb587 Mon Sep 17 00:00:00 2001 +From: Awais B +Date: Tue, 4 Mar 2025 11:27:10 +0000 +Subject: [PATCH] moduleconfig.py: python 3.12 compatibility + +The imp module was deprecated in python 3.4 and is dropped +with python 3.12. We now need to use importlib for the +purpose of manipulating/loading modules. + +Upstream-Status: Pending +Signed-off-by: Awais B +--- + buildscripts/moduleconfig.py | 21 ++++++++++++++------- + 1 file changed, 14 insertions(+), 7 deletions(-) + +diff --git a/buildscripts/moduleconfig.py b/buildscripts/moduleconfig.py +index b4d0bba0490..69dd91ab30d 100644 +--- a/buildscripts/moduleconfig.py ++++ b/buildscripts/moduleconfig.py +@@ -27,7 +27,8 @@ MongoDB SConscript files do. + __all__ = ('discover_modules', 'discover_module_directories', 'configure_modules', + 'register_module_test') # pylint: disable=undefined-all-variable + +-import imp ++import importlib ++import sys + import inspect + import os + +@@ -71,12 +72,18 @@ def discover_modules(module_root, allowed_modules): + print("adding module: %s" % (name)) + fp = open(build_py, "r") + try: +- module = imp.load_module("module_" + name, fp, build_py, +- (".py", "r", imp.PY_SOURCE)) +- if getattr(module, "name", None) is None: +- module.name = name +- found_modules.append(module) +- found_module_names.append(name) ++ module_name = "module_" + name ++ module_spec = importlib.util.spec_from_file_location(module_name, build_py) ++ ++ if module_spec is not None: ++ module = importlib.util.module_from_spec(module_spec) ++ sys.modules[module_name] = module ++ module_spec.loader.exec_module(module) ++ ++ if not hasattr(module, "name"): ++ module.name = name ++ found_modules.append(module) ++ found_module_names.append(name) + finally: + fp.close() + except (FileNotFoundError, IOError): +-- +2.34.1 + diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb index 36bea146b4..8f28bc76c6 100644 --- a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb +++ b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb @@ -36,6 +36,7 @@ SRC_URI = "git://github.com/mongodb/mongo.git;branch=v4.4;protocol=https \ file://0001-apply-msvc-workaround-for-clang-16.patch \ file://0001-Fix-type-mismatch-on-32bit-arches.patch \ file://0001-Fix-build-on-32bit.patch \ + file://0001-moduleconfig.py-python-3.12-compatibility.patch \ " SRC_URI:append:libc-musl = "\ file://0001-Mark-one-of-strerror_r-implementation-glibc-specific.patch \ @@ -140,5 +141,3 @@ SYSTEMD_SERVICE:${PN} = "mongod.service" FILES:${PN} += "${nonarch_libdir}/tmpfiles.d" RDEPENDS:${PN} += "tzdata-core" - -SKIP_RECIPE[mongodb] ?= "Needs porting to python 3.12" From patchwork Thu Nov 19 18:33:24 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104990 Received: from mail-pg1-f177.google.com (mail-pg1-f177.google.com [209.85.215.177]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1963.1795113498946979295 for ; Thu, 19 Nov 2026 10:38:19 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=h04L5g9x; spf=pass (domain: gmail.com, ip: 209.85.215.177, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pg1-f177.google.com with SMTP id 41be03b00d2f7-cd60c5da24cso64486a12.0 for ; Thu, 19 Nov 2026 10:38:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113498; x=1795718298; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=a6dtomXhJw3L747O4LdctiC4Rv6OGDo+uvglyG7Zh5w=; b=h04L5g9xMQEDDcrba8wD+tA7iQRpXt778FHmsqFTFBC0A4zpSLfXJAGJcKGcww7rkV gf3oDw4Wc4u8mDlvO2UWs5JUaNyqLj0RGM6Wd0ebx1AQrbgJm7gFb3xi7MZPxJPWQ0QE 98lTSQSr97R7IxeKCT4M/4gIqA2Jg+QCwUf36z4QD8xpHHnwviUGaSnRT4rff6UcE3No jM/NDmJkkFdq9n0PSXhS7BqiLTMfAZ0q7AfWHSUxHU2N4XaLwmpDjyjY2R9ggPbJfjZ1 ySs4aw0C+qX/qNZUIwzypLIe4L1TeuVNZRYCpayc/ZdeGfnoigOTxuCDLlG8TBv6VHss 6i7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113498; x=1795718298; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=a6dtomXhJw3L747O4LdctiC4Rv6OGDo+uvglyG7Zh5w=; b=uDlpx2RFxEwPWCF6TXIcfnpMmo9X3VU4Q01Wm1eLVW8KSz7uQf4mGCxhxOyt7ZqMCT dCRrRB/RfvS9AcT1ChKmdxb8I8rNa+p+qkmVK2az9Uji5qaZ9KRrtymm/rkcoja7n6It 67G5uEOWocA35n6IcfoGbAkgHiZFBvBwLFys0NLVnW/W2825pIbilHFfNR133OkKLOrf vfkkcivg0ZbpDdHFTvNk46qhWNFOL8V9DHTBMsMQHGd5kBEsgkGI+3KaHNHX+rqFaKUy 829N+YjwjbvqWuMTWru2jPeoV0JNhWR7U//JjtM+qZvtqD6RurdgpzSqEo9scJmQkTTr DxGA== X-Gm-Message-State: APuU4Z/wFLTTh3FuHTFBBrD4ZutiDwn4HG0gPWExzW3e3TDQqdWfg3tV Mt4soFG5f+Em8+AONSGeUo4l0CcsxM/EeUywS5ve3iXg6hd83UZklcbPbqgF8w== X-Gm-Gg: AYBFou3EOc8TzNoO/zrqryyyWcyZhuuXEok3kBgmc/u/vpdZ/tp23nNl6M83tTzkT/X tI0Y3VxFij6odqx5IGs6iGI48B3q78bEn6kyMS4kifOmcdDPmH9ACbdG1XLsq2qBnKhJJjKY3Zd j+H2i60ujymFlVWpoCWGGx3gCTvGc8UeNMVJXe5IsGsO1xN1Dgh/yeT6JrxFM2m3NO/xNgyW0ss l5q+7g/h9wWFztQFZ4N6YgoqsetKDF2/k75odUG+3MWpRaJ3KkUAjz06pzAy5qR77/7QwRtZ1zG jTH43q+tUCaw8NXqV16l90JXOFT9BXBKiqcanNEuDZA/V8w54/RFhn+jrmg8ZxqT1+5cEDH6nps UgIDRv5TvEvFs8ggiCEQ+zExKgufDse5ez3kQuMicW0PPmPfPRnSEzrNHYDA6tAYateHdUA9E+F 1V+u9EUzaXeorHslhNtE+Uvax+6dYxLpb0YohwmiNZa8QmOU1VCSrTzXz++7beSBGeyZay2+GKb Ou67o7Ep32eiLYAQ71HsU0ma4CnDyn+8qcNftqSXmEoIVRrDBQwaO0I3T+q48dbuIxlAsfzPTdP cx6jHPFKTceY/nIafhUIFUNJ/ZN6kcqvc0FRydnF0gG6UwLa9XUjsM9yh64gAQ== X-Received: by 2002:a05:6a20:6a0c:b0:3f9:503d:ee7d with SMTP id adf61e73a8af0-4014b65ccf2mr543548637.17.1795113498272; Thu, 19 Nov 2026 10:38:18 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.38.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:38:17 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Awais Belal , Armin Kuster , Mike Looijmans , Khem Raj , Ankur Tyagi Subject: [blacksail][PATCH 56/64] mongodb: update to 4.4.29 Date: Fri, 20 Nov 2026 07:33:24 +1300 Message-ID: X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:38:28 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132746 From: Awais Belal Move on to 4.4.29 and drop a patch that is not applicable anymore. Signed-off-by: Awais Belal Signed-off-by: Armin Kuster Signed-off-by: Mike Looijmans Signed-off-by: Khem Raj (cherry picked from commit 245b2dceb256932c62e762839adb57c0dec32edf) Signed-off-by: Ankur Tyagi --- ...001-free_mon-Include-missing-cstdint.patch | 28 ------------------- .../recipes-dbs/mongodb/mongodb_git.bb | 7 ++--- 2 files changed, 3 insertions(+), 32 deletions(-) delete mode 100644 meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-free_mon-Include-missing-cstdint.patch diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-free_mon-Include-missing-cstdint.patch b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-free_mon-Include-missing-cstdint.patch deleted file mode 100644 index 8cee14889f..0000000000 --- a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-free_mon-Include-missing-cstdint.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 5d8218b8a1b5bc71e2a0cf543a000e194daba599 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Sun, 29 Jan 2023 17:15:30 -0800 -Subject: [PATCH] free_mon: Include missing - -gcc 13 moved some includes around and as a result is no -longer transitively included [1]. Explicitly include it -for uintXX_t. - -[1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes - -Signed-off-by: Khem Raj - -Upstream-Status: Pending ---- - src/mongo/db/free_mon/free_mon_options.h | 1 + - 1 file changed, 1 insertion(+) - ---- a/src/mongo/db/free_mon/free_mon_options.h -+++ b/src/mongo/db/free_mon/free_mon_options.h -@@ -29,6 +29,7 @@ - - #pragma once - -+#include - #include - #include - diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb index 8f28bc76c6..ae9123c7c4 100644 --- a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb +++ b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb @@ -11,9 +11,9 @@ DEPENDS = "openssl libpcap zlib boost curl python3 \ inherit scons dos2unix siteinfo python3native systemd useradd -PV = "4.4.24" -#v4.4.24 -SRCREV = "0b86b9b7b42ad9970c5f818c527dd86c0634243a" +PV = "4.4.29" +#v4.4.29 +SRCREV = "89d6ffe6fc67b36fd47aff6425087003966588e3" SRC_URI = "git://github.com/mongodb/mongo.git;branch=v4.4;protocol=https \ file://0001-Tell-scons-to-use-build-settings-from-environment-va.patch \ file://0001-Use-long-long-instead-of-int64_t.patch \ @@ -32,7 +32,6 @@ SRC_URI = "git://github.com/mongodb/mongo.git;branch=v4.4;protocol=https \ file://0001-add-explict-static_cast-size_t-to-maxMemoryUsageByte.patch \ file://0001-server-Adjust-the-cache-alignment-assumptions.patch \ file://0001-The-std-lib-unary-binary_function-base-classes-are-d.patch \ - file://0001-free_mon-Include-missing-cstdint.patch \ file://0001-apply-msvc-workaround-for-clang-16.patch \ file://0001-Fix-type-mismatch-on-32bit-arches.patch \ file://0001-Fix-build-on-32bit.patch \ From patchwork Thu Nov 19 18:33:25 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104991 Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.1911.1795113502573609437 for ; Thu, 19 Nov 2026 10:38:22 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=eWxar2sB; spf=pass (domain: gmail.com, ip: 209.85.210.170, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f170.google.com with SMTP id d2e1a72fcca58-8c4cc85a315so108850b3a.0 for ; Thu, 19 Nov 2026 10:38:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113502; x=1795718302; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=dBAo2CjiumD4/Har+01Qsf/ylrxyQmFtyQrTXqGdvdk=; b=eWxar2sB0ensh+vbRgyND/EJfef2Rl4a7iuhAKDrFcEGkohznx/YOfoFIjc8IcRhQq L6SyDp3jSYZX61ub6BvfeSCOUYy5I61yWevGiXJD9KAwyqQWatJ5ErqbWoxqJa2SvDsI LcN76+1j7SJp6kf1Y/FNxJJ+pTBpOGD2/aokg1F4KvJhQ26TJEEBO++Y3CfdEQFfJUoG GPl4tchd/lfkRUeTBxqDVgK4YomRaFsSxUeuqaHbtd8aXxJwyYoe9zRJ3QLqz5Hd+7Gs aZdrwc4Gz50bO8Fr2A05SRDAmhaZ3IEHP16EDEkAPivWmWeEA1k474ID3sgL4AEwzxqY IOBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113502; x=1795718302; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=dBAo2CjiumD4/Har+01Qsf/ylrxyQmFtyQrTXqGdvdk=; b=RbROY/O8eQD4C+q+vFicis+quzbQYu8+Tk17TreErzVQOHVxrrOSMNPHshKAJKWxpw 4QePDfIraz58AUZtdir38t2/Y5RDcwSrXHvCTBqMBRli3o0wI9CRv3gch6SYuXaO7i0x A1eSgtrJ1nEAYQWKW2EY8axq8vTFMcFMCEkcZfLWPZLrRGePTSPJX/haxea115EjynFU jLCVUDWzs8q4+zm1fDjX6wfztsUC6zDQ744F3+IOHw0i954O8mNqcDeCaJnIarL6a+NQ xLNzcYXBmqUT//fjW5EFHIgPkuuX5fryhTCCVRboMDoi0DHcV2JQRBmEZZslFw5Vj8Lg 8tlQ== X-Gm-Message-State: APuU4Z+S+B8CRPd/vFxe3gS82c9xbNgH5g+NNxFmuldgM0eUf9KLVxC7 CYZJzHySC6vjWhUBJdFVuNhLQZ1nYc0LaOVDkPHVjOt7nM59EUEbnUvCkQN3sA== X-Gm-Gg: AYBFou3hc8QqIKvv1lk/sy8xz43K8gJ+H2sPaFlhrTwHxQSMxRYssvCM0nz8IdC8dDw 039Y+FkMDAZzF8nY3Drk+PCc7c2tVilcxw9m4c/jqn/51/3GHiiIAK45oVGfjwO0V1qaV9rc/jG xMZdUKYvhB7OD4pLQ2366AiLMwnUzMSpiLhA0gm4RidtffqzZm3GK92sgrJPLXgg9pa2JZQvOga B2x6biV0tBOArPEWFcvcSza/QG4fTeA/isSjMo6lq9g+X6ytKi7lnnyD7ErHFpEh7OVJW2L3rWt qsfDrcMgiM2tygkTiOa5XH/WkB9NMEplco3dGUV9tvijMHPmZ/F7416IxEmueXuvfcD8WAq/3dY egevPThfuWTe8LlmRTqAVTywJLCBtbGuEESOT50sTEhcpa6YD6uClONglOvY6pnsMSbnlaAv0ew YvdekcPenB7yEPTHL3tNeOIbLmHWx8HvoExAnrU9LxSkZRxJ95OrADujes51GTJnkiIJEXOlnbH 0IOvnjppTh7kpjzJCcSTJS2uOVWhIMIRrHLCglrxWTAYQhit+7qSb2Wualn9nDEi+lAIqrZhKwA CZsQFT2R8uJbaKuh2Rot5qKrvMhxG26nkPp/i2W/yGxU2YyEQzitY+AnimNk3w== X-Received: by 2002:a05:6372:a70f:b0:3fb:4a1e:2f7c with SMTP id adf61e73a8af0-4014e351c1fmr414613637.57.1795113501923; Thu, 19 Nov 2026 10:38:21 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.38.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:38:21 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Gyorgy Sarvari , Anuj Mittal , Mike Looijmans , Khem Raj , Ankur Tyagi Subject: [blacksail][PATCH 57/64] mongodb: upgrade 4.4.29 -> 4.4.30 Date: Fri, 20 Nov 2026 07:33:25 +1300 Message-ID: <8227b9d8fb8e9e7837b3a7d48bf6bc7abc6a244e.1795112941.git.ankur.tyagi85@gmail.com> X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:38:28 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132747 From: Gyorgy Sarvari This is a security release to fix CVE-2025-14847: https://nvd.nist.gov/vuln/detail/CVE-2025-14847 Signed-off-by: Gyorgy Sarvari Signed-off-by: Anuj Mittal Signed-off-by: Mike Looijmans Signed-off-by: Khem Raj (cherry picked from commit 08c49b447b5a615aaaeb89802f503ec6d1722b74) Signed-off-by: Ankur Tyagi --- .../meta-python/recipes-dbs/mongodb/mongodb_git.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb index ae9123c7c4..ccae6e9dcd 100644 --- a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb +++ b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb @@ -11,9 +11,9 @@ DEPENDS = "openssl libpcap zlib boost curl python3 \ inherit scons dos2unix siteinfo python3native systemd useradd -PV = "4.4.29" -#v4.4.29 -SRCREV = "89d6ffe6fc67b36fd47aff6425087003966588e3" +PV = "4.4.30" +#v4.4.30 +SRCREV = "1ae4c9990dbc5711f3500748f0c3f8b5d375d8c0" SRC_URI = "git://github.com/mongodb/mongo.git;branch=v4.4;protocol=https \ file://0001-Tell-scons-to-use-build-settings-from-environment-va.patch \ file://0001-Use-long-long-instead-of-int64_t.patch \ From patchwork Thu Nov 19 18:33:26 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104992 Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1967.1795113506030263126 for ; Thu, 19 Nov 2026 10:38:26 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=XSkhOjrX; spf=pass (domain: gmail.com, ip: 209.85.210.169, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f169.google.com with SMTP id d2e1a72fcca58-8b67f25e6e1so95508b3a.0 for ; Thu, 19 Nov 2026 10:38:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113505; x=1795718305; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=G02u5csT10sC28I5ejsE9FpQRxHvf5Sp+xyFp0NCV4A=; b=XSkhOjrX8DhyDFv+UGrtX0D+we6GFZ/rRhBDetJ9C/HGYHNn79A61+ow+QNHe2Dm2i x1CTDJISlEc1NbFtdwXiBPyfz3ESz2Cd7l5FL8f79hsmeBEH+3JBiZrGshakMAGEHyYP BIgsSXZckqUuac7THYMvOla0LR29u6mpG8WP4aLrTv5ZWX4wttfExCyTbBf2ik8+iFmr K1jeYzEYPI+5GFgWUOZTZiLywzp1LFi49DJ90kr1nGckKXO6aG6CWFMEVXKgnJy6WCFH +yxrcripIdgjgf52FTshtbCgDDrYaEZBoCw3/eK1NPK52Z+YjjAfLi7bWiyJf6Yi66Si WZoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113505; x=1795718305; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=G02u5csT10sC28I5ejsE9FpQRxHvf5Sp+xyFp0NCV4A=; b=lRHa16TOZ8P5BVxanolHYvTJATZ6IcnKa7/VHkuY5FVHnwQGbRU+xhvWCqL8/TD9ZB XGShQ/1oJNgydqVxxzMyTyfssdokJ3UykUY6sUedRRDEMQF1a6YoShSKGxS/ZFghwCwZ /mKc/AehMamu3eYLkJkGNhf+8wkbwmr9E+v24YvVTUbBe29lqjmAftR4YDooJKQhofwC jbT0ItMdu2QhgIeJxd5b+UHZ0xynD5BPTcHFAdSre4nB4p/Da3xM6Ll9x3M9YeAPueTk iMwImR6zM2ql4mI6Xe6/hCYk3aEJ6bgZEgvFjsDlCL69JrCD4xFScFyowYC5Kl1LGf6m OHuw== X-Gm-Message-State: APuU4Z+HxhHKdhEIYOsvyFXXouxtspXwplcqNRh0jmY8yTSZZL1rvylc ZX6Plxx5wQjJltEmrs+wiSSaQ7g+JcOxSnjEDIAwFV8qlzZxZ+XfWeDoB4srWA== X-Gm-Gg: AYBFou02trDwC5aYET9ewoQfmDIiLUQizsiH3e8s3YgqumPaMjnNOljwCHKYA7G46vh dGDMLHB4BAyYLKgpZrHt++Y06Z1ydxnFVkDryb3leHhco5tgc3e+/yENwsdPJLxEkodyIvU4Eps Gnfdp8Pds9U1mHYzR/h1NYMFlRz+ekonypxcCfH2uCDEGF30w5R6ImUJXTQe9YJO8tOEflIz/XW PI4sv8RVRT1f8aZZQf9a+nQYP34rQwH19jXCajyXrW9sAPrq+EMzK8vFe3g0vWJt6WchuegnsV4 2WaOl4RYmb72FkOXuErTPPOuHf7iSKM/0zIh595Ksm5CppD+esNLj3MioBnXuvdk2H1aWrycUc3 PM3sd/MZKExQdEp0CF4RTbq9IOSbhLj8zTA41M2PxCzrU510PzuaJk9chr+zzfRSaSCuD09IuEr wUtynFLfig6h5r5o74owpDWOdIz7i1HCuqCDbujTmaOGe8DF7zeC43X00y+cHnexSlM1cJCyIF2 Q6FdRX1zoK4Hj9zJ9zFtMLxq0FFkCsf5VuG24wY3nFwyj95KUVB+DZnjkJYIUmtc9pJ7KMe81Oi 6lNAznGeKlnjL1HDo9GnKRS4Qwy3ffWhJmDRwDLO9RO71v8c01yKTsCmeRg2u2oD X-Received: by 2002:a05:6a00:3c84:b0:89e:ba55:119a with SMTP id d2e1a72fcca58-8c87d123bd5mr470719b3a.47.1795113505435; Thu, 19 Nov 2026 10:38:25 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.38.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:38:25 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Gyorgy Sarvari , Anuj Mittal , Mike Looijmans , Khem Raj , Ankur Tyagi Subject: [blacksail][PATCH 58/64] mongodb: ignore CVE-2025-14911 Date: Fri, 20 Nov 2026 07:33:26 +1300 Message-ID: <7d9eb9deeb2422cd6346aa98f85f2659596af3d6.1795112941.git.ankur.tyagi85@gmail.com> X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:38:28 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132748 From: Gyorgy Sarvari Details: https://nvd.nist.gov/vuln/detail/CVE-2025-14911 The CVE is currently tracked without valid CPE. The vulnerability affects mongo-c-driver component, not mongodb. They are also stored in different repositories. Due to this, ignore this CVE. Signed-off-by: Gyorgy Sarvari Signed-off-by: Anuj Mittal Signed-off-by: Mike Looijmans Signed-off-by: Khem Raj (cherry picked from commit 272e975c34e5bd8863e72477c461755839932d88) Signed-off-by: Ankur Tyagi --- .../meta-python/recipes-dbs/mongodb/mongodb_git.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb index ccae6e9dcd..e7a4d1e34b 100644 --- a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb +++ b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb @@ -51,6 +51,7 @@ SRC_URI:append:toolchain-clang = "\ CVE_STATUS[CVE-2014-8180] = "not-applicable-config: Not affecting our configuration so it can be safely ignored." CVE_STATUS[CVE-2017-2665] = "not-applicable-config: Not affecting our configuration so it can be safely ignored." +CVE_STATUS[CVE-2025-14911] = "cpe-incorrect: The vulnerability is about mongo-c-driver application, not mongodb" COMPATIBLE_HOST ?= '(x86_64|i.86|powerpc64|arm|aarch64).*-linux' From patchwork Thu Nov 19 18:33:27 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104993 Received: from mail-pf1-f175.google.com (mail-pf1-f175.google.com [209.85.210.175]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.1917.1795113508842521435 for ; Thu, 19 Nov 2026 10:38:28 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=ixk004ha; spf=pass (domain: gmail.com, ip: 209.85.210.175, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f175.google.com with SMTP id d2e1a72fcca58-8b612fd74e1so70206b3a.0 for ; Thu, 19 Nov 2026 10:38:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113508; x=1795718308; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=m4343D18kR8oEw7EyQ8wJHVu81QQE7vt3ZoX3q5xoeM=; b=ixk004haoKWij+er8Icsn8ymnqfWXeFgsLTUsg/OF0CbM6IIXsYQshhHfyi4EbMNvt TJ3XYiiP/fV0EfXkJ4mEqZRtlAODF1SOPwdDEufk/opxBw2+TjTnuI9AsZIO7NHBn9Mr hBuLCKDHRicKpNAFYTBtfkpt0lbSx+CyZ9PYW1IiNIdr1WiI/sJ3wITiQD6Y+QLZHFQ3 +kfY78HngjCmD3qg3CSB2DnEceEAfQTaEkzRWqb9LJ+srNz0MWO8w/qxx2NvDn4v2zgx RFT4Azve4e2kb5FQ1vVKaSSqELe9siy4EwXHWzNAlM/Rz1soOmoLfzRsSRMoPF90BgSX 0PoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113508; x=1795718308; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=m4343D18kR8oEw7EyQ8wJHVu81QQE7vt3ZoX3q5xoeM=; b=UTE8dkmaz8T8Bwnk47InkzcESZ1FsE3SWpq6AoUWpVY4ccyG9BzvKcc1ViRP8K9N9F isiU7AywpcXWqbN8JkdYxijcs2UruPgEu5pX4Ncj/Sb3u/rRDsFeW+bbzdGJk8G7Z8v0 4PklMLLx0Ch6oRBLS1AOwg7i5+Huh0P4zxyX607VgkonCPHsrZTFpNYTZkF6nZnaG5hw bCtW36sb3m/87RFb0flLCp97rI94hI9/aLmC2rug4/cXkvq+byvIdk2BCCrzh9oZlx3/ n6+sypXwWPgYniuIYQRYtALIPEBhUjZx47vZp2BYLi7zhvMLdyRxSlh8PNSo9xUBO6jn JZ1g== X-Gm-Message-State: APuU4Z8KvWW/SIRvjvXPHnh8c87CoGZ//B2wHmHUMqLS4zrn8h6htEiK fAW7g6iJ+ay4uKbL4CQ1pdCES6guXB+4dJWgZi8Zo5MhANLRzeS7wvRjetR2hg== X-Gm-Gg: AYBFou0WEgldBvqfcgZuyO0uf48vTdPZLXsd9De4I3FofKDTcJWPJOQm1JolRs/aQOY UoCArqvRzuzE9Cw6uCiC5iy1IR4omYXhm010zJh+HAh5PJwHcCa23/I8W250Sl9GCk2TK4jWQZa sIlDn/vSKMb6rXKZIxvzi+ys8ICETaI31/GdLnjLVXD9nXscEhBe3QKEPKGHTYtNod95dQHV82k F6WY0MgUQZ8eElvhzeqPE6b77CYtQZailGcZPdQoJjg9tha97WJC2WehVo2a4tFaJG+Z9nUOyOj 6cOPv4moMNCQDxBjwuiqeC7VwW0qD3jETXjqgGQMd9DKhiJpIfPIgCSs8Ae4nfoXnYgtUfF3Zxw hAe4I+qeC9f6p3VoPw8OzrV/bxvdGUQPEFS1Lz7/MIAylcPhdt2fir/eyR2YI9dfN0ju5j0ubaC wYyTayZ4tpthn+imFwEmD4ERKeRCxSktHHKJuszUlvbbxrrwkPUvRuuOq/zEFCh9CZDmfA1ObBu dKCV3ult1oWob80auBURp5MK+qX+yPqZFt/52yUOAbQnaSsndgl/LzNIpTy4tHWRTSaTCck4yk4 EplFtVWP8V4OIm669F4tReAA656fMDo1M1OrVSZGc4hdcsgdUaY454524SBAGw== X-Received: by 2002:a05:6a00:1808:b0:89c:1f2b:a73f with SMTP id d2e1a72fcca58-8c87bcbced8mr498632b3a.17.1795113508015; Thu, 19 Nov 2026 10:38:28 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.38.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:38:27 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Khem Raj , Ankur Tyagi Subject: [blacksail][PATCH 59/64] mongodb: Fix build with current python, SCons, clang and OpenSSL Date: Fri, 20 Nov 2026 07:33:27 +1300 Message-ID: <439c232c795f8dae61e957b9f2cef7c5b7b87a6d.1795112941.git.ankur.tyagi85@gmail.com> X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:38:38 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132749 From: Khem Raj mongodb was re-enabled after having been skipped, and no longer builds with the current toolchain and dependencies: - setuptools 84 does not provide pkg_resources anymore; use packaging.version to parse versions - SCons 4.11 added an extra_libs parameter ahead of call in CheckLibWithHeader(), so the positional call snippet was split into bogus -l options and the OpenSSL check failed; pass call as a keyword - clang 23 rejects out of range enum values in the bundled Boost 1.70 mpl::integral_c uses and a typo in Boost.Thread; backport the fixes from newer Boost - OpenSSL 4 makes ASN1_STRING opaque and removes ASN1_STRING_data() and ERR_remove_state(); use the accessors available since OpenSSL 1.1 AI-Generated: Uses Claude Code Signed-off-by: Khem Raj (cherry picked from commit 2903830b48e5a304ad62aa65e5c2b44c2fe67f67) Signed-off-by: Ankur Tyagi --- ...stead-of-pkg_resources-for-version-p.patch | 51 +++++ ...call-to-CheckLibWithHeader-as-a-keyw.patch | 56 ++++++ .../0003-boost-Fix-build-with-clang-23.patch | 176 ++++++++++++++++++ .../0004-ssl-Fix-build-with-OpenSSL-4.patch | 117 ++++++++++++ .../recipes-dbs/mongodb/mongodb_git.bb | 6 +- 5 files changed, 405 insertions(+), 1 deletion(-) create mode 100644 meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-Use-packaging-instead-of-pkg_resources-for-version-p.patch create mode 100644 meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0002-SConstruct-Pass-call-to-CheckLibWithHeader-as-a-keyw.patch create mode 100644 meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0003-boost-Fix-build-with-clang-23.patch create mode 100644 meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0004-ssl-Fix-build-with-OpenSSL-4.patch diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-Use-packaging-instead-of-pkg_resources-for-version-p.patch b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-Use-packaging-instead-of-pkg_resources-for-version-p.patch new file mode 100644 index 0000000000..d45b9f8021 --- /dev/null +++ b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-Use-packaging-instead-of-pkg_resources-for-version-p.patch @@ -0,0 +1,51 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 9 Nov 2026 07:45:00 -0800 +Subject: [PATCH] Use packaging instead of pkg_resources for version parsing + +pkg_resources has been removed from setuptools, so SConstruct fails to +load with: + + ModuleNotFoundError: No module named 'pkg_resources' + +Use parse() from the packaging module instead. + +Upstream-Status: Inappropriate [v4.4 branch is EOL] +Signed-off-by: Khem Raj +--- +diff --git a/SConstruct b/SConstruct +--- a/SConstruct ++++ b/SConstruct +@@ -16,7 +16,7 @@ + import uuid + from glob import glob + +-from pkg_resources import parse_version ++from packaging.version import parse as parse_version + + import SCons + +diff --git a/site_scons/site_tools/ccache.py b/site_scons/site_tools/ccache.py +--- a/site_scons/site_tools/ccache.py ++++ b/site_scons/site_tools/ccache.py +@@ -26,7 +26,7 @@ + import subprocess + + import SCons +-from pkg_resources import parse_version ++from packaging.version import parse as parse_version + + # This is the oldest version of ccache that offers support for -gsplit-dwarf + _ccache_version_min = parse_version("3.2.3") +diff --git a/site_scons/site_tools/icecream.py b/site_scons/site_tools/icecream.py +--- a/site_scons/site_tools/icecream.py ++++ b/site_scons/site_tools/icecream.py +@@ -25,7 +25,7 @@ + import subprocess + import urllib + +-from pkg_resources import parse_version ++from packaging.version import parse as parse_version + + import SCons + diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0002-SConstruct-Pass-call-to-CheckLibWithHeader-as-a-keyw.patch b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0002-SConstruct-Pass-call-to-CheckLibWithHeader-as-a-keyw.patch new file mode 100644 index 0000000000..d4b5586a97 --- /dev/null +++ b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0002-SConstruct-Pass-call-to-CheckLibWithHeader-as-a-keyw.patch @@ -0,0 +1,56 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 9 Nov 2026 08:10:00 -0800 +Subject: [PATCH] SConstruct: Pass call to CheckLibWithHeader as a keyword + +Newer SCons added an extra_libs parameter to CheckLibWithHeader() ahead +of call, so the call snippet passed positionally is treated as a list of +extra libraries and each character becomes a -l option: + + ... -lcrypto -lS -lS -lL -le -la -ly ... -l( -l0 -l) -l; + Couldn't find OpenSSL crypto.h header and library + +Pass it as a keyword argument, which works with old and new SCons. + +Upstream-Status: Inappropriate [v4.4 branch is EOL] +Signed-off-by: Khem Raj +--- +diff --git a/SConstruct b/SConstruct +--- a/SConstruct ++++ b/SConstruct +@@ -3499,7 +3499,7 @@ + cryptoLibName, + ["openssl/crypto.h"], + "C", +- "SSLeay_version(0);", ++ call="SSLeay_version(0);", + autoadd=True): + maybeIssueDarwinSSLAdvice(conf.env) + conf.env.ConfError("Couldn't find OpenSSL crypto.h header and library") +@@ -3656,7 +3656,7 @@ + if conf.CheckLibWithHeader( + "curl", + ["curl/curl.h"], "C", +- "curl_global_init(0);", ++ call="curl_global_init(0);", + autoadd=False): + return True + +@@ -3782,7 +3782,7 @@ + "sasl2", + ["stddef.h","sasl/sasl.h"], + "C", +- "sasl_version_info(0, 0, 0, 0, 0, 0);", ++ call="sasl_version_info(0, 0, 0, 0, 0, 0);", + autoadd=False ): + myenv.ConfError("Couldn't find SASL header/libraries") + +@@ -3947,7 +3947,7 @@ + ["mongoc-1.0"], + ["mongoc/mongoc.h"], + "C", +- "mongoc_get_major_version();", ++ call="mongoc_get_major_version();", + autoadd=False ): + conf.env['MONGO_HAVE_LIBMONGOC'] = "library" + if not conf.env['MONGO_HAVE_LIBMONGOC'] and env.TargetOSIs('darwin') and conf.CheckMongoCFramework(): diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0003-boost-Fix-build-with-clang-23.patch b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0003-boost-Fix-build-with-clang-23.patch new file mode 100644 index 0000000000..3a188033f6 --- /dev/null +++ b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0003-boost-Fix-build-with-clang-23.patch @@ -0,0 +1,176 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 9 Nov 2026 09:00:00 -0800 +Subject: [PATCH] boost: Fix build with clang 23 + +Backport fixes from newer Boost to the bundled Boost 1.70: + +- numeric_conversion and log: use boost::integral_constant instead of + mpl::integral_c for enum constants. mpl::integral_c computes the + next/prior values, which are outside the range of the enum, and clang + now rejects that: + + error: in-class initializer for static data member is not a constant expression + note: integer value -1 is outside the valid range of values [0, 3] for the enumeration type 'lock_access_mode' + +- thread: fix a typo in run_it's move assignment operator, which clang + now diagnoses in uninstantiated templates: + + error: no member named 'that' in 'boost::detail::run_it' + +Upstream-Status: Backport [https://github.com/boostorg/numeric_conversion/commit/50a1eae942effb0a9b90724323ef8f2a67e7984a https://github.com/boostorg/log/commit/77f1e20bd69c2e7a9e25e6a9818ae6105f7d070c https://github.com/boostorg/thread/commit/49ccf9c30a0ca556873dbf64b12b0d741d1b3e66] +Signed-off-by: Khem Raj +--- +diff --git a/src/third_party/boost-1.70.0/boost/log/utility/strictest_lock.hpp b/src/third_party/boost-1.70.0/boost/log/utility/strictest_lock.hpp +index 5dd48b4f..05c7a037 100644 +--- a/src/third_party/boost-1.70.0/boost/log/utility/strictest_lock.hpp ++++ b/src/third_party/boost-1.70.0/boost/log/utility/strictest_lock.hpp +@@ -17,6 +17,7 @@ + #define BOOST_LOG_UTILITY_STRICTEST_LOCK_HPP_INCLUDED_ + + #include ++#include + #include + #include + #if defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) +@@ -67,44 +68,44 @@ template< typename LockT > + struct thread_access_mode_of; + + template< typename MutexT > +-struct thread_access_mode_of< no_lock< MutexT > > : mpl::integral_c< lock_access_mode, unlocked_access > ++struct thread_access_mode_of< no_lock< MutexT > > : boost::integral_constant< lock_access_mode, unlocked_access > + { + }; + + #if !defined(BOOST_LOG_NO_THREADS) + + template< typename MutexT > +-struct thread_access_mode_of< lock_guard< MutexT > > : mpl::integral_c< lock_access_mode, exclusive_access > ++struct thread_access_mode_of< lock_guard< MutexT > > : boost::integral_constant< lock_access_mode, exclusive_access > + { + }; + + template< typename MutexT > +-struct thread_access_mode_of< shared_lock_guard< MutexT > > : mpl::integral_c< lock_access_mode, shared_access > ++struct thread_access_mode_of< shared_lock_guard< MutexT > > : boost::integral_constant< lock_access_mode, shared_access > + { + }; + + template< typename MutexT > +-struct thread_access_mode_of< unique_lock< MutexT > > : mpl::integral_c< lock_access_mode, exclusive_access > ++struct thread_access_mode_of< unique_lock< MutexT > > : boost::integral_constant< lock_access_mode, exclusive_access > + { + }; + + template< typename MutexT > +-struct thread_access_mode_of< shared_lock< MutexT > > : mpl::integral_c< lock_access_mode, shared_access > ++struct thread_access_mode_of< shared_lock< MutexT > > : boost::integral_constant< lock_access_mode, shared_access > + { + }; + + template< typename MutexT > +-struct thread_access_mode_of< upgrade_lock< MutexT > > : mpl::integral_c< lock_access_mode, shared_access > ++struct thread_access_mode_of< upgrade_lock< MutexT > > : boost::integral_constant< lock_access_mode, shared_access > + { + }; + + template< typename MutexT > +-struct thread_access_mode_of< boost::log::aux::exclusive_lock_guard< MutexT > > : mpl::integral_c< lock_access_mode, exclusive_access > ++struct thread_access_mode_of< boost::log::aux::exclusive_lock_guard< MutexT > > : boost::integral_constant< lock_access_mode, exclusive_access > + { + }; + + template< typename MutexT > +-struct thread_access_mode_of< boost::log::aux::shared_lock_guard< MutexT > > : mpl::integral_c< lock_access_mode, shared_access > ++struct thread_access_mode_of< boost::log::aux::shared_lock_guard< MutexT > > : boost::integral_constant< lock_access_mode, shared_access > + { + }; + +diff --git a/src/third_party/boost-1.70.0/boost/numeric/conversion/detail/int_float_mixture.hpp b/src/third_party/boost-1.70.0/boost/numeric/conversion/detail/int_float_mixture.hpp +index 464e5275..7690d07a 100644 +--- a/src/third_party/boost-1.70.0/boost/numeric/conversion/detail/int_float_mixture.hpp ++++ b/src/third_party/boost-1.70.0/boost/numeric/conversion/detail/int_float_mixture.hpp +@@ -16,15 +16,15 @@ + #include "boost/numeric/conversion/int_float_mixture_enum.hpp" + #include "boost/numeric/conversion/detail/meta.hpp" + +-#include "boost/mpl/integral_c.hpp" ++#include "boost/type_traits/integral_constant.hpp" + + namespace boost { namespace numeric { namespace convdetail + { + // Integral Constants for 'IntFloatMixture' +- typedef mpl::integral_c int2int_c ; +- typedef mpl::integral_c int2float_c ; +- typedef mpl::integral_c float2int_c ; +- typedef mpl::integral_c float2float_c ; ++ typedef boost::integral_constant int2int_c ; ++ typedef boost::integral_constant int2float_c ; ++ typedef boost::integral_constant float2int_c ; ++ typedef boost::integral_constant float2float_c ; + + // Metafunction: + // +diff --git a/src/third_party/boost-1.70.0/boost/numeric/conversion/detail/sign_mixture.hpp b/src/third_party/boost-1.70.0/boost/numeric/conversion/detail/sign_mixture.hpp +index c7f9e42a..fde15840 100644 +--- a/src/third_party/boost-1.70.0/boost/numeric/conversion/detail/sign_mixture.hpp ++++ b/src/third_party/boost-1.70.0/boost/numeric/conversion/detail/sign_mixture.hpp +@@ -16,15 +16,15 @@ + #include "boost/numeric/conversion/sign_mixture_enum.hpp" + #include "boost/numeric/conversion/detail/meta.hpp" + +-#include "boost/mpl/integral_c.hpp" ++#include "boost/type_traits/integral_constant.hpp" + + namespace boost { namespace numeric { namespace convdetail + { + // Integral Constants for 'SignMixture' +- typedef mpl::integral_c unsig2unsig_c ; +- typedef mpl::integral_c sig2sig_c ; +- typedef mpl::integral_c sig2unsig_c ; +- typedef mpl::integral_c unsig2sig_c ; ++ typedef boost::integral_constant unsig2unsig_c ; ++ typedef boost::integral_constant sig2sig_c ; ++ typedef boost::integral_constant sig2unsig_c ; ++ typedef boost::integral_constant unsig2sig_c ; + + // Metafunction: + // +diff --git a/src/third_party/boost-1.70.0/boost/numeric/conversion/detail/udt_builtin_mixture.hpp b/src/third_party/boost-1.70.0/boost/numeric/conversion/detail/udt_builtin_mixture.hpp +index 36dbc491..a39d29fd 100644 +--- a/src/third_party/boost-1.70.0/boost/numeric/conversion/detail/udt_builtin_mixture.hpp ++++ b/src/third_party/boost-1.70.0/boost/numeric/conversion/detail/udt_builtin_mixture.hpp +@@ -15,15 +15,15 @@ + #include "boost/numeric/conversion/udt_builtin_mixture_enum.hpp" + #include "boost/numeric/conversion/detail/meta.hpp" + +-#include "boost/mpl/integral_c.hpp" ++#include "boost/type_traits/integral_constant.hpp" + + namespace boost { namespace numeric { namespace convdetail + { + // Integral Constants for 'UdtMixture' +- typedef mpl::integral_c builtin2builtin_c ; +- typedef mpl::integral_c builtin2udt_c ; +- typedef mpl::integral_c udt2builtin_c ; +- typedef mpl::integral_c udt2udt_c ; ++ typedef boost::integral_constant builtin2builtin_c ; ++ typedef boost::integral_constant builtin2udt_c ; ++ typedef boost::integral_constant udt2builtin_c ; ++ typedef boost::integral_constant udt2udt_c ; + + // Metafunction: + // +diff --git a/src/third_party/boost-1.70.0/boost/thread/future.hpp b/src/third_party/boost-1.70.0/boost/thread/future.hpp +index 3d1b29d4..2862fc0a 100644 +--- a/src/third_party/boost-1.70.0/boost/thread/future.hpp ++++ b/src/third_party/boost-1.70.0/boost/thread/future.hpp +@@ -4669,7 +4669,7 @@ namespace detail + } + run_it& operator=(BOOST_THREAD_RV_REF(run_it) x) BOOST_NOEXCEPT { + if (this != &x) { +- that_=x.that; ++ that_=x.that_; + x.that_.reset(); + } + return *this; diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0004-ssl-Fix-build-with-OpenSSL-4.patch b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0004-ssl-Fix-build-with-OpenSSL-4.patch new file mode 100644 index 0000000000..fdf6852119 --- /dev/null +++ b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0004-ssl-Fix-build-with-OpenSSL-4.patch @@ -0,0 +1,117 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 9 Nov 2026 09:00:00 -0800 +Subject: [PATCH] ssl: Fix build with OpenSSL 4 + +OpenSSL 4 makes ASN1_STRING opaque, removes ASN1_STRING_data() and +ERR_remove_state(), and returns const pointers from +X509_EXTENSION_get_object() and X509_EXTENSION_get_data(). + +Use the ASN1_STRING accessors, which are available since OpenSSL 1.1, +make the extension pointers const, and only call ERR_remove_state() with +OpenSSL older than 1.1, where it is not a no-op. + +Upstream-Status: Inappropriate [v4.4 branch is EOL] +Signed-off-by: Khem Raj +--- +diff --git a/src/mongo/util/net/openssl_init.cpp b/src/mongo/util/net/openssl_init.cpp +index c4980bb0..93b6e4fc 100644 +--- a/src/mongo/util/net/openssl_init.cpp ++++ b/src/mongo/util/net/openssl_init.cpp +@@ -77,7 +77,9 @@ public: + + // The `guard` callback will cause an invocation of `getID`, so it must be destroyed first. + static thread_local ManagedId managedId; ++#if OPENSSL_VERSION_NUMBER < 0x10100000L + static thread_local auto guard = makeGuard([] { ERR_remove_state(0); }); ++#endif + + return managedId.id; + } +diff --git a/src/mongo/util/net/ssl_manager_openssl.cpp b/src/mongo/util/net/ssl_manager_openssl.cpp +index 60cde955..fa55bb7d 100644 +--- a/src/mongo/util/net/ssl_manager_openssl.cpp ++++ b/src/mongo/util/net/ssl_manager_openssl.cpp +@@ -1433,7 +1433,10 @@ SSLX509Name getCertificateSubjectX509Name(X509* cert) { + + const auto* str = X509_NAME_ENTRY_get_data(entry); + rdn.emplace_back( +- buffer, str->type, std::string(reinterpret_cast(str->data), str->length)); ++ buffer, ++ ASN1_STRING_type(str), ++ std::string(reinterpret_cast(ASN1_STRING_get0_data(str)), ++ ASN1_STRING_length(str))); + } + if (!rdn.empty()) { + entries.push_back(std::move(rdn)); +@@ -2904,7 +2907,7 @@ Future SSLManagerOpenSSL::parseAndValidatePeerCertificate( + const GENERAL_NAME* currentName = sk_GENERAL_NAME_value(sanNames, i); + if (currentName && currentName->type == GEN_DNS) { + std::string dnsName( +- reinterpret_cast(ASN1_STRING_data(currentName->d.dNSName))); ++ reinterpret_cast(ASN1_STRING_get0_data(currentName->d.dNSName))); + auto swCIDRDNSName = CIDR::parse(dnsName); + if (swCIDRDNSName.isOK()) { + LOGV2_WARNING(23237, +@@ -2925,14 +2928,16 @@ Future SSLManagerOpenSSL::parseAndValidatePeerCertificate( + auto ipAddrStruct = currentName->d.iPAddress; + struct sockaddr_storage ss; + memset(&ss, 0, sizeof(ss)); +- if (ipAddrStruct->length == 4) { ++ const int ipAddrLength = ASN1_STRING_length(ipAddrStruct); ++ const unsigned char* ipAddrData = ASN1_STRING_get0_data(ipAddrStruct); ++ if (ipAddrLength == 4) { + struct sockaddr_in* sa = reinterpret_cast(&ss); + sa->sin_family = AF_INET; +- memcpy(&(sa->sin_addr), ipAddrStruct->data, ipAddrStruct->length); +- } else if (ipAddrStruct->length == 16) { ++ memcpy(&(sa->sin_addr), ipAddrData, ipAddrLength); ++ } else if (ipAddrLength == 16) { + struct sockaddr_in6* sa = reinterpret_cast(&ss); + sa->sin6_family = AF_INET6; +- memcpy(&(sa->sin6_addr), ipAddrStruct->data, ipAddrStruct->length); ++ memcpy(&(sa->sin6_addr), ipAddrData, ipAddrLength); + } + auto ipAddress = + SockAddr(reinterpret_cast(&ss), sizeof(ss)).getAddr(); +@@ -3026,15 +3031,16 @@ StatusWith> SSLManagerOpenSSL::_parsePeerRoles(X50 + stdx::unordered_set roles; + for (int i = 0; i < extCount; i++) { + X509_EXTENSION* ex = sk_X509_EXTENSION_value(exts, i); +- ASN1_OBJECT* obj = X509_EXTENSION_get_object(ex); ++ const ASN1_OBJECT* obj = X509_EXTENSION_get_object(ex); + + if (!OBJ_cmp(obj, rolesObj)) { + // We've found an extension which has our roles OID +- ASN1_OCTET_STRING* data = X509_EXTENSION_get_data(ex); ++ const ASN1_OCTET_STRING* data = X509_EXTENSION_get_data(ex); + + return parsePeerRoles( +- ConstDataRange(reinterpret_cast(data->data), +- reinterpret_cast(data->data) + data->length)); ++ ConstDataRange(reinterpret_cast(ASN1_STRING_get0_data(data)), ++ reinterpret_cast(ASN1_STRING_get0_data(data)) + ++ ASN1_STRING_length(data))); + } + } + +@@ -3054,14 +3060,15 @@ StatusWith>> SSLManagerOpenSSL::_parseTL + ASN1_OBJECT* featuresObj = OBJ_nid2obj(NID_tlsfeature); + for (int i = 0; i < extCount; i++) { + X509_EXTENSION* ex = sk_X509_EXTENSION_value(exts, i); +- ASN1_OBJECT* obj = X509_EXTENSION_get_object(ex); ++ const ASN1_OBJECT* obj = X509_EXTENSION_get_object(ex); + + if (!OBJ_cmp(obj, featuresObj)) { + // We've found an extension which has the features OID +- ASN1_OCTET_STRING* data = X509_EXTENSION_get_data(ex); ++ const ASN1_OCTET_STRING* data = X509_EXTENSION_get_data(ex); + return parseTLSFeature( +- ConstDataRange(reinterpret_cast(data->data), +- reinterpret_cast(data->data) + data->length)); ++ ConstDataRange(reinterpret_cast(ASN1_STRING_get0_data(data)), ++ reinterpret_cast(ASN1_STRING_get0_data(data)) + ++ ASN1_STRING_length(data))); + } + } + return boost::none; diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb index e7a4d1e34b..e1016681e4 100644 --- a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb +++ b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://LICENSE-Community.txt;md5=3a865f27f11f43ecbe542d9ea38 file://APACHE-2.0.txt;md5=3b83ef96387f14655fc854ddc3c6bd57" DEPENDS = "openssl libpcap zlib boost curl python3 \ - python3-setuptools-native \ + python3-packaging-native python3-setuptools-native \ python3-pyyaml-native python3-cheetah-native \ python3-psutil-native python3-regex-native \ " @@ -36,6 +36,10 @@ SRC_URI = "git://github.com/mongodb/mongo.git;branch=v4.4;protocol=https \ file://0001-Fix-type-mismatch-on-32bit-arches.patch \ file://0001-Fix-build-on-32bit.patch \ file://0001-moduleconfig.py-python-3.12-compatibility.patch \ + file://0001-Use-packaging-instead-of-pkg_resources-for-version-p.patch \ + file://0002-SConstruct-Pass-call-to-CheckLibWithHeader-as-a-keyw.patch \ + file://0003-boost-Fix-build-with-clang-23.patch \ + file://0004-ssl-Fix-build-with-OpenSSL-4.patch \ " SRC_URI:append:libc-musl = "\ file://0001-Mark-one-of-strerror_r-implementation-glibc-specific.patch \ From patchwork Thu Nov 19 18:33:28 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104994 Received: from mail-pf1-f175.google.com (mail-pf1-f175.google.com [209.85.210.175]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1973.1795113511648830401 for ; Thu, 19 Nov 2026 10:38:31 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=cVOh7Lq1; spf=pass (domain: gmail.com, ip: 209.85.210.175, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f175.google.com with SMTP id d2e1a72fcca58-8a0880a46e7so920326b3a.1 for ; Thu, 19 Nov 2026 10:38:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113511; x=1795718311; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=zCSDprkJrjyqJcFMoCtIqd8QcrMhWVGByfZFgLdpyhE=; b=cVOh7Lq1sZJqONZ1yokq1C97bT9UrfMmpsOOlytVXBpVCwelNtlN5rvdXYnBVvEofw DDsb5tMu79YodMPnPUjVab1+joJUfBoNT50DSaTFRrCFRYkv6VViy2EJ8rvPLHWJB8vL H3SBftWvrxR0dUtfKkPHCGOOuhB4vteqbMZHbPYlR53qXUn6q2DCbZuZ1FRAGUCmMoF5 FuJ0MUNSQ4npa3sFPmoe07vVJ1bqkSCk9fHEI/mAvxAAAkCYwFNFVx3wmZW+/3wxeHxU lhUkdF8g8wcrf2xZKK73iqfXcpZcVF/OBDXRyWaaChYLdGP94FNMhmjrnESrOf55Ay15 gw1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113511; x=1795718311; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=zCSDprkJrjyqJcFMoCtIqd8QcrMhWVGByfZFgLdpyhE=; b=wKpDkhSx4ZdyVqp0FXcPUcH3LLNbbcwu0c0P75MYNSw66/oJbpifT9PCiP6U1WEbUA VRktWQAe1kZPMAMQ7vfwawLhQnwWIGapVMiEe1rAJz5esx13U5NvPLMDQv9J0R4y0fEh nPiCXbbbPZuNBPOJlKd9WRY3uLC5uJp5IOhj3QFH5wfIAVtkJ0nghjseDBgPSqDTRR7m fw+ZuhVVz8dJQT0XxdHRK0SoxaeULnImcUJtSwLKYyjfn0D1aN4tXvTgCuUrOQ+U3zdW NIDR9i9f9edD7t4lU7iXZ3AoAo9nyqm4QKnHngqzSyvmN8LlIBEKGN8EFum2pOVpudUO Kbgg== X-Gm-Message-State: APuU4Z8xWVJNQpWNdX0Q4uWkqCo87wOHtf68+0s3rKF8RQtbTtUct+pR slKYVMXjHKUvFEZVmD9cyYyelVjJSWDl5OvXuo63LFzwCCXLyOL+QLaBCjIfbw== X-Gm-Gg: AYBFou1fNa2zjlBI15fA/zTHue+xFe46zKi9CUohAzsH5LFLHBiq8i+pEuasGYm4V1Q DdPVLckCbcsOV8zlwr1deCClZNLFv7WbmNjdjWxRcPQ6e9igSzGOnkYMChnD+YAPCFjD+mk0Qe9 bnbMuf0T5cEDik/YRMhr1rHxp+NWjjw7emYCcA+VA/B4n0ace+kjASOJgrA3ye4wQOqWm7eFvaM nRXrDhmU+uowiBbhk4P7WTY8SU4Bo1UhB3LnO0cBtDyOjYgP+D152ISuS162wk5zlMVNlg0WhQK rWzH7UXI+dHVSJkgOM1Kd2XbdDJ/rs1QtdkhhEEP+ezc1rrUe+IqL8TrAqHUn/GAwx3q/7bXAK4 GpqQvzROaCTwBUILSLCkmRPn8SJoSLd0GOVFx2y9NMxANST6niFYRsdbZWbKOQ8oWfU31ltsy4g DubAdfCdJu9SxsSg3OBt3GJ1YEpFfP3g8RXbXEWKQFplVaEiCO2U36iUex2j16PMfrNyjUm/Xos 8cm71dSeNQu5+yEu/uBkNez7UKOzFsVKJj2Z132sT1H76Q3vMttxvLKDPqke7Ss8gsfXLBbgwCC blgpShE91j97elDt7Te5zqAni2pbnqfKMFumpZkY3hv5+Dcl8S85VeoA3N4UHQ== X-Received: by 2002:a05:6a00:3003:b0:881:e266:c3d8 with SMTP id d2e1a72fcca58-8c7de0a5883mr1279240b3a.35.1795113510898; Thu, 19 Nov 2026 10:38:30 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.38.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:38:30 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Khem Raj , Khem Raj , Ankur Tyagi Subject: [blacksail][PATCH 60/64] mongodb: Backport fix for SERVER-49099 Date: Fri, 20 Nov 2026 07:33:28 +1300 Message-ID: <616b374b1af0417e4cc72869fc5d7c0c285af788.1795112941.git.ankur.tyagi85@gmail.com> X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:38:38 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132750 From: Khem Raj The Node and Head swap() friends and the copy-and-swap assignment operators in Biggie store.h are unused and refer to members that do not exist. Backport the upstream removal. Signed-off-by: Khem Raj AI-Generated: Uses Claude Code (cherry picked from commit cc2835067bc19f55632483bba26b67aa6174197d) Signed-off-by: Ankur Tyagi --- ...ove-the-Node-swap-function-in-Biggie.patch | 58 +++++++++++++++++++ .../recipes-dbs/mongodb/mongodb_git.bb | 1 + 2 files changed, 59 insertions(+) create mode 100644 meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0005-SERVER-49099-Remove-the-Node-swap-function-in-Biggie.patch diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0005-SERVER-49099-Remove-the-Node-swap-function-in-Biggie.patch b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0005-SERVER-49099-Remove-the-Node-swap-function-in-Biggie.patch new file mode 100644 index 0000000000..b2d1d92f30 --- /dev/null +++ b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0005-SERVER-49099-Remove-the-Node-swap-function-in-Biggie.patch @@ -0,0 +1,58 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Yuhong Zhang +Date: Thu, 9 Jul 2020 15:43:33 +0000 +Subject: [PATCH] SERVER-49099 Remove the Node::swap() function in Biggie + +The Node and Head swap() friends and the copy-and-swap assignment +operators built on them are unused and do not compile: Node::swap() +does not exist and Node has no trieKey, depth, data or children +members (they are _-prefixed). This went unnoticed because they are +in a class template that never instantiates them. + +Upstream-Status: Backport [https://github.com/mongodb/mongo/commit/77ffbcb4f5673b154fe64872cba9f34ce97bc55d] +Signed-off-by: Khem Raj +--- + src/mongo/db/storage/biggie/store.h | 21 --------------------- + 1 file changed, 21 deletions(-) + +diff --git a/src/mongo/db/storage/biggie/store.h b/src/mongo/db/storage/biggie/store.h +index a09b5b4..aeaa337 100644 +--- a/src/mongo/db/storage/biggie/store.h ++++ b/src/mongo/db/storage/biggie/store.h +@@ -809,18 +809,6 @@ private: + + virtual ~Node() = default; + +- friend void swap(Node& first, Node& second) { +- std::swap(first.trieKey, second.trieKey); +- std::swap(first.depth, second.depth); +- std::swap(first.data, second.data); +- std::swap(first.children, second.children); +- } +- +- Node& operator=(const Node other) { +- swap(*this, other); +- return *this; +- } +- + bool isLeaf() const { + for (auto child : _children) { + if (child != nullptr) +@@ -855,17 +843,8 @@ private: + _nextVersion->_hasPreviousVersion = false; + } + +- friend void swap(Head& first, Head& second) { +- Node::swap(first, second); +- } +- + Head(Head&& other) : Node(std::move(other)) {} + +- Head& operator=(const Head other) { +- swap(*this, other); +- return *this; +- } +- + bool hasPreviousVersion() const { + return _hasPreviousVersion; + } diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb index e1016681e4..22169ddd64 100644 --- a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb +++ b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb @@ -40,6 +40,7 @@ SRC_URI = "git://github.com/mongodb/mongo.git;branch=v4.4;protocol=https \ file://0002-SConstruct-Pass-call-to-CheckLibWithHeader-as-a-keyw.patch \ file://0003-boost-Fix-build-with-clang-23.patch \ file://0004-ssl-Fix-build-with-OpenSSL-4.patch \ + file://0005-SERVER-49099-Remove-the-Node-swap-function-in-Biggie.patch \ " SRC_URI:append:libc-musl = "\ file://0001-Mark-one-of-strerror_r-implementation-glibc-specific.patch \ From patchwork Thu Nov 19 18:33:29 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104995 Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.1919.1795113514676428777 for ; Thu, 19 Nov 2026 10:38:34 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=q/mHjgMy; spf=pass (domain: gmail.com, ip: 209.85.210.181, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f181.google.com with SMTP id d2e1a72fcca58-8b58d6f67a5so78692b3a.2 for ; Thu, 19 Nov 2026 10:38:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113514; x=1795718314; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=rC2/AoOu87TmaFNUDHiE95J7X5bsxVDi5vBS4NOUhT8=; b=q/mHjgMylniLitI4YCiIQXpT26Tdvtcl2W2uOL1/pnRTlwwhV+XuBiGn05DQwdUUwh bBqD5C1AYicBRFwMkmz2zIwooCFikPl0kkaUiIU/9KauEMrLUEqkWS/kToutRZdtdd/O 8h3vCcAy2ZaG8Ca6RMbV+CEWpoUEgRpwsFHKOpYBCfr+WX4wq49W76NNanfxz3f64HB/ zdKEc/fYGa54ncKIt+VOJmy8syRx7miRSPQtTiXeN/wKb0kEAq5EpUA0sDKfcXp7LghF dQ8F0GWlziplGrC6gaXap44QOR3dE6vNdiNbsFI54DXjkEiqvYz9PciHWN+tyOa4UmOR IfoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113514; x=1795718314; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=rC2/AoOu87TmaFNUDHiE95J7X5bsxVDi5vBS4NOUhT8=; b=mPRaiGyPIpVUC775Fb+YDprVLV6Mtst7BjJBqJNELla0um9CR8mj7x3YIqUvgF/qTZ zsy41s0Rx/5vCoezmTi00M7o4ObAHke8x8kxmlWyecXP6r+3YeXQ9C9RTPzVMHxbKfOb pbdzT3f8Yo0Uo+1QCM9tSjllpfjMBiNqC9q7uL1IVRFHCnTL4JkTMj7RNfkCPxk50yOE pj1zHPgwNxg869YrCXNoiJyiiRNQG8ukk7JsmBD89A1CU2xSEEilaKFtBCPDqCfAASTY bhJI+RU4fS+xXMOMTNpaYEEN8dvmvBJbNc6dBpxaWTt7LbXSvNvRqsxx8kBBJueicaq4 UmSQ== X-Gm-Message-State: APuU4Z/hpm6McVLOjK2cTE0jigZT/MCiu9TR+Svdh5Qc090SqvL5pOFz liyMmt+EywRPkekAtK3ZxiZVfaTdJ6HJ3p3SiEgfDXAndJOo9+vqEn+kF0IlCA== X-Gm-Gg: AYBFou2tyRo2m5eBs4K1q/AkylipYGo2BKXmVY4beVTjaZgES+cKJcraY4AEltOdXcW 2hJ3Wt0GjcbPQUkOARODKlYeATapS8n1T7HCdcrEzOZVYtFZplywbR+gSKBVdEuJ1MxsdCyzIol 7yDGmlQRdl+jb/RtBpUmIlZGqG6zLMHEaBXJVKK4aitDe2lE5BwF+mfFEx/A7tRal4GfGS3ocew VWDOMsshXhSZUu77vQFWAW+YAqH6Uul2/zc1MOdKwVF+cWiW189V3ZNmeJotTBAePYISWxY5UZh Stl1XYTY4V/yACJl5P3VSXsKh7mxuBrpvzhWTbEoTncAOXCol5gbxsL8ipFKG0RLqpOKcUvZFUj IqhlisQMh7utviCixRJUO4DZZ7jV8XQRphnu1Pv2TZ4WeiylWqT2ItSr5H3q9vaOXuWsJx4umXH 3VXCcntvkOuEMh0xsx0hi+8quvMTHv1P1umuGzINb8M2CbQ8lKrdeQUf+GMkKrLiNZ9L+hvlhRQ 1anmDmblyCGJhpA2efa2fEcDwI6kS2jaQ8DvBzBOauLVK921fEpKKkMeMIBmoF0cuu6v3829fYd tqgvpdUZtp6kZJ6s5LpnJ3NOrCkllLF/BJFWUPBn1rqoHiicql3ZZ0aTAHlRNQ== X-Received: by 2002:a05:6372:a705:b0:3e2:8f64:e500 with SMTP id adf61e73a8af0-4014ec4259fmr362101637.62.1795113514028; Thu, 19 Nov 2026 10:38:34 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.38.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:38:33 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Khem Raj , Khem Raj , Ankur Tyagi Subject: [blacksail][PATCH 61/64] mongodb: Keep build paths out of buildInfo Date: Fri, 20 Nov 2026 07:33:29 +1300 Message-ID: <50c3ddc86de4ec2f415c6981d59abb8aefa55786.1795112941.git.ankur.tyagi85@gmail.com> X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:38:38 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132751 From: Khem Raj By default buildInfo embeds the compiler version string and CCFLAGS, CXXFLAGS and LINKFLAGS, which carry --sysroot and -ffile-prefix-map paths into mongod and mongos and trigger buildpaths QA warnings. Pass a variables file that drops those entries from MONGO_BUILDINFO_ENVIRONMENT_DATA. Signed-off-by: Khem Raj (cherry picked from commit 17fb07cf799cc98205c63c2d2cc956fc8d12b533) Signed-off-by: Ankur Tyagi --- .../recipes-dbs/mongodb/mongodb/oe-buildinfo.vars | 11 +++++++++++ .../meta-python/recipes-dbs/mongodb/mongodb_git.bb | 2 ++ 2 files changed, 13 insertions(+) create mode 100644 meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/oe-buildinfo.vars diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/oe-buildinfo.vars b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/oe-buildinfo.vars new file mode 100644 index 0000000000..950dc4baa2 --- /dev/null +++ b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/oe-buildinfo.vars @@ -0,0 +1,11 @@ +# Keep the compiler and its flags, which carry build paths, out of +# the buildInfo command and --version output +from mongo.generators import default_buildinfo_environment_data + +MONGO_BUILDINFO_ENVIRONMENT_DATA = { + k: v for k, v in default_buildinfo_environment_data().items() + if k not in ('cc', 'ccflags', 'cxx', 'cxxflags', 'linkflags') +} + +# SConstruct rejects unknown names left in a variables file +del default_buildinfo_environment_data diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb index 22169ddd64..6c4fdf91a9 100644 --- a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb +++ b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb @@ -41,6 +41,7 @@ SRC_URI = "git://github.com/mongodb/mongo.git;branch=v4.4;protocol=https \ file://0003-boost-Fix-build-with-clang-23.patch \ file://0004-ssl-Fix-build-with-OpenSSL-4.patch \ file://0005-SERVER-49099-Remove-the-Node-swap-function-in-Biggie.patch \ + file://oe-buildinfo.vars \ " SRC_URI:append:libc-musl = "\ file://0001-Mark-one-of-strerror_r-implementation-glibc-specific.patch \ @@ -87,6 +88,7 @@ EXTRA_OESCONS = "PREFIX=${prefix} \ TARGET_ARCH=${MONGO_ARCH} \ MONGO_VERSION=${PV} \ OBJCOPY=${OBJCOPY} \ + --variables-files=${UNPACKDIR}/oe-buildinfo.vars \ --ssl \ --disable-warnings-as-errors \ --use-system-zlib \ From patchwork Thu Nov 19 18:33:30 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104996 Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.1923.1795113517354319203 for ; Thu, 19 Nov 2026 10:38:37 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=0L9Wg+RK; spf=pass (domain: gmail.com, ip: 209.85.210.170, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f170.google.com with SMTP id d2e1a72fcca58-8a070755c8cso74809b3a.0 for ; Thu, 19 Nov 2026 10:38:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113517; x=1795718317; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=NZ4WCb+ScmKngwsp/siDQHAzz14yfFGebEcvGdvPm78=; b=0L9Wg+RKbuN4RB5nhQtmTOE7RLsbBakLbzwFWCVIrRgb3NUpCYDHxHbCeCaMGhOKOV w8pGsyjREIhJnIS3iPCRqDKabBvqJW6/OaUq4my+a49Cj4hn7jA7EmufQ3Sq5r0eYXRd AEJ/1G9l+OlqT8CayY/fwgoGFowpMeq3S+SeGrXXoJwINssPhpUEQfM8jrmbzUiBzFvL Vv2cq6fi2+xauzcDoRrIv7PBQQ7mDVfJm4HmM7enQp3UgtwfMLqTYO36BR/3fJobD/aY N7kbZh8CZhfZGxp6Fy178QjzP3lOO7KpWRaFMjcgD79VM/yB2NlGZurEVS+igkRTt+fP ixhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113517; x=1795718317; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=NZ4WCb+ScmKngwsp/siDQHAzz14yfFGebEcvGdvPm78=; b=xgcdsqcbHuvC7YJdb20h4iqZISUkRoEbSHM3NC1aUyUecjN4aG6t3GrXhHvcQyA7v7 TZq27RjD1IZq2vyIo/y2oeeD3E+22xCa1YEOvA70IN9Znf8BrgyxiivMbSrjE6nXNoEm jbjT5BpCzV43aXd9IFdnZR8SMBtdhsdVVkK4HnAjHWpDomkFWB5Aw05krbCL8j58TR4r g30Y2KjDIGPdLOvSR77wlKAmmp075mctVmqnpPCu5oiRFq4UAub+xgerxYbC7jq+x3eS 2quHrE1mNkxA1WQSKKKkuR6GFAVL6tW8YjQTaAIaob0M4GgUWtCIkRcDt1/SstdrYNU5 8eow== X-Gm-Message-State: APuU4Z/528nBQENzy/fP//IMbcJmc5ZQic4rf+7yshv8Sdpr66qBiXDq QnILYjnT88KbTDvXyniVjROKs0gez0ta0loGmGCrY3rx5cnan2/vho+tbykPwg== X-Gm-Gg: AYBFou3l96Zkp4CBMFeF2wZzMY3nrfpjXKz5+DHrf4fS/CyeOcdKibTt3PXUIsHzgIe bLLrb5wOufsrDlhz+/xoKLvHNEDtqvZd+NAzHnhugyl0G/dxf6rcccus6g+HQQAn1jORM5rIAeJ QVMsdqwT/VHsaWahtNxsx3JqbwryjKCQnYVlt2w3uT1tBY01uWzECfqwtQLVWmT0j7oWinsbJ8W 0tPhR16YiQL0tmAAPUJjTwv4MSQSeDDjypf7m+5SbZE1hPprSSuk33eJD+O/NA0FoXtAdioIL7P Y5vnPhLXvYyJcwNRROBw5AeDiS7UAqioPTJfFlL0FDPPtyp10zODkL9Tv3tP8SPmKTD2dRNiTIr o5CEpuDOqSS4NNtycwedrFFA/NUtdIUvWMU5YoEeX6sveZTR1KsIEsdRZqBFIwaRPKx9m/zkIRF BPvcH4tUCvQC+Aoz33Ast1q51XNh7D05P+/zofUaNo8QBwpCwoUV1sk/I06kyG7lERiNNuUnbuH fznMuAX1bnnLCnWMBuqygChoat3upu31FNq9HTRh+5Chq0uhjuFVzwuiatLhCYxOg7KKh4/pH2C dtz1/zwZeGijKSCqBJs1bab+MhtvGfjhDpLka6vdHy7a1zUn6QQ8b+bq8zW2wQ== X-Received: by 2002:a05:6a00:3e19:b0:89e:99a6:4671 with SMTP id d2e1a72fcca58-8c87c48601emr474226b3a.36.1795113516621; Thu, 19 Nov 2026 10:38:36 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.38.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:38:36 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Khem Raj , Ankur Tyagi Subject: [blacksail][PATCH 62/64] frr: Fix build with bison rejecting paths in output directives Date: Fri, 20 Nov 2026 07:33:30 +1300 Message-ID: <5bbf434c376395fda46c003ee0525ed37debd279.1795112941.git.ankur.tyagi85@gmail.com> X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:38:38 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132752 From: Khem Raj bison now carries the fix for CVE-2026-56390, which rejects '/' in %header/%defines and %output file names, so generating the command parser fails: lib/command_parse.y:20.10-30: error: invalid %header file name ignored lib/command_parse.y:21.10-30: error: invalid %output file name ignored Backport the upstream fix which drops these directives and passes the output file name with -o instead. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj (cherry picked from commit cf06742a7c064d293c715e143fdabf91bf072893) Signed-off-by: Ankur Tyagi --- ...ths-in-bison-output-defines-directiv.patch | 54 +++++++++++++++++++ .../recipes-protocols/frr/frr_10.6.2.bb | 1 + 2 files changed, 55 insertions(+) create mode 100644 meta-networking/recipes-protocols/frr/frr/0001-lib-Don-t-use-paths-in-bison-output-defines-directiv.patch diff --git a/meta-networking/recipes-protocols/frr/frr/0001-lib-Don-t-use-paths-in-bison-output-defines-directiv.patch b/meta-networking/recipes-protocols/frr/frr/0001-lib-Don-t-use-paths-in-bison-output-defines-directiv.patch new file mode 100644 index 0000000000..ac732d9ebc --- /dev/null +++ b/meta-networking/recipes-protocols/frr/frr/0001-lib-Don-t-use-paths-in-bison-output-defines-directiv.patch @@ -0,0 +1,54 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Donatas Abraitis +Date: Tue, 13 Oct 2026 15:33:02 +0300 +Subject: [PATCH] lib: Don't use paths in bison %output/%defines directives + +The fix for CVE-2026-56390 rejects any '/' in %output and %header (%defines) +file names. The directive is then ignored, and bison reports an error +and exits non-zero, which breaks the build: + + invalid %output file name ignored + invalid %header file name ignored + +We only used these directives to place the generated files in lib/, +because the .y.c rule ran bison without -o. Drop them and pass +`-o $@` instead. With -d, bison derives lib/command_parse.h from the +-o name, so the generated files stay the same. + +Signed-off-by: Donatas Abraitis + +Upstream-Status: Backport [https://github.com/FRRouting/frr/commit/b7ad39d799d98c982713b29c1d0ba6d49691308b] +Signed-off-by: Khem Raj +--- + lib/command_parse.y | 4 ---- + lib/subdir.am | 2 +- + 2 files changed, 1 insertion(+), 5 deletions(-) + +diff --git a/lib/command_parse.y b/lib/command_parse.y +index bc04bc93bb4c..4d9377e5df87 100644 +--- a/lib/command_parse.y ++++ b/lib/command_parse.y +@@ -16,10 +16,6 @@ + %define api.pure full + /* define api.prefix {cmd_yy} */ + +-/* names for generated header and parser files */ +-%defines "lib/command_parse.h" +-%output "lib/command_parse.c" +- + /* note: code blocks are output in order, to both .c and .h: + * 1. %code requires + * 2. %union + bison forward decls +diff --git a/lib/subdir.am b/lib/subdir.am +index 20947c306d60..dafebacf8e7a 100644 +--- a/lib/subdir.am ++++ b/lib/subdir.am +@@ -537,7 +537,7 @@ CLEANFILES += vtysh/vtysh_cmd.c $(vtysh_cmd_split) + .l.c: + $(AM_V_LEX)$(am__skiplex) $(LEXCOMPILE) $< + .y.c: +- $(AM_V_YACC)$(am__skipyacc) $(YACCCOMPILE) $< ++ $(AM_V_YACC)$(am__skipyacc) $(YACCCOMPILE) -o $@ $< + + # + # generated sources & extra foo diff --git a/meta-networking/recipes-protocols/frr/frr_10.6.2.bb b/meta-networking/recipes-protocols/frr/frr_10.6.2.bb index b72af9f244..f4a98e2471 100644 --- a/meta-networking/recipes-protocols/frr/frr_10.6.2.bb +++ b/meta-networking/recipes-protocols/frr/frr_10.6.2.bb @@ -12,6 +12,7 @@ LIC_FILES_CHKSUM = "file://doc/licenses/GPL-2.0;md5=b234ee4d69f5fce4486a80fdaf4a SRC_URI = "git://github.com/FRRouting/frr.git;protocol=https;branch=stable/${@oe.utils.trim_version('${PV}', 2)};tag=frr-${PV} \ file://frr.pam \ + file://0001-lib-Don-t-use-paths-in-bison-output-defines-directiv.patch \ " SRCREV = "c8efb33af96f9f1220d0fdda6ac049f9126edd6f" From patchwork Thu Nov 19 18:33:31 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104997 Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1975.1795113519869473820 for ; Thu, 19 Nov 2026 10:38:39 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=zzLIfl8w; spf=pass (domain: gmail.com, ip: 209.85.210.182, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-8b612fd74e1so70259b3a.0 for ; Thu, 19 Nov 2026 10:38:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113519; x=1795718319; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=0vZkjbABuvAZ1pXBbcVBX1gfmq3xFMMbHek748rgTI0=; b=zzLIfl8wNyYWrAh5aWLE4roY4xFLWMjZPwnFRX7pgLqtOxUOp+G7vSA/WFtMIm1Bt5 Xf235og8xn/Oh9nsaaUZDnTd8UmNOdFy5hX12BqcpEh1tAqZ74m038OZe/jV+0CSJCBq tvz8GmSiyTbQh/kYBX+g3QCt/KM8kt+VPLPhfBA+CPmus0fds0g0YNm3Qmhlyu1IeX1Z Wj88tbWhBN2qkoynZegDdNMNW4HB42UN/mtW7DD1f2weV/xLokYmVQ8Hgbo+tQ81wi5p BC7YhEq47Rrzijo5Bc3q0qnXZ++8SJntFwsuChIP8qDY6hcNsqsosoDfW08ipwDXcwIg U4jg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113519; x=1795718319; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=0vZkjbABuvAZ1pXBbcVBX1gfmq3xFMMbHek748rgTI0=; b=Vgn9fiRZ9wc6X1X/Q242futIMTDW0cSeRurcFa++uv65i4yvnaLhslao1+/v8wwUHz q6RpfyRzzMg5Ib9AaBX8y3mnB6NYHS7JI5Z56IvsmyyXYvwpNOlQ/KBIwtgJ7ip7ZWhl kPedXlULH5AS492qLPzZXeoxn+z1ZY20pXhDre5FPUvXphNer/HcJ6Y4V/N7r+qNdSLx TY+HDAsME1fhZeyGlLy04CHIxvePZ6VY27rSY4IZuR5eJ0LDdLMPsKeFBgtX8SGorSvK QX3Y1UCcBBkgy1LqXQi2V7tgdz6tEvhvRd2rOiTEdycjPEj3OGxg6b01i9NVeIFdXlI+ wyiQ== X-Gm-Message-State: APuU4Z9q91xdh57ndRXxel6preWvPFt2P6DXzNyay47tIlDeJXNdugjh hJxRs8Px0T14vPnNGCPOwoisXhZgZCNhO9AaA1rPJZ6n1xeut1D1mb+K0vsx4w== X-Gm-Gg: AYBFou0PMI3UCOsK6twzoTwVYlKH4SN50S6tYLpG1lH9gQ0rd5S1+QQBuM5t1X+280O 6nHEkbPYR+0QGczH1u4umiRpVDVEwaMn3RckGfJlreWOzYs85huJQ+7jTkKx+TLgfSzxAIG6ipd EmpiNZ+GEA/lX9UrZzuRwS7/ZHdHAI7PrhLUqdt39msgD2ySl5rmdZlNqldvGjxk+rWyUhd1crQ SqV1wnidA39VhXvBnpaE2O7Epk7WlqIA2kwcCBg28nP9k+u0TOoLIFabBakUjIoD82tI3ONA80r sw/yfnm5/c8sQTMt08P6cMQ4+fuC1Smko+8ukiqhOAnFZZvUIaWumo4ZvlwnPPDhIn1XJOdultB mbdfUHKnw1yjM8cg0xyGGb6XVTx9/bX1DF/1FYyTfXabRol8hWicaQ1gkiCxsKRpdEsUnEBbS81 RAzTcV2d+6NCI2frmuah29vvmvZTd4r+jKX1zwVsccaYQmkNIVRr05BSlA4xMGv7NELF47Cd22M dbx3BntuPPGEx0/GAcfNzBtZBTnT1t2bA0Ao7kdfecODWxUM0vWF7GSprvgOT+9Pln/wA43c+Tj efC/ZzO4q7cKeVc1PSOqdK2mDp3mhZCUVuwwaDYaHJytXY+k3Jm0osL7BS6u0bGz X-Received: by 2002:a05:6a00:21c8:b0:89d:f19f:5dd1 with SMTP id d2e1a72fcca58-8c87c862aadmr475760b3a.33.1795113519214; Thu, 19 Nov 2026 10:38:39 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.38.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:38:38 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Khem Raj , Ankur Tyagi Subject: [blacksail][PATCH 63/64] tuna: Fix build with PEP 517 frontends Date: Fri, 20 Nov 2026 07:33:31 +1300 Message-ID: X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:38:48 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132753 From: Khem Raj setup.py imports tuna.version from the source tree. The setuptools build_meta backend does not put the source directory on sys.path, so do_compile fails: File "", line 9, in ModuleNotFoundError: No module named 'tuna' ERROR Backend subprocess exited when trying to invoke get_requires_for_build_wheel It only worked so far because python3targetconfig added an empty entry, i.e. the current directory, to PYTHONPATH. The same happens with a plain "python3 -m build" outside of OE. pyproject.toml already gets the version from tuna.version via [tool.setuptools.dynamic], so drop the import from setup.py. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj (cherry picked from commit df1403411fb4a301af728cf225a49860c5ea3d7c) Signed-off-by: Ankur Tyagi --- ...una-Do-not-import-tuna-from-setup.py.patch | 48 +++++++++++++++++++ .../recipes-extended/tuna/tuna_0.21.bb | 4 +- 2 files changed, 51 insertions(+), 1 deletion(-) create mode 100644 meta-python/recipes-extended/tuna/tuna/0001-tuna-Do-not-import-tuna-from-setup.py.patch diff --git a/meta-python/recipes-extended/tuna/tuna/0001-tuna-Do-not-import-tuna-from-setup.py.patch b/meta-python/recipes-extended/tuna/tuna/0001-tuna-Do-not-import-tuna-from-setup.py.patch new file mode 100644 index 0000000000..94b8fd917c --- /dev/null +++ b/meta-python/recipes-extended/tuna/tuna/0001-tuna-Do-not-import-tuna-from-setup.py.patch @@ -0,0 +1,48 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Tue, 27 Oct 2026 22:59:58 -0700 +Subject: [PATCH] tuna: Do not import tuna from setup.py + +Commit cb5593a2be9c ("tuna: Get the tuna version from a single source") +made setup.py import tuna.version. setup.py runs from the setuptools +build backend, which does not put the source directory on sys.path (only +the legacy backend does), so building with a PEP 517 frontend fails: + + $ python3 -m build --no-isolation --wheel + ... + File "", line 9, in + ModuleNotFoundError: No module named 'tuna' + ERROR Backend subprocess exited when trying to invoke get_requires_for_build_wheel + +pyproject.toml already takes the version from tuna.version.TUNA_VERSION +via [tool.setuptools.dynamic], which setuptools reads without importing +the package, so drop the import and the version argument from setup(). + +Upstream-Status: Submitted [https://lore.kernel.org/linux-rt-users/20261028061243.4061773-1-raj.khem@gmail.com/] +Signed-off-by: Khem Raj +--- + setup.py | 4 ---- + 1 file changed, 4 deletions(-) + +diff --git a/setup.py b/setup.py +index 8036a64..07ec523 100755 +--- a/setup.py ++++ b/setup.py +@@ -5,9 +5,6 @@ import sysconfig + from os.path import isfile, relpath + from setuptools import setup + +-# Get the tuna version from a single source +-from tuna.version import TUNA_VERSION +- + if isfile("MANIFEST"): + os.unlink("MANIFEST") + +@@ -19,7 +16,6 @@ if SCHEME not in sysconfig.get_scheme_names(): + PYTHONLIB = relpath(sysconfig.get_path('platlib', SCHEME), '/usr') + + setup(name="tuna", +- version = TUNA_VERSION, + description = "Application tuning GUI", + author = "Arnaldo Carvalho de Melo, John Kacur", + author_email = "acme@redhat.com, jkacur@redhat.com", diff --git a/meta-python/recipes-extended/tuna/tuna_0.21.bb b/meta-python/recipes-extended/tuna/tuna_0.21.bb index de80d1aa7a..0e96eabbdc 100644 --- a/meta-python/recipes-extended/tuna/tuna_0.21.bb +++ b/meta-python/recipes-extended/tuna/tuna_0.21.bb @@ -3,7 +3,9 @@ HOMEPAGE = "https://rt.wiki.kernel.org/index.php/Tuna" LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI = "git://git.kernel.org/pub/scm/utils/tuna/tuna.git;branch=main" +SRC_URI = "git://git.kernel.org/pub/scm/utils/tuna/tuna.git;branch=main \ + file://0001-tuna-Do-not-import-tuna-from-setup.py.patch \ + " SRCREV = "cb5593a2be9c26c8865f46bf29723c1ce93890aa" From patchwork Thu Nov 19 18:33:32 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 104998 Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.1925.1795113522042364033 for ; Thu, 19 Nov 2026 10:38:42 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=U99dR0oW; spf=pass (domain: gmail.com, ip: 209.85.210.178, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pf1-f178.google.com with SMTP id d2e1a72fcca58-8c5ebbc5150so86659b3a.3 for ; Thu, 19 Nov 2026 10:38:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795113521; x=1795718321; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=nDBSwJBFWmOwVGT8x20+Gu3+IQamlbGQilOuTcWP1hY=; b=U99dR0oWN12Vg5TWbVKzxkfXRBpIZ8ozh7UfBNq6ui81xWhrgDlM8qz8KtEyEoLv4P 7KgZ52qUyXAx3fzDqSe87mziuEWjW1YTjj3PUr5Dmtawwib6DxH2yN5WNvR0RBRWJemV DrD6yRkuIVvzy/Y0mPlEuEmXr1f114F0dvEh9cYOl0VEUp++SMJw4lwz4y9KpOLfdlwH nau0yFaFIp2bAWhEfmx08A/lXDuvFbRtAIHzU4byoQtKdpOeGWBDZ4wJarIuDx/UQkyT KlB5zKyviTGkg77HtQ7sSwhWrtgoSmWECaDPzYSnQ4nQSPqWbIuU3XYZJ7LcWseot4WP wtPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795113521; x=1795718321; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=nDBSwJBFWmOwVGT8x20+Gu3+IQamlbGQilOuTcWP1hY=; b=DVJBdUf5fyBmupeg1t70/Cm5VBuQ4pPLbsGbI9VNT5CmzmU7vja0DFOulCfrsCVIyo cOPKNoRi5+cRZAAK/nBkw3EGT0tLBVrO/yI1dA4Ne4UDPcbuD08r3bjEXJQykCnjc6jw 7ClKKaZapZX1ThNNTBP9nEh8ivWKgPlzLKwPAMkw0ap/RXJyKMpMX9d7j7J6+k/ARXaT r00UEqqE+cNJ72YZn7QOo4JvwnQNHWaIheH/rYtawdblN1cV/qmP9f6DYCqHqmG2cUYK JKryD920HJj3yGToGhWmVNvQCoX0aEaOYvclIAnUSuAsUtKck7Yk2kaAYFPrNWDQoLX2 b89A== X-Gm-Message-State: APuU4Z/42h9kes6Sd7UA1tb/PwxdcxJGNduI2lPaMx6yCqYtycwwy+sk GuTkozoIbJ394rMshttN4+4dzSabA1+ewdhqYmQMo5+ExFR8J9SpQ5eJtWY0jw== X-Gm-Gg: AYBFou2CHIfR5rZguvKhWqs9k6KpiGEw0gcQRkOJLWoEzkNqTA7tJD8AHtUiOSV9paz V5VGUNle4qbhoKSbzXhidwEeRik5OzJMJffAzSlWf0M0yoFixD3o0a8n+l77GaBSlUsI2borIc9 M2FGndIqDAzYLkyZ/0nBYlU9azAQNxgqScHAV/Q6WNSOh01rhtl1mh9ylGBNEYHy+FtVGwNP512 nb4hRRMGs7nPLdyFHuWKx3+ze5nGrntYDJapJc137X2dhmbPET10OsNb4aBHZWWkOXwx0gRaEWs neMgPDEmaBSuqv5k3liAG5mrUmVcLdHtZIg+3KCbTy6bGXxuSBo8uwZ13X9qgMvgyRgWJ1LLkV4 3aL56c0GuxxYrU+J7FPHmU0+9rYM93xYmky7YSPX6+iAlQ5z57Fod1UMpIfBPfzv9Qy2+blBmo8 a4ATbYuQ7MrJazDEHv5MK3dOyxoHWNUPObrl7RV7tV6M4lkl6NG/zED4XBoqjw6e9gU0GoVvlGD lLZooNCKbLQEROI/Vc+3BOvqCwS/NGHcXSvSMZgtQU3DacKo+t1hDbQMZz0O9jkBZjIwx+5QDxW njEzOkEgVBCxNkIPlY60kn6ZD08d70OH3Oqlq4FqXkLV5kRjsj3ZbJDzpUsQJw7tcz7nYjmFiEJ o7EVx1Pk= X-Received: by 2002:a05:6a00:4fcc:b0:89a:8a44:5db5 with SMTP id d2e1a72fcca58-8c87cb4bbc5mr488774b3a.44.1795113521450; Thu, 19 Nov 2026 10:38:41 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.217.9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4d7basm294518b3a.21.2026.11.19.10.38.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 10:38:41 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Ankur Tyagi Subject: [blacksail][PATCH 64/64] libplacebo: update SRC_URI branch Date: Fri, 20 Nov 2026 07:33:32 +1300 Message-ID: X-Mailer: git-send-email 2.43.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 ; Thu, 19 Nov 2026 18:38:48 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132754 From: Ankur Tyagi Signed-off-by: Ankur Tyagi --- meta-oe/recipes-multimedia/mplayer/libplacebo_7.360.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-multimedia/mplayer/libplacebo_7.360.1.bb b/meta-oe/recipes-multimedia/mplayer/libplacebo_7.360.1.bb index 94767730a8..6c6c640da7 100644 --- a/meta-oe/recipes-multimedia/mplayer/libplacebo_7.360.1.bb +++ b/meta-oe/recipes-multimedia/mplayer/libplacebo_7.360.1.bb @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=435ed639f84d4585d93824e7da3d85da" DEPENDS += "fastfloat glad-native python3-mako-native python3-jinja2-native vulkan-headers" -SRC_URI = "git://code.videolan.org/videolan/libplacebo.git;protocol=https;branch=release;tag=v${PV}" +SRC_URI = "git://code.videolan.org/videolan/libplacebo.git;protocol=https;branch=v7.360;tag=v${PV}" SRCREV = "cee9b076f2c63104ccfd497fa79c39a867293ec4" inherit meson pkgconfig