In preallocelemsand_freelist of stackmap.c, there is a possible out of bounds write due to an integer overflow. This could lead to local escalation of privilege with System execution privileges needed. User interaction is not needed for exploitation.
{
"spl": "2022-03-05",
"severity": "Moderate",
"types": [
"EoP"
],
"vanir_signatures": [
{
"id": "PUB-A-202511260-3ca95fcd",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"line_hashes": [
"138355671117931060601386443469335038030",
"21078963703448784961734780795509455909",
"307878453625655919730588976003179522762",
"90440858909143805989969151470339403945"
],
"threshold": 0.9
},
"target": {
"file": "kernel/bpf/stackmap.c"
},
"source": "https://android.googlesource.com/kernel/common/+/30e29a9a2bc6a4888335a6ede968b75cd329657a"
},
{
"id": "PUB-A-202511260-7e8b55b7",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"function_hash": "78331623464240500637050481890227317480",
"length": 472.0
},
"target": {
"file": "kernel/bpf/stackmap.c",
"function": "prealloc_elems_and_freelist"
},
"source": "https://android.googlesource.com/kernel/common/+/30e29a9a2bc6a4888335a6ede968b75cd329657a"
}
],
"fixes": [
"https://android.googlesource.com/kernel/common/+/30e29a9a2bc6a4888335a6ede968b75cd329657a"
]
}