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 9F9892BB0A for ; Sat, 2 Mar 2024 21:53:16 +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=1709416396; cv=none; b=mZmKmSko8foDCubHoahf+MfPVLng1IGnwt0jYi0z5W1nD9Jp+EUJWNjw5mPaP5nJ09GRGJL6lnVhaxckO5dq8oV1AxzEPglJ/1lHO9O1eqwmDwLLHSCTBaTxvmnWd8Y0mw7Tm31t5GIsADeQ0kAww+jik5qveUFcV86FjdfnaRI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709416396; c=relaxed/simple; bh=Eg+qOAAJLX+/Pl7T5U1pED2G2MVapLrEvac1gz5xF0Y=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=BCS1KXS3YKxdSeIRfqpI0x2KpovFGuIMmEYCEE2E2VRyKecx3WuwiOCGuw/bnLm/ljg6Ue8wC8c/fAodzKiSnWHPVc16qYT2GkFT76VBfygGdrjM1Xptw4tcpvhLx4Su2chR4mRPUjB8J2pYm62x/riTYUqAPPpzESyOfbZNwx8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=BjlosCg2; 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="BjlosCg2" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B89B2C433C7; Sat, 2 Mar 2024 21:53:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1709416396; bh=Eg+qOAAJLX+/Pl7T5U1pED2G2MVapLrEvac1gz5xF0Y=; h=From:To:Cc:Subject:Date:Reply-to:From; b=BjlosCg2xbTkk4+iiBAXDgVdOIBjsKJs2cfQsTSNcH1+c5FP60vPXLNd+nk7r7Opu Mf4V70whnQl6bi6B43OeKXo0ADuckiQ/RzYS5yJFPAG++2IJFo6ZC6CVVe5KT0Nngt 1A4OkTF4t3yYaWUTmgVPDRIhiV0Qiosm9ZMzFHfA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-52508: nvme-fc: Prevent null pointer dereference in nvme_fc_io_getuuid() Date: Sat, 2 Mar 2024 22:52:53 +0100 Message-ID: <2024030250-CVE-2023-52508-359c@gregkh> X-Mailer: git-send-email 2.44.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=1959; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Eg+qOAAJLX+/Pl7T5U1pED2G2MVapLrEvac1gz5xF0Y=; b=owGbwMvMwCRo6H6F97bub03G02pJDKmP52+qmPLOTDgiZVVz6ZGaxgq1z2uOiX079S1Nv6LUd nZXw8KKjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhINC/DgnNVK/gOzPn2Ivzi +3tmzbpKMvdy1BkWdG3zSNu34vN6O/u3nWtdFkbcCCmTAwA= 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: nvme-fc: Prevent null pointer dereference in nvme_fc_io_getuuid() The nvme_fc_fcp_op structure describing an AEN operation is initialized with a null request structure pointer. An FC LLDD may make a call to nvme_fc_io_getuuid passing a pointer to an nvmefc_fcp_req for an AEN operation. Add validation of the request structure pointer before dereference. The Linux kernel CVE team has assigned CVE-2023-52508 to this issue. Affected and fixed versions =========================== Fixed in 6.1.56 with commit be90c9e29dd5 Fixed in 6.5.6 with commit dd46b3ac7322 Fixed in 6.6 with commit 8ae5b3a685dc Please see https://www.kernel.org or 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-2023-52508 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/nvme/host/fc.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/be90c9e29dd59b7d19a73297a1590ff3ec1d22ea https://git.kernel.org/stable/c/dd46b3ac7322baf3772b33b29726e94f98289db7 https://git.kernel.org/stable/c/8ae5b3a685dc59a8cf7ccfe0e850999ba9727a3c