Skip to contentSkip to conversation

CVE-2026-97588: s390/crypto: Map EBUSY to EIO when key conversion fails repeatedly

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 25

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/crypto: Map EBUSY to EIO when key conversion fails repeatedly

When hardware persistently returns -EBUSY after exhausting retries, the error propagates to crypto_finalize_*_request(). The crypto API's completion wrapper treats -EBUSY as a queueing status and swallows it, preventing the completion callback from firing. This causes callers using crypto_wait_req() to block indefinitely.

Translate persistent -EBUSY to -EIO after retry exhaustion to ensure proper error propagation and callback invocation.

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

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

	Issue introduced in 6.16 with commit 6cd87cb5ef6ca50ae17c371482ceaab1d635e232 and fixed in 6.18.53 with commit f6b263679aa72ad2e534bf93db55f2589549a40e
	Issue introduced in 6.16 with commit 6cd87cb5ef6ca50ae17c371482ceaab1d635e232 and fixed in 7.2.7 with commit e267bd142664a181474112392aeaa8b3d4b12f2e
	Issue introduced in 6.16 with commit 6cd87cb5ef6ca50ae17c371482ceaab1d635e232 and fixed in 7.3-rc3 with commit 7a08507ea5b4d06ad8d269287913573f34467565

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

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:

	arch/s390/crypto/paes_s390.c
	arch/s390/crypto/phmac_s390.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/f6b263679aa72ad2e534bf93db55f2589549a40e
	https://git.kernel.org/stable/c/e267bd142664a181474112392aeaa8b3d4b12f2e
	https://git.kernel.org/stable/c/7a08507ea5b4d06ad8d269287913573f34467565