# CVE-2024-42155: s390/pkey: Wipe copies of protected- and secure-keys

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** LOW 1.9
- **CVSS:** 1.9 (v3.1, NVD) `CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: High; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.27% (percentile 13, 2026-11-26)
- **Published:** 2024-07-30T07:46:57.729Z
- **Modified:** 2026-10-30T13:17:32.247Z

## Who should check

- Anyone running Linux \>= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, \< 016dbf1a1ae1d13fca8589f884a296854c1756db; \>= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, \< 7d5711e03cefd59da4d198ca02d4f8238ba1105c; \>= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, \< c746f7ced4ad88ee48d0b6c92710e4674403185b; \>= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, \< f2ebdadd85af4f4d0cae1e5d009c70eccc78c207
- Anyone running Linux 4.11

## Description

In the Linux kernel, the following vulnerability has been resolved:

s390/pkey: Wipe copies of protected- and secure-keys

Although the clear-key of neither protected- nor secure-keys is
accessible, this key material should only be visible to the calling
process. So wipe all copies of protected- or secure-keys from stack,
even in case of an error.

## Affected and fixed versions

- Linux: \>= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, \< 016dbf1a1ae1d13fca8589f884a296854c1756db; \>= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, \< 7d5711e03cefd59da4d198ca02d4f8238ba1105c; \>= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, \< c746f7ced4ad88ee48d0b6c92710e4674403185b; \>= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, \< f2ebdadd85af4f4d0cae1e5d009c70eccc78c207 (cvelist)
- Linux: 4.11 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-42155.md
Affected: Linux >= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, < 016dbf1a1ae1d13fca8589f884a296854c1756db; >= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, < 7d5711e03cefd59da4d198ca02d4f8238ba1105c; >= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, < c746f7ced4ad88ee48d0b6c92710e4674403185b; >= e80d4af0a320972aac58e20…
Fixed in: Linux 016dbf1a1ae1d13fca8589f884a296854c1756db, Linux 7d5711e03cefd59da4d198ca02d4f8238ba1105c

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

## FAQ

### Is CVE-2024-42155 being exploited?

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

### How serious is CVE-2024-42155?

Low: CVSS 1.9 (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-42155?

Linux \>= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, \< 016dbf1a1ae1d13fca8589f884a296854c1756db; \>= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, \< 7d5711e03cefd59da4d198ca02d4f8238ba1105c; \>= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, \< c746f7ced4ad88ee48d0b6c92710e4674403185b; \>= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, \< f2ebdadd85af4f4d0cae1e5d009c70eccc78c207; Linux 4.11.

### Is there a fix for CVE-2024-42155?

Yes. Fixed in Linux 016dbf1a1ae1d13fca8589f884a296854c1756db, Linux 7d5711e03cefd59da4d198ca02d4f8238ba1105c. No fix listed yet: follow the vendor advisory.

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

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.

## References

- patch: <https://git.kernel.org/stable/c/c746f7ced4ad88ee48d0b6c92710e4674403185b>
- patch: <https://git.kernel.org/stable/c/f2ebdadd85af4f4d0cae1e5d009c70eccc78c207>
- other: <https://git.kernel.org/stable/c/016dbf1a1ae1d13fca8589f884a296854c1756db>
- other: <https://git.kernel.org/stable/c/7d5711e03cefd59da4d198ca02d4f8238ba1105c>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-42155>

HTML: <https://flawdb.com/CVE-2024-42155> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-42155>
