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.
[
{
"digest": {
"function_hash": "270968375603079999585572639790265802553",
"length": 2280.0
},
"id": "CVE-2025-38122-01d32152",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2e5ead9e4e91fbe7799bd38afd8904543be1cb51",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "gve_tx_add_skb_no_copy_dqo",
"file": "drivers/net/ethernet/google/gve/gve_tx_dqo.c"
},
"signature_type": "Function"
},
{
"digest": {
"function_hash": "267777416257532620807529707422151239890",
"length": 1228.0
},
"id": "CVE-2025-38122-043101c3",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7f6265fce3bd424ded666481b37f106d7915fb6b",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "gve_tx_add_skb_dqo",
"file": "drivers/net/ethernet/google/gve/gve_tx_dqo.c"
},
"signature_type": "Function"
},
{
"digest": {
"function_hash": "267777416257532620807529707422151239890",
"length": 1228.0
},
"id": "CVE-2025-38122-182705b9",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@12c331b29c7397ac3b03584e12902990693bc248",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "gve_tx_add_skb_dqo",
"file": "drivers/net/ethernet/google/gve/gve_tx_dqo.c"
},
"signature_type": "Function"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"73406991356065055315213612585128499473",
"253886885234360040279746335910302666973",
"109112186254782043952565424146337088354",
"749629038681393157769354711194496475"
]
},
"id": "CVE-2025-38122-25f02933",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@12c331b29c7397ac3b03584e12902990693bc248",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "drivers/net/ethernet/google/gve/gve_tx_dqo.c"
},
"signature_type": "Line"
},
{
"digest": {
"function_hash": "270968375603079999585572639790265802553",
"length": 2280.0
},
"id": "CVE-2025-38122-2babd77c",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ae98a1787fdcb0096d122bc80d93c3c7d812c04b",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "gve_tx_add_skb_no_copy_dqo",
"file": "drivers/net/ethernet/google/gve/gve_tx_dqo.c"
},
"signature_type": "Function"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"73406991356065055315213612585128499473",
"253886885234360040279746335910302666973",
"109112186254782043952565424146337088354",
"749629038681393157769354711194496475"
]
},
"id": "CVE-2025-38122-2cc1a06e",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a0319c9b1648a67511e947a596ca86888451c0a7",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "drivers/net/ethernet/google/gve/gve_tx_dqo.c"
},
"signature_type": "Line"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"250105738119389742924020853775066580698",
"5682335024140397579311637400228439308",
"335720657252847775273071199506166177902",
"251493096997787624463557808471825794100"
]
},
"id": "CVE-2025-38122-9b62dcd3",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2e5ead9e4e91fbe7799bd38afd8904543be1cb51",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "drivers/net/ethernet/google/gve/gve_tx_dqo.c"
},
"signature_type": "Line"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"73406991356065055315213612585128499473",
"253886885234360040279746335910302666973",
"109112186254782043952565424146337088354",
"749629038681393157769354711194496475"
]
},
"id": "CVE-2025-38122-a5987ef3",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7f6265fce3bd424ded666481b37f106d7915fb6b",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "drivers/net/ethernet/google/gve/gve_tx_dqo.c"
},
"signature_type": "Line"
},
{
"digest": {
"function_hash": "267777416257532620807529707422151239890",
"length": 1228.0
},
"id": "CVE-2025-38122-a79015f0",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a0319c9b1648a67511e947a596ca86888451c0a7",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "gve_tx_add_skb_dqo",
"file": "drivers/net/ethernet/google/gve/gve_tx_dqo.c"
},
"signature_type": "Function"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"250105738119389742924020853775066580698",
"5682335024140397579311637400228439308",
"335720657252847775273071199506166177902",
"251493096997787624463557808471825794100"
]
},
"id": "CVE-2025-38122-be6235a7",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ae98a1787fdcb0096d122bc80d93c3c7d812c04b",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "drivers/net/ethernet/google/gve/gve_tx_dqo.c"
},
"signature_type": "Line"
},
{
"digest": {
"function_hash": "267777416257532620807529707422151239890",
"length": 1228.0
},
"id": "CVE-2025-38122-c6b3483c",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c741a7ef68023ac800054e2131c3e22e647fd7e3",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "gve_tx_add_skb_dqo",
"file": "drivers/net/ethernet/google/gve/gve_tx_dqo.c"
},
"signature_type": "Function"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"73406991356065055315213612585128499473",
"253886885234360040279746335910302666973",
"109112186254782043952565424146337088354",
"749629038681393157769354711194496475"
]
},
"id": "CVE-2025-38122-f8210bd8",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c741a7ef68023ac800054e2131c3e22e647fd7e3",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "drivers/net/ethernet/google/gve/gve_tx_dqo.c"
},
"signature_type": "Line"
}
]