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

Medium 4.1 Published Updated

The Linux kernel failed to zeroize cryptographic key buffers, potentially allowing local attackers to read sensitive key material from memory.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-42229?

CVE-2024-42229 is a medium-severity vulnerability in Linux kernel, published on 30 Jul 2024. It can only be exploited from the same machine or local network, with no action from the victim.

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

Which versions are affected by CVE-2024-42229?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-42229?

Apply the vendor's patch.

Is CVE-2024-42229 being exploited?

There is no known exploitation of CVE-2024-42229 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as AZL-47100, AZL-47204, BELL-CVE-2024-42229, DEBIAN-CVE-2024-42229, GHSA-m5g2-rqpc-h5hr, UBUNTU-CVE-2024-42229.

Is CVE-2024-42229 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free