{"id":"CVE-2025-38735","aliases":["CVE-2025-38735"],"related":[],"kind":"vulnerability","state":"published","title":"gve: prevent ethtool ops after shutdown","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ngve: prevent ethtool ops after shutdown\n\nA crash can occur if an ethtool operation is invoked\nafter shutdown() is called.\n\nshutdown() is invoked during system shutdown to stop DMA operations\nwithout performing expensive deallocations. It is discouraged to\nunregister the netdev in this path, so the device may still be visible\nto userspace and kernel helpers.\n\nIn gve, shutdown() tears down most internal data structures. If an\nethtool operation is dispatched after shutdown(), it will dereference\nfreed or NULL pointers, leading to a kernel panic. While graceful\nshutdown normally quiesces userspace before invoking the reboot\nsyscall, forced shutdowns (as observed on GCP VMs) can still trigger\nthis path.\n\nFix by calling netif_device_detach() in shutdown().\nThis marks the device as detached so the ethtool ioctl handler\nwill skip dispatching operations to the driver.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ngve: prevent ethtool ops after shutdown\n\nA crash can occur if an ethtool operation is invoked\nafter shutdown() is called.\n\nshutdown() is invoked during system shutdown to stop DMA operations\nwithout performing expensive deallocations. It is discouraged to\nunregister the netdev in this path, so the device may still be visible\nto userspace and kernel helpers.\n\nIn gve, shutdown() tears down most internal data structures. If an\nethtool operation is dispatched after shutdown(), it will dereference\nfreed or NULL pointers, leading to a kernel panic. While graceful\nshutdown normally quiesces userspace before invoking the reboot\nsyscall, forced shutdowns (as observed on GCP VMs) can still trigger\nthis path.\n\nFix by calling netif_device_detach() in shutdown().\nThis marks the device as detached so the ethtool ioctl handler\nwill skip dispatching operations to the driver.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\ngve: evitar operaciones de ethtool después del apagado\n\nPuede ocurrir un fallo si se invoca una operación de ethtool después de que se llama a shutdown().\n\nshutdown() 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.\n\nEn 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.\n\nSolució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.","source":"nvd"}],"published":"2025-09-05T17:20:35.459Z","modified":"2026-10-19T21:10:00.160Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"974365e518617c9ce917f61aacbba07e4bedcca0","fixed":"48a4e89d50e8ea52e800bc7865970b92fcf4647c","status":"affected"},{"type":"git","introduced":"974365e518617c9ce917f61aacbba07e4bedcca0","fixed":"ba51d73408edf815cbaeab148625576c2dd90192","status":"affected"},{"type":"git","introduced":"974365e518617c9ce917f61aacbba07e4bedcca0","fixed":"a7efffeecb881b4649fdc30de020ef910f35d646","status":"affected"},{"type":"git","introduced":"974365e518617c9ce917f61aacbba07e4bedcca0","fixed":"9d8a41e9a4ff83ff666de811e7f012167cdc00e9","status":"affected"},{"type":"git","introduced":"974365e518617c9ce917f61aacbba07e4bedcca0","fixed":"75a9a46d67f46d608205888f9b34e315c1786345","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.17","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.17","status":"unaffected"},{"type":"semver","introduced":"6.1.149","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.103","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.44","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.16.4","lastAffected":"6.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.17","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.17","fixed":"6.1.149"},{"status":"affected","introduced":"6.2","fixed":"6.6.103"},{"status":"affected","introduced":"6.7","fixed":"6.12.44"},{"status":"affected","introduced":"6.13","fixed":"6.16.4"},{"status":"affected","version":"6.17"},{"status":"affected","version":"6.17"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/48a4e89d50e8ea52e800bc7865970b92fcf4647c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ba51d73408edf815cbaeab148625576c2dd90192","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a7efffeecb881b4649fdc30de020ef910f35d646","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9d8a41e9a4ff83ff666de811e7f012167cdc00e9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/75a9a46d67f46d608205888f9b34e315c1786345","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":["mailing-list","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-032379.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-15T21:53:07.302Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-38735","url":"https://www.cve.org/CVERecord?id=CVE-2025-38735","licence":"CVE Terms of Use","modified":"2026-10-15T22:02:28.815Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-38735","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38735","licence":"Public domain","modified":"2026-10-19T21:10:00.160Z"}],"updatedAt":"2026-11-25T22:59:04.254Z","epss":{"score":0.00187,"percentile":0.08731,"date":"2026-12-01T12:00:22.000Z"}}