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

CVE-2026-31746
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.16 % · percentile 5 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-401 — Missing Release of Memory after Effective Lifetime

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ 919b3885c293057061af32dfeb0e20bba4f7a378 < 1650268579e1113b30402dbcca4dba6589a0fccf
affected : ≥ 57db62a130ce69e6f3a870cf1119d8f860391f97 < 586222c37d4027dbf60a604fbe820184fee7c1c9
affected : ≥ 57db62a130ce69e6f3a870cf1119d8f860391f97 < ace37bfec3822033e59fff390f2ff99fc96ebe4f
affected : ≥ 57db62a130ce69e6f3a870cf1119d8f860391f97 < c8d46f17c2fc7d25c18e60c008928aecab26184d
Other versions : unaffected
Linux · Linux
affected : 6.16
unaffected : ≥ 0 < 6.16
unaffected : ≥ 6.18.22 ≤ 6.18.*
unaffected : ≥ 6.19.12 ≤ 6.19.*
unaffected : ≥ 7.0 ≤ *
Other versions : affected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD