CVE-2024-56581: btrfs: ref-verify: fix use-after-free after invalid ref action
btrfs: ref-verify: fix use-after-free after invalid ref action
Other sources
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.113-1Fixed in 7.2.12-1Fixed in 7.2.13-1 - Compensating control
In btrfs_ref_tree_mod(), remove the newly inserted ref entry from the block entry's rbtree before freeing it on the unexpected BTRFS_DROP_DELAYED_REF error path.
Event History
Frequently Asked Questions
What is the severity of CVE-2024-56581?
The severity of CVE-2024-56581 is classified as high due to its potential for exploitation leading to use-after-free vulnerabilities.
How do I fix CVE-2024-56581?
To fix CVE-2024-56581, update the Linux kernel to a version that includes the patches for this vulnerability.
Which Linux kernel versions are affected by CVE-2024-56581?
CVE-2024-56581 affects various versions of the Linux kernel from 4.15 to 6.13-rc1.
What is the impact of CVE-2024-56581?
The impact of CVE-2024-56581 includes the potential for a remote attacker to execute arbitrary code or crash the system.
Is CVE-2024-56581 exploitable remotely?
Yes, CVE-2024-56581 may be exploitable remotely, depending on the specific configuration and environment.