In the Linux kernel, the following vulnerability has been resolved:
bpf: fix overflow check in adjustjmpoff()
adjustjmpoff() incorrectly used the insn->imm field for all overflow check, which is incorrect as that should only be done or the BPFJMP32 | BPFJA case, not the general jump instruction case. Fix it by using insn->off for overflow check in the general case.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/43xxx/CVE-2024-43838.json"
}[
{
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@345652866a8869825a2a582ee5a28d75141f184a",
"digest": {
"function_hash": "32064541471030127221464556565565697264",
"length": 680.0
},
"target": {
"file": "kernel/bpf/verifier.c",
"function": "adjust_jmp_off"
},
"id": "CVE-2024-43838-5fa72880",
"deprecated": false,
"signature_version": "v1"
},
{
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@345652866a8869825a2a582ee5a28d75141f184a",
"digest": {
"threshold": 0.9,
"line_hashes": [
"137926955721614905679926979680223916004",
"329653976703588529501337039994014120193",
"330561694740356926705675207580118401125",
"82961598277953784603825432132224885988"
]
},
"target": {
"file": "kernel/bpf/verifier.c"
},
"id": "CVE-2024-43838-7de22ea9",
"deprecated": false,
"signature_version": "v1"
},
{
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4a04b4f0de59dd5c621e78f15803ee0b0544eeb8",
"digest": {
"function_hash": "32064541471030127221464556565565697264",
"length": 680.0
},
"target": {
"file": "kernel/bpf/verifier.c",
"function": "adjust_jmp_off"
},
"id": "CVE-2024-43838-93ef05ce",
"deprecated": false,
"signature_version": "v1"
},
{
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4a04b4f0de59dd5c621e78f15803ee0b0544eeb8",
"digest": {
"threshold": 0.9,
"line_hashes": [
"137926955721614905679926979680223916004",
"329653976703588529501337039994014120193",
"330561694740356926705675207580118401125",
"82961598277953784603825432132224885988"
]
},
"target": {
"file": "kernel/bpf/verifier.c"
},
"id": "CVE-2024-43838-bce1e6f2",
"deprecated": false,
"signature_version": "v1"
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-43838.json"