From mboxrd@z Thu Jan 1 00:00:00 1970 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 2675D190666 for ; Tue, 30 Jul 2024 07:51:13 +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=1722325873; cv=none; b=s3dZMxwowq/hs4iM09P5onsfjMg/tK2hLLuoD46qUsW27CQlEzd0NphjrlXDpJvoQ/N+akXZQNcvQQxTqnhJr8Z7JvK9zihjjg/OSTV7rR2K8r09khcX6MTW2fZXfhCFnxqM8OWfYAx55kY8UhKAejrlvMjKgmYGtq+NNFTl7YA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722325873; c=relaxed/simple; bh=iirGQ6jFvnyZTdRq7hhskaTzYchliZJII8q2MBZ+qFo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=MV+dMqEvyS0HQiK1TNDxHvoqP7NJ5NK80yoOzzM5B1gL4VKuzRt0N2kmIKiaDPgsLvv6ifD8KYl66ErbEiXMmxNpwzDfHMpbQwgaSVJzcnOV/tko6jY3r9z63cd5sU0Z4gca3T4iacyFEowbcsUejUqS7zOW/qPdAhcJm3Ko3gs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=nsG/86aZ; 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="nsG/86aZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9EAFBC4AF0B; Tue, 30 Jul 2024 07:51:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1722325873; bh=iirGQ6jFvnyZTdRq7hhskaTzYchliZJII8q2MBZ+qFo=; h=From:To:Cc:Subject:Date:Reply-to:From; b=nsG/86aZ8kkrTBberkgp7fUJpch3SKY1QzZChpk72V6gCSSqm96FIGy+Ng61dmXcn vFBGRasl3bC6v//SxxQN8rsNTJrPnwE2RbqGcOOnagOE1+lQLO/7Vx4g4JhJwpM0pL KaLJGLo4U2Ge92iGC4aUBJ+z94JDLnnxG35vwdC8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-42159: scsi: mpi3mr: Sanitise num_phys Date: Tue, 30 Jul 2024 09:48:17 +0200 Message-ID: <2024073036-CVE-2024-42159-c19e@gregkh> X-Mailer: git-send-email 2.45.2 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=1876; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=iirGQ6jFvnyZTdRq7hhskaTzYchliZJII8q2MBZ+qFo=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkrZs1gVVy/4uDBW1ce7LxQk8RoxzinZavani3/Zs6P/ nCKYar3h45YFgZBJgZZMUWWL9t4ju6vOKToZWh7GmYOKxPIEAYuTgGYyKdohvm1Hzdlrri15fS+ Yykf54v+PeKsmtPAsGDO49pvX3/ldPx/m/MqKGHZx2n7584BAA== 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: scsi: mpi3mr: Sanitise num_phys Information is stored in mr_sas_port->phy_mask, values larger then size of this field shouldn't be allowed. The Linux kernel CVE team has assigned CVE-2024-42159 to this issue. Affected and fixed versions =========================== Fixed in 6.1.98 with commit b869ec89d2ee Fixed in 6.6.39 with commit 586b41060113 Fixed in 6.9.9 with commit c8707901b53a Fixed in 6.10 with commit 3668651def2c 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-42159 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/scsi/mpi3mr/mpi3mr_transport.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/b869ec89d2ee923d46608b76e54c006680c9b4df https://git.kernel.org/stable/c/586b41060113ae43032ec6c4a16d518cef5da6e0 https://git.kernel.org/stable/c/c8707901b53a48106d7501bdbd0350cefaefa4cf https://git.kernel.org/stable/c/3668651def2c1622904e58b0280ee93121f2b10b