CVE-2024-56749 dlm: fix dlm_recover_members refcount on error

High 7.5 Published Updated

A refcount leak in the Linux kernel Distributed Lock Manager can cause resource exhaustion and denial of service during recovery failures.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-56749?

CVE-2024-56749 is a high-severity memory corruption vulnerability in Linux kernel, published on 29 Dec 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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

dlm: fix dlm_recover_members refcount on error

If dlm_recover_members() fails we don't drop the references of the previous created root_list that holds and keep all rsbs alive during the recovery. It might be not an unlikely event because ping_members() could run into an -EINTR if another recovery progress was triggered again.

Which versions are affected by CVE-2024-56749?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-56749?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2024-56749 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-56749, DEBIAN-CVE-2024-56749, GHSA-9r43-p7wr-7396, UBUNTU-CVE-2024-56749.

Is CVE-2024-56749 in your software?

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

Check your SBOMs for free