Bug 2376037 (CVE-2025-38122) - CVE-2025-38122 kernel: gve: add missing NULL check for gve_alloc_pending_packet() in TX DQO
Summary: CVE-2025-38122 kernel: gve: add missing NULL check for gve_alloc_pending_pack...
Keywords:
Status: NEW
Alias: CVE-2025-38122
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-07-03 09:01 UTC by OSIDB Bzimport
Modified: 2025-07-03 20:14 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-07-03 09:01:37 UTC
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.

Comment 1 Avinash Hanwate 2025-07-03 20:06:12 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025070327-CVE-2025-38122-cd8d@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.