CVE-2025-21658: btrfs: avoid NULL pointer dereference if no valid extent tree

Published Jan 21, 2025
·
Updated

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

12 affected componentsFixes available
Linux Kernel>6.6
Linux Linux kernel>=5.11<6.6.72
Linux Linux kernel>=6.7<6.12.10
Linux Linux kernel=6.13-rc1
Linux Linux kernel=6.13-rc2
Linux Linux kernel=6.13-rc3
Linux Linux kernel=6.13-rc4
Linux Linux kernel=6.13-rc5
Linux Linux kernel=6.13-rc6
debian/linux<=6.1.129-1, <=6.1.135-1
5.10.223-15.10.234-16.12.25-16.12.27-1
Microsoft azl3 kernel 6.6.76.1-1<6.6.76.1-1
6.6.76.1-1
Microsoft azl3 kernel 6.6.64.2-9<6.6.76.1-1
6.6.76.1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to 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
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 6.6.76.1-1
  3. Upgrade

    Upgrade linux kernel btrfs to a version that resolves this vulnerability.

    Patch 42437a6386ff
  4. Upgrade

    Upgrade linux kernel btrfs to a version that resolves this vulnerability.

    Patch b979547513ff

Event History

Jan 21, 2025
CVE Published
via MITRE·12:18 PM
Data Sourced
via MITRE·12:18 PM
Description
Data Sourced
via NVD·01:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Mar 14, 2025
Data Sourced
via Microsoft·12:00 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·12:00 AM
SeverityAffected Software
Updated
via Microsoft·12:00 AM
DescriptionSeverity
Mar 27, 2025
Data Sourced
via Launchpad·06:49 PM
Description
Apr 28, 2025
Data Sourced
via Ubuntu·06:57 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203