s390/zcrypt: Fix memory leak with CCA cards used as accelerator
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.18.22, 6.19.12
- CVEs
- CVE-2026-31746
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 09:59 UTC · Revision 1
Source evidence
s390/zcrypt: Fix memory leak with CCA cards used as accelerator
core-osv · Original sourcePublished 1 May 2026, 14:14 UTC
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.
osv:CVE-2026-31746
Kernel
Fixed versions: 6.18.22, 6.19.12
Complete source record
{
"id": "e0355e928a31bd30110bd54b6927970af3f180ef58bb71fa1a2d44082e5ffa11",
"url": "https://osv.dev/vulnerability/CVE-2026-31746",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "s390/zcrypt: Fix memory leak with CCA cards used as accelerator",
"summary": "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.",
"evidence": "osv:CVE-2026-31746",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.18.22",
"evidence": "/affected/1/ranges"
},
{
"value": "6.19.12",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-31746",
"aliases": [
"CVE-2026-31746"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "919b3885c293057061af32dfeb0e20bba4f7a378"
},
{
"fixed": "1650268579e1113b30402dbcca4dba6589a0fccf"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "57db62a130ce69e6f3a870cf1119d8f860391f97"
},
{
"fixed": "586222c37d4027dbf60a604fbe820184fee7c1c9"
},
{
"fixed": "ace37bfec3822033e59fff390f2ff99fc96ebe4f"
},
{
"fixed": "c8d46f17c2fc7d25c18e60c008928aecab26184d"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31746.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.16.0"
},
{
"fixed": "6.18.22"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "6.19.12"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31746.json"
}
}
],
"modified": "2026-10-28T02:30:43.594118246Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/1650268579e1113b30402dbcca4dba6589a0fccf",
"https://git.kernel.org/stable/c/586222c37d4027dbf60a604fbe820184fee7c1c9",
"https://git.kernel.org/stable/c/ace37bfec3822033e59fff390f2ff99fc96ebe4f",
"https://git.kernel.org/stable/c/c8d46f17c2fc7d25c18e60c008928aecab26184d",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31746.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-31746",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31746.json"
}
},
"related_cves": [
{
"value": "CVE-2026-31746",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 511554,
"published_at": "2026-05-01T14:14:40.196+00:00"
}