Skip to contentSkip to conversation

CVE-2026-80543: s390/zcrypt: Pad trailing CCA or EP11 message with zeros

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Aug 26

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

s390/zcrypt: Pad trailing CCA or EP11 message with zeros

The both functions xcrb_msg_to_type6cprb_msgx() and xcrb_msg_to_type6_ep11cprb_msgx() copy the user space message into a kernel buffer based on the message length. But on further processing the message is supposed to be 4 byte length adjusted. Thus up to 3 bytes of uninitialized kernel memory are forwarded to further processing steps and may unwanted expose kernel memory to the crypto card firmware.

This patch contains code to pad the gap between user space copied message and message buffer length sent down to further processing of the CCA or EP11 message to zeros.

The Linux kernel CVE team has assigned CVE-2026-80543 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 7.1 with commit e2c6d91eb8b1533753755f07803e47eceed263d0 and fixed in 7.1.10 with commit 2db92a56b000173d332b6c30f38a5a4444e4355a
	Issue introduced in 7.1 with commit e2c6d91eb8b1533753755f07803e47eceed263d0 and fixed in 7.2 with commit eb363254472493e3458156fc11fd56dca92f4333

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-80543

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/zcrypt_msgtype6.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/2db92a56b000173d332b6c30f38a5a4444e4355a
	https://git.kernel.org/stable/c/eb363254472493e3458156fc11fd56dca92f4333