CVE-2025-21739: scsi: ufs: core: Fix use-after free in init error and remove paths
CVE-2025-21739 is a vulnerability in scsi: ufs: core: Fix use-after free in init error and remove paths, rated Important by Microsoft, with a CVSS 3.1 base score of 7.8 (High). 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.22% probability of exploitation activity in the next 30 days, higher than 13% of all scored vulnerabilities. Microsoft released the fix on 3 September 2025, outside Patch Tuesday. It affects 11 products in 1 product family (Open Source Software).
Key facts
- CVE ID
- CVE-2025-21739
- Severity
- High CVSS 7.8
- Microsoft severity
- Important
- Exploited in the wild
- No
- Publicly disclosed
- No
- Weakness
- CWE-416
- EPSS
- 0.22% (percentile 13%)
- CISA KEV
- Not listed
- Released
- Last updated
- Patch Tuesday
- February 2025 Patch Tuesday
- Product families
- Open Source Software
CVSS score and vector
Microsoft scores CVE-2025-21739 at 7.8 (temporal 7.8) using CVSS 3.1. Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
| Metric | Value |
|---|---|
| Attack vector | Local |
| Attack complexity | Low |
| Privileges required | Low |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality impact | High |
| Integrity impact | High |
| Availability impact | High |
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 (11)
Open Source Software
| Product | Security update | Type | Fixed build | Restart |
|---|---|---|---|---|
| azl3 kernel 6.6.117.1-1 on Azure Linux 3.0 | ||||
| azl3 kernel 6.6.119.3-1 on Azure Linux 3.0 | ||||
| azl3 kernel 6.6.119.3-3 on Azure Linux 3.0 | ||||
| azl3 kernel 6.6.121.1-1 on Azure Linux 3.0 | ||||
| azl3 kernel 6.6.126.1-1 on Azure Linux 3.0 | ||||
| azl3 kernel 6.6.130.1-3 on Azure Linux 3.0 | ||||
| azl3 kernel 6.6.134.1-2 on Azure Linux 3.0 | CBL-Mariner Releases | Security Update | 6.6.137.1-2 | No |
| azl3 kernel 6.6.96.2-1 on Azure Linux 3.0 | ||||
| azl3 kernel 6.6.96.2-2 on Azure Linux 3.0 | ||||
| azl3 kernel 6.6.104.2-4 on Azure Linux 3.0 | ||||
| azl3 kernel 6.6.112.1-2 on Azure Linux 3.0 |
NIST NVD data
- NVD status
- Modified
- NVD CVSS
- 7.8 (HIGH)
- NVD weakness
- CWE-416
- Published to NVD
- NVD last modified
Affected configurations (CPE)
| Product | Vulnerable versions |
|---|---|
| linux kernel | from 5.12, before 6.12.14 |
| linux kernel | from 6.13, before 6.13.3 |
| linux kernel 6.14 | all listed versions |
References
- https://git.kernel.org/stable/c/0a6895c03b1f439236e2d22b1a69ebfc1eb9d5ea
- https://git.kernel.org/stable/c/0c77c0d754fe83cb154715fcfec6c3faef94f207 (Patch)
- https://git.kernel.org/stable/c/0dc539b888fb5f56b6eeddd95433eab557d4b0c1
- https://git.kernel.org/stable/c/9c185beae09a3eb85f54777edafa227f7e03075d (Patch)
- https://git.kernel.org/stable/c/d06eb2620d3bf16056b8b7ea3744dbb5e30512f4
- https://git.kernel.org/stable/c/f8fb2403ddebb5eea0033d90d9daae4c88749ada (Patch)
Revision history
| Version | Date | Description |
|---|---|---|
| 1.0 | Information published. | |
| 2.0 | Information published. | |
| 3.0 | Information published. | |
| 4.0 | Information published. | |
| 5.0 | Information published. | |
| 6.0 | Information published. | |
| 7.0 | Information published. | |
| 8.0 | Information published. | |
| 9.0 | Information published. | |
| 10.0 | Information published. | |
| 11.0 | Information published. |