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

CVE-2025-38122
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.19 % · percentile 9 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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.

Weaknesses (CWE)

  • CWE-476 — NULL Pointer Dereference

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected a57e5de476be0b4b7f42beb6a21c19ad9c577aa3 < ae98a1787fdcb0096d122bc80d93c3c7d812c04b ; affected a57e5de476be0b4b7f42beb6a21c19ad9c577aa3 < 2e5ead9e4e91fbe7799bd38afd8904543be1cb51 ; affected a57e5de476be0b4b7f42beb6a21c19ad9c577aa3 < 7f6265fce3bd424ded666481b37f106d7915fb6b ; affected a57e5de476be0b4b7f42beb6a21c19ad9c577aa3 < a0319c9b1648a67511e947a596ca86888451c0a7 ; affected a57e5de476be0b4b7f42beb6a21c19ad9c577aa3 < c741a7ef68023ac800054e2131c3e22e647fd7e3 ; affected a57e5de476be0b4b7f42beb6a21c19ad9c577aa3 < 12c331b29c7397ac3b03584e12902990693bc248
Linux · Linuxaffected 5.14 ; unaffected 0 < 5.14 ; unaffected 5.15.186 ≤ 5.15.* ; unaffected 6.1.142 ≤ 6.1.* ; unaffected 6.6.94 ≤ 6.6.* ; unaffected 6.12.34 ≤ 6.12.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD