{"id":"CVE-2024-40937","summary":"gve: Clear napi-\u003eskb before dev_kfree_skb_any()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ngve: Clear napi-\u003eskb before dev_kfree_skb_any()\n\ngve_rx_free_skb incorrectly leaves napi-\u003eskb referencing an skb after it\nis freed with dev_kfree_skb_any(). This can result in a subsequent call\nto napi_get_frags returning a dangling pointer.\n\nFix this by clearing napi-\u003eskb before the skb is freed.","modified":"2026-04-02T12:17:21.622856Z","published":"2024-07-12T12:25:13.807Z","related":["SUSE-SU-2024:2802-1","SUSE-SU-2024:2892-1","SUSE-SU-2024:2893-1","SUSE-SU-2024:2894-1","SUSE-SU-2024:2896-1","SUSE-SU-2024:2901-1","SUSE-SU-2024:2902-1","SUSE-SU-2024:2923-1","SUSE-SU-2024:2929-1","SUSE-SU-2024:2939-1","SUSE-SU-2024:2940-1","SUSE-SU-2024:2947-1","SUSE-SU-2024:2948-1","SUSE-SU-2024:2973-1","SUSE-SU-2025:02069-1","SUSE-SU-2025:02095-1","SUSE-SU-2025:02106-1","SUSE-SU-2025:02117-1","SUSE-SU-2025:02124-1","SUSE-SU-2025:02125-1","SUSE-SU-2025:02126-1","SUSE-SU-2025:02131-1","SUSE-SU-2025:02139-1","SUSE-SU-2025:02142-1","SUSE-SU-2025:02144-1","SUSE-SU-2025:02157-1","SUSE-SU-2025:20008-1","SUSE-SU-2025:20028-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40937.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2ce5341c36993b776012601921d7688693f8c037"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6f4d93b78ade0a4c2cafd587f7b429ce95abb02e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/75afd8724739ee5ed8165acde5f6ac3988b485cc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a68184d5b420ea4fc7e6b7ceb52bbc66f90d3c50"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d221284991118c0ab16480b53baecd857c0bc442"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40937.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-40937"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"9b8dd5e5ea48bbb7532d20c4093a79d8283e4029"},{"fixed":"75afd8724739ee5ed8165acde5f6ac3988b485cc"},{"fixed":"d221284991118c0ab16480b53baecd857c0bc442"},{"fixed":"2ce5341c36993b776012601921d7688693f8c037"},{"fixed":"a68184d5b420ea4fc7e6b7ceb52bbc66f90d3c50"},{"fixed":"6f4d93b78ade0a4c2cafd587f7b429ce95abb02e"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-40937.json"}}],"schema_version":"1.7.5"}