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.
[
{
"signature_type": "Function",
"source": "https://github.com/torvalds/linux/commit/30e29a9a2bc6a4888335a6ede968b75cd329657a",
"target": {
"file": "kernel/bpf/stackmap.c",
"function": "prealloc_elems_and_freelist"
},
"id": "CVE-2021-41864-2f0e15c3",
"signature_version": "v1",
"digest": {
"function_hash": "78331623464240500637050481890227317480",
"length": 472.0
},
"deprecated": false
},
{
"signature_type": "Line",
"source": "https://github.com/torvalds/linux/commit/30e29a9a2bc6a4888335a6ede968b75cd329657a",
"target": {
"file": "kernel/bpf/stackmap.c"
},
"id": "CVE-2021-41864-39de1582",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"138355671117931060601386443469335038030",
"21078963703448784961734780795509455909",
"307878453625655919730588976003179522762",
"90440858909143805989969151470339403945"
]
},
"deprecated": false
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-41864.json"