CVE-2026-139432: btrfs: refactor read_key_bytes() to remove the dest_folio parameter

Published Nov 30, 2026
·
Updated

btrfs: refactor readkeybytes() to remove the destfolio parameter

Affected Software

10 affected componentsFixes available
Linux Linux kernel
linux/kernel>=5.15.0<6.1.193
6.1.193
linux/kernel>=6.2.0<6.6.163
6.6.163
linux/kernel>=6.7.0<6.12.119
6.12.119
linux/kernel>=6.13.0<6.18.65
6.18.65
linux/kernel>=6.19.0<7.3.6
7.3.6
debian/linux*
debian/linux*
debian/linux<7.3.6-1
7.3.6-1
debian/linux<=6.1.176-1, <=6.1.192-3, <=6.12.117-1, <=6.12.118-1
7.3.6-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.1.193
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.6.163
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.12.119
  4. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.65
  5. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.6
  6. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 7.3.6-1
  7. Compensating control

    In the Linux kernel Btrfs code, remove the @dest_folio parameter from read_key_bytes(); have the btrfs_read_merkle_tree_page() caller map the folio and pass the mapped kernel address to read_key_bytes().

Event History

Nov 30, 2026
CVE Published
via MITRE·01:34 PM
Data Sourced
via MITRE·01:34 PM
Description
Data Sourced
via OSV·01:34 PM
DescriptionAffected Software
Data Sourced
via NVD·02:19 PM
Description

Frequently Asked Questions

1

What condition is needed to trigger the faulty read path?

The affected path is btrfs_read_merkle_tree_page() reading BTRFS_VERITY_MERKLE_ITEM_KEY data. It occurs when a highmem folio is not mapped, so folio_address(folio) returns NULL and is passed as the destination.

2

What happens when the condition is reached?

A NULL destination causes read_key_bytes() not to load Merkle data into the supplied destination folio, even when a destination folio was provided. The Merkle data may therefore remain unwritten in that folio.

3

Are fs-verity descriptor reads affected in the same way?

The two read_key_bytes() call sites used by btrfs_get_verity_descriptor() do not use the destination-folio parameter. They read small, fixed-size description items rather than the potentially multi-item Merkle data.

4

What is the available remediation?

The vulnerability is described as resolved by refactoring read_key_bytes() to remove the destination-folio parameter and the problematic destination handling. The provided references identify stable-kernel commits containing the resolution.

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