{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-38574","published":"2024-06-19T14:15:17.520000Z","last_modified":"2026-06-17T07:40:36.967000Z","status":"Analyzed","cvss":{"version":"3.1","score":5.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-476"],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.8","version_end_excluding":"6.8.12"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.9","version_end_excluding":"6.9.3"}],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux_kernel"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00305,"percentile":0.15696,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"medium","priority_score":33,"links":{"html_es":"/es/cve/CVE-2024-38574/","html_en":"/en/cve/CVE-2024-38574/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-38574","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-38574"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nlibbpf: Prevent null-pointer dereference when prog to load has no BTF\n\nIn bpf_objec_load_prog(), there's no guarantee that obj->btf is non-NULL\nwhen passing it to btf__fd(), and this function does not perform any\ncheck before dereferencing its argument (as bpf_object__btf_fd() used to\ndo). As a consequence, we get segmentation fault errors in bpftool (for\nexample) when trying to load programs that come without BTF information.\n\nv2: Keep btf__fd() in the fix instead of reverting to bpf_object__btf_fd().","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/1fd91360a75833b7110af9834ae26c977e1273e0","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/9bf48fa19a4b1d186e08b20bf7e5de26a15644fb","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/ef80b59acfa4dee4b5eaccb15572b69248831104","tags":["Patch"]}]}}