CVE-2025-21658: btrfs: avoid NULL pointer dereference if no valid extent tree
btrfs: avoid NULL pointer dereference if no valid extent tree
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 5.10.223-1Fixed in 5.10.234-1Fixed in 6.12.25-1Fixed in 6.12.27-1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 6.6.76.1-1 - Upgrade
Upgrade
linux kernel btrfsto a version that resolves this vulnerability.Patch 42437a6386ff - Upgrade
Upgrade
linux kernel btrfsto a version that resolves this vulnerability.Patch b979547513ff
Event History
Frequently Asked Questions
What is the severity of CVE-2025-21658?
The severity of CVE-2025-21658 is rated as critical due to the potential for a NULL pointer dereference in the Linux kernel.
How do I fix CVE-2025-21658?
To fix CVE-2025-21658, update the Linux kernel to a version that has included the patches addressing this vulnerability.
Which versions of the Linux kernel are affected by CVE-2025-21658?
CVE-2025-21658 affects Linux kernel versions from 5.11 to 6.6.72, and also 6.7 to 6.12.10, along with several release candidates such as 6.13-rc1 to 6.13-rc6.
What is the nature of the vulnerability in CVE-2025-21658?
CVE-2025-21658 is a vulnerability that allows for a NULL pointer dereference, potentially leading to a system crash.
Is there a workaround for CVE-2025-21658?
There are currently no recommended workarounds for CVE-2025-21658; updating to a patched version is advised.