CVE-2026-139432

Not scored yetLast modified Nov 30, 2026

Description

In the Linux kernel, the following vulnerability has been resolved:

btrfs: refactor read_key_bytes() to remove the dest_folio parameter

The function read_key_bytes() have 3 call sites:

- For BTRFS_VERITY_DESC_ITEM_KEY offset 0 inside btrfs_get_verity_descriptor() - For BTRFS_VERITY_DESC_ITEM_KEY offset 1 inside btrfs_get_verity_descriptor() Those are to read the description items, which are pretty small with fixed item size.

Those call sites do not utilize the @dest_folio parameter.

- For btrfs_read_merkle_tree_page() This is to read the BTRFS_VERITY_MERKLE_ITEM_KEY, which can be pretty large and split into multiple items.

This is the only call site utilizing the @dest_folio parameter.

Just for the only btrfs_read_merkle_tree_page() call site, we have a complex scheme for @dest and @dest_folio parameters. Since @dest can be NULL, it means if we pass @dest as NULL, then no matter if @dest_folio is provided, the merkle data will not be loaded into that @dest_folio.

This can lead to a bug where a highmem folio is not mapped, then we pass folio_address(folio), which is NULL, into read_key_bytes(), causing no data to be written into @dest_folio.

To address the complex scheme between @dest and @dest_folio, remove the @dest_folio parameter completely, and let the only caller to map the folio and pass the mapped kernel address into read_key_bytes() instead.

This not only reduces the parameter list, but also make it much clear on the @dest parameter handling. The only downside is a longer duration of locally mapped page, but this should still be fine, as kmap_local_folio() can survive context switch.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
LinuxLinux>= 146054090b0859b28fc39015c7704ccc3c3a347f, < d8372ed5b688435ade4c5628d1125e6086feb1cc; >= 146054090b0859b28fc39015c7704ccc3c3a347f, < 4bd53a335becc3b0738eb879e550d8a15e0e2d47; >= 146054090b0859b28fc39015c7704ccc3c3a347f, < e7e14a217844385a2954a7b008e021c177c735a5; >= 146054090b0859b28fc39015c7704ccc3c3a347f, < 8de0d7c6bb7fb7867a5b2f2d4bb94826e9e98e24; >= 146054090b0859b28fc39015c7704ccc3c3a347f, < 474361b0ee085e206e3fccaca2b6463571c43891; >= 146054090b0859b28fc39015c7704ccc3c3a347f, < fdf56b9d03d475881d73b75afbdbe4058db04ffc
LinuxLinux5.15

References

Timeline

Published
Nov 30, 2026
Last modified
Nov 30, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-139433In the Linux kernel, the following vulnerability has been resolved: btrfs: roll back sprout setup after device add failure btrfs_init_new_CVE-2026-139434In the Linux kernel, the following vulnerability has been resolved: accel/amdxdna: Reject device heap BO when dev_mem_size is not set NPU3CVE-2026-139435In the Linux kernel, the following vulnerability has been resolved: block: unpin all pages of a bvec in bio_iov_iter_align_down() bio_iov_CVE-2026-139436In the Linux kernel, the following vulnerability has been resolved: block: take i_rwsem for the splice read path def_blk_fops wires ->spliCVE-2026-139437In the Linux kernel, the following vulnerability has been resolved: block: take i_rwsem for the direct I/O write fallback Commit c0e473a0dCVE-2026-139438In the Linux kernel, the following vulnerability has been resolved: block: use iomap_dirty_folio for block devices With CONFIG_BUFFER_HEADCVE-2026-139439In the Linux kernel, the following vulnerability has been resolved: drm/rockchip: dw_hdmi_qp: Cancel pending HPD work on suspend The HPD tCVE-2026-139443.1Inappropriate implementation in DataTransfer in Google Chrome on Mac prior to 150.0.7871.47 allowed a remote attacker who convinced a user tCVE-2026-139440In the Linux kernel, the following vulnerability has been resolved: drm/rockchip: dw_hdmi_qp: Fix invalid drvdata access in PM ops The sysCVE-2026-139441In the Linux kernel, the following vulnerability has been resolved: ACPI: PCI: pci_link: clear driver_data before free acpi_pci_link_removCVE-2026-139442In the Linux kernel, the following vulnerability has been resolved: ALSA: control_led: Fix deadlock between sysfs writes and card disconnecCVE-2026-139443In the Linux kernel, the following vulnerability has been resolved: net: devmem: check uid and netns in net_devmem_get_binding() NETDEV_CM
CVE-2026-139432: Unscored | Vulnix