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 A34732C0F98 for ; Sat, 16 Aug 2025 11:22:50 +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=1755343370; cv=none; b=RGEyi85m61iW3sbB4dcpYz4jlhVwWizZ2DMdhRnUW+NZmdxCN62B0MsBEWMun5PVCrxm/RKQUCf5TIDcxzoJ9cWBjRYRELB2LggcfPM4coh/r9LajtG4yjdnWbNQezDmzBs7/Svx/z3tkod4rm+dpKAr6QTxUCDoqOPVjU7Lh9U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755343370; c=relaxed/simple; bh=JzLKgSBGx6JZA9rdxdquymS0cwFCxGi7Mt16HRGd32k=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=tMiVcD6kgpfncwqOnzJAH7rziuyQEhg4x1RDJbCDxlJ3uYibxTlnP5svaO0SJ+m/FHBdf5MGTNSNyXksZ6+s1CAZGucypYTEUs326d/vfqt/TKsqmoe0qhd+qpDDXk2velX2GZ/6ft3SRrttM9JVBujFqXAsZUD7e5W/GrDr5TY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=gzsZszRn; 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="gzsZszRn" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B93EBC4CEEF; Sat, 16 Aug 2025 11:22:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1755343370; bh=JzLKgSBGx6JZA9rdxdquymS0cwFCxGi7Mt16HRGd32k=; h=From:To:Cc:Subject:Date:Reply-to:From; b=gzsZszRneH03y4FwWBP8qHNGDisJFmyQAKa5n60wT6Pe5PyTfoFqE0xXzHguH+gmF HiLlksB2Orx1zukjGRD51y4mmlCv0NuyEK506OxJp1mzDPJ7amo8gMOGOWtMA8Y5y0 QiXo8Uv/XAjCjWTYaA73SdatKzgD0pAYeZv0kWqg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38545: net: ethernet: ti: am65-cpsw-nuss: Fix skb size by accounting for skb_shared_info Date: Sat, 16 Aug 2025 13:22:31 +0200 Message-ID: <2025081627-CVE-2025-38545-6fc3@gregkh> X-Mailer: git-send-email 2.50.1 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2349; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=gpy4+4q9k2lpGQdVuRXzUXDOXrRRMO9yz5ALN/ON5F4=; b=owGbwMvMwCRo6H6F97bub03G02pJDBkLMj//P/h8V3JW5lTTbQtsu7u3XbIWU5ix9MCrdTLR3 IelVr0z7IhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJHJVgmMV05n7+aUPdeSYv t8lOPNKdJpDaN4lhwbELTDuyExQW1O55+itwHvMqV84yDQA= 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: ethernet: ti: am65-cpsw-nuss: Fix skb size by accounting for skb_shared_info While transitioning from netdev_alloc_ip_align() to build_skb(), memory for the "skb_shared_info" member of an "skb" was not allocated. Fix this by allocating "PAGE_SIZE" as the skb length, accounting for the packet length, headroom and tailroom, thereby including the required memory space for skb_shared_info. The Linux kernel CVE team has assigned CVE-2025-38545 to this issue. Affected and fixed versions =========================== Issue introduced in 6.10 with commit 8acacc40f7337527ff84cd901ed2ef0a2b95b2b6 and fixed in 6.12.39 with commit fc2fffa2facac15ce711e95f98f954426e025bc5 Issue introduced in 6.10 with commit 8acacc40f7337527ff84cd901ed2ef0a2b95b2b6 and fixed in 6.15.7 with commit 7d6ca0c8c0caf9a13cae2de763bb1f2a9ea7eabb Issue introduced in 6.10 with commit 8acacc40f7337527ff84cd901ed2ef0a2b95b2b6 and fixed in 6.16 with commit 02c4d6c26f1f662da8885b299c224ca6628ad232 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-2025-38545 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/ti/am65-cpsw-nuss.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/fc2fffa2facac15ce711e95f98f954426e025bc5 https://git.kernel.org/stable/c/7d6ca0c8c0caf9a13cae2de763bb1f2a9ea7eabb https://git.kernel.org/stable/c/02c4d6c26f1f662da8885b299c224ca6628ad232