CVE-2025-38122 gve: add missing NULL check for gve_alloc_pending_packet() in TX DQO
A missing NULL check in the gve network driver can cause a kernel crash during packet transmission when memory allocation fails.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-38122?
CVE-2025-38122 is a medium-severity vulnerability in Debian Debian Linux, published on 3 Jul 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
gve: add missing NULL check for gve_alloc_pending_packet() in TX DQO
gve_alloc_pending_packet() can return NULL, but gve_tx_add_skb_dqo() did not check for this case before dereferencing the returned pointer.
Add a missing NULL check to prevent a potential NULL pointer dereference when allocation fails.
This improves robustness in low-memory scenarios.
Weakness: CWE-476
Which versions are affected by CVE-2025-38122?
It affects 2 products.
Products include Debian Debian Linux, Linux kernel.
How do I fix CVE-2025-38122?
Apply the vendor's patch.
Is CVE-2025-38122 being exploited?
There is no known exploitation of CVE-2025-38122 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as AZL-64598, BELL-CVE-2025-38122, DEBIAN-CVE-2025-38122, GHSA-7pxg-rrcr-gqm5, ROOT-OS-DEBIAN-12-CVE-2025-38122, ROOT-OS-UBUNTU-2204-CVE-2025-38122 and 2 more.