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 5AB6B47F6C for ; Fri, 17 May 2024 14:48:00 +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=1715957280; cv=none; b=lMAf1gRkj0QjM3NDtpYXXrVvRMLfTYJX5R3oxtkSDFEXdBxBTUR2ftzx+exFAu4VCH7ajow2r7GjYm7W1m1wyZia0vcvZWfvldDnSu7K24H7BieZLCPErjMP8FSvUF1xq6Z5wsXP2uShgJNo55LJyPorrcfGuQZ6QNuIvvp6pIs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715957280; c=relaxed/simple; bh=Wtq/AGgJXp96WjkS8JydopXxYybJ6+quU5s7HJtOUSc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=nAH3IAhw4HsdYaE0wf5FHCuqp7v31RCwYh0AgjFqVfqD0W/ON+0TU/2PkR2cD/L9XeU+oyc9DufUPyfmc5Auj4ilqAtTq3jHb6ehKHAJYqENHUPMb34zy2P0jj8Q/vEag6aw6wNoqSBEc3w6ULmhj+13x4luFkBIX+H7TaD53CM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=hiBvOCzx; 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="hiBvOCzx" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9080DC2BD10; Fri, 17 May 2024 14:47:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1715957279; bh=Wtq/AGgJXp96WjkS8JydopXxYybJ6+quU5s7HJtOUSc=; h=From:To:Cc:Subject:Date:Reply-to:From; b=hiBvOCzxqKt2swHxKeJYfrRIDDEZL/95RDiZ18khZqo5JbJrpLP93oyiGm1uZuF3P xstxCkmYULxNChdbdhA9/zpRm9neClO3BFn/WMh3ocx1Q8kZFix6Pj/1g7xcU8bMTm yEp3g7sbxphWZVKvQlwid/ua/n6MFMzPcb3IsIO4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-35858: net: bcmasp: fix memory leak when bringing down interface Date: Fri, 17 May 2024 16:47:51 +0200 Message-ID: <2024051742-CVE-2024-35858-1470@gregkh> X-Mailer: git-send-email 2.45.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=2118; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Wtq/AGgJXp96WjkS8JydopXxYybJ6+quU5s7HJtOUSc=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnueXzta6seN/05zaX0XXknlyk7G4OR7pOVydd41jI9b JwRU9fREcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABNpZ2CYH+Aae8ZD90HMh5i1 Mg0571+tDRCoZFgwz2XlhpyssMfLDiZ89ZVc571Dd/YjAA== 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: bcmasp: fix memory leak when bringing down interface When bringing down the TX rings we flush the rings but forget to reclaimed the flushed packets. This leads to a memory leak since we do not free the dma mapped buffers. This also leads to tx control block corruption when bringing down the interface for power management. The Linux kernel CVE team has assigned CVE-2024-35858 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6 with commit 490cb412007d and fixed in 6.6.30 with commit 09040baf8779 Issue introduced in 6.6 with commit 490cb412007d and fixed in 6.8.9 with commit 2389ad199016 Issue introduced in 6.6 with commit 490cb412007d and fixed in 6.9 with commit 9f898fc2c31f 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-35858 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/broadcom/asp2/bcmasp_intf.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/09040baf8779ad880e0e0d0ea10e57aa929ef3ab https://git.kernel.org/stable/c/2389ad1990163d29cba5480d693b4c2e31cc545c https://git.kernel.org/stable/c/9f898fc2c31fbf0ac5ecd289f528a716464cb005