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 B5D364968E2 for ; Fri, 25 Sep 2026 10:35:55 +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=1790332556; cv=none; b=r8E+wtbsAam6qMrA70xbqcNSbLbgnPFUBTy/aC9+MRb+TQ0CfcRbhgSGyVKqk18sQYKSqTBCnJcZTq65iaRA6atiNccUwTLCiIuIXPX76tn23LgMU6o65DRgRT0mJ4eqyL5FDdNejuAKtKvD2ipZnvQMMFiJMRbADGW/nY3eatA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790332556; c=relaxed/simple; bh=VEu8iK+RBZhmN3yzY/ixtLgqOWgquWkSjtYtxby1eYM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=tfEBuT2jHQQbaVEe5SuGMtTpSAHK9VXf4NwF7NL5Fj00hrgHt63890zMnMfixkCEnq9VfRaCAfNkIbIBMUVoT3AT8ufN8eRgNGgJKF796qL/fQo19SfXlDXEbtjgT29CZ8o6HNYFdcpSgNafWTcPIKz1b1bDjV7W7f88pb6X6fs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=IOo4Y50v; 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="IOo4Y50v" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1D6ED1F000FF; Fri, 25 Sep 2026 10:35:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790332555; bh=0M5yq+dhvEqo/zWlGlqjfrouGU6itKFUv8qOt4NOXQ0=; h=From:To:Cc:Subject:Date:Reply-To; b=IOo4Y50vhC/PVMxrTQsECl87QyATytCpIZDdTLWKJqsgYRT5B4m7sLMAxvKGwcn1w yqa39FCM9zCtsopGUsrhxJXLNAc50jjGV7G+N9mO7GCNVraIt50bU5DlLAqaXqzcg6 5UQzHNhfmkxxZe9TTX5QcWnOKhJBR48KVwiq8b6Y= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98077: netfilter: nf_conntrack_sip: fix OOB read in sip_skip_whitespace() Date: Fri, 25 Sep 2026 12:26:19 +0200 Message-ID: <2026092537-CVE-2026-98077-d72e@gregkh> X-Mailer: git-send-email 2.55.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=3004; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Fj9hhlglfHe1oW+5++OjecPI06Og6JK9qMI1AUcrgkg=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnbvHNz5hkY35j1b86ymKvHYnLqDh9x2XJ+5dFl3MsV1 /e1XRN60RHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATKXnNMFdSpuRucM3l+5E1 3japnVYhuw7H/mSYX9snupq5XmQp2w+HtRKvw6eJrfjPAAA= 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_sip: fix OOB read in sip_skip_whitespace() sip_skip_whitespace() returns dptr unchanged when its own loop exhausts the buffer (dptr == limit), instead of NULL like its sibling sip_follow_continuation() returns on its own "no more data" path. ct_sip_get_header() only checks for NULL after calling it: dptr = sip_skip_whitespace(dptr, limit); if (dptr == NULL) break; if (*dptr != ':' || ++dptr >= limit) break; so a recognized header name followed only by spaces/tabs running to the exact end of the SIP payload, with no colon, makes the very next statement read one byte past the buffer. Make both "no more data" outcomes return NULL, matching the convention sip_follow_continuation() already uses and that both existing callers already check for. The Linux kernel CVE team has assigned CVE-2026-98077 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.26 with commit ea45f12a2766dae54e5426a23e8f4bafdbe2782e and fixed in 6.12.111 with commit 60c012b2d05e1558b0f30ea3f15a2c3ca2f24d94 Issue introduced in 2.6.26 with commit ea45f12a2766dae54e5426a23e8f4bafdbe2782e and fixed in 6.18.53 with commit 4be8380e3af008f418f97992c06f23be649a430d Issue introduced in 2.6.26 with commit ea45f12a2766dae54e5426a23e8f4bafdbe2782e and fixed in 7.2.7 with commit 4a30aa2ba007db18210dd52219ecbd5528c03523 Issue introduced in 2.6.26 with commit ea45f12a2766dae54e5426a23e8f4bafdbe2782e and fixed in 7.3-rc3 with commit e8f8231824b5815f57ce62cba116e511b10196de 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-98077 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_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/60c012b2d05e1558b0f30ea3f15a2c3ca2f24d94 https://git.kernel.org/stable/c/4be8380e3af008f418f97992c06f23be649a430d https://git.kernel.org/stable/c/4a30aa2ba007db18210dd52219ecbd5528c03523 https://git.kernel.org/stable/c/e8f8231824b5815f57ce62cba116e511b10196de