CVE-2024-43815 crypto: mxs-dcp - Ensure payload is zero when using key slot

High 7.1 Published Updated

An attacker with local access could leak stack memory via the payload field when using hardware key slots for AES operations in the Linux kernel.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-43815?

CVE-2024-43815 is a high-severity vulnerability in Linux kernel, published on 17 Aug 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: mxs-dcp - Ensure payload is zero when using key slot

We could leak stack memory through the payload field when running AES with a key from one of the hardware's key slots. Fix this by ensuring the payload field is set to 0 in such cases.

This does not affect the common use case when the key is supplied from main memory via the descriptor payload.

Weakness: CWE-908

Which versions are affected by CVE-2024-43815?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-43815?

Apply the vendor's patch.

Is CVE-2024-43815 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-43815, GHSA-9f85-r865-9x32, UBUNTU-CVE-2024-43815.

Is CVE-2024-43815 in your software?

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

Check your SBOMs for free