PT-2026-163473
CVE-2026-139432
·
Publicado
2026-11-30
·
Atualizado
2026-11-30
Descrição por
Pontuação
N/A
Não disponívelNão há classificações de severidade ou métricas disponíveis. Quando houver, atualizaremos as informações correspondentes na página.
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.
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾