# CVE-2024-42157: s390/pkey: Wipe sensitive data on failure

- Severity: Medium 4.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2024-07-30T07:46:59.362Z
- Modified: 2026-06-17T07:48:57.033Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from e80d4af0a320972aac58e2004d0ba4e44ef4c5c7 before 6e2e374403bf73140d0efc9541cb1b3bea55ac02; from e80d4af0a320972aac58e2004d0ba4e44ef4c5c7 before b5eb9176ebd4697bc248bf8d145e66d782cf5250; from e80d4af0a320972aac58e2004d0ba4e44ef4c5c7 before 93c034c4314bc4c4450a3869cd5da298502346ad; from e80d4af0a320972aac58e2004d0ba4e44ef4c5c7 before 4889f117755b2f18c23045a0f57977f3ec130581; from e80d4af0a320972aac58e2004d0ba4e44ef4c5c7 before c51795885c801b6b7e976717e0d6d45b1e5be0f0; from e80d4af0a320972aac58e2004d0ba4e44ef4c5c7 before 90a01aefb84b09ccb6024d75d85bb8f620bd3487; from e80d4af0a320972aac58e2004d0ba4e44ef4c5c7 before c44a2151e5d21c66b070a056c26471f30719b575; from e80d4af0a320972aac58e2004d0ba4e44ef4c5c7 before 1d8c270de5eb74245d72325d285894a577a945d9; 4.11 (not affected: before 4.11; from 4.19.318 up to 4.19.*; from 5.4.280 up to 5.4.*; from 5.10.222 up to 5.10.*; from 5.15.163 up to 5.15.*; from 6.1.98 up to 6.1.*; from 6.6.39 up to 6.6.*; from 6.9.9 up to 6.9.*; from 6.10 up to *)
- linux linux_kernel: from 4.11 before 4.19.318; from 4.20 before 5.4.280; from 5.5 before 5.10.222; from 5.11 before 5.15.163; from 5.16 before 6.1.98; from 6.2 before 6.6.39; from 6.7 before 6.9.9

## References

- <https://git.kernel.org/stable/c/6e2e374403bf73140d0efc9541cb1b3bea55ac02> (patch)
- <https://git.kernel.org/stable/c/b5eb9176ebd4697bc248bf8d145e66d782cf5250> (patch)
- <https://git.kernel.org/stable/c/93c034c4314bc4c4450a3869cd5da298502346ad> (patch)
- <https://git.kernel.org/stable/c/4889f117755b2f18c23045a0f57977f3ec130581> (patch)
- <https://git.kernel.org/stable/c/c51795885c801b6b7e976717e0d6d45b1e5be0f0> (patch)
- <https://git.kernel.org/stable/c/90a01aefb84b09ccb6024d75d85bb8f620bd3487> (patch)
- <https://git.kernel.org/stable/c/c44a2151e5d21c66b070a056c26471f30719b575> (patch)
- <https://git.kernel.org/stable/c/1d8c270de5eb74245d72325d285894a577a945d9> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Sources

- CVE List: [CVE-2024-42157](https://www.cve.org/CVERecord?id=CVE-2024-42157), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-42157](https://nvd.nist.gov/vuln/detail/CVE-2024-42157), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-42157 · Whole record: https://cve.day/CVE-2024-42157.json · Rebuilt by cve.day 2026-11-25T22:58:43.422Z
