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 819FB17D8A1 for ; Thu, 30 May 2024 15:30:19 +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=1717083019; cv=none; b=OkYRjmqMID6xZH6eTNSEo4mTtb900wW6kwqSLKk9FDqJvmK6ln69lHGVMQkv86iCecrTiJNMYRgvic52AcHqA4bxSvtV/RXP3JzmCdNspbJvrjyv6dRjHjt9JPxDMgCIq18v8+s7aRCnU8+ct1qO1SUjpeXE+HroajRCDsmkKJ4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717083019; c=relaxed/simple; bh=hQCEKCk0XVuEKPvtLpJ9cPvCqbhGHueW7fKt+3UW74U=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=OGzf7au6C6nkdT6aamialDjsbLeYje3V3YY+gB8hoWERnYRA9n7LAyRStvs8AodTj2MWpyvdLFFxpzK9uoiHIFPpqFsXKwcPxsqUyGF85La+zxrfj2NasBOsOtnrUWjr7kClvBXdrlsA7fJsC+v6bM9yi+WG2eHNgTsJgMgb6oI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=1H6zfC5a; 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="1H6zfC5a" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 153DEC2BBFC; Thu, 30 May 2024 15:30:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1717083019; bh=hQCEKCk0XVuEKPvtLpJ9cPvCqbhGHueW7fKt+3UW74U=; h=From:To:Cc:Subject:Date:Reply-to:From; b=1H6zfC5a0N/X8QUoiaddiY/bbS81UgM1+POBmOmy0YZ4AbAmCvENnyHANet5v4DYZ 0Zwb6gccOV67NrS4HtTQSSTjjDCjFw5j4RkGApcs6dgghPG3tBANDZqHCP7Oc3rhfL dw1r539ICi3BGuXOTxFpJ5Xl4Bcu7GTBNYQLMqtA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-36924: scsi: lpfc: Release hbalock before calling lpfc_worker_wake_up() Date: Thu, 30 May 2024 17:29:16 +0200 Message-ID: <2024053040-CVE-2024-36924-6326@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=2046; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=hQCEKCk0XVuEKPvtLpJ9cPvCqbhGHueW7fKt+3UW74U=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkRszUe6Yis2vHtn79Zs0fl6wS2VYInTFdv2Cdfo3/iy +Oqs9K6HbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCR86sZ5js/TGzKPxPxYWqg 9sMF2+d94fx9JYFhfjxv2MLtSS/vz8iPzO7ramfvK5ymAAA= 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: lpfc: Release hbalock before calling lpfc_worker_wake_up() lpfc_worker_wake_up() calls the lpfc_work_done() routine, which takes the hbalock. Thus, lpfc_worker_wake_up() should not be called while holding the hbalock to avoid potential deadlock. The Linux kernel CVE team has assigned CVE-2024-36924 to this issue. Affected and fixed versions =========================== Fixed in 6.1.91 with commit 6503c3939850 Fixed in 6.6.31 with commit e8bf2c05e8ad Fixed in 6.8.10 with commit ee833d7e62de Fixed in 6.9 with commit ded20192dff3 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-36924 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/lpfc/lpfc_els.c drivers/scsi/lpfc/lpfc_hbadisc.c drivers/scsi/lpfc/lpfc_sli.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/6503c39398506cadda9f4c81695a9655ca5fb4fd https://git.kernel.org/stable/c/e8bf2c05e8ad68e90f9d5889a9e4ef3f6fe00683 https://git.kernel.org/stable/c/ee833d7e62de2b84ed1332d501b67f12e7e5678f https://git.kernel.org/stable/c/ded20192dff31c91cef2a04f7e20e60e9bb887d3