CVE-2026-53165
Gravedad CVSS v3.1:
ALTA
Tipo:
CWE-476
Desreferencia a puntero nulo (NULL)
Fecha de publicación:
25/06/2026
Última modificación:
07/07/2026
Descripción
*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
iomap: avoid potential null folio->mapping deref during error reporting<br />
<br />
When a buffered read fails, iomap_finish_folio_read() reports the error<br />
with fserror_report_io(folio->mapping->host, ...). This is called after<br />
ifs->read_bytes_pending has been decremented by the bytes attempted to<br />
be read.<br />
<br />
For a folio split across multiple read completions, the folio is only<br />
guaranteed to stay locked while read_bytes_pending > 0. Once<br />
iomap_finish_folio_read() decrements read_bytes_pending, another<br />
in-flight read can complete and end the read on the folio, which unlocks<br />
it. This allows truncate logic to run and detach the folio (set<br />
folio->mapping to NULL). The error reporting path then can dereference a<br />
NULL folio->mapping. As reported by Sam Sun, this is the race that can<br />
occur:<br />
<br />
CPU0: failed completion CPU1: final completion CPU2: truncate<br />
----------------------- ---------------------- --------------<br />
read_bytes_pending -= len<br />
finished = false<br />
/* preempted before<br />
fserror_report_io() */<br />
read_bytes_pending -= len<br />
finished = true<br />
folio_end_read()<br />
truncate clears<br />
folio->mapping<br />
fserror_report_io(<br />
folio->mapping->host, ...)<br />
^ NULL deref<br />
<br />
Fix this by reporting the error first before decrementing<br />
ifs->read_bytes_pending.
Impacto
Puntuación base 3.x
7.50
Gravedad 3.x
ALTA
Productos y versiones vulnerables
| CPE | Desde | Hasta |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 7.0 (incluyendo) | 7.0.13 (excluyendo) |
| cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.1:rc5:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.1:rc6:*:*:*:*:*:* |
Para consultar la lista completa de nombres de CPE con productos y versiones, ver esta página



