CVE-2024-42157

s390/pkey: Wipe sensitive data on failure

MEDIUM
4.1
CVSS Score
Published: July 30, 2024 at 07:46 AM UTC
Updated: June 17, 2026 at 07:48 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM4.1
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.11 ≤ v < 4.19.3184.11 ≤ v < 5.10.2224.11 ≤ v < 5.15.1634.11 ≤ v < 5.4.2804.11 ≤ v < 6.1.984.11 ≤ v < 6.104.11 ≤ v < 6.6.394.11 ≤ v < 6.9.94.20 ≤ v < 5.4.2805.11 ≤ v < 5.15.1635.16 ≤ v < 6.1.985.5 ≤ v < 5.10.2226.2 ≤ v < 6.6.396.7 ≤ v < 6.9.94.11e80d4af0a320972aac58e2004d0ba4e44ef4c5c7
Vendor states this is fixed in 1d8c270de5eb74245d72325d285894a577a945d9 (fixed)
Vendor states this is fixed in 4889f117755b2f18c23045a0f57977f3ec130581 (fixed)
Vendor states this is fixed in 6e2e374403bf73140d0efc9541cb1b3bea55ac02 (fixed)
Vendor states this is fixed in 90a01aefb84b09ccb6024d75d85bb8f620bd3487 (fixed)
Vendor states this is fixed in 93c034c4314bc4c4450a3869cd5da298502346ad (fixed)
Vendor states this is fixed in b5eb9176ebd4697bc248bf8d145e66d782cf5250 (fixed)
Vendor states this is fixed in c44a2151e5d21c66b070a056c26471f30719b575 (fixed)
Vendor states this is fixed in c51795885c801b6b7e976717e0d6d45b1e5be0f0 (fixed)
Vendor states this is fixed in 4.11 (unaffected)
Vendor states this is fixed in 4.19.318 (unaffected)
Vendor states this is fixed in 5.10.222 (unaffected)
Vendor states this is fixed in 5.15.163 (unaffected)
Vendor states this is fixed in 5.4.280 (unaffected)
Vendor states this is fixed in 6.1.98 (unaffected)
Vendor states this is fixed in 6.10 (unaffected)
Vendor states this is fixed in 6.6.39 (unaffected)
Vendor states this is fixed in 6.9.9 (unaffected)

References (9)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1d8c270de5eb74245d72325d285894a577a945d9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4889f117755b2f18c23045a0f57977f3ec130581
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6e2e374403bf73140d0efc9541cb1b3bea55ac02
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/90a01aefb84b09ccb6024d75d85bb8f620bd3487
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/93c034c4314bc4c4450a3869cd5da298502346ad
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b5eb9176ebd4697bc248bf8d145e66d782cf5250
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c44a2151e5d21c66b070a056c26471f30719b575
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c51795885c801b6b7e976717e0d6d45b1e5be0f0

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
HIGH
Privileges
HIGH
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-Other

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card