CVE-2026-64158
Gravedad CVSS v3.1:
ALTA
Tipo:
No Disponible / Otro tipo
Fecha de publicación:
19/07/2026
Última modificación:
20/07/2026
Descripción
*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
netfs: Fix write streaming disablement if fd open O_RDWR<br />
<br />
In netfs_perform_write(), "write streaming" (the caching of dirty data in<br />
dirty but !uptodate folios) is performed to avoid the need to read data<br />
that is just going to get immediately overwritten. However, this is/will<br />
be disabled in three circumstances: if the fd is open O_RDWR, if fscache is<br />
in use (as we need to round out the blocks for DIO) or if content<br />
encryption is enabled (again for rounding out purposes).<br />
<br />
The idea behind disabling it if the fd is open O_RDWR is that we&#39;d need to<br />
flush the write-streaming page before we could read the data, particularly<br />
through mmap. But netfs now fills in the gaps if ->read_folio() is called<br />
on the page, so that is unnecessary. Further, this doesn&#39;t actually work<br />
if a separate fd is open for reading.<br />
<br />
Fix this by removing the check for O_RDWR, thereby allowing streaming<br />
writes even when we might read.<br />
<br />
This caused a number of problems with the generic/522 xfstest, but those<br />
are now fixed.
Impacto
Puntuación base 3.x
7.30
Gravedad 3.x
ALTA



