CVE-2024-40937

CVE-2024-40937

Critical · published July 12, 2024

CVSS v3.1
9.8
EPSS
1%
Percentile
53.9
In the wild
Unconfirmed
What it is

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

gve: Clear napi->skb before dev_kfree_skb_any()

gve_rx_free_skb incorrectly leaves napi->skb referencing an skb after it

is freed with dev_kfree_skb_any(). This can result in a subsequent call

to napi_get_frags returning a dangling pointer.

Fix this by clearing napi->skb before the skb is freed.

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00736 · 53.9th percentile
Published
2024-07-12T17:15Z
Affected products (7)
ProductVersionsFixed in
linux/linux_kernel≥ 5.14, < 5.15.1625.15.162
linux/linux_kernel≥ 5.16, < 6.1.956.1.95
linux/linux_kernel≥ 6.2, < 6.6.356.6.35
linux/linux_kernel≥ 6.7, < 6.9.66.9.6
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (11)
EPSS history
Timeline
  • 12 JUL 12:25Z
    gve: Clear napi->skb before dev_kfree_skb_any()
    cvelistv5