Instituto Nacional de ciberseguridad. Sección Incibe
Instituto Nacional de Ciberseguridad. Sección INCIBE-CERT

CVE-2025-38700

Gravedad CVSS v3.1:
MEDIA
Tipo:
CWE-476 Desreferencia a puntero nulo (NULL)
Fecha de publicación:
04/09/2025
Última modificación:
09/01/2026

Descripción

*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> scsi: libiscsi: Initialize iscsi_conn-&gt;dd_data only if memory is allocated<br /> <br /> In case of an ib_fast_reg_mr allocation failure during iSER setup, the<br /> machine hits a panic because iscsi_conn-&gt;dd_data is initialized<br /> unconditionally, even when no memory is allocated (dd_size == 0). This<br /> leads invalid pointer dereference during connection teardown.<br /> <br /> Fix by setting iscsi_conn-&gt;dd_data only if memory is actually allocated.<br /> <br /> Panic trace:<br /> ------------<br /> iser: iser_create_fastreg_desc: Failed to allocate ib_fast_reg_mr err=-12<br /> iser: iser_alloc_rx_descriptors: failed allocating rx descriptors / data buffers<br /> BUG: unable to handle page fault for address: fffffffffffffff8<br /> RIP: 0010:swake_up_locked.part.5+0xa/0x40<br /> Call Trace:<br /> complete+0x31/0x40<br /> iscsi_iser_conn_stop+0x88/0xb0 [ib_iser]<br /> iscsi_stop_conn+0x66/0xc0 [scsi_transport_iscsi]<br /> iscsi_if_stop_conn+0x14a/0x150 [scsi_transport_iscsi]<br /> iscsi_if_rx+0x1135/0x1834 [scsi_transport_iscsi]<br /> ? netlink_lookup+0x12f/0x1b0<br /> ? netlink_deliver_tap+0x2c/0x200<br /> netlink_unicast+0x1ab/0x280<br /> netlink_sendmsg+0x257/0x4f0<br /> ? _copy_from_user+0x29/0x60<br /> sock_sendmsg+0x5f/0x70

Productos y versiones vulnerables

CPE Desde Hasta
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 2.6.27 (incluyendo) 5.4.297 (excluyendo)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.5 (incluyendo) 5.10.241 (excluyendo)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.11 (incluyendo) 5.15.190 (excluyendo)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.16 (incluyendo) 6.1.149 (excluyendo)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.2 (incluyendo) 6.6.103 (excluyendo)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 (incluyendo) 6.12.43 (excluyendo)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.13 (incluyendo) 6.15.11 (excluyendo)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.16 (incluyendo) 6.16.2 (excluyendo)
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*