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 DF0A125D1F1 for ; Tue, 20 May 2025 15:22:48 +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=1747754569; cv=none; b=W+pqaEgydDyU8PeWALjviTCmkb5L3slva18P3Sz5foPGoDASvir6bv1pW3FKbvxBFaoaQKYVOhyMPEFaEud0mBhNlIDWUvsM2XLZEIvJQYw2xYHr+zyvXnYLgLLRj/ZUKHbdYBa+aezBs2+ezW3+jNBRqycbwgDPQ6pVt9UFL68= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747754569; c=relaxed/simple; bh=GegRXKW+Qi2keEHvGHf905vBgbdND6m4VTmr1kPFb10=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=mpTSu+0sOlbBOBJ6ASoKrJkEwD9At5f5LZ161XILtlR7FgT84eQUuPYJWeJW7/78iA0oL/JlFh16yE0hmMh97S3lgOIFP9UvNrXWnykC5wAao7+sHbaxc9ZO8zMC8efp35caWeFqX9kVyn9Y0Yoo/nMWHC2rrWO1wSyvEX2Fsyg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=k1l5W1jl; 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="k1l5W1jl" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 27AA2C4CEE9; Tue, 20 May 2025 15:22:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1747754568; bh=GegRXKW+Qi2keEHvGHf905vBgbdND6m4VTmr1kPFb10=; h=From:To:Cc:Subject:Date:Reply-to:From; b=k1l5W1jlIm0clU2Hb5nINmV1kIhchwT+dzwThwhkGppKOveQK5fwPTPGHIQJ2nOOx ZqwuP+vPAPiOzYRXbuLH4uG3B6pNJJWvQ8lVumTagmuA5wzadLJcvCcR/t+hxAQucG fbKKzVgTGaDPdw45adxTriXkUdtxg8JcC6y6pA2I= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-37909: net: lan743x: Fix memleak issue when GSO enabled Date: Tue, 20 May 2025 17:22:06 +0200 Message-ID: <2025052058-CVE-2025-37909-f6da@gregkh> X-Mailer: git-send-email 2.49.0 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=2978; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=p+R5MB6tpbaws3CqR76Ph6e1dOSWk4dcH3H+dn4FUz8=; b=owGbwMvMwCRo6H6F97bub03G02pJDBk688S6TvM1PfA8En61vnTamsZ36wyeuSyatKdHa2185 os1/14UdsSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBERFUY5me+rCjU4ZjHku3q uOAdo8A0dY6tDQwLpjn9N3z14sUfMYXd8wIFfkfPfaXGCwA= 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: lan743x: Fix memleak issue when GSO enabled Always map the `skb` to the LS descriptor. Previously skb was mapped to EXT descriptor when the number of fragments is zero with GSO enabled. Mapping the skb to EXT descriptor prevents it from being freed, leading to a memory leak The Linux kernel CVE team has assigned CVE-2025-37909 to this issue. Affected and fixed versions =========================== Issue introduced in 4.17 with commit 23f0703c125be490f70501b6b24ed5645775c56a and fixed in 5.15.182 with commit df993daa4c968b4b23078eacc248f6502ede8664 Issue introduced in 4.17 with commit 23f0703c125be490f70501b6b24ed5645775c56a and fixed in 6.1.138 with commit a0e0efbabbbe6a1859bc31bf65237ce91e124b9b Issue introduced in 4.17 with commit 23f0703c125be490f70501b6b24ed5645775c56a and fixed in 6.6.90 with commit dae1ce27ceaea7e1522025b15252e3cc52802622 Issue introduced in 4.17 with commit 23f0703c125be490f70501b6b24ed5645775c56a and fixed in 6.12.28 with commit 189b05f189cac9fd233ef04d31cb5078c4d09c39 Issue introduced in 4.17 with commit 23f0703c125be490f70501b6b24ed5645775c56a and fixed in 6.14.6 with commit f42c18e2f14c1b1fdd2a5250069a84bc854c398c Issue introduced in 4.17 with commit 23f0703c125be490f70501b6b24ed5645775c56a and fixed in 6.15-rc5 with commit 2d52e2e38b85c8b7bc00dca55c2499f46f8c8198 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-37909 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/microchip/lan743x_main.c drivers/net/ethernet/microchip/lan743x_main.h 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/df993daa4c968b4b23078eacc248f6502ede8664 https://git.kernel.org/stable/c/a0e0efbabbbe6a1859bc31bf65237ce91e124b9b https://git.kernel.org/stable/c/dae1ce27ceaea7e1522025b15252e3cc52802622 https://git.kernel.org/stable/c/189b05f189cac9fd233ef04d31cb5078c4d09c39 https://git.kernel.org/stable/c/f42c18e2f14c1b1fdd2a5250069a84bc854c398c https://git.kernel.org/stable/c/2d52e2e38b85c8b7bc00dca55c2499f46f8c8198