CVE-2025-21995: drm/sched: Fix fence reference count leak
CVE-2025-21995 is a vulnerability in drm/sched: Fix fence reference count leak, 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.28% probability of exploitation activity in the next 30 days, higher than 14% of all scored vulnerabilities. Microsoft released the fix on 4 May 2025, outside Patch Tuesday. It affects 2 products in 1 product family (Mariner).
Key facts
- CVE ID
- CVE-2025-21995
- Severity
- Medium CVSS 5.5
- Microsoft severity
- Moderate
- Exploited in the wild
- No
- Publicly disclosed
- No
- EPSS
- 0.28% (percentile 14%)
- CISA KEV
- Not listed
- Released
- Last updated
- Patch Tuesday
- April 2025 Patch Tuesday
- Product families
- Mariner
CVSS score and vector
Microsoft scores CVE-2025-21995 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
| Metric | Value |
|---|---|
| Attack vector | Local |
| Attack complexity | Low |
| Privileges required | Low |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality impact | None |
| Integrity impact | None |
| 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 (2)
Mariner
| Product | Security update | Type | Fixed build | Restart |
|---|---|---|---|---|
| azl3 kernel 6.6.85.1-2 on Azure Linux 3.0 | CBL-Mariner Releases | Security Update | 6.6.85.1-2 | No |
| azl3 kernel 6.6.82.1-1 on Azure Linux 3.0 | CBL-Mariner Releases | Security Update | 6.6.85.1-2 | No |
NIST NVD data
- NVD status
- Modified
- NVD CVSS
- 5.5 (MEDIUM)
- Published to NVD
- NVD last modified
Affected configurations (CPE)
| Product | Vulnerable versions |
|---|---|
| linux kernel | from 6.2, before 6.6.85 |
| linux kernel | from 6.7, before 6.12.21 |
| linux kernel | from 6.13, before 6.13.9 |
| linux kernel 6.14 | all listed versions |
| linux kernel 6.14 | all listed versions |
| linux kernel 6.14 | all listed versions |
| linux kernel 6.14 | all listed versions |
| linux kernel 6.14 | all listed versions |
| linux kernel 6.14 | all listed versions |
| linux kernel 6.14 | all listed versions |
References
- https://git.kernel.org/stable/c/1135a9431160575466ea9ac37ebd756ecbe35fff (Patch)
- https://git.kernel.org/stable/c/35399c84dcedd6d31448fb9e1336ef52673f2882 (Patch)
- https://git.kernel.org/stable/c/a952f1ab696873be124e31ce5ef964d36bce817f (Patch)
- https://git.kernel.org/stable/c/c76bd3c99293834de7d1dca5de536616d5655e38 (Patch)
Revision history
| Version | Date | Description |
|---|---|---|
| 1.0 | Information published. |