CVE-2024-56581: btrfs: ref-verify: fix use-after-free after invalid ref action
CVE-2024-56581 is a vulnerability in btrfs: ref-verify: fix use-after-free after invalid ref action, 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.24% probability of exploitation activity in the next 30 days, higher than 15% of all scored vulnerabilities. Microsoft released the fix on 28 January 2025 in the December 2024 Patch Tuesday. It affects 5 products in 1 product family (Other).
Key facts
- CVE ID
- CVE-2024-56581
- Severity
- High CVSS 7.8
- Microsoft severity
- Important
- Exploited in the wild
- No
- Publicly disclosed
- No
- Weakness
- CWE-416
- EPSS
- 0.24% (percentile 15%)
- CISA KEV
- Not listed
- Released
- Last updated
- Patch Tuesday
- December 2024 Patch Tuesday
- Product families
- Other
CVSS score and vector
Microsoft scores CVE-2024-56581 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 (5)
Other
| Product | Security update | Type | Fixed build | Restart |
|---|---|---|---|---|
| 17110-16823 | CBL-Mariner Releases | Security Update | 5.15.176.3-1 | No |
| 17489-17084 | CBL-Mariner Releases | Security Update | 6.6.64.2-1 | No |
| 17088-17084 | CBL-Mariner Releases | Security Update | 6.6.64.2-1 | No |
| 19675-17086 | CBL-Mariner Releases | Security Update | 5.15.176.3-1 | No |
| 19675-21692 | CBL-Mariner Releases | Security Update | 5.15.176.3-1 | No |
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 4.15, before 5.4.287 |
| linux kernel | from 5.5, before 5.10.231 |
| linux kernel | from 5.11, before 5.15.174 |
| linux kernel | from 5.16, before 6.1.120 |
| linux kernel | from 6.2, before 6.6.64 |
| linux kernel | from 6.7, before 6.12.4 |
| linux kernel 6.13 | all listed versions |
References
- https://git.kernel.org/stable/c/4275ac2741941c9c7c2293619fdbacb9f70ba85b (Patch)
- https://git.kernel.org/stable/c/6370db28af9a8ae3bbdfe97f8a48f8f995e144cf (Patch)
- https://git.kernel.org/stable/c/6fd018aa168e472ce35be32296d109db6adb87ea (Patch)
- https://git.kernel.org/stable/c/7c4e39f9d2af4abaf82ca0e315d1fd340456620f (Patch)
- https://git.kernel.org/stable/c/a6f9e7a0bf1185c9070c0de03bb85eafb9abd650 (Patch)
- https://git.kernel.org/stable/c/d2b85ce0561fde894e28fa01bd5d32820d585006 (Patch)
- https://git.kernel.org/stable/c/dfb9fe7de61f34cc241ab3900bdde93341096e0e (Patch)
- https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html
- https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html
Revision history
| Version | Date | Description |
|---|---|---|
| 1.0 | Information published. | |
| 2.0 | Information published. | |
| 2.1 | Information published. | |
| 3.0 | Information published. |