CVE-2024-42157 s390/pkey: Wipe sensitive data on failure
An attacker can read sensitive cryptographic data from the kernel stack if a copy operation fails, potentially exposing keys.
- 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-42157?
CVE-2024-42157 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 sensitive data on failure
Wipe sensitive data from stack also if the copy_to_user() fails.
Which versions are affected by CVE-2024-42157?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-42157?
Apply the vendor's patch.
Is CVE-2024-42157 being exploited?
There is no known exploitation of CVE-2024-42157 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-47352, AZL-47382, BELL-CVE-2024-42157, DEBIAN-CVE-2024-42157, GHSA-phwx-77rv-743g, UBUNTU-CVE-2024-42157.