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 88C1E313289 for ; Fri, 5 Sep 2025 17:22:45 +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=1757092965; cv=none; b=tIYMJeMcEFJsiQ75dPCP03CPOqPEfjByfJFrFvckHgplFuRNPcN8Ccy5P/VavmlOECzt8js0LPF6YfB2t2fUa5SQH7Gy3oj3XkBbcvG7G2UA+SjsLLFx7C9A9VSU7GYtr03HgwzNKP4FsZ9XzuT3hWRX4HFGpozI/l88GCWkUag= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757092965; c=relaxed/simple; bh=iEJL8dQgwr6jwIbvNDGvJHDbQ+zW+kJuyCUqa4iJdc0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=qrcKoKaWFs4gjWeD1UyjZUkaftndzYFCpFonL4aV5fxHnGiKpAwileeuF7XHCMhs0Ol4A06W6spt48+nxs3eNr6ZhLh38JIaR/82e1PjL27RXXcJybgw2EC5IzHfZQaPGmlRu506X4enWaNev2uUVy0BVi4AMthntyGLi6MVp3s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=G8V0MDQN; 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="G8V0MDQN" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0D3A5C4CEF1; Fri, 5 Sep 2025 17:22:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1757092965; bh=iEJL8dQgwr6jwIbvNDGvJHDbQ+zW+kJuyCUqa4iJdc0=; h=From:To:Cc:Subject:Date:Reply-to:From; b=G8V0MDQNgE//emrqtf6g+ZQCnol7piS9uKmYb0MadP7YLHmMbDxfps+J3AFvkcbMF Mz+i01SPI/udZ2LYlwGcMXgKAw8kIPCk1o48GIY6ebE3gB9sdjvf2fJ//I6I4qUy+k od3Na8adh8URs6leI3Cr7xeOnl/0HurwoEI6/Hy4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-39694: s390/sclp: Fix SCCB present check Date: Fri, 5 Sep 2025 19:21:07 +0200 Message-ID: <2025090547-CVE-2025-39694-de23@gregkh> X-Mailer: git-send-email 2.51.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=2971; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Z+bPd0xyvywbcgnOhWkUsBZhmoS9FNwXtaAMqz/iVpU=; b=owGbwMvMwCRo6H6F97bub03G02pJDBm7pd8LnSiUuPTXKTC1I+H/X9+PLnFzNCe8+PRbUv6z2 H75FZwzOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiHs0MC/b++tU1882+358m GE2Unia0SEjw8z2G+VG62fW+B7nOvV5XcavLS2LZtTSTPgA= 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/sclp: Fix SCCB present check Tracing code called by the SCLP interrupt handler contains early exits if the SCCB address associated with an interrupt is NULL. This check is performed after physical to virtual address translation. If the kernel identity mapping does not start at address zero, the resulting virtual address is never zero, so that the NULL checks won't work. Subsequently this may result in incorrect accesses to the first page of the identity mapping. Fix this by introducing a function that handles the NULL case before address translation. The Linux kernel CVE team has assigned CVE-2025-39694 to this issue. Affected and fixed versions =========================== Issue introduced in 5.16 with commit ada1da31ce34248bc97ca8f801f2cf6efa378a81 and fixed in 6.1.149 with commit aa5073ac1a2a274812f3b04c278992e68ff67cc7 Issue introduced in 5.16 with commit ada1da31ce34248bc97ca8f801f2cf6efa378a81 and fixed in 6.6.103 with commit 86c2825791c3836a8f77a954b9c5ebe6fab410c5 Issue introduced in 5.16 with commit ada1da31ce34248bc97ca8f801f2cf6efa378a81 and fixed in 6.12.44 with commit 61605c847599fbfdfafe638607841c7d73719081 Issue introduced in 5.16 with commit ada1da31ce34248bc97ca8f801f2cf6efa378a81 and fixed in 6.16.4 with commit bf83ae3537359af088d6577812ed93113dfbcb7b Issue introduced in 5.16 with commit ada1da31ce34248bc97ca8f801f2cf6efa378a81 and fixed in 6.17-rc3 with commit 430fa71027b6ac9bb0ce5532b8d0676777d4219a 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-39694 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/s390/char/sclp.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/aa5073ac1a2a274812f3b04c278992e68ff67cc7 https://git.kernel.org/stable/c/86c2825791c3836a8f77a954b9c5ebe6fab410c5 https://git.kernel.org/stable/c/61605c847599fbfdfafe638607841c7d73719081 https://git.kernel.org/stable/c/bf83ae3537359af088d6577812ed93113dfbcb7b https://git.kernel.org/stable/c/430fa71027b6ac9bb0ce5532b8d0676777d4219a