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 B82B3383983 for ; Tue, 6 Oct 2026 10:28:00 +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=1791282481; cv=none; b=F6itAUclve2laYGFfMoM+VNswv5Ublc79h2XCpqm+nPTg+G+M9u/l2CA3YSJNFkgjEzI/W8bJ5iuhAyugNkRoB/bk/iTy2zZ3LhyCUKISqs4Mc1lCI4MdgEM/JcEFOD3yz8z2unKeX8+m17Oq9S8MORR9tC/DbULvaesjiCRxRw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791282481; c=relaxed/simple; bh=WOVCWaa4OhVAfvpweJ7aWL+6cRIEx0HBRZuBtYJQrWY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=EWBWRzwz63epfw3YeQ4+egei8jEJBzrw+k3rPjiU894LIokyNaStR4ddasyXpUVD9G7wS8a73oGxqti8/uZHOscM+puhQs2JYAvl+tA54t7A69yKPLHEzCSHlaSDFsZv6WnUWFL2uxIJ+BxZ++v0cwq14+DohBNHx7evAgekS40= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=pUPU4p0L; 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="pUPU4p0L" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 248671F000FF; Tue, 6 Oct 2026 10:27:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1791282480; bh=gfKfogjCrUKIPageV1j41+TeZsw41Si3AzlFocs2Uw0=; h=From:To:Cc:Subject:Date:Reply-To; b=pUPU4p0L/EWmPpeY0zLSaHVL9HfedH2HeuhnEFHPPwwt9IXlNwii2bZy0gF7GrhE9 AAdy8gB4fx0VMZd8y14a+i/wAH/sdbBMgRa5+kZL5f7/gUp3rY80+H9wjy+FOgcjU0 LkfZlhAcaD+5pb4uqUwQlqSRNZrgPfF4aHwAos80= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98288: net: stmmac: fix TSO header length truncation Date: Tue, 6 Oct 2026 10:46:29 +0200 Message-ID: <2026100606-CVE-2026-98288-defe@gregkh> X-Mailer: git-send-email 2.56.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=2407; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=IJT6HeZlccZDth9KyDq55hvYAgDiXyjnzhwfs8Q0OEY=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlHtgrpXc8SnZZWKGqzWPC3zj/21NIppVNUpm5xmrVa+ lRdhfXnjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIyhCG+fmHr07aWNthEMjg sNe07crS619vhDHMU/mod1fRZNP+T0pG7E+/aybOP7Y3HQA= 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: stmmac: fix TSO header length truncation stmmac_tso_xmit() stores the protocol header length returned by stmmac_tso_header_size() in a u8. stmmac_tso_valid_packet() admits headers up to 1023 bytes, so a header longer than 255 bytes wraps modulo 256 (486 becomes 230, 256 becomes 0). A TCP over IPv6 socket carrying a few hundred bytes of sticky destination/hop-by-hop options makes skb_tcp_all_headers() exceed 255 while staying below the 1023-byte limit, so such an skb reaches stmmac_tso_xmit(). Widen proto_hdr_len to unsigned int, which is sufficient since the value is bounded by the hardware limit, and adjust the debug print specifier accordingly. The Linux kernel CVE team has assigned CVE-2026-98288 to this issue. Affected and fixed versions =========================== Issue introduced in 4.13 with commit 9edfa7dab8112a012b349b7937f5444fdc21e8f9 and fixed in 7.2.8 with commit bcf6013c2b4d732c6e4bf4d0f6ae4a18d63d414b Issue introduced in 4.13 with commit 9edfa7dab8112a012b349b7937f5444fdc21e8f9 and fixed in 7.3-rc4 with commit 15989abd74f16f44bf953d056b95f1d2fda9b0cd 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-98288 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/ethernet/stmicro/stmmac/stmmac_main.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/bcf6013c2b4d732c6e4bf4d0f6ae4a18d63d414b https://git.kernel.org/stable/c/15989abd74f16f44bf953d056b95f1d2fda9b0cd