In kernel/bpf/verifier.c in the Linux kernel before 5.12.13, a branch can be mispredicted (e.g., because of type confusion) and consequently an unprivileged BPF program can read arbitrary memory locations via a side-channel attack, aka CID-9183671af6db.
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-33624.json"
[
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/9183671af6dbf60a1219371d4ed73e23f43b49db",
"digest": {
"function_hash": "32653678893902881579926818039230907689",
"length": 3863.0
},
"id": "CVE-2021-33624-34eb81b5",
"deprecated": false,
"target": {
"file": "kernel/bpf/verifier.c",
"function": "check_cond_jmp_op"
}
},
{
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/9183671af6dbf60a1219371d4ed73e23f43b49db",
"digest": {
"line_hashes": [
"60850601962465657158815817840183952836",
"143589189965846392984288394408743626159",
"301210211422653652762659188153820169765",
"95012466990241041208453679397487856631",
"307841147685495308477848163057250475916",
"301232170167465154403775808463790207874",
"288990171149790219777869049205077777952",
"125754611973880678206041639480375150390",
"231225297307873020023402636843366505771",
"3710012433221537929095347956628490179",
"168915136337139760887599403251048518366",
"145809540642685039813183969911790996895",
"222011903573894606885841934489458012518",
"218674645174299429890296138610860607156",
"336320583678698448538953241819827277894"
],
"threshold": 0.9
},
"id": "CVE-2021-33624-3c9e442a",
"deprecated": false,
"target": {
"file": "kernel/bpf/verifier.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/9183671af6dbf60a1219371d4ed73e23f43b49db",
"digest": {
"function_hash": "259919993252887849580676068297576348468",
"length": 1391.0
},
"id": "CVE-2021-33624-cfc956b5",
"deprecated": false,
"target": {
"file": "kernel/bpf/verifier.c",
"function": "sanitize_ptr_alu"
}
}
]