CVE-2026-31746
s390/zcrypt: Fix memory leak with CCA cards used as accelerator
Check your servers for CVE-2026-31746
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-31746 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.16%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 5.51% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 919b3885c293057061af32dfeb0e20bba4f7a378, before 1650268579e1113b30402dbcca4dba6589a0fccf affected from 57db62a130ce69e6f3a870cf1119d8f860391f97, before 586222c37d4027dbf60a604fbe820184fee7c1c9 affected from 57db62a130ce69e6f3a870cf1119d8f860391f97, before ace37bfec3822033e59fff390f2ff99fc96ebe4f affected from 57db62a130ce69e6f3a870cf1119d8f860391f97, before c8d46f17c2fc7d25c18e60c008928aecab26184d
Other versions: unaffected
|
| Linux |
affected 6.16 unaffected before 6.16 unaffected from 6.18.22 up to and including 6.18.* unaffected from 6.19.12 up to and including 6.19.* unaffected 7.0 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-31746 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-31746
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-31746
trivy image --scanners vuln IMAGE | grep CVE-2026-31746
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/1650268579e1113b30402dbcca4dba6589a0fccf git.kernel.org
- https://git.kernel.org/stable/c/586222c37d4027dbf60a604fbe820184fee7c1c9 git.kernel.org
- https://git.kernel.org/stable/c/ace37bfec3822033e59fff390f2ff99fc96ebe4f git.kernel.org
- https://git.kernel.org/stable/c/c8d46f17c2fc7d25c18e60c008928aecab26184d git.kernel.org
Source: the record CVE-2026-31746 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse