PatchaPalooza

CVE-2024-25740: 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.

CVE-2024-25740 is a vulnerability in 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., rated Moderate by Microsoft, with a CVSS 3.1 base score of 5.5 (Medium). An attacker can exploit it by an attacker with local access, with low privileges and without user interaction. Microsoft has not reported exploitation in the wild. The EPSS model estimates a 0.21% probability of exploitation activity in the next 30 days, higher than 11% of all scored vulnerabilities. Microsoft published it on 3 September 2025 in the February 2024 Patch Tuesday. It affects 22 products in 2 product families (Open Source Software, Other).

Key facts

CVE ID
CVE-2024-25740
Severity
Medium CVSS 5.5
Microsoft severity
Moderate
Exploited in the wild
No
Publicly disclosed
No
Weakness
CWE-401
EPSS
0.21% (percentile 11%)
CISA KEV
Not listed
Released
Last updated
Patch Tuesday
February 2024 Patch Tuesday
Product families
Open Source Software, Other

CVSS score and vector

Microsoft scores CVE-2024-25740 at 5.5 (temporal 5.5) using CVSS 3.1. Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

MetricValue
Attack vectorLocal
Attack complexityLow
Privileges requiredLow
User interactionNone
ScopeUnchanged
Confidentiality impactNone
Integrity impactNone
Availability impactHigh

Frequently asked questions (Microsoft)

Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?

One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.

Affected products (22)

Open Source Software

ProductSecurity updateTypeFixed buildRestart
cbl2 kernel 5.15.186.1-1 on CBL Mariner 2.0
cbl2 kernel 5.15.202.1-1 on CBL Mariner 2.0
cbl2 kernel 5.15.200.1-1 on CBL Mariner 2.0

Other

ProductSecurity updateTypeFixed buildRestart
19683-17084
20553-17084
20613-17084
20725-17084
20823-17084
20956-17084
21094-17084
21248-17084
21332-17084
21443-17084
20412-17084
20788-17084
20860-17084
21308-17084
21344-17084
21474-17084
21580-17084
21626-17084
21684-17084

NIST NVD data

NVD status
Modified
NVD CVSS
5.5 (MEDIUM)
NVD weakness
CWE-401
Published to NVD
NVD last modified

Affected configurations (CPE)

ProductVulnerable versions
linux kernelup to and including 6.7.4

References

Revision history

VersionDateDescription
1.0Information published.
1.1Information published.
2.0Information published.
3.0Information published.
4.0Information published.
5.0Information published.
6.0Information published.
7.0Information published.
8.0Information published.
9.0Information published.
10.0Information published.
11.0Information published.
12.0Information published.
13.0Information published.
14.0Information published.
15.0Information published.
16.0Information published.

Sources