← CVE Intelligence

CVE-2024-43838

bpf: fix overflow check in adjust_jmp_off() PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 5337ac4c9b807bc46baa0713121a0afa8beacd70 before 345652866a8869825a2a582ee5a28d75141f184a; affected 5337ac4c9b807bc46baa0713121a0afa8beacd70 before 4a04b4f0de59dd5c621e78f15803ee0b0544eeb8; affected e47a1a791d32bd6c8f71d23c84294f2c053553a1; affected 6.9.8 before 6.10
Linux / Linuxaffected 6.10; unaffected 0 before 6.10; unaffected 6.10.3 through 6.10.*; unaffected 6.11 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.