CVE-2024-43913 nvme: apple: fix device reference counting

High 7.0 Published Updated

A memory leak in the Apple NVMe driver allows attackers to cause a denial of service by exhausting kernel memory through repeated device initialization failures.

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

CVE-2024-43913 is a high-severity denial of service vulnerability in Linux kernel, published on 26 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:

nvme: apple: fix device reference counting

Drivers must call nvme_uninit_ctrl after a successful nvme_init_ctrl. Split the allocation side out to make the error handling boundary easier to navigate. The apple driver had been doing this wrong, leaking the controller device memory on a tagset failure.

Weakness: CWE-401

Which versions are affected by CVE-2024-43913?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-43913?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2024-43913 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as AZL-48632, AZL-48689, BELL-CVE-2024-43913, DEBIAN-CVE-2024-43913, GHSA-w46w-6cr6-6pvh, ROOT-OS-DEBIAN-12-CVE-2024-43913 and 1 more.

Is CVE-2024-43913 in your software?

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

Check your SBOMs for free