Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-42157

MEDIUM 4.1EPSS 15%

s390/pkey: Wipe sensitive data on failure

Mitigation

  • Upgrade Linux to 1d8c270de5eb74245d72325d285894a577a945d9 or later.

Who should check

  • Anyone running Linux >= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, < 6e2e374403bf73140d0efc9541cb1b3bea55ac02; >= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, < b5eb9176ebd4697bc248bf8d145e66d782cf5250; >= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, < 93c034c4314bc4c4450a3869cd5da298502346ad; >= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, < 4889f117755b2f18c23045a0f57977f3ec130581; >= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, < c51795885c801b6b7e976717e0d6d45b1e5be0f0; >= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, < 90a01aefb84b09ccb6024d75d85bb8f620bd3487; >= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, < c44a2151e5d21c66b070a056c26471f30719b575; >= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, < 1d8c270de5eb74245d72325d285894a577a945d9
  • Anyone running Linux 4.11

Vulnerability facts

Affected
Linux >= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, < 6e2e374403bf73140d0efc9541cb1b3bea55ac02; >= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, < b5eb9176ebd4697bc248bf8d145e66d782cf5250; >= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, < 93c034c4314bc4c4450a3869cd5da298502346ad; >= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, < 4889f117755b2f18c23045a0f57977f3ec130581; >= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, < c51795885c801b6b7e976717e0d6d45b1e5be0f0; >= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, < 90a01aefb84b09ccb6024d75d85bb8f620bd3487; >= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, < c44a2151e5d21c66b070a056c26471f30719b575; >= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, < 1d8c270de5eb74245d72325d285894a577a945d9; Linux 4.11
Fixed in
Linux 6e2e374403bf73140d0efc9541cb1b3bea55ac02, Linux 93c034c4314bc4c4450a3869cd5da298502346ad, Linux 4889f117755b2f18c23045a0f57977f3ec130581, Linux 90a01aefb84b09ccb6024d75d85bb8f620bd3487, Linux 1d8c270de5eb74245d72325d285894a577a945d9
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
4.1 (v3.1, NVD)CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: High
  • Privileges required: High
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: None
  • Availability impact: None
EPSS
0.30% chance of exploitation in 30 days (percentile 15, 2026-11-26)
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, < 6e2e374403bf73140d0efc9541cb1b3bea55ac02; >= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, < b5eb9176ebd4697bc248bf8d145e66d782cf5250; >= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, < 93c034c4314bc4c4450a3869cd5da298502346ad; >= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, < 4889f117755b2f18c23045a0f57977f3ec130581; >= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, < c51795885c801b6b7e976717e0d6d45b1e5be0f0; >= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, < 90a01aefb84b09ccb6024d75d85bb8f620bd3487; >= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, < c44a2151e5d21c66b070a056c26471f30719b575; >= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, < 1d8c270de5eb74245d72325d285894a577a945d9—cvelist
Linux4.11—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-42157. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-42157.md
Affected: Linux >= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, < 6e2e374403bf73140d0efc9541cb1b3bea55ac02; >= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, < b5eb9176ebd4697bc248bf8d145e66d782cf5250; >= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, < 93c034c4314bc4c4450a3869cd5da298502346ad; >= e80d4af0a320972aac58e20…
Fixed in: Linux 6e2e374403bf73140d0efc9541cb1b3bea55ac02, Linux 93c034c4314bc4c4450a3869cd5da298502346ad, Linux 4889f117755b2f18c23045a0f57977f3ec130581, Linux 90a01aefb84b09ccb6024d75d85bb8f620bd3487, Linux 1d8c270de5eb74245d72325d285894a577a945d9

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-42157 being exploited?

There is no confirmed exploitation: CVE-2024-42157 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-42157?

Medium: CVSS 4.1 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2024-42157?

Linux >= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, < 6e2e374403bf73140d0efc9541cb1b3bea55ac02; >= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, < b5eb9176ebd4697bc248bf8d145e66d782cf5250; >= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, < 93c034c4314bc4c4450a3869cd5da298502346ad; >= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, < 4889f117755b2f18c23045a0f57977f3ec130581; >= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, < c51795885c801b6b7e976717e0d6d45b1e5be0f0; >= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, < 90a01aefb84b09ccb6024d75d85bb8f620bd3487; >= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, < c44a2151e5d21c66b070a056c26471f30719b575; >= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, < 1d8c270de5eb74245d72325d285894a577a945d9; Linux 4.11.

Is there a fix for CVE-2024-42157?

Yes. Fixed in Linux 6e2e374403bf73140d0efc9541cb1b3bea55ac02, Linux 93c034c4314bc4c4450a3869cd5da298502346ad, Linux 4889f117755b2f18c23045a0f57977f3ec130581, Linux 90a01aefb84b09ccb6024d75d85bb8f620bd3487, Linux 1d8c270de5eb74245d72325d285894a577a945d9. Upgrade Linux to 1d8c270de5eb74245d72325d285894a577a945d9 or later.

How do I check if I'm affected by CVE-2024-42157?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors