# CVE-2024-42229: crypto: aead,cipher - zeroize key buffer after use

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

- **Severity:** MEDIUM 4.1
- **CVSS:** 4.1 (v3.1, NVD) `CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N`
- **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
- **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.30% (percentile 15, 2026-11-26)
- **Published:** 2024-07-30T07:47:09.817Z
- **Modified:** 2026-06-17T07:49:03.780Z

## Who should check

- Anyone running Linux \>= 06817176784f620984200dc5d7cbe16984f7b262, \< 89b9b6fa4463daf820e6a5ef65c3b0c2db239513; \>= 06817176784f620984200dc5d7cbe16984f7b262, \< b716e9c3603ee95ed45e938fe47227d22cf3ec35; \>= 06817176784f620984200dc5d7cbe16984f7b262, \< 9db8c299a521813630fcb4154298cb60c37f3133; \>= 06817176784f620984200dc5d7cbe16984f7b262, \< 71dd428615375e36523f4d4f7685ddd54113646d; \>= 06817176784f620984200dc5d7cbe16984f7b262, \< 28c8d274848feba552e95c5c2a7e3cfe8f15c534; \>= 06817176784f620984200dc5d7cbe16984f7b262, \< b502d4a08875ea2b4ea5d5b28dc7c991c8b90cfb; \>= 06817176784f620984200dc5d7cbe16984f7b262, \< f58679996a831754a356974376f248aa0af2eb8e; \>= 06817176784f620984200dc5d7cbe16984f7b262, \< 23e4099bdc3c8381992f9eb975c79196d6755210
- Anyone running Linux 2.6.23

## Description

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

crypto: aead,cipher - zeroize key buffer after use

I.G 9.7.B for FIPS 140-3 specifies that variables temporarily holding
cryptographic information should be zeroized once they are no longer
needed. Accomplish this by using kfree\_sensitive for buffers that
previously held the private key.

## Affected and fixed versions

- Linux: \>= 06817176784f620984200dc5d7cbe16984f7b262, \< 89b9b6fa4463daf820e6a5ef65c3b0c2db239513; \>= 06817176784f620984200dc5d7cbe16984f7b262, \< b716e9c3603ee95ed45e938fe47227d22cf3ec35; \>= 06817176784f620984200dc5d7cbe16984f7b262, \< 9db8c299a521813630fcb4154298cb60c37f3133; \>= 06817176784f620984200dc5d7cbe16984f7b262, \< 71dd428615375e36523f4d4f7685ddd54113646d; \>= 06817176784f620984200dc5d7cbe16984f7b262, \< 28c8d274848feba552e95c5c2a7e3cfe8f15c534; \>= 06817176784f620984200dc5d7cbe16984f7b262, \< b502d4a08875ea2b4ea5d5b28dc7c991c8b90cfb; \>= 06817176784f620984200dc5d7cbe16984f7b262, \< f58679996a831754a356974376f248aa0af2eb8e; \>= 06817176784f620984200dc5d7cbe16984f7b262, \< 23e4099bdc3c8381992f9eb975c79196d6755210 (cvelist)
- Linux: 2.6.23 (cvelist)

## Mitigation

- Upgrade Linux to 23e4099bdc3c8381992f9eb975c79196d6755210 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-42229.md
Affected: Linux >= 06817176784f620984200dc5d7cbe16984f7b262, < 89b9b6fa4463daf820e6a5ef65c3b0c2db239513; >= 06817176784f620984200dc5d7cbe16984f7b262, < b716e9c3603ee95ed45e938fe47227d22cf3ec35; >= 06817176784f620984200dc5d7cbe16984f7b262, < 9db8c299a521813630fcb4154298cb60c37f3133; >= 06817176784f620984200dc…
Fixed in: Linux 89b9b6fa4463daf820e6a5ef65c3b0c2db239513, Linux 9db8c299a521813630fcb4154298cb60c37f3133, Linux 71dd428615375e36523f4d4f7685ddd54113646d, Linux 28c8d274848feba552e95c5c2a7e3cfe8f15c534, Linux 23e4099bdc3c8381992f9eb975c79196d6755210

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-42229 being exploited?

There is no confirmed exploitation: CVE-2024-42229 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-42229?

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-42229?

Linux \>= 06817176784f620984200dc5d7cbe16984f7b262, \< 89b9b6fa4463daf820e6a5ef65c3b0c2db239513; \>= 06817176784f620984200dc5d7cbe16984f7b262, \< b716e9c3603ee95ed45e938fe47227d22cf3ec35; \>= 06817176784f620984200dc5d7cbe16984f7b262, \< 9db8c299a521813630fcb4154298cb60c37f3133; \>= 06817176784f620984200dc5d7cbe16984f7b262, \< 71dd428615375e36523f4d4f7685ddd54113646d; \>= 06817176784f620984200dc5d7cbe16984f7b262, \< 28c8d274848feba552e95c5c2a7e3cfe8f15c534; \>= 06817176784f620984200dc5d7cbe16984f7b262, \< b502d4a08875ea2b4ea5d5b28dc7c991c8b90cfb; \>= 06817176784f620984200dc5d7cbe16984f7b262, \< f58679996a831754a356974376f248aa0af2eb8e; \>= 06817176784f620984200dc5d7cbe16984f7b262, \< 23e4099bdc3c8381992f9eb975c79196d6755210; Linux 2.6.23.

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

Yes. Fixed in Linux 89b9b6fa4463daf820e6a5ef65c3b0c2db239513, Linux 9db8c299a521813630fcb4154298cb60c37f3133, Linux 71dd428615375e36523f4d4f7685ddd54113646d, Linux 28c8d274848feba552e95c5c2a7e3cfe8f15c534, Linux 23e4099bdc3c8381992f9eb975c79196d6755210. Upgrade Linux to 23e4099bdc3c8381992f9eb975c79196d6755210 or later.

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

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/9db8c299a521813630fcb4154298cb60c37f3133>
- patch: <https://git.kernel.org/stable/c/71dd428615375e36523f4d4f7685ddd54113646d>
- patch: <https://git.kernel.org/stable/c/28c8d274848feba552e95c5c2a7e3cfe8f15c534>
- patch: <https://git.kernel.org/stable/c/b502d4a08875ea2b4ea5d5b28dc7c991c8b90cfb>
- patch: <https://git.kernel.org/stable/c/f58679996a831754a356974376f248aa0af2eb8e>
- patch: <https://git.kernel.org/stable/c/23e4099bdc3c8381992f9eb975c79196d6755210>
- other: <https://git.kernel.org/stable/c/89b9b6fa4463daf820e6a5ef65c3b0c2db239513>
- other: <https://git.kernel.org/stable/c/b716e9c3603ee95ed45e938fe47227d22cf3ec35>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

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

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