CVE-2026-31437
Gravedad CVSS v3.1:
MEDIA
Tipo:
CWE-476
Desreferencia a puntero nulo (NULL)
Fecha de publicación:
22/04/2026
Última modificación:
19/05/2026
Descripción
*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
netfs: Fix NULL pointer dereference in netfs_unbuffered_write() on retry<br />
<br />
When a write subrequest is marked NETFS_SREQ_NEED_RETRY, the retry path<br />
in netfs_unbuffered_write() unconditionally calls stream->prepare_write()<br />
without checking if it is NULL.<br />
<br />
Filesystems such as 9P do not set the prepare_write operation, so<br />
stream->prepare_write remains NULL. When get_user_pages() fails with<br />
-EFAULT and the subrequest is flagged for retry, this results in a NULL<br />
pointer dereference at fs/netfs/direct_write.c:189.<br />
<br />
Fix this by mirroring the pattern already used in write_retry.c: if<br />
stream->prepare_write is NULL, skip renegotiation and directly reissue<br />
the subrequest via netfs_reissue_write(), which handles iterator reset,<br />
IN_PROGRESS flag, stats update and reissue internally.
Impacto
Puntuación base 3.x
5.50
Gravedad 3.x
MEDIA
Productos y versiones vulnerables
| CPE | Desde | Hasta |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.18.17 (incluyendo) | 6.18.21 (excluyendo) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.19.7 (incluyendo) | 6.19.11 (excluyendo) |
Para consultar la lista completa de nombres de CPE con productos y versiones, ver esta página



