CVE-2026-31746
JSON

5.5medium

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

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.16% (higher than 5% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 919b3885c293057061af32dfeb0e20bba4f7a378 before 1650268579e1113b30402dbcca4dba6589a0fccf, from 57db62a130ce69e6f3a870cf1119d8f860391f97 before 586222c37d4027dbf60a604fbe820184fee7c1c9, from 57db62a130ce69e6f3a870cf1119d8f860391f97 before ace37bfec3822033e59fff390f2ff99fc96ebe4f, from 57db62a130ce69e6f3a870cf1119d8f860391f97 before c8d46f17c2fc7d25c18e60c008928aecab26184d, 6.16
Not affected: before 6.16, from 6.18.22 up to 6.18.*, from 6.19.12 up to 6.19.*, from 7.0 up to *
CVE List
linux linux_kernelfrom 6.16 before 6.18.22, from 6.19 before 6.19.12, 7.0NVD

Classification

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: s390/zcrypt: Corrección de fuga de memoria con tarjetas CCA usadas como acelerador Las pruebas mostraron que hay una fuga de memoria si las tarjetas CCA se usan como acelerador para solicitudes RSA de clave clara (ME y CRT). Con la última reestructuración para la asignación de memoria, los mensajes AP son asignados por ap_init_apmsg(), pero por alguna razón en dos lugares (ME y CRT) la asignación anterior seguía en su lugar. Así que la primera asignación simplemente nunca fue liberada.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-31746 changed 2026-10-21CVE Terms of Use
NVDCVE-2026-31746 changed 2026-11-11Public domain