# CVE-2025-38122: gve: add missing NULL check for gve_alloc_pending_packet() in TX DQO

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 12% of CVEs (2026-12-01)
- Published: 2025-07-03T08:35:28.582Z
- Modified: 2026-11-05T21:18:10.497Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from a57e5de476be0b4b7f42beb6a21c19ad9c577aa3 before ae98a1787fdcb0096d122bc80d93c3c7d812c04b; from a57e5de476be0b4b7f42beb6a21c19ad9c577aa3 before 2e5ead9e4e91fbe7799bd38afd8904543be1cb51; from a57e5de476be0b4b7f42beb6a21c19ad9c577aa3 before 7f6265fce3bd424ded666481b37f106d7915fb6b; from a57e5de476be0b4b7f42beb6a21c19ad9c577aa3 before a0319c9b1648a67511e947a596ca86888451c0a7; from a57e5de476be0b4b7f42beb6a21c19ad9c577aa3 before c741a7ef68023ac800054e2131c3e22e647fd7e3; from a57e5de476be0b4b7f42beb6a21c19ad9c577aa3 before 12c331b29c7397ac3b03584e12902990693bc248; 5.14 (not affected: before 5.14; from 5.15.186 up to 5.15.*; from 6.1.142 up to 6.1.*; from 6.6.94 up to 6.6.*; from 6.12.34 up to 6.12.*; from 6.15.3 up to 6.15.*; from 6.16 up to *)
- linux linux_kernel: from 5.14 before 5.15.186; from 5.16 before 6.1.142; from 6.2 before 6.6.94; from 6.7 before 6.12.34; from 6.13 before 6.15.3
- debian debian_linux: 11.0

## References

- <https://git.kernel.org/stable/c/ae98a1787fdcb0096d122bc80d93c3c7d812c04b> (patch)
- <https://git.kernel.org/stable/c/2e5ead9e4e91fbe7799bd38afd8904543be1cb51> (patch)
- <https://git.kernel.org/stable/c/7f6265fce3bd424ded666481b37f106d7915fb6b> (patch)
- <https://git.kernel.org/stable/c/a0319c9b1648a67511e947a596ca86888451c0a7> (patch)
- <https://git.kernel.org/stable/c/c741a7ef68023ac800054e2131c3e22e647fd7e3> (patch)
- <https://git.kernel.org/stable/c/12c331b29c7397ac3b03584e12902990693bc248> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html> (third-party-advisory)

## Sources

- CVE List: [CVE-2025-38122](https://www.cve.org/CVERecord?id=CVE-2025-38122), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2025-38122](https://nvd.nist.gov/vuln/detail/CVE-2025-38122), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2025-38122 · Whole record: https://cve.day/CVE-2025-38122.json · Rebuilt by cve.day 2026-11-25T22:59:00.521Z
