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 A69E9190666 for ; Tue, 30 Jul 2024 07:50:59 +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=1722325859; cv=none; b=KgVb0MLCNSq2d43xPO2VWL7qDdp47inQah2nVuujER1y8gQCv5Dghgoju8snEWVNMsaTUR+E6ftjC6TSz8KjVyFQZov+yhYaotJGDrwJ2qiEvnETEvtXLYNA+zDPU2M8Nz0ucJ2EEACuOfy8daSJ/Oaol7GTfjCIfpuAMTzVQ4A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722325859; c=relaxed/simple; bh=APoCo3cZbA8xbve9LXoVNFnrBF0QD9SBsL5NNnZJscc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ksV9/prNti3bU2cY4A3hngqfgL13z5zt7d/+ccPzFMuqmSzV2IIfDo8Ff+msJAKQdBq/VfHrn/SCHslzTASAru6fnyJMCEOSc3XppYKsEX1kKzAg/aXhnmLJnPXXgMOoeWetY7FRrbOOtu1sX3Y413KSoYqYV0I5CKf2E7V1JIQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=I5JHqSA2; 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="I5JHqSA2" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0C1EFC32782; Tue, 30 Jul 2024 07:50:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1722325859; bh=APoCo3cZbA8xbve9LXoVNFnrBF0QD9SBsL5NNnZJscc=; h=From:To:Cc:Subject:Date:Reply-to:From; b=I5JHqSA2TBGKPd1AWtARHK49I8J1B3EZp56jHhQG1U6ljcgoBlAJqQnC2KrAddB4u Ks1pMeKfYa+OfAOTSPb4CWpe6tvqf6DEEG/LTc9pVwx2HZNPwSPvSmnkcI8pj0xT2P +ug9G8MLDcxw7zX9ofnksSpkFLa5UHaCBYgIqfgs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-42155: s390/pkey: Wipe copies of protected- and secure-keys Date: Tue, 30 Jul 2024 09:48:13 +0200 Message-ID: <2024073035-CVE-2024-42155-5ccb@gregkh> X-Mailer: git-send-email 2.45.2 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=1774; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=APoCo3cZbA8xbve9LXoVNFnrBF0QD9SBsL5NNnZJscc=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkrZk1/Ghkk7bF4c7nqtJpDamWiE7b23Hsc52/9iPNZD JPcWqH4jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjI7m0MC3boxKRMMGcS+Hst xGxF7tVA5vKLqgwLzga9vz9jQnWW4e+SerPli1vvbzq+GQA= 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: s390/pkey: Wipe copies of protected- and secure-keys Although the clear-key of neither protected- nor secure-keys is accessible, this key material should only be visible to the calling process. So wipe all copies of protected- or secure-keys from stack, even in case of an error. The Linux kernel CVE team has assigned CVE-2024-42155 to this issue. Affected and fixed versions =========================== Fixed in 6.9.9 with commit c746f7ced4ad Fixed in 6.10 with commit f2ebdadd85af 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-42155 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/crypto/pkey_api.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/c746f7ced4ad88ee48d0b6c92710e4674403185b https://git.kernel.org/stable/c/f2ebdadd85af4f4d0cae1e5d009c70eccc78c207