PT-2026-61384 · Linux · Linux

CVE-2026-64067

·

Publicado

2026-07-19

·

Atualizado

2026-07-19

CVSS v3.1

9.8

Crítica

VetorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
In the Linux kernel, the following vulnerability has been resolved:
netfs: Fix missing barriers when accessing stream->subrequests locklessly
The list of subrequests attached to stream->subrequests is accessed without locks by netfs collect read results() and netfs collect write results(), and then they access subreq->flags without taking a barrier after getting the subreq pointer from the list. Relatedly, the functions that build the list don't use any sort of write barrier when constructing the list to make sure that the NETFS SREQ IN PROGRESS flag is perceived to be set first if no lock is taken.
Fix this by:
(1) Add a new list add tail release() function that uses a release barrier to set the pointer to the new member of the list.
(2) Add a new list first entry or null acquire() function that uses an acquire barrier to read the pointer to the first member in a list (or return NULL).
(3) Use list add tail release() when adding a subreq to ->subrequests.
(4) Use list first entry or null acquire() when initially accessing the front of the list (when an item is removed, the pointer to the new front iterm is obtained under the same lock).

Correção

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Identificadores relacionados

CVE-2026-64067

Produtos afetados

Linux