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 240882571AA for ; Tue, 20 May 2025 16:48:05 +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=1747759685; cv=none; b=N4+jfJVG52oroeDMPMc1jZFXaYzI7RHMYEi0XSnMDKorKD4J5dPIbcgwTFTtzuhqNPghPe60wHaZ7Bw7Of1RqLZ+c8ofPIR3rgAeqOubABPbw7usrT9kcwi9qk+L5v+eiabWROUIm8XD8pCeHoQ3Fzt1gEfsUjdsh1J8tKZllv0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747759685; c=relaxed/simple; bh=E6C441XcWI5CCD5fNAB54fQKRAPISG220i2xjrMCv18=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=QR1nIovyU580Ccezxjqh+xghjWW5d/2ELoGILDiSY6JlVUei8Zm2loBSvFNfx/D0hyEyEyrEQwWNmu2xhIKKS0L1Y7KU0h8xBcoq4QeqJZGNN/XMiRF5ZFzfrBsKUBVqAk5bhJqHiD66Cz1M4fhUcpl3Lxv93sNCh6SRHCNW268= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=t79q4gdb; 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="t79q4gdb" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A18E5C4CEE9; Tue, 20 May 2025 16:48:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1747759685; bh=E6C441XcWI5CCD5fNAB54fQKRAPISG220i2xjrMCv18=; h=From:To:Cc:Subject:Date:Reply-to:From; b=t79q4gdbsj8nZhQQvJh60sDEVld8WjwgLTlLhtgi3p0ssgtFY5AIu8SY5YtyFC/W4 fjd0n12TE0IUXicBrgJH3tZpM7+GvRjRepDQSqH7wwy5Dy/0ixs0nBl6UCKBghr9lI 0DtuTNjRmuALXOY+YiY1S6ksYO8ugClPtet7338w= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-37974: s390/pci: Fix missing check for zpci_create_device() error return Date: Tue, 20 May 2025 18:45:53 +0200 Message-ID: <2025052046-CVE-2025-37974-adfa@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=2332; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=bYAwZTMgUjnE22JAL10d4ykNcTS5H2+LMbm5+SgEYNs=; b=owGbwMvMwCRo6H6F97bub03G02pJDBk6G3cd/2/db8swcfvbwDBtyYcv/NvT5Myt47MveIgaO ZwTvtHeEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABP5fYhhfvY/hhkacUZSwd4J 67m4mb/fUS0MZ1hwOvenktWeiJw71R4qv8oq429VPJAEAA== 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: s390/pci: Fix missing check for zpci_create_device() error return The zpci_create_device() function returns an error pointer that needs to be checked before dereferencing it as a struct zpci_dev pointer. Add the missing check in __clp_add() where it was missed when adding the scan_list in the fixed commit. Simply not adding the device to the scan list results in the previous behavior. The Linux kernel CVE team has assigned CVE-2025-37974 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12.5 with commit 1f3b309108fd0660ea8614a72328ba866ccd3378 and fixed in 6.12.29 with commit be54b750c333a9db7c3b3686846bb06b07b011fe Issue introduced in 6.13 with commit 0467cdde8c4320bbfdb31a8cff1277b202f677fc and fixed in 6.14.7 with commit 2769b718e164df983c20c314b263a71a699be6cd Issue introduced in 6.13 with commit 0467cdde8c4320bbfdb31a8cff1277b202f677fc and fixed in 6.15-rc6 with commit 42420c50c68f3e95e90de2479464f420602229fc 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-37974 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: arch/s390/pci/pci_clp.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/be54b750c333a9db7c3b3686846bb06b07b011fe https://git.kernel.org/stable/c/2769b718e164df983c20c314b263a71a699be6cd https://git.kernel.org/stable/c/42420c50c68f3e95e90de2479464f420602229fc