From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 02C3E7081F for ; Wed, 29 Jul 2026 16:31:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785342693; cv=none; b=kbI00fe8/7r/4X3PHoQWsYoNMavQntFCTua8e+KelAobA/PYNYYZZ/vayVTpeGvQElnsT7uwDGsMbFPdwWyMV+C4n541gWGT2HhvyoDhuqI84ZpEq7jhB0z9If8zJ2fTE1BRXkIvZD1Rvvl6N0iqUJOGr7b9rm/qbv46JDjX+x4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785342693; c=relaxed/simple; bh=q0QQzAudk0EP4xp7OYa68T0DIc0Ox5XYdbwI6rXilII=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=MIdJjzrlREnlcVQfYzHP4mWuWgcy/+sdIC9YZB5UusgrPkL41X/wJcruZpGrav+J4HvBUicLZmleGem4IwFQ5Qp40c+PjCG4ndlXlrZqpfpsfim9zvIr6OG3u2H7la9p1VVNI/NT4GppGkr+Rs54yX1k9sbJXIIjM/wc6qty28U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=MjMzC+ix; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="MjMzC+ix" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3E0D91F000E9; Wed, 29 Jul 2026 16:31:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1785342691; bh=KMu9elZcJ1wOsm8fdgC3qTL505QBHh4HpFn146xNcEI=; h=From:To:Cc:Subject:Date:Reply-To; b=MjMzC+ixey5izJp9abKp4MPkoxpt2hC7A7ax+/4T16mv0YcCMR2QG8SozaZPWeJMX IOMchfhj4Q76vaZ12XR7n5OtwsDBRNCYZbOornKvcPMM5NzOoKKq823qo3x6BcqzLa FiJrXze6mtZ1X7/bpB3d46aDH2YzaFgM4uLw7560= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-64558: s390/pkey: Check length in pkey_pckmo handler implementation Date: Wed, 29 Jul 2026 18:31:13 +0200 Message-ID: <2026072912-CVE-2026-64558-7352@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2469; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=mCDGzwp8BehZptgoM9q+TogeY0HPdpIuWuL07gUwKZ4=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlZWhdr5h7f0ePoH9qc+Du9K/jy3eM7rp7k1VUzFQrY5 OFzZu/ajlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjI2jMM84zV5JVWu8Y3vIo7 piH9sujCrh3/8hgW7HprELGoev6bRak6n2P2ei+bqnhcFwA= 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/pkey: Check length in pkey_pckmo handler implementation Explicitly check the length of the target buffer in the pkey_pckmo implementation of the key_to_protkey() handler function. The handler function fails, if the generated output data exceeds the length of the provided target buffer. The Linux kernel CVE team has assigned CVE-2026-64558 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12 with commit 8fcc231ce3bea12b78bb94b280cdc03cff342435 and fixed in 6.12.97 with commit 02028a24e26d85262ab9c8fc4344e1f3503007fc Issue introduced in 6.12 with commit 8fcc231ce3bea12b78bb94b280cdc03cff342435 and fixed in 6.18.40 with commit 433e5e70cdc1edf382d28d08a885b22e2b98b7da Issue introduced in 6.12 with commit 8fcc231ce3bea12b78bb94b280cdc03cff342435 and fixed in 7.1.5 with commit 614aa0491c7a190556c2345dddee0b6f5ed90989 Issue introduced in 6.12 with commit 8fcc231ce3bea12b78bb94b280cdc03cff342435 and fixed in 7.2-rc1 with commit 1ac287e2af9a9112fe271427ef45eceb26bce8b4 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-2026-64558 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_pckmo.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/02028a24e26d85262ab9c8fc4344e1f3503007fc https://git.kernel.org/stable/c/433e5e70cdc1edf382d28d08a885b22e2b98b7da https://git.kernel.org/stable/c/614aa0491c7a190556c2345dddee0b6f5ed90989 https://git.kernel.org/stable/c/1ac287e2af9a9112fe271427ef45eceb26bce8b4