CVE-2024-25740 Denial of service in n/a

Medium 5.5 Published Updated

A memory leak in the Linux kernel UBI driver allows attackers to cause a denial of service by exhausting system memory.

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

CVE-2024-25740 is a medium-severity denial of service vulnerability in Linux kernel, published on 12 Feb 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A memory leak flaw was found in the UBI driver in drivers/mtd/ubi/attach.c in the Linux kernel through 6.7.4 for UBI_IOCATT, because kobj->name is not released.

Weakness: CWE-401

Which versions are affected by CVE-2024-25740?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-25740?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-25740 exists.

All Linux kernel vulnerabilities

Sources

Also known as AZL-34525, AZL-34888, DEBIAN-CVE-2024-25740, GHSA-2mff-f6qm-822q, ROOT-OS-DEBIAN-11-CVE-2024-25740, ROOT-OS-DEBIAN-12-CVE-2024-25740 and 3 more.

Is CVE-2024-25740 in your software?

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

Check your SBOMs for free