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 / product | Versions |
|---|---|
| Linux / Linux | affected 5337ac4c9b807bc46baa0713121a0afa8beacd70 before 345652866a8869825a2a582ee5a28d75141f184a; affected 5337ac4c9b807bc46baa0713121a0afa8beacd70 before 4a04b4f0de59dd5c621e78f15803ee0b0544eeb8; affected e47a1a791d32bd6c8f71d23c84294f2c053553a1; affected 6.9.8 before 6.10 |
| Linux / Linux | affected 6.10; unaffected 0 before 6.10; unaffected 6.10.3 through 6.10.*; unaffected 6.11 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/345652866a8869825a2a582ee5a28d75141f184a
- https://git.kernel.org/stable/c/4a04b4f0de59dd5c621e78f15803ee0b0544eeb8
ADP enrichment
No English description supplied.
No references supplied.