CVE-2024-42155

s390/pkey: Wipe copies of protected- and secure-keys

No CVSS score yet EPSS 0.26%

Published 30 Jul 2024 Updated 30 Oct 2026 CNA: Linux

Check your servers for CVE-2024-42155

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-2024-42155 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.

Check my servers

Description

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

s390/pkey: Wipe copies of protected- and secure-keys

Although the clear-key of neither protected- nor secure-keys is accessible, this key material should only be visible to the calling process. So wipe all copies of protected- or secure-keys from stack, even in case of an error.

Exploitation

EPSS 0.26%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 18.7% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 10 Sep 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, before 016dbf1a1ae1d13fca8589f884a296854c1756db
affected from e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, before 7d5711e03cefd59da4d198ca02d4f8238ba1105c
affected from e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, before c746f7ced4ad88ee48d0b6c92710e4674403185b
affected from e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, before f2ebdadd85af4f4d0cae1e5d009c70eccc78c207
Other versions: unaffected
Linux
affected 4.11
unaffected before 4.11
unaffected from 6.1.191 up to and including 6.1.*
unaffected from 6.6.160 up to and including 6.6.*
unaffected from 6.9.9 up to and including 6.9.*
unaffected 6.10 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-2024-42155 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-42155

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-2024-42155
trivy image --scanners vuln IMAGE | grep CVE-2024-42155

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

Source: the record CVE-2024-42155 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.