CVE-2024-35949: btrfs: make sure that WRITTEN is set on all metadata blocks

Published May 20, 2024
·
Updated

btrfs: make sure that WRITTEN is set on all metadata blocks

Affected Software

12 affected componentsFixes available
debian/linux<=5.10.223-1, <=5.10.234-1, <=6.1.129-1, <=6.1.135-1
6.12.25-16.12.27-1
Linux Linux kernel<6.6.85
Linux Linux kernel>=6.7<6.8.10
Linux Linux kernel=6.9-rc1
Linux Linux kernel=6.9-rc2
Linux Linux kernel=6.9-rc3
Linux Linux kernel=6.9-rc4
Linux Linux kernel=6.9-rc5
Linux Linux kernel=6.9-rc6
Linux Linux kernel=6.9-rc7
Fedoraproject Fedora=40
Microsoft cbl2 kernel 5.15.186.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 6.12.25-1Fixed in 6.12.27-1
  2. Upgrade

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

    Patch 732fab95abe2
  3. Configuration

    Ensure the btrfs check-integrity code behavior matches the post-732fab95abe2 change: do not rely on CONFIG_BTRFS_FS_CHECK_INTEGRITY to call btrfs_check_leaf() during btrfs_mark_buffer_dirty(); instead, ensure the metadata leaf validation happens in __btrfs_check_leaf() regardless of call path.

    btrfs CONFIG_BTRFS_FS_CHECK_INTEGRITY = removed (no longer call btrfs_check_leaf() from btrfs_mark_buffer_dirty())

Event History

May 20, 2024
CVE Published
via MITRE·09:17 AM
Data Sourced
via MITRE·09:17 AM
DescriptionSeverity
Data Sourced
via NVD·10:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Aug 8, 2024
Data Sourced
via Launchpad·11:25 PM
Description
Apr 27, 2025
Data Sourced
via Ubuntu·12:23 AM
RemedyDescriptionSeverityAffected Software
Dec 25, 2025
Data Sourced
via Microsoft·01:01 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-35949?

CVE-2024-35949 has been classified with a moderate severity level due to its potential impact on data integrity.

2

How do I fix CVE-2024-35949?

To fix CVE-2024-35949, update your Linux kernel to version 6.12.12-1, 6.12.15-1 or later.

3

Which Linux kernel versions are affected by CVE-2024-35949?

CVE-2024-35949 affects Linux kernel versions up to 5.10.226-1 and 6.1.128-1.

4

Is there a workaround for CVE-2024-35949?

There is no known workaround for CVE-2024-35949, applying the update is the recommended action.

5

What components are impacted by CVE-2024-35949?

CVE-2024-35949 impacts the btrfs filesystem in the Linux kernel.

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