{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-43840","published":"2024-08-17T10:15:09.517000Z","last_modified":"2026-08-04T11:19:53.603000Z","status":"Modified","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":[],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.0","version_end_excluding":"6.10.3"}],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux_kernel"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00326,"percentile":0.18105,"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-43840/","html_en":"/en/cve/CVE-2024-43840/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-43840","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-43840"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf, arm64: Fix trampoline for BPF_TRAMP_F_CALL_ORIG\n\nWhen BPF_TRAMP_F_CALL_ORIG is set, the trampoline calls\n__bpf_tramp_enter() and __bpf_tramp_exit() functions, passing them\nthe struct bpf_tramp_image *im pointer as an argument in R0.\n\nThe trampoline generation code uses emit_addr_mov_i64() to emit\ninstructions for moving the bpf_tramp_image address into R0, but\nemit_addr_mov_i64() assumes the address to be in the vmalloc() space\nand uses only 48 bits. Because bpf_tramp_image is allocated using\nkzalloc(), its address can use more than 48-bits, in this case the\ntrampoline will pass an invalid address to __bpf_tramp_enter/exit()\ncausing a kernel crash.\n\nFix this by using emit_a64_mov_i64() in place of emit_addr_mov_i64()\nas it can work with addresses that are greater than 48-bits.","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/077149478497b2f00ff4fd9da2c892defa6418d8","tags":[]},{"url":"https://git.kernel.org/stable/c/19d3c179a37730caf600a97fed3794feac2b197b","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/6d218fcc707d6b2c3616b6cd24b948fd4825cfec","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/d9664e6ff040798a46cdc5d401064f55b8676c83","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html","tags":[]}]}}