Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 53894317162 for ; Wed, 24 Jun 2026 16:36:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782318963; cv=none; b=UVDrU6bEyBwjUvDcOGP+W1nggE+WTUnDA6qxrNpo2bVHPM/VXdgW5f6DSRNGIG0OpKNmrLh8GkaIC965856ipQuEvlIcBlmuDvwF1DJqLEccCvdj1bEhT4fyM74mFk2kXIeoWzCthSnKSMXl4yF7bpGDUzQDj8RijSv0oRaId9k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782318963; c=relaxed/simple; bh=WIT4zRby29W8awAMsCtt2wZbD17wC/+LHyvMsYXv9uQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=kIGlwtBLT1585bfda1DMPRJyP7bn+4bT86bwHp6Ko3At6TPyUr3DBP3Zc9Pek9oLZmvMMIm2sxtidINk2xojqzEr0oE4iTiZiewuoK2AmhnO7q1ASb/2yJHvPhAPIu2sQSgvI937FaOilpIBIR0Jn6UtyMkQlS8hfbQ8VdrO0FM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=xFtTjyep; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="xFtTjyep" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 996381F00A3D; Wed, 24 Jun 2026 16:36:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782318962; bh=Dgo0ilLacJ2N8Oy0sk+fW5eCD59icngsdE97ojsA/Zs=; h=From:To:Cc:Subject:Date:Reply-To; b=xFtTjyepyb1Qd1xUMnmODW44dbLC0v3n11SOgkULQCiwNmz3Mdd7cExYtfDQLOayW n0NHfkSaKgJgnzXWdcWZLcwZoTx137X8GxD1fOkKmnFN00Y0XZq30lQdtrWxxJdhJM ZKfMC6lqqHw0K2i4HxsEyTMCA/e6i3WbaNeQuaI0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-53002: netfilter: conntrack: remove sprintf usage Date: Wed, 24 Jun 2026 17:30:26 +0100 Message-ID: <2026062447-CVE-2026-53002-8577@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=3723; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=CDRJC+B47RIR9kDWuABqHMxQ+eQGDTux7pq9khjtojY=; b=owGbwMvMwCRo6H6F97bub03G02pJDFk2rL8TQv85L+XluFDWHh6xayfHrAlRZuv+27suOsdfd fZG5tL5HbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARO2OGBU0b3geKsajMUzib o3JCfp1rzHMnJoYF5zYvXZH/kOV3VgfjYWHBKrlwwzZ5AA== 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: conntrack: remove sprintf usage Replace it with scnprintf, the buffer sizes are expected to be large enough to hold the result, no need for snprintf+overflow check. Increase buffer size in mangle_content_len() while at it. BUG: KASAN: stack-out-of-bounds in vsnprintf+0xea5/0x1270 Write of size 1 at addr [..] vsnprintf+0xea5/0x1270 sprintf+0xb1/0xe0 mangle_content_len+0x1ac/0x280 nf_nat_sdp_session+0x1cc/0x240 process_sdp+0x8f8/0xb80 process_invite_request+0x108/0x2b0 process_sip_msg+0x5da/0xf50 sip_help_tcp+0x45e/0x780 nf_confirm+0x34d/0x990 [..] The Linux kernel CVE team has assigned CVE-2026-53002 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.20 with commit 9fafcd7b203229c3f3893a475741afc27e276306 and fixed in 5.10.258 with commit 2f793ba78470a99f40389b7dc60a81d9f5ad3956 Issue introduced in 2.6.20 with commit 9fafcd7b203229c3f3893a475741afc27e276306 and fixed in 5.15.209 with commit 6bbf829b4c1b44c941c47dd0d710f1393258f3d5 Issue introduced in 2.6.20 with commit 9fafcd7b203229c3f3893a475741afc27e276306 and fixed in 6.1.175 with commit ab64e61c9323fa6de21bd20da1ddb29a0fb65d34 Issue introduced in 2.6.20 with commit 9fafcd7b203229c3f3893a475741afc27e276306 and fixed in 6.6.141 with commit 1c9fb8aeed06790d42cdcd00f6c3ce0b9e926c1e Issue introduced in 2.6.20 with commit 9fafcd7b203229c3f3893a475741afc27e276306 and fixed in 6.12.91 with commit a8e0a32a23d3f34862af3b4da792ecb3a891a9a3 Issue introduced in 2.6.20 with commit 9fafcd7b203229c3f3893a475741afc27e276306 and fixed in 6.18.33 with commit 8e3be0d12615a173fe260cd42753ca7a001acbf2 Issue introduced in 2.6.20 with commit 9fafcd7b203229c3f3893a475741afc27e276306 and fixed in 7.0.10 with commit c08ff52e44945e6ef4ce0790f49ea761b060c45b Issue introduced in 2.6.20 with commit 9fafcd7b203229c3f3893a475741afc27e276306 and fixed in 7.1 with commit 6e7066bdb481a87fe88c4fa563e348c03b2d373d 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-53002 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_nat_amanda.c net/netfilter/nf_nat_sip.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/2f793ba78470a99f40389b7dc60a81d9f5ad3956 https://git.kernel.org/stable/c/6bbf829b4c1b44c941c47dd0d710f1393258f3d5 https://git.kernel.org/stable/c/ab64e61c9323fa6de21bd20da1ddb29a0fb65d34 https://git.kernel.org/stable/c/1c9fb8aeed06790d42cdcd00f6c3ce0b9e926c1e https://git.kernel.org/stable/c/a8e0a32a23d3f34862af3b4da792ecb3a891a9a3 https://git.kernel.org/stable/c/8e3be0d12615a173fe260cd42753ca7a001acbf2 https://git.kernel.org/stable/c/c08ff52e44945e6ef4ce0790f49ea761b060c45b https://git.kernel.org/stable/c/6e7066bdb481a87fe88c4fa563e348c03b2d373d