{"id":"CVE-2024-43838","aliases":["CVE-2024-43838"],"related":[],"kind":"vulnerability","state":"published","title":"bpf: fix overflow check in adjust_jmp_off()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: fix overflow check in adjust_jmp_off()\n\nadjust_jmp_off() incorrectly used the insn->imm field for all overflow check,\nwhich is incorrect as that should only be done or the BPF_JMP32 | BPF_JA case,\nnot the general jump instruction case. Fix it by using insn->off for overflow\ncheck in the general case.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: fix overflow check in adjust_jmp_off()\n\nadjust_jmp_off() incorrectly used the insn->imm field for all overflow check,\nwhich is incorrect as that should only be done or the BPF_JMP32 | BPF_JA case,\nnot the general jump instruction case. Fix it by using insn->off for overflow\ncheck in the general case.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: bpf: corrigió la verificación de desbordamiento en ajustar_jmp_off() ajuste_jmp_off() usó incorrectamente el campo insn-&gt;imm para toda la verificación de desbordamiento, lo cual es incorrecto ya que eso solo debe hacerse o el BPF_JMP32 | Caso BPF_JA, no el caso de instrucción de salto general. Solucionelo usando insn-&gt;off para verificar el desbordamiento en el caso general.","source":"nvd"}],"published":"2024-08-17T09:21:54.435Z","modified":"2026-06-17T07:51:48.747Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-190"],"affected":[{"ranges":[{"type":"git","introduced":"5337ac4c9b807bc46baa0713121a0afa8beacd70","fixed":"345652866a8869825a2a582ee5a28d75141f184a","status":"affected"},{"type":"git","introduced":"5337ac4c9b807bc46baa0713121a0afa8beacd70","fixed":"4a04b4f0de59dd5c621e78f15803ee0b0544eeb8","status":"affected"},{"type":"git","version":"e47a1a791d32bd6c8f71d23c84294f2c053553a1","status":"affected"},{"type":"semver","introduced":"6.9.8","fixed":"6.10","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.10","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.10","status":"unaffected"},{"type":"semver","introduced":"6.10.3","lastAffected":"6.10.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.11","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.9.8","fixed":"6.10"},{"status":"affected","introduced":"6.10","fixed":"6.10.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/345652866a8869825a2a582ee5a28d75141f184a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4a04b4f0de59dd5c621e78f15803ee0b0544eeb8","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T16:08:05.624Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-43838","url":"https://www.cve.org/CVERecord?id=CVE-2024-43838","licence":"CVE Terms of Use","modified":"2026-05-23T15:52:59.011Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-43838","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-43838","licence":"Public domain","modified":"2026-06-17T07:51:48.747Z"}],"updatedAt":"2026-11-25T22:58:44.497Z","epss":{"score":0.0018,"percentile":0.07922,"date":"2026-12-01T12:00:22.000Z"}}