Linux Kernel up to 6.7.4 UBI Driver drivers/mtd/ubi/attach.c Name memory leak

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 4.3 | $0-$5k | 0.00 |
Summary
A vulnerability was found in Linux Kernel up to 6.7.4. It has been classified as problematic. Affected by this issue is some unknown functionality of the file drivers/mtd/ubi/attach.c of the component UBI Driver. Performing a manipulation of the argument Name results in memory leak. This vulnerability is cataloged as CVE-2024-25740. Furthermore, there is an exploit available. To fix this issue, it is recommended to deploy a patch.
Details
A vulnerability was found in Linux Kernel up to 6.7.4 (Operating System). It has been classified as problematic. This affects an unknown code block of the file drivers/mtd/ubi/attach.c of the component UBI Driver. The manipulation of the argument name with an unknown input leads to a memory leak vulnerability. CWE is classifying the issue as CWE-401. The product does not sufficiently track and release allocated memory after it has been used, which slowly consumes remaining memory. This is going to have an impact on availability. The summary by CVE is:
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.
The weakness was shared 02/12/2024. It is possible to read the advisory at lore.kernel.org. This vulnerability is uniquely identified as CVE-2024-25740 since 02/12/2024. Technical details and a public exploit are known.
The exploit is shared for download at lore.kernel.org. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 247354 (Linux Distros Unpatched Vulnerability : CVE-2024-25740), which helps to determine the existence of the flaw in a target environment.
Applying a patch is able to eliminate this problem. The bugfix is ready for download at lore.kernel.org.
The vulnerability is also documented in the databases at Tenable (247354) and EUVD (EUVD-2024-23048). Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Product
Type
Vendor
Name
Version
License
Website
- Vendor: https://www.kernel.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 4.5VulDB Meta Temp Score: 4.3
VulDB Base Score: 3.5
VulDB Temp Score: 3.2
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 5.5
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Memory leakCWE: CWE-401 / CWE-404
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: Partially
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 247354
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2024-25740
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔍
Patch: lore.kernel.org
Timeline
02/12/2024 🔍02/12/2024 🔍
02/12/2024 🔍
08/11/2025 🔍
Sources
Vendor: kernel.orgAdvisory: lore.kernel.org
Status: Confirmed
CVE: CVE-2024-25740 (🔍)
GCVE (CVE): GCVE-0-2024-25740
GCVE (VulDB): GCVE-100-253419
EUVD: 🔍
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 02/12/2024 08:53Updated: 08/11/2025 01:54
Changes: 02/12/2024 08:53 (46), 03/03/2024 14:22 (11), 05/08/2025 04:53 (16), 06/09/2025 09:07 (1), 08/11/2025 01:54 (2)
Complete: 🔍
Cache ID: 216::103
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.