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 268FE2586EB for ; Tue, 20 May 2025 16:58:50 +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=1747760331; cv=none; b=VuXuFo6n1XpBTuTuY1VahBmhSi61IK5FR5GWWXp50MnIvOPjVXvknn1gFqWdD9eKtpdOQc84KkxL14iLrryx110s5jvyxSZLYADLZNOqqxXGxgxRUWmG9D9DkmFVsbSAHA/nLXDscFiwgJDU8OMx0TGu+aKi3Uz8Eu2ypQx92pw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747760331; c=relaxed/simple; bh=+IA55DzVZ7AOtpl8vu8Rn9oguWBaP5ZxtWmMkMxBeT8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=QLE45ZKwY5ivtIBcJgKmoWKdnZwPDD3XLna9zqu8nBFVoML4qLvFSuKmTt3V7TSFlDZJR/Gj3z4Pv+nYb5LpsnyyvrSfA4H0R4Ex2OGYXi10dhOEHr5OAPs3Wlpad/RYyIMQiXeRPPXzXCHvOXA/RWGNsaurRymbnlWiO/32yWY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=mBi44uci; 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="mBi44uci" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4D760C4CEE9; Tue, 20 May 2025 16:58:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1747760330; bh=+IA55DzVZ7AOtpl8vu8Rn9oguWBaP5ZxtWmMkMxBeT8=; h=From:To:Cc:Subject:Date:Reply-to:From; b=mBi44uci4A89gjGTzizCt5YZ/NRTRh9/fguVz67YWEWBFaXRQse1zTnSLaDxs+vJw BBkG1pf5SwONhzJeKjYvSMh7WurFrbg0VrXq2Jg+eD6cT/jsQ2P3JkOKaf09GrP4AX ibj5M/XzK/HfSt0d8uQbaZMMtoghCU0yFWp3Pt+w= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-37981: scsi: smartpqi: Use is_kdump_kernel() to check for kdump Date: Tue, 20 May 2025 18:56:45 +0200 Message-ID: <2025052040-CVE-2025-37981-c41e@gregkh> X-Mailer: git-send-email 2.49.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=2494; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=cpvIvLGEcmU5xBUPH1uOHHpBlbw3g9ZUr40zpRsAvS8=; b=owGbwMvMwCRo6H6F97bub03G02pJDBk6WzwutG3X2S/UUiv2dN+7kONLxLd/WsT50DFTOv9hy pMdjFkzO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiiuYMc+UZ+yO9or/O51sg IqE8KfHJwQLXHwzzM8+6mS85d3ifdGyLP5tL+CdHrQRhAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: scsi: smartpqi: Use is_kdump_kernel() to check for kdump The smartpqi driver checks the reset_devices variable to determine whether special adjustments need to be made for kdump. This has the effect that after a regular kexec reboot, some driver parameters such as max_transfer_size are much lower than usual. More importantly, kexec reboot tests have revealed memory corruption caused by the driver log being written to system memory after a kexec. Fix this by testing is_kdump_kernel() rather than reset_devices where appropriate. The Linux kernel CVE team has assigned CVE-2025-37981 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12 with commit 058311b72f54890de824b063feb603942269b732 and fixed in 6.12.25 with commit 7cc670e8ebaa5241dd99c0ad75eceb8f8f64f607 Issue introduced in 6.12 with commit 058311b72f54890de824b063feb603942269b732 and fixed in 6.14.4 with commit ebf673c76ce91e612a882dfaa9a3824962994aae Issue introduced in 6.12 with commit 058311b72f54890de824b063feb603942269b732 and fixed in 6.15-rc3 with commit a2d5a0072235a69749ceb04c1a26dc75df66a31a 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-2025-37981 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/smartpqi/smartpqi_init.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/7cc670e8ebaa5241dd99c0ad75eceb8f8f64f607 https://git.kernel.org/stable/c/ebf673c76ce91e612a882dfaa9a3824962994aae https://git.kernel.org/stable/c/a2d5a0072235a69749ceb04c1a26dc75df66a31a