CVE-2024-40937
published critical CVSS 3.1 · 9.8gve: Clear napi->skb before dev_kfree_skb_any()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux9b8dd5e5ea48bbb7532d20c4093a79d8283e4029 to < 75afd8724739ee5ed8165acde5f6ac3988b485cc · 9b8dd5e5ea48bbb7532d20c4093a79d8283e4029 to < d221284991118c0ab16480b53baecd857c0bc442 · 9b8dd5e5ea48bbb7532d20c4093a79d8283e4029 to < 2ce5341c36993b776012601921d7688693f8c037 · 9b8dd5e5ea48bbb7532d20c4093a79d8283e4029 to < a68184d5b420ea4fc7e6b7ceb52bbc66f90d3c50 · 9b8dd5e5ea48bbb7532d20c4093a79d8283e4029 to < 6f4d93b78ade0a4c2cafd587f7b429ce95abb02e · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.14 (affected) · 0 to < 5.14 (unaffected · semver) · 5.15.162 through 5.15.* (unaffected · semver) · 6.1.95 through 6.1.* (unaffected · semver) · 6.6.35 through 6.6.* (unaffected · semver) · 6.9.6 through 6.9.* (unaffected · semver) · 6.10 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | bookworm | linux | Advisory build | 6.1.99-1 | DSA-5731-1 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaultppc64le | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.119-1~deb11u1 | DLA-4008-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 8 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-210.163.7.el8uek | ELSA-2024-12618 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| Oracle Linux | 9 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-210.163.7.el9uek | ELSA-2024-12618 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaults390x | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaultx86_64 | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-rtx86_64 | Advisory build | 4.12.14-10.197.1 | SUSE-SU-2024:2892-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaultppc64le | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaults390x | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaultx86_64 | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-rtx86_64 | Advisory build | 4.12.14-10.197.1 | SUSE-SU-2024:2892-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaultppc64le | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaults390x | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaultx86_64 | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-rtx86_64 | Advisory build | 4.12.14-10.197.1 | SUSE-SU-2024:2892-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-azurex86_64 | Advisory build | 4.12.14-16.194.1 | SUSE-SU-2024:2901-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-azure-basex86_64 | Advisory build | 4.12.14-16.194.1 | SUSE-SU-2024:2901-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-azure-develx86_64 | Advisory build | 4.12.14-16.194.1 | SUSE-SU-2024:2901-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaultaarch64 | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaultppc64le | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaults390x | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaultx86_64 | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-baseaarch64 | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-baseppc64le | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-bases390x | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-basex86_64 | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-develaarch64 | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-develppc64le | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-devels390x | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-develx86_64 | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-extrax86_64 | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraftppc64le | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgrafts390x | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraftx86_64 | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraft-develppc64le | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraft-devels390x | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraft-develx86_64 | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-mans390x | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-develnoarch | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-devel-azurenoarch | Advisory build | 4.12.14-16.194.1 | SUSE-SU-2024:2901-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-devel-rtnoarch | Advisory build | 4.12.14-10.197.1 | SUSE-SU-2024:2892-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-docsnoarch | Advisory build | 4.12.14-122.225.2 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-macrosnoarch | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-obs-buildaarch64 | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-obs-buildppc64le | Advisory build | 4.12.14-122.225.1 | SUSE-SU-2024:2940-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:N - The vulnerable code is the gVNIC DQO NAPI receive poll (`gve_rx_poll_dqo`), executed in softirq context for every frame arriving on the wire. gve is the primary NIC on Google Compute Engine instances that are routinely internet-facing, so a remote attacker reaches the code purely by sending packets. AC:L - The attacker controls both trigger ingredients — packet shape (large multi-buffer/RSC frames above rx_copybreak, malformed or truncated frames causing the device to set rx_error mid-packet) and the traffic volume that drives the GFP_ATOMIC allocation failures in gve_rx_append_frags/gve_rx_copy_ondemand. The error path can be provoked repeatedly at line rate until it lands. PR:N - There is no syscall, ioctl, socket, capability check or authentication anywhere on the path; the receive poll runs unconditionally on incoming frames. An entirely unauthenticated off-host attacker can reach it. UI:N - No victim action is required — the driver processes received packets automatically in softirq context. Simply having the interface up is sufficient. S:U - The corruption is confined to the kernel's own memory within the same security authority; there is no crossing of a VM, IOMMU or sandbox boundary. Standard kernel-level compromise is Unchanged. C:H - The stale napi->skb is a freed sk_buff on the heavily-sprayable skbuff_head_cache; the driver and the subsequent napi_gro_frags/GRO path read skb->head, skb->data, skb_headlen and skb_shinfo from reallocated memory, so attacker-groomed or unrelated kernel data is parsed and can be leaked out via the receive path. I:H - The dangling pointer is written through — skb_add_rx_frag updates len/data_len/truesize and skb_shinfo, and gve_rx_complete_skb writes hash, ip_summed, gso_type and gso_size into freed memory — giving a write-after-free into a general-purpose slab plus a subsequent double free, which is the classic basis for control-flow hijack and privilege escalation. A:H - Use of the freed sk_buff reliably produces slab corruption, KASAN splats, list corruption and kernel panics, and the double free of the skb compounds this. A remote attacker can crash the host repeatedly.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 9b8dd5e5ea48bbb7532d20c4093a79d8283e4029 to < 75afd8724739ee5ed8165acde5f6ac3988b485cc (affected · git)9b8dd5e5ea48bbb7532d20c4093a79d8283e4029 to < d221284991118c0ab16480b53baecd857c0bc442 (affected · git)9b8dd5e5ea48bbb7532d20c4093a79d8283e4029 to < 2ce5341c36993b776012601921d7688693f8c037 (affected · git)9b8dd5e5ea48bbb7532d20c4093a79d8283e4029 to < a68184d5b420ea4fc7e6b7ceb52bbc66f90d3c50 (affected · git)9b8dd5e5ea48bbb7532d20c4093a79d8283e4029 to < 6f4d93b78ade0a4c2cafd587f7b429ce95abb02e (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.14 (affected)0 to < 5.14 (unaffected · semver)5.15.162 through 5.15.* (unaffected · semver)6.1.95 through 6.1.* (unaffected · semver)6.6.35 through 6.6.* (unaffected · semver)6.9.6 through 6.9.* (unaffected · semver)6.10 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
6- https://git.kernel.org/stable/c/2ce5341c36993b776012601921d7688693f8c037
- https://git.kernel.org/stable/c/6f4d93b78ade0a4c2cafd587f7b429ce95abb02e
- https://git.kernel.org/stable/c/75afd8724739ee5ed8165acde5f6ac3988b485cc
- https://git.kernel.org/stable/c/a68184d5b420ea4fc7e6b7ceb52bbc66f90d3c50
- https://git.kernel.org/stable/c/d221284991118c0ab16480b53baecd857c0bc442
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
Provider assertions
3Linux · cna
gve: Clear napi->skb before dev_kfree_skb_any()
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 774c1eb068698089df616f5a133be53bb8f04ece6bc92d7226fc2ac997cd7f97
- Ingested
- 23 Sep 2026, 08:26:02 UTC
- Source record
- Official CVE record