7.8

CVE-2024-43840: bpf, arm64: Fix trampoline for BPF_TRAMP_F_CALL_ORIG

Modified
AliasesUBUNTU-CVE-2024-43840DEBIAN-CVE-2024-43840
Published 17-08-2024Last modified 05-08-2026

Vulnerability summary

CVE-2024-43840 is a high (CVSS 7.8) vulnerability in linux. EPSS estimates a 0.23% chance of exploitation in the next 30 days, higher than 14% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.23%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 12 · Related 10

Timeline

  1. 17-08-2024
    PublishedVulnerability first disclosed.
  2. 05-08-2026
    Last modifiedVulnerability information updated.

Description

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 metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.23%

Chance of exploitation in the next 30 days

Percentile

14%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.23% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu93 products
  • linux< 6.8.0-50.51
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-aws< 6.8.0-1020.22
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ efc9909fdce00a827a37609628223cd45bf95d0b, < 077149478497b2f00ff4fd9da2c892defa6418d8 | ≥ efc9909fdce00a827a37609628223cd45bf95d0b, < d9664e6ff040798a46cdc5d401064f55b8676c83 | ≥ efc9909fdce00a827a37609628223cd45bf95d0b, < 6d218fcc707d6b2c3616b6cd24b948fd4825cfec | ≥ efc9909fdce00a827a37609628223cd45bf95d0b, < 19d3c179a37730caf600a97fed3794feac2b197b | 6.0
  • linux_kernel≥ 6.0, < 6.10.3
Debian1 product
  • linux< 6.1.140-1 | < 6.10.3-1

3 vendors · 96 products

References

15 links
Show all 15 references