CVE-2025-38122

Source
https://cve.org/CVERecord?id=CVE-2025-38122
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38122.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-38122
Downstream
Related
Published
2025-07-03T08:35:28.582Z
Modified
2026-03-12T02:18:33.872444Z
Summary
gve: add missing NULL check for gve_alloc_pending_packet() in TX DQO
Details

In the Linux kernel, the following vulnerability has been resolved:

gve: add missing NULL check for gveallocpending_packet() in TX DQO

gveallocpendingpacket() can return NULL, but gvetxaddskb_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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38122.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a57e5de476be0b4b7f42beb6a21c19ad9c577aa3
Fixed
ae98a1787fdcb0096d122bc80d93c3c7d812c04b
Fixed
2e5ead9e4e91fbe7799bd38afd8904543be1cb51
Fixed
7f6265fce3bd424ded666481b37f106d7915fb6b
Fixed
a0319c9b1648a67511e947a596ca86888451c0a7
Fixed
c741a7ef68023ac800054e2131c3e22e647fd7e3
Fixed
12c331b29c7397ac3b03584e12902990693bc248

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38122.json"