Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-139432

published

btrfs: refactor read_key_bytes() to remove the dest_folio parameter

Published
30 Nov 2026, 13:34:42 UTC
Updated
30 Nov 2026, 13:34:42 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux146054090b0859b28fc39015c7704ccc3c3a347f to < d8372ed5b688435ade4c5628d1125e6086feb1cc · 146054090b0859b28fc39015c7704ccc3c3a347f to < 4bd53a335becc3b0738eb879e550d8a15e0e2d47 · 146054090b0859b28fc39015c7704ccc3c3a347f to < e7e14a217844385a2954a7b008e021c177c735a5 · 146054090b0859b28fc39015c7704ccc3c3a347f to < 8de0d7c6bb7fb7867a5b2f2d4bb94826e9e98e24 · 146054090b0859b28fc39015c7704ccc3c3a347f to < 474361b0ee085e206e3fccaca2b6463571c43891 · 146054090b0859b28fc39015c7704ccc3c3a347f to < fdf56b9d03d475881d73b75afbdbe4058db04ffc · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.15 (affected) · 0 to < 5.15 (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 146054090b0859b28fc39015c7704ccc3c3a347f to < d8372ed5b688435ade4c5628d1125e6086feb1cc (affected · git)146054090b0859b28fc39015c7704ccc3c3a347f to < 4bd53a335becc3b0738eb879e550d8a15e0e2d47 (affected · git)146054090b0859b28fc39015c7704ccc3c3a347f to < e7e14a217844385a2954a7b008e021c177c735a5 (affected · git)146054090b0859b28fc39015c7704ccc3c3a347f to < 8de0d7c6bb7fb7867a5b2f2d4bb94826e9e98e24 (affected · git)146054090b0859b28fc39015c7704ccc3c3a347f to < 474361b0ee085e206e3fccaca2b6463571c43891 (affected · git)146054090b0859b28fc39015c7704ccc3c3a347f to < fdf56b9d03d475881d73b75afbdbe4058db04ffc (affected · git)Default: unaffected Linux · cna
Linux Linux 5.15 (affected)0 to < 5.15 (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

6

Provider assertions

1

Linux · cna

btrfs: refactor read_key_bytes() to remove the dest_folio parameter

Provenance

Schema
5.2
Searchable
yes
Content hash
edbfea950ce760689b83a99a443ab2fae977f63f749d548c4c8c167b9d9db1b3
Ingested
30 Nov 2026, 13:42:23 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected