Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A387F43900D for ; Wed, 6 May 2026 11:35:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778067300; cv=none; b=c2puO4tn73ibjvaIKVv75eV56xOlKs2sD+T4bt7qgjCFHN2h6mdiOHM+ZVbT060H+BusD8E6st1ZGFhrB0CPbCi/CMcXOKWnFfHJFupSLBz/CfCptEBRX+tNxD0uBl8ZmGkIKquriNxmne13AKemEwrzQMddFVVfVOPyUciwmcU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778067300; c=relaxed/simple; bh=RXeqGR9jATgraWUjNxt4RZMTz+9GwilL+0skkKFCpCs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=IEotBdYssBrRMFEtbgoMZAYTqcfJJwIyqKVDqd4/ExCHYw3O7VzPShp0P2HY/S4t4cDfzXh/Jk3nwdK1uGTpA04ZANBynLlJDg9DQE1UEfItrhIU9O7s3hLHPmv08ve4f9i+R3JBx6rw9xCdq706TF4h/8BPf6GdkLmht7vq4Yc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=F37ZqHS0; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="F37ZqHS0" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 10512C2BCB8; Wed, 6 May 2026 11:34:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1778067300; bh=RXeqGR9jATgraWUjNxt4RZMTz+9GwilL+0skkKFCpCs=; h=From:To:Cc:Subject:Date:Reply-To:From; b=F37ZqHS0gmNb8KtfabXftKeQJ3zNHpWGtirsktsheYOo3P1wjZfhTpQo4zel8AmfX zAmJ2W+yvFao1TjDzUVIVc23xW/Wy9//THN2UGIsAFmV3VDIceRGu7vwjS+rZVrbmY jzW3JV+0Cbqs6q40GH/d8JbRUmxVUl1up9yg3Akg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-43233: netfilter: nf_conntrack_h323: fix OOB read in decode_choice() Date: Wed, 6 May 2026 13:29:09 +0200 Message-ID: <2026050657-CVE-2026-43233-e6b4@gregkh> X-Mailer: git-send-email 2.54.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=4618; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=/4nbtJelrLVkWC5Nm8cDdXcoRhpYuUbJmkwwNaWDkVs=; b=owGbwMvMwCRo6H6F97bub03G02pJDJm/VffmFx8KkiwUvJGRXNhwU/us3PXsFp917YndDo1sL PKmptM6YlkYBJkYZMUUWb5s4zm6v+KQopeh7WmYOaxMIEMYuDgFYCKLLRgW7K0JUmQvz3Rp61uo w3w4LeP+lzc/GRbcmJVQG3Giq8VhFl+9SmLx/1/bIwMB X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_conntrack_h323: fix OOB read in decode_choice() In decode_choice(), the boundary check before get_len() uses the variable `len`, which is still 0 from its initialization at the top of the function: unsigned int type, ext, len = 0; ... if (ext || (son->attr & OPEN)) { BYTE_ALIGN(bs); if (nf_h323_error_boundary(bs, len, 0)) /* len is 0 here */ return H323_ERROR_BOUND; len = get_len(bs); /* OOB read */ When the bitstream is exactly consumed (bs->cur == bs->end), the check nf_h323_error_boundary(bs, 0, 0) evaluates to (bs->cur + 0 > bs->end), which is false. The subsequent get_len() call then dereferences *bs->cur++, reading 1 byte past the end of the buffer. If that byte has bit 7 set, get_len() reads a second byte as well. This can be triggered remotely by sending a crafted Q.931 SETUP message with a User-User Information Element containing exactly 2 bytes of PER-encoded data ({0x08, 0x00}) to port 1720 through a firewall with the nf_conntrack_h323 helper active. The decoder fully consumes the PER buffer before reaching this code path, resulting in a 1-2 byte heap-buffer-overflow read confirmed by AddressSanitizer. Fix this by checking for 2 bytes (the maximum that get_len() may read) instead of the uninitialized `len`. This matches the pattern used at every other get_len() call site in the same file, where the caller checks for 2 bytes of available data before calling get_len(). The Linux kernel CVE team has assigned CVE-2026-43233 to this issue. Affected and fixed versions =========================== Issue introduced in 4.15 with commit ec8a8f3c31ddef0a7d9626c4b8a4baa30f3b80aa and fixed in 5.10.252 with commit bcb50aa0b8f2b74a9fe5a1c7bee6f2657a288041 Issue introduced in 4.15 with commit ec8a8f3c31ddef0a7d9626c4b8a4baa30f3b80aa and fixed in 5.15.202 with commit 2a3aac4205e7d2f1aca2e3827de8cdd517d36c4a Issue introduced in 4.15 with commit ec8a8f3c31ddef0a7d9626c4b8a4baa30f3b80aa and fixed in 6.1.165 with commit 81f2fc5b0d0cf4696146f00f837596d10b92dead Issue introduced in 4.15 with commit ec8a8f3c31ddef0a7d9626c4b8a4baa30f3b80aa and fixed in 6.6.128 with commit 7ef82863d42261817a6394c6c881bd6757a70f16 Issue introduced in 4.15 with commit ec8a8f3c31ddef0a7d9626c4b8a4baa30f3b80aa and fixed in 6.12.75 with commit 53d32735d77ab56cc3fc7bd53a7d099418f19be1 Issue introduced in 4.15 with commit ec8a8f3c31ddef0a7d9626c4b8a4baa30f3b80aa and fixed in 6.18.16 with commit f0a83d0a4b7c127d32ac06d607a9214937716129 Issue introduced in 4.15 with commit ec8a8f3c31ddef0a7d9626c4b8a4baa30f3b80aa and fixed in 6.19.6 with commit 35f1943d242e1b9f0b6e91c0c93bfb293a9f8224 Issue introduced in 4.15 with commit ec8a8f3c31ddef0a7d9626c4b8a4baa30f3b80aa and fixed in 7.0 with commit baed0d9ba91d4f390da12d5039128ee897253d60 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-43233 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: net/netfilter/nf_conntrack_h323_asn1.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/bcb50aa0b8f2b74a9fe5a1c7bee6f2657a288041 https://git.kernel.org/stable/c/2a3aac4205e7d2f1aca2e3827de8cdd517d36c4a https://git.kernel.org/stable/c/81f2fc5b0d0cf4696146f00f837596d10b92dead https://git.kernel.org/stable/c/7ef82863d42261817a6394c6c881bd6757a70f16 https://git.kernel.org/stable/c/53d32735d77ab56cc3fc7bd53a7d099418f19be1 https://git.kernel.org/stable/c/f0a83d0a4b7c127d32ac06d607a9214937716129 https://git.kernel.org/stable/c/35f1943d242e1b9f0b6e91c0c93bfb293a9f8224 https://git.kernel.org/stable/c/baed0d9ba91d4f390da12d5039128ee897253d60