preallocelemsand_freelist in kernel/bpf/stackmap.c in the Linux kernel before 5.14.12 allows unprivileged users to trigger an eBPF multiplication integer overflow with a resultant out-of-bounds write.
[
{
"digest": {
"length": 472.0,
"function_hash": "78331623464240500637050481890227317480"
},
"source": "https://github.com/torvalds/linux/commit/30e29a9a2bc6a4888335a6ede968b75cd329657a",
"deprecated": false,
"id": "CVE-2021-41864-2f0e15c3",
"signature_type": "Function",
"target": {
"function": "prealloc_elems_and_freelist",
"file": "kernel/bpf/stackmap.c"
},
"signature_version": "v1"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"138355671117931060601386443469335038030",
"21078963703448784961734780795509455909",
"307878453625655919730588976003179522762",
"90440858909143805989969151470339403945"
]
},
"source": "https://github.com/torvalds/linux/commit/30e29a9a2bc6a4888335a6ede968b75cd329657a",
"deprecated": false,
"id": "CVE-2021-41864-39de1582",
"signature_type": "Line",
"target": {
"file": "kernel/bpf/stackmap.c"
},
"signature_version": "v1"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-41864.json"