What’s Vulnerable › Vulnerabilities
CVE-2024-43838: bpf: fix overflow check in adjust_jmp_off()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-08-17 · updated 2026-06-17
- Weakness: CWE-190
Description
In the Linux kernel, the following vulnerability has been resolved: bpf: fix overflow check in adjust_jmp_off() adjust_jmp_off() incorrectly used the insn->imm field for all overflow check, which is incorrect as that should only be done or the BPF_JMP32 | BPF_JA case, not the general jump instruction case. Fix it by using insn->off for overflow check in the general case.
Affected products
- Linux kernel: from 6.9.8 before 6.10; from 6.10 before 6.10.3 — fixed in 6.10, 6.10.3
How to fix
Upgrade to a fixed version: Linux kernel 6.10, 6.10.3. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/345652866a8869825a2a582ee5a28d75141f184a
- https://git.kernel.org/stable/c/4a04b4f0de59dd5c621e78f15803ee0b0544eeb8
Get alerted when CVE-2024-43838 or the next vulnerability affects your stack