CVE-2025-38735

In the Linux kernel, the following vulnerability has been resolved: gve: prevent ethtool ops after shutdown A crash can occur if an ethtool operation is invoked after shutdown() is called. shutdown() is invoked during system shutdown to stop DMA operations without performing expensive deallocations. It is discouraged to unregister the netdev in this path, so the device may still be visible to userspace and kernel helpers. In gve, shutdown() tears down most internal data structures. If an ethtool operation is dispatched after shutdown(), it will dereference freed or NULL pointers, leading to a kernel panic. While graceful shutdown normally quiesces userspace before invoking the reboot syscall, forced shutdowns (as observed on GCP VMs) can still trigger this path. Fix by calling netif_device_detach() in shutdown(). This marks the device as detached so the ethtool ioctl handler will skip dispatching operations to the driver.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc2:*:*:*:*:*:*

Configuration 2 (hide)

cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*

History

19 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: gve: evitar operaciones de ethtool después del apagado Puede ocurrir un fallo si se invoca una operación de ethtool después de que se llama a shutdown(). shutdown() se invoca durante el apagado del sistema para detener las operaciones DMA sin realizar desasignaciones costosas. Se desaconseja anular el registro del netdev en esta ruta, por lo que el dispositivo aún puede ser visible para el espacio de usuario y los ayudantes del kernel. En gve, shutdown() desmantela la mayoría de las estructuras de datos internas. Si se despacha una operación de ethtool después de shutdown(), desreferenciará punteros liberados o NULL, lo que lleva a un pánico del kernel. Si bien el apagado elegante normalmente silencia el espacio de usuario antes de invocar la llamada al sistema de reinicio, los apagados forzados (como se observa en las VM de GCP) aún pueden activar esta ruta. Solución llamando a netif_device_detach() en shutdown(). Esto marca el dispositivo como desasociado para que el gestor ioctl de ethtool omita el despacho de operaciones al controlador.

Information

Published : 2025-09-05 18:15

Updated : 2026-10-19 21:10


NVD link : CVE-2025-38735

Mitre link : CVE-2025-38735

CVE.ORG link : CVE-2025-38735


JSON object : View

Products Affected

debian

  • debian_linux

linux

  • linux_kernel
CWE
CWE-476

NULL Pointer Dereference