CVE-2025-39854
JSON

7.8high

ice: fix NULL access of tx->in_use in ice_ll_ts_intr

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.16% (higher than 5% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: ice: fix NULL access of tx->in_use in ice_ll_ts_intr Recent versions of the E810 firmware have support for an extra interrupt to handle report of the "low latency" Tx timestamps coming from the specialized low latency firmware interface. Instead of polling the registers, software can wait until the low latency interrupt is fired. This logic makes use of the Tx timestamp tracking structure, ice_ptp_tx, as it uses the same "ready" bitmap to track which Tx timestamps complete. Unfortunately, the ice_ll_ts_intr() function does not check if the tracker is initialized before its first access. This results in NULL dereference or use-after-free bugs similar to the issues fixed in the ice_ptp_ts_irq() function. Fix this by only checking the in_use bitmap (and other fields) if the tracker is marked as initialized. The reset flow will clear the init field under lock before it tears the tracker down, thus preventing any use-after-free or NULL access.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 82e71b226e0ef770d7bc143701c8b4960b4eb3d5 before 2cde98a02da958357fe240a6ba269b69d913b6ba, from 82e71b226e0ef770d7bc143701c8b4960b4eb3d5 before 923c267bdbb64f65bc1149d184efcf8b047d7d64, from 82e71b226e0ef770d7bc143701c8b4960b4eb3d5 before f6486338fde3f04ed0ec59fe67a69a208c32734f, 6.8
Not affected: before 6.8, from 6.12.46 up to 6.12.*, from 6.16.6 up to 6.16.*, from 6.17 up to *
CVE List
linux linux_kernelfrom 6.8 before 6.12.46, from 6.13 before 6.16.6, 6.17NVD

All scores

Linux7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CISA-ADP7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-416

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: ice: fix NULL access of tx->in_use in ice_ll_ts_intr Recent versions of the E810 firmware have support for an extra interrupt to handle report of the "low latency" Tx timestamps coming from the specialized low latency firmware interface. Instead of polling the registers, software can wait until the low latency interrupt is fired. This logic makes use of the Tx timestamp tracking structure, ice_ptp_tx, as it uses the same "ready" bitmap to track which Tx timestamps complete. Unfortunately, the ice_ll_ts_intr() function does not check if the tracker is initialized before its first access. This results in NULL dereference or use-after-free bugs similar to the issues fixed in the ice_ptp_ts_irq() function. Fix this by only checking the in_use bitmap (and other fields) if the tracker is marked as initialized. The reset flow will clear the init field under lock before it tears the tracker down, thus preventing any use-after-free or NULL access.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: ice: corrige el acceso NULL de tx->in_use en ice_ll_ts_intr Las versiones recientes del firmware E810 tienen soporte para una interrupción adicional para manejar el informe de las marcas de tiempo Tx de 'baja latencia' provenientes de la interfaz de firmware especializada de baja latencia. En lugar de sondear los registros, el software puede esperar hasta que se active la interrupción de baja latencia. Esta lógica hace uso de la estructura de seguimiento de marcas de tiempo Tx, ice_ptp_tx, ya que utiliza el mismo mapa de bits 'ready' para rastrear qué marcas de tiempo Tx se completan. Desafortunadamente, la función ice_ll_ts_intr() no verifica si el rastreador está inicializado antes de su primer acceso. Esto resulta en errores de desreferencia NULL o uso después de liberación similares a los problemas corregidos en la función ice_ptp_ts_irq(). Soluciona esto verificando solo el mapa de bits in_use (y otros campos) si el rastreador está marcado como inicializado. El flujo de reinicio borrará el campo init bajo bloqueo antes de desmantelar el rastreador, evitando así cualquier uso después de liberación o acceso NULL.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-39854 changed 2026-08-05CVE Terms of Use
NVDCVE-2025-39854 changed 2026-10-19Public domain