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 0156726E164 for ; Fri, 9 May 2025 06:46:20 +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=1746773181; cv=none; b=ZJRpzN25C9YSLq4Yf9ytzXBsKLW9r2rnWSFeqrchYAV8fUBTln205ngWX3Br1nJ+nBZGFSDBpBG0KpdHq4friflguIk/CLTU3o0YuMft1ysMvCNmLsg2aVh99QDKTRuUaQO69NsG07Csw1jWeLL0iV9yJ1HyPG15f3HNK4w7Q40= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746773181; c=relaxed/simple; bh=4/8STYrKUdg+wIKj3lJrzzoGhEBkBMRtqHS+bu0JeIw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=kq8duXtJr59C7yUdejw/lNqzrxzu1tqreXpDzzY7guqZs49EkZcoZ7dSE5kB1QRZf0Si9k1jJMuRRtRFD5kgoipVSXndQNUyMM8lRG0hdYAsrg/2s7BDcigA0fjvPFo3IWkYCbMN5xqKt/EkuXx+e6QKekuCKE7d3re7Qw0XEj0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=aaiNXlvG; 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="aaiNXlvG" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4899BC4CEE4; Fri, 9 May 2025 06:46:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1746773180; bh=4/8STYrKUdg+wIKj3lJrzzoGhEBkBMRtqHS+bu0JeIw=; h=From:To:Cc:Subject:Date:Reply-to:From; b=aaiNXlvGa2m/nRd9GouhUR6MT1D0tYt2jU9FLSPWI0ubWrmljX2Tdbw10ghQYljPt 85YQCJMdncyySj//kEpUpkoYwAZdwuWIPibZBEwHbdHBfyI7FM4mU4T92p/6TuUPT8 tW/9N0UupWNoHrDdNwHMoGlt9PUOkH2Z4wuZZ1y4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-37883: s390/sclp: Add check for get_zeroed_page() Date: Fri, 9 May 2025 08:45:50 +0200 Message-ID: <2025050944-CVE-2025-37883-d5d2@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=2403; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=fC6fAYb3B3e4fFl551PBgvdHEob7UyYEUluSO0NSX4Q=; b=owGbwMvMwCRo6H6F97bub03G02pJDBmyS2YsFfB/erPiSi1z6Ooj8qXMP9M2ffP5KKxkuPu+1 4XfF4ujOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiIR8ZFmz7+tvMsGGL/gsh 7cfcCs6mh6LeODIs2HeL/7RXwOXyI39/3Xn9enrPyR+nhAE= 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: Add check for get_zeroed_page() Add check for the return value of get_zeroed_page() in sclp_console_init() to prevent null pointer dereference. Furthermore, to solve the memory leak caused by the loop allocation, add a free helper to do the free job. The Linux kernel CVE team has assigned CVE-2025-37883 to this issue. Affected and fixed versions =========================== Fixed in 5.15.181 with commit e1e00dc45648125ef7cb87ebc3b581ac224e7b39 Fixed in 6.1.136 with commit 397254706eba9d8f99fd237feede7ab3169a7f9a Fixed in 6.6.89 with commit 28e5a867aa542e369e211c2baba7044228809a99 Fixed in 6.12.26 with commit 3b3aa72636a6205933609ec274a8747720c1ee3f Fixed in 6.14.5 with commit f69f8a93aacf6e99af7b1cc992d8ca2cc07b96fb Fixed in 6.15-rc1 with commit 3db42c75a921854a99db0a2775814fef97415bac 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-37883 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_con.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/e1e00dc45648125ef7cb87ebc3b581ac224e7b39 https://git.kernel.org/stable/c/397254706eba9d8f99fd237feede7ab3169a7f9a https://git.kernel.org/stable/c/28e5a867aa542e369e211c2baba7044228809a99 https://git.kernel.org/stable/c/3b3aa72636a6205933609ec274a8747720c1ee3f https://git.kernel.org/stable/c/f69f8a93aacf6e99af7b1cc992d8ca2cc07b96fb https://git.kernel.org/stable/c/3db42c75a921854a99db0a2775814fef97415bac