CVE-2025-38735
MediumIn 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.
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-476CVE-2025-38735 is a NULL Pointer Dereference vulnerability
What is NULL Pointer Dereference?
The product dereferences a pointer that it expects to be valid but is NULL, typically causing a crash. Learn more on MITRE CWE
Affected versions
Linux kernel versions
5.17
and later are affected. Fixed in
6.1.149,
6.6.103,
6.12.44,
6.16.4,
6.17
and their respective stable series.
References
The following references provide additional information about CVE-2025-38735 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
Mailing List Third Party Advisory
-
-
PatchKernel patch commithttps://git.kernel.org/stable/c/48a4e89d50e8ea52e800bc7865970b92fcf4647c
-
PatchKernel patch commithttps://git.kernel.org/stable/c/75a9a46d67f46d608205888f9b34e315c1786345
-
PatchKernel patch commithttps://git.kernel.org/stable/c/9d8a41e9a4ff83ff666de811e7f012167cdc00e9
Frequently asked questions
-
What is CVE-2025-38735?
CVE-2025-38735 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 , classified as a NULL Pointer Dereference flaw (CWE-476) . It affects Linux kernel versions from 5.17 onward and has been patched in 6.1.149, 6.6.103, 6.12.44 and others. CVE-2025-38735 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2025-38735?
CVE-2025-38735 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2025-38735?
Yes — CVE-2025-38735 has been patched. Fixed versions include 6.1.149, 6.6.103, 6.12.44 and others. If you are running Linux kernel 5.17 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2025-38735 actively exploited?
No — CVE-2025-38735 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is NULL Pointer Dereference (CWE-476)?
The product dereferences a pointer that it expects to be valid but is NULL, typically causing a crash. View CWE-476 on MITRE CWE →