Search/CVE-2024-56581
● CVE — High

CVE-2024-56581

VendorlinuxProductlinux kernelDiscoveredDec 27, 2024UpdatedAug 4, 2026

In the Linux kernel, the following vulnerability has been resolved: btrfs: ref-verify: fix use-after-free after invalid ref action At btrfs_ref_tree_mod() after we successfully inserted the new ref entry (local variable 'ref') into the respective block entry's rbtree (local variable 'be'), if we find an unexpected action of BTRFS_DROP_DELAYED_REF, we error out and free the ref entry without removing it from the block entry's rbtree. Then in the error path of btrfs_ref_tree_mod() we call btrfs_free_ref_cache(), which iterates over all block entries and then calls free_block_entry() for each one, and there we will trigger a use-after-free when we are called against the block entry to which we added the freed ref entry to its rbtree, since the rbtree still points to the block entry, as we…

CVSS v3.1
7 HIGH
EPSS
0.24%
probability of exploitation in 30 days
CISA KEV
Not listed
no confirmed exploitation reported
News coverage
5
sources referencing this CVE
Related IOCs
0
seen in the same coverage
EPSS Trend
Aug 16, 2026 → Sep 10, 2026
● 0.00pp
0.24% → 0.24% over 2 tracked changes
CVSS v3.1 Detail
Attack VectorLOCAL
Attack ComplexityHIGH
Privileges RequiredLOW
User InteractionNONE
ScopeUNCHANGED
ConfidentialityHIGH
IntegrityHIGH
AvailabilityHIGH
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Connections
7 relationships
Timeline
disclosure → media coverage
Dec 27, 2024
Disclosure — published as a CVE record. · last revised by NVD Aug 4, 2026
Mar 20, 2026
ubuntu.com reports: USN-8112-1: Linux kernel vulnerabilities
Mar 20, 2026
ubuntu.com reports: USN-8112-2: Linux kernel (FIPS) vulnerabilities
Mar 24, 2026
ubuntu.com reports: USN-8112-3: Linux kernel (Azure) vulnerabilities
Mar 24, 2026
ubuntu.com reports: USN-8112-4: Linux kernel (Azure FIPS) vulnerabilities
Mar 24, 2026
ubuntu.com reports: USN-8112-5: Linux kernel (Azure) vulnerabilities