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 DBD5154BED for ; Fri, 17 May 2024 14:01:56 +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=1715954516; cv=none; b=l9mlmdkzTw0Y6GB2YdacZV8Y//m5NlPrjI0RakUC31VFfjSxLNMUEHmIKVMEVSUIBQbTbN5Acfc1UyExBYbOFP7jSfcBzNjYl6eYW39d6CL/ObkPmQHUjjkfNom4SpvFRPQh0AGl637YyBmtCrJIm2HkDzgKQhFKU7yD8AzSm0M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715954516; c=relaxed/simple; bh=SzGMD1Ir8eLjXqzhGUWTWFJo3O0guz16OYP60gF4rZw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=lId+eyS8ATSVCfPqKifUxRSnJYcr1XFBS9H6M+reeVX7RJFhxSFWqKNTZujrWfHeJEJaHdqdMmRkeSSpNfSyZDN+TftJAkKYHoTysYmc6uFH9FvRr4wlVqUV9THO7GAERBw7ZpdUOHXBleJrekpfS6FZ1pt/hcdevgzaZmuG0jc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=VW7LpzIU; 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="VW7LpzIU" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 624E1C2BD10; Fri, 17 May 2024 14:01:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1715954516; bh=SzGMD1Ir8eLjXqzhGUWTWFJo3O0guz16OYP60gF4rZw=; h=From:To:Cc:Subject:Date:Reply-to:From; b=VW7LpzIU1etnMp5FGlyVJQmAmEGFauJh8o+ClgbVFHV3rcn4WGaxhn1JdheguvSyS N2niCsnT/D385CRM0QhwYzRqkM6oY8j63s7oZm/ns81OHpIZ75pcmM1hqRxfuYO4In b7KxZ4T0/Z9joak9dT6COaizyYPk213y1SOG16Hc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-35837: net: mvpp2: clear BM pool before initialization Date: Fri, 17 May 2024 16:01:38 +0200 Message-ID: <2024051731-CVE-2024-35837-3159@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=2521; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=SzGMD1Ir8eLjXqzhGUWTWFJo3O0guz16OYP60gF4rZw=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnuydZRnxnz+vu3P25x2hS28z3rFrW1F9dPfd+Vo/Z57 hGBdMfOjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiI/nWG+XlxnGoiwj83v5q4 aoLVtvllq0/cqGKYK3vyr/mGgk+hut0Jn08tu3mvfNH2eQA= 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: mvpp2: clear BM pool before initialization Register value persist after booting the kernel using kexec which results in kernel panic. Thus clear the BM pool registers before initialisation to fix the issue. The Linux kernel CVE team has assigned CVE-2024-35837 to this issue. Affected and fixed versions =========================== Issue introduced in 3.17 with commit 3f518509dedc and fixed in 5.10.210 with commit 83f99138bf3b Issue introduced in 3.17 with commit 3f518509dedc and fixed in 5.15.149 with commit af47faa6d332 Issue introduced in 3.17 with commit 3f518509dedc and fixed in 6.1.76 with commit cec65f09c47d Issue introduced in 3.17 with commit 3f518509dedc and fixed in 6.6.15 with commit 938729484cfa Issue introduced in 3.17 with commit 3f518509dedc and fixed in 6.7.3 with commit dc77f6ab5c37 Issue introduced in 3.17 with commit 3f518509dedc and fixed in 6.8 with commit 9f538b415db8 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-35837 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/marvell/mvpp2/mvpp2_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/83f99138bf3b396f761600ab488054396fb5768f https://git.kernel.org/stable/c/af47faa6d3328406038b731794e7cf508c71affa https://git.kernel.org/stable/c/cec65f09c47d8c2d67f2bcad6cf05c490628d1ec https://git.kernel.org/stable/c/938729484cfa535e9987ed0f86f29a2ae3a8188b https://git.kernel.org/stable/c/dc77f6ab5c3759df60ff87ed24f4d45df0f3b4c4 https://git.kernel.org/stable/c/9f538b415db862e74b8c5d3abbccfc1b2b6caa38