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

s390/zcrypt: Fix memory leak with CCA cards used as accelerator

Tests showed that there is a memory leak if CCA cards are used as
accelerator for clear key RSA requests (ME and CRT). With the last
rework for the memory allocation the AP messages are allocated by
ap_init_apmsg() but for some reason on two places (ME and CRT) the
older allocation was still in place. So the first allocation simple
was never freed.
Published: 2026-05-01
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

In the Linux kernel for the s390 architecture, a memory leak exists in the zcrypt subsystem when CCA cards are used as accelerators for clear-key RSA requests in ME and CRT modes. The flaw arises because memory allocated by ap_init_apmsg() is never freed in these code paths, causing persistent kernel memory consumption each time such requests occur. This is a CWE-401 and CWE-772 flaw that can exhaust kernel RAM, leading to system instability or a full denial of service.

Affected Systems

Any Linux kernel running on s390 hardware that employs CCA card acceleration for RSA clear-key operations is affected. The advisory does not specify exact kernel versions, so all builds containing the unpatched zcrypt code for the ME or CRT pathways are potentially vulnerable.

Risk and Exploitability

The EPSS score is <1% and the vulnerability is not listed in the CISA KEV catalog, indicating no known active exploitation but an inherent risk if the flaw is present. The CVSS score of 5.5 indicates a moderate severity. The CWE-401 and CWE-772 flaws cause a memory leak when CCA cards process clear-key RSA requests in ME and CRT modes, allowing an attacker to repeatedly trigger the leak via repeated RSA requests. This can exhaust kernel memory, lead to crashes, or otherwise render the system inoperable.

Generated by OpenCVE AI on May 7, 2026 at 20:26 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a Linux kernel update that includes the zcrypt memory-leak fix (commit 586222c37d4027dbf60a604fbe820184fee7c1c9).
  • Reboot the system to load the patched kernel and to discard any leaked memory structures.
  • Monitor kernel memory usage and zcrypt activity to confirm that the leak has been eliminated.

Generated by OpenCVE AI on May 7, 2026 at 20:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 07 May 2026 19:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401
CPEs cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}


Sat, 02 May 2026 10:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

Sat, 02 May 2026 00:15:00 +0000


Fri, 01 May 2026 23:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

Fri, 01 May 2026 14:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: s390/zcrypt: Fix memory leak with CCA cards used as accelerator Tests showed that there is a memory leak if CCA cards are used as accelerator for clear key RSA requests (ME and CRT). With the last rework for the memory allocation the AP messages are allocated by ap_init_apmsg() but for some reason on two places (ME and CRT) the older allocation was still in place. So the first allocation simple was never freed.
Title s390/zcrypt: Fix memory leak with CCA cards used as accelerator
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-05-11T22:14:57.832Z

Reserved: 2026-03-09T15:48:24.138Z

Link: CVE-2026-31746

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-05-01T15:16:37.363

Modified: 2026-05-07T19:29:56.453

Link: CVE-2026-31746

cve-icon Redhat

Severity :

Publid Date: 2026-05-01T00:00:00Z

Links: CVE-2026-31746 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-05-07T20:30:15Z

Weaknesses