All reports
Medium

kernel: bpf: fix overflow check in adjust_jmp_off()

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2024-43838

Probability of exploitation in the next 30 days: 0.18%

FIRST EPSS · 2026-11-23

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.

The Linux kernel vulnerability in the BPF subsystem was resolved by fixing the adjust_jmp_off() function. Previously, overflow checks used insn->imm for all jump instructions, which was incorrect.