CVE-2024-43840
mediumpriority · track · 22EPSS 0.002 · 14 %ileDEEURUUSEPSS · scored 2026-10-27
In the Linux kernel, the following vulnerability has been resolved: bpf, arm64: Fix trampoline for BPF_TRAMP_F_CALL_ORIG When BPF_TRAMP_F_CALL_ORIG is set, the trampoline calls __bpf_tramp_enter() and __bpf_tramp_exit() functions, passing them the struct bpf_tramp_image *im pointer as an argument in R0. The trampoline generation code uses emit_addr_mov_i64() to emit instructions for moving the bpf_tramp_image address into R0, but emit_addr_mov_i64() assumes the address to be in the vmalloc() space and uses only 48 bits. Because bpf_tramp_image is allocated using kzalloc(), its address can use more than 48-bits, in this case the trampoline will pass an invalid address to __bpf_tramp_enter/exit() causing a kernel crash. Fix this by using emit_a64_mov_i64() in place of emit_addr_mov_i64() as it can work with addresses that are greater than 48-bits.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5.1–7.8
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (43)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2024-1875Linux Kernel: Mehrere Schwachstellen ermöglichen Denial of ServiceDeutsch2024-08-18csaf · cert_bundDE
Ein lokaler Angreifer kann mehrere Schwachstellen in Linux Kernel ausnutzen, um einen Denial of Service Angriff durchzuführen oder unbekannte Auswirkungen zu erzielen.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (13)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2024-43840cnnvd
- https://cxsecurity.com/cveshow/CVE-2024-43840/cnnvd
- https://git.kernel.org/stable/c/19d3c179a37730caf600a97fed3794feac2b197bcnnvd
- https://git.kernel.org/stable/c/6d218fcc707d6b2c3616b6cd24b948fd4825cfeccnnvd
- https://git.kernel.org/stable/c/077149478497b2f00ff4fd9da2c892defa6418d8enisa_euvd
- https://git.kernel.org/stable/c/19d3c179a37730caf600a97fed3794feac2b197benisa_euvd
- https://git.kernel.org/stable/c/6d218fcc707d6b2c3616b6cd24b948fd4825cfecenisa_euvd
- https://git.kernel.org/stable/c/d9664e6ff040798a46cdc5d401064f55b8676c83enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan