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 28B9E1E1A2D for ; Thu, 7 Nov 2024 09:36:28 +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=1730972189; cv=none; b=qPhoA28Y7deXqD6fHBZplFQRPbJxDT71HyYqdY5qnukrgwr6OX6G6G4BGFHU9p2Oc77UlTGfqe2xUt63QjSrGH/Xbvj2ssH4YhBRpyOIYx6BjKLITCPeCO69h6i4G40OT702J3TcJKoDR9zejBCjBskEdIepxKvzir9HrKkPCcM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730972189; c=relaxed/simple; bh=3pRi/WR1/9euOWEw+d8V2MINyhxB9HgCrcoqY+bLQzo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Yhk4mCEP/XlGKI7ZawMc5sUR3S4seF1SBajZksjyYzEF4znXgwcOZCNFcDXbTzshxf99fup3lfOmhGRScJQ980Jvezibwrn+qUn6MCAs0NuuieXhnSxEBp+bssbL6hoF5etQMm4Du1r7A8QTrlzWmD6GWPrlElP/IQQJzk31BLg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=UbwneFSP; 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="UbwneFSP" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 35EECC4CECC; Thu, 7 Nov 2024 09:36:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1730972188; bh=3pRi/WR1/9euOWEw+d8V2MINyhxB9HgCrcoqY+bLQzo=; h=From:To:Cc:Subject:Date:Reply-to:From; b=UbwneFSPkGnI0w7mn4D3GLxWKCPZ25VUO0GqqDKR7Ob2sRNd2z6t8UvreJqo/8Zn5 DpAQfn72JUxIqu3fyz+fWt4e/4MvY3YZxppg8sHrF7a4trS9fUREbcmHYvulHyPY8+ tooIkkG+XKSdlnbPZs2X3nD/R3ONuzPx+i1O0scE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-50168: net/sun3_82586: fix potential memory leak in sun3_82586_send_packet() Date: Thu, 7 Nov 2024 10:35:08 +0100 Message-ID: <2024110748-CVE-2024-50168-60c2@gregkh> X-Mailer: git-send-email 2.47.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=2351; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=3pRi/WR1/9euOWEw+d8V2MINyhxB9HgCrcoqY+bLQzo=; b=owGbwMvMwCRo6H6F97bub03G02pJDOk6nTuKDJf7/f6iPe3rlTuLTRiv6Kkutmwt4BE1n/+7x tjf859lRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExklhvDgtP+li01d57EHz4f F5hy5lGRjvOUHwwLbp7T1xGxlXvjlaKSIyt+faexma8WAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: net/sun3_82586: fix potential memory leak in sun3_82586_send_packet() The sun3_82586_send_packet() returns NETDEV_TX_OK without freeing skb in case of skb->len being too long, add dev_kfree_skb() to fix it. The Linux kernel CVE team has assigned CVE-2024-50168 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.12 with commit 1da177e4c3f4 and fixed in 5.15.170 with commit 9c6ce55e6f0b Issue introduced in 2.6.12 with commit 1da177e4c3f4 and fixed in 6.1.115 with commit 1a17a4ac2d57 Issue introduced in 2.6.12 with commit 1da177e4c3f4 and fixed in 6.6.59 with commit 6dc937a3086e Issue introduced in 2.6.12 with commit 1da177e4c3f4 and fixed in 6.11.6 with commit 84f2bac74000 Issue introduced in 2.6.12 with commit 1da177e4c3f4 and fixed in 6.12-rc5 with commit 2cb3f56e827a 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-2024-50168 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/i825xx/sun3_82586.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/9c6ce55e6f0bd1541f112833006b4052614c7d94 https://git.kernel.org/stable/c/1a17a4ac2d57102497fac53b53c666dba6a0c20d https://git.kernel.org/stable/c/6dc937a3086e344f965ca5c459f8f3eb6b68d890 https://git.kernel.org/stable/c/84f2bac74000dbb7a177d9b98a17031ec8d07ec5 https://git.kernel.org/stable/c/2cb3f56e827abb22c4168ad0c1bbbf401bb2f3b8