CVE-2024-42157: Linux kernel · s390/pkey: Wipe sensitive data on failure
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 4.1 Medium · fixed in 4.15.0-1182.197~14.04.1 : update Linux kernel when convenient.
Data as of 26 Oct 2026, 23:28 UTC
- Patch
- Available – fixed in 4.15.0-1182.197~14.04.1, 4.15.0-1174.187~16.04.1, 4.15.0-1182.197~16.04.1 +93
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 30 Jul 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
- ubuntu.com/security/notices/USN-7003-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7003-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7006-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7003-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7007-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7009-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7019-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7007-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7007-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7009-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7003-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-7003-5 (opens in a new tab)
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlinuxpkg:deb/ubuntu/linux?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-gkepkg:deb/ubuntu/linux-gke?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-gkeoppkg:deb/ubuntu/linux-gkeop?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2024-42157 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-42157 (opens in a new tab)
- git.kernel.org/linus/1d8c270de5eb74245d72325d285894a577a945d9 (opens in a new tab)
- git.kernel.org/stable/c/6e2e374403bf73140d0efc9541cb1b3bea55ac02 (opens in a new tab)
- git.kernel.org/stable/c/b5eb9176ebd4697bc248bf8d145e66d782cf5250 (opens in a new tab)
- git.kernel.org/stable/c/93c034c4314bc4c4450a3869cd5da298502346ad (opens in a new tab)
- git.kernel.org/stable/c/4889f117755b2f18c23045a0f57977f3ec130581 (opens in a new tab)
- git.kernel.org/stable/c/c51795885c801b6b7e976717e0d6d45b1e5be0f0 (opens in a new tab)
- git.kernel.org/stable/c/90a01aefb84b09ccb6024d75d85bb8f620bd3487 (opens in a new tab)
- git.kernel.org/stable/c/c44a2151e5d21c66b070a056c26471f30719b575 (opens in a new tab)
- git.kernel.org/stable/c/1d8c270de5eb74245d72325d285894a577a945d9 (opens in a new tab)
- ubuntu.com/security/notices/USN-7003-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7003-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7006-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7003-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7007-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7009-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7019-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7007-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7007-3 (opens in a new tab)