From patchwork Mon Nov 30 11:26:37 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick Vogelaar via B4 Relay X-Patchwork-Id: 106477 Received: from sea.source.kernel.org (sea.source.kernel.org [172.234.252.31]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.30409.1796038009996919256 for ; Mon, 30 Nov 2026 03:26:50 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@kernel.org header.s=k20260515 header.b=Tc8pdLTU; spf=pass (domain: kernel.org, ip: 172.234.252.31, mailfrom: devnull+patrick.vogelaar.belden.com@kernel.org) Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by sea.source.kernel.org (Postfix) with ESMTP id C845841513; Mon, 30 Nov 2026 11:26:49 +0000 (UTC) Authentication-Results: smtp.kernel.org; arc=none smtp.remote-ip=100.80.115.77 ARC-Seal: i=1; d=kernel.org; s=arc20260519; a=rsa-sha256; cv=none; t=1796038009; b=knmuyZJq2BlO89VARNkRogRCW7Snfc5BeFKF+v9NZ5ml9UfaW769Q29RAVakE3T7NsvV OGk6x3cPcJUEYf9xlO1nXgozBRBVox2nV8V98o3Sahekxcc2ZoQr5nOItn8wpCIVh8Rwh uamBn+69Cdp0zO/ppzcyd/EsnOBMEM406RjnbnvsJmCWU+3erNbt683ISaT3ZvXzBl+0D hdV99nN9G9I/l8dl4XZ4u2ts/bMd5/ZWX/ve7clEQlhQp4OOUHdX9KXqvwVuCKhhPjfHY GmJ1CAcnh0TrC2kEL7kA5tHr/5OycgWvy5qz1vgE7uZrKU+BrZPRsDrXQ1fchJco7Ww== ARC-Message-Signature: i=1; d=kernel.org; s=arc20260519; a=rsa-sha256; c=relaxed/relaxed; t=1796038009; h=DKIM-Signature:Received:From:Date:Subject:MIME-Version:Content-Type: Message-Id:References:In-Reply-To:To:Cc:X-Mailer: X-Developer-Signature:X-Developer-Key:X-Endpoint-Received: X-Original-From:Reply-To:Content-Transfer-Encoding; bh=LJ0LwEFfTgFwUQ56VR7KTpZe8TxoHT0lMvh5l7gdGQo=; b=UAsxQyo/wifIF1jmSZvMNJT+5mYqani1qKwX4BEqIOBSqvi72aOmJyTZh47cGqf272qH CSbSb8hIJRY6ZscOiS/1x6rPpIrXWakWQkGktDIsF++t1jYxvoXuw1MpFimOjkrqkEn77 oWaINOYqf53bd7almj/oGriPki9I1PC8VSQo6XeowVlx0pLmsxR59I1/jsSMSe+fZwUCu tjuHONMzx2xZ6Q+oMkmmQRY8Cy0HL0PbCApYAroBJV+9+3s9nGNstMfQ5nJDf6XPi9aqh 6cjEewDWvh77ll2nNV91vQKi7UT7DPNnYrNwWwhQnubsOvzAg/SNP2NuDuinHUVEIMA== ARC-Authentication-Results: i=1; smtp.kernel.org; arc=none smtp.remote-ip=100.80.115.77 Received: from lkml.kernel.org (nexus.subspace.kernel.org [100.80.115.77]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.kernel.org (Postfix) with ESMTPS id 566BD1F0089A; Mon, 30 Nov 2026 11:26:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796038009; bh=LJ0LwEFfTgFwUQ56VR7KTpZe8TxoHT0lMvh5l7gdGQo=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To; b=Tc8pdLTUY3VkDBdq2iTUqN/ig+50zErYnRhSckNnA16n2OH6qEyzrDdJbpedN7owH GdUogT9ax49UmcnzUQwnEnNnGxhjoIcxcUg0RbZKPpFlISCVMv5Q3j0lfhLVfkfsKS O8RK8LJEk8XKVVx/uFkJbKjFoByk0h4CYAqtZAQRPoAIQY+w1suAl/ieYoh0a+PBm3 0l5YO2phmCk1HEP6PArGddnrH8IA8iGBIxpQ14/5nGtiRiFpKwRIHeF7Gh5ND5mUaw ejrzkxzNNa7NUlKJeERVMdEughTqZyzge1+Z50JSHjuObEWGPp9XNYa/CqHeim7aaG IwzMazLy1W3eQ== Received: from nexus.subspace.kernel.org (localhost [IPv6:::1]) by lkml.kernel.org (Postfix) with ESMTP id D416D4E7E7; Mon, 30 Nov 2026 11:26:39 +0000 (UTC) From: Patrick Vogelaar via B4 Relay Date: Mon, 30 Nov 2026 12:26:37 +0100 Subject: [meta-webserver][scarthgap][PATCH v2 3/5] nginx: fix for CVE-2026-123633 MIME-Version: 1.0 Message-Id: <20261130-fix_nginx2root-v2-3-d5bc7476bdab@belden.com> References: <20261130-fix_nginx2root-v2-0-d5bc7476bdab@belden.com> In-Reply-To: <20261130-fix_nginx2root-v2-0-d5bc7476bdab@belden.com> To: openembedded-devel@lists.openembedded.org Cc: Patrick Vogelaar , patrick.vogelaar.dev@mailbox.org X-Mailer: b4 0.16.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1796037998; l=3503; i=patrick.vogelaar@belden.com; s=20240201; h=from:subject:message-id; bh=8ne8Hq06KrKlw3C0lbV9QNheDv1YKDvPDzLvmEPxz9o=; b=29442E408CK0hIkpqt3R/ndtpor3mEZnsoypSAHHuinh/92k5NhKIRulBejdkmny7XMsEutH0 y0qPucji9phA1Mq48QgrLvC4tOeVxEUP1L5zwy7DiHPRNbhhC/Vlgy1 X-Developer-Key: i=patrick.vogelaar@belden.com; a=ed25519; pk=w0QU8RmOR3hQv1DxMcz6KmySeE8yqbvO0xC1ZSSUNqY= X-Endpoint-Received: by B4 Relay for patrick.vogelaar@belden.com/20240201 with auth_id=125 X-Original-From: Patrick Vogelaar Reply-To: patrick.vogelaar@belden.com 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 ; Mon, 30 Nov 2026 11:26:55 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133535 From: Patrick Vogelaar Pick patch [0] as mentioned in [1]. [0] https://github.com/nginx/nginx/commit/0c87dd1db413e440a4e3ef7ee8acc518509e8809 [1] https://security-tracker.debian.org/tracker/CVE-2026-123633 Signed-off-by: Patrick Vogelaar --- .../nginx/nginx-1.26.3/CVE-2026-123633.patch | 52 ++++++++++++++++++++++ meta-webserver/recipes-httpd/nginx/nginx_1.26.3.bb | 1 + 2 files changed, 53 insertions(+) diff --git a/meta-webserver/recipes-httpd/nginx/nginx-1.26.3/CVE-2026-123633.patch b/meta-webserver/recipes-httpd/nginx/nginx-1.26.3/CVE-2026-123633.patch new file mode 100644 index 0000000000..2656fdb2fd --- /dev/null +++ b/meta-webserver/recipes-httpd/nginx/nginx-1.26.3/CVE-2026-123633.patch @@ -0,0 +1,52 @@ +From af325f83ebfa3ed843f691c2542d58e321b8faad Mon Sep 17 00:00:00 2001 +From: Roman Arutyunyan +Date: Thu, 17 Sep 2026 16:10:11 +0400 +Subject: [PATCH 02/10] HTTP/2: reset reusable connection status on stream + creation + +Previously, an HTTP/2 connection could be reusable while having streams. +This could result in an attempt to drain the connection while processing +one if its streams, for example when connecting to an upstream. After +recognizing that the connection has streams, an attempt to send the +GOAWAY frame was made. On send failure, the connection was immediately +closed and its pool released. This triggered a use-after-free up the +stack. + +Having an HTTP/2 connection with streams registered as reusable became +possible after 76672e650. A connection with no streams and a partial +frame read from client was registered as reusable to avoid DoS attacks. +So if a client sends only the first HEADERS frame byte, the connection +becomes reusable. Later, when the remaining HEADERS bytes are received +and a new stream is created, the reusable status is not reset until the +connection becomes idle. + +Fix is to mark the connection non-reusable upon stream creation. + +Reported by Albert @ Vexera AI. + +(cherry picked from commit 0c87dd1db413e440a4e3ef7ee8acc518509e8809) + +CVE: CVE-2026-123633 +Upstream-Status: Backport [https://github.com/nginx/nginx/commit/0c87dd1db413e440a4e3ef7ee8acc518509e8809] + +Signed-off-by: Patrick Vogelaar +--- + src/http/v2/ngx_http_v2.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/http/v2/ngx_http_v2.c b/src/http/v2/ngx_http_v2.c +index 7ab97bbf9..4a7395227 100644 +--- a/src/http/v2/ngx_http_v2.c ++++ b/src/http/v2/ngx_http_v2.c +@@ -3091,6 +3091,8 @@ ngx_http_v2_create_stream(ngx_http_v2_connection_t *h2c) + + h2c->processing++; + ++ ngx_reusable_connection(h2c->connection, 0); ++ + h2c->priority_limit += h2scf->concurrent_streams; + + if (h2c->connection->read->timer_set) { +-- +2.43.0 + diff --git a/meta-webserver/recipes-httpd/nginx/nginx_1.26.3.bb b/meta-webserver/recipes-httpd/nginx/nginx_1.26.3.bb index 2b392fd6d6..5d9fae672b 100644 --- a/meta-webserver/recipes-httpd/nginx/nginx_1.26.3.bb +++ b/meta-webserver/recipes-httpd/nginx/nginx_1.26.3.bb @@ -11,6 +11,7 @@ SRC_URI:append = " \ file://CVE-2026-123007.patch \ file://CVE-2026-123634-01.patch \ file://CVE-2026-123634-02.patch \ + file://CVE-2026-123633.patch \ " SRC_URI[sha256sum] = "69ee2b237744036e61d24b836668aad3040dda461fe6f570f1787eab570c75aa"