CVE-2024-42156 s390/pkey: Wipe copies of clear-key structures on failure

Medium 4.1 Published Updated

An attacker with local access could read sensitive cryptographic keys from the kernel stack due to improper memory wiping in the s390 pkey module.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-42156?

CVE-2024-42156 is a medium-severity vulnerability in Linux kernel, published on 30 Jul 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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

s390/pkey: Wipe copies of clear-key structures on failure

Wipe all sensitive data from stack for all IOCTLs, which convert a clear-key into a protected- or secure-key.

Which versions are affected by CVE-2024-42156?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-42156?

Apply the vendor's patch.

Is CVE-2024-42156 being exploited?

There is no known exploitation of CVE-2024-42156 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as AZL-47361, AZL-47403, BELL-CVE-2024-42156, DEBIAN-CVE-2024-42156, GHSA-vqfv-6vgr-3j88, ROOT-OS-DEBIAN-11-CVE-2024-42156 and 2 more.

Is CVE-2024-42156 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free