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 16EEA26CE11 for ; Sat, 14 Feb 2026 16:06:14 +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=1771085174; cv=none; b=QFXC/yB68kvII/3r2bb1252xSv9XVNyIYgGqN1Uq0e+u/XyZmnA8RHwJstZKPxDrAW2GpHoHWn8AQHMlZ+ip2RYse/m79TzS5Y53HdNjtIO67KJbPPAcpwnmd0cqbjLuBSSllC7WExDL+/Q4Iq/eq5uRfkLORz44zAEX+LBphO8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771085174; c=relaxed/simple; bh=v4iiI2LOkoHblv+jrFtDdHxHf6oHgJWIGoogEKL9d+s=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ttTA7+XkknBI507oj7Dtk92QDQMRNGQhEJ1/INqFwFBNDSscveJyrB+h2nuf1eTuap8nP4d3/gCWndIrbT7hFiiYT2yeZBeGRnGxxE0D8CarebUT9DnfElWbRDCverD+x0kcj1h2EjFXnwx0/2GwJImi/fsPBGC4cuHEQR/HvL0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=SXC5JQWX; 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="SXC5JQWX" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 940CDC16AAE; Sat, 14 Feb 2026 16:06:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1771085174; bh=v4iiI2LOkoHblv+jrFtDdHxHf6oHgJWIGoogEKL9d+s=; h=From:To:Cc:Subject:Date:Reply-To:From; b=SXC5JQWXWB6OWBomdJoo1KHBG2eZgtqqL2JvO/H1wqQpwNwRtQSDsEplvBAwoZw0w MEzrYTfPd/Sk5WfdAj/VvmfSwh/q4lysiTMSEu6SgPXSC/eAWL19wbD6EbB+WwX3l2 kns4aAft2oQLOny/SMhoCmTpgBTFd9In6YbfuMcM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23172: net: wwan: t7xx: fix potential skb->frags overflow in RX path Date: Sat, 14 Feb 2026 17:04:38 +0100 Message-ID: <2026021421-CVE-2026-23172-acf0@gregkh> X-Mailer: git-send-email 2.53.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=3710; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=DmjzwM7zlRxS62Y088h1BBlR9vAIEzCSX/7rEpXtmgA=; b=owGbwMvMwCRo6H6F97bub03G02pJDJkT5rJq/Ih+lPDvySO9R2d3MqksvtF3PfB9zo1n25cqh ev9uHL6f0csC4MgE4OsmCLLl208R/dXHFL0MrQ9DTOHlQlkCAMXpwBMxMWXYZ5G9o0nJ6v7Ux3L nJiMW7+sZzO7ps2wYEu4VH/4mgbzf0VRu1pfCyfzRO68AAA= 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: net: wwan: t7xx: fix potential skb->frags overflow in RX path When receiving data in the DPMAIF RX path, the t7xx_dpmaif_set_frag_to_skb() function adds page fragments to an skb without checking if the number of fragments has exceeded MAX_SKB_FRAGS. This could lead to a buffer overflow in skb_shinfo(skb)->frags[] array, corrupting adjacent memory and potentially causing kernel crashes or other undefined behavior. This issue was identified through static code analysis by comparing with a similar vulnerability fixed in the mt76 driver commit b102f0c522cf ("mt76: fix array overflow on receiving too many fragments for a packet"). The vulnerability could be triggered if the modem firmware sends packets with excessive fragments. While under normal protocol conditions (MTU 3080 bytes, BAT buffer 3584 bytes), a single packet should not require additional fragments, the kernel should not blindly trust firmware behavior. Malicious, buggy, or compromised firmware could potentially craft packets with more fragments than the kernel expects. Fix this by adding a bounds check before calling skb_add_rx_frag() to ensure nr_frags does not exceed MAX_SKB_FRAGS. The check must be performed before unmapping to avoid a page leak and double DMA unmap during device teardown. The Linux kernel CVE team has assigned CVE-2026-23172 to this issue. Affected and fixed versions =========================== Issue introduced in 5.19 with commit d642b012df70a76dd5723f2d426b40bffe83ac49 and fixed in 6.1.162 with commit f9747a7521a48afded5bff2faf1f2dcfff48c577 Issue introduced in 5.19 with commit d642b012df70a76dd5723f2d426b40bffe83ac49 and fixed in 6.6.123 with commit 2a0522f564acd34442652ea083091c329fa7c5d5 Issue introduced in 5.19 with commit d642b012df70a76dd5723f2d426b40bffe83ac49 and fixed in 6.12.69 with commit af4b8577d0b388cc3d0039eb0cdd9ca5bbbc9276 Issue introduced in 5.19 with commit d642b012df70a76dd5723f2d426b40bffe83ac49 and fixed in 6.18.9 with commit 2c0fb0f60bc1545c52da61bc6bd4855c1e7814ba Issue introduced in 5.19 with commit d642b012df70a76dd5723f2d426b40bffe83ac49 and fixed in 6.19 with commit f0813bcd2d9d97fdbdf2efb9532ab03ae92e99e6 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-23172 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: drivers/net/wwan/t7xx/t7xx_hif_dpmaif_rx.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/f9747a7521a48afded5bff2faf1f2dcfff48c577 https://git.kernel.org/stable/c/2a0522f564acd34442652ea083091c329fa7c5d5 https://git.kernel.org/stable/c/af4b8577d0b388cc3d0039eb0cdd9ca5bbbc9276 https://git.kernel.org/stable/c/2c0fb0f60bc1545c52da61bc6bd4855c1e7814ba https://git.kernel.org/stable/c/f0813bcd2d9d97fdbdf2efb9532ab03ae92e99e6