In _htabmaplookupanddeletebatch of hashtab.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.
{
"types": [
"EoP"
],
"severity": "Moderate",
"fixes": [
"https://android.googlesource.com/kernel/common/+/c4eb1f403243fc7bbb7de644db8587c03de36da6"
],
"vanir_signatures": [
{
"deprecated": false,
"signature_type": "Function",
"digest": {
"length": 3574.0,
"function_hash": "127331074739203562560229732259510439617"
},
"source": "https://android.googlesource.com/kernel/common/+/c4eb1f403243fc7bbb7de644db8587c03de36da6",
"id": "PUB-A-197155069-5385d91f",
"target": {
"function": "__htab_map_lookup_and_delete_batch",
"file": "kernel/bpf/hashtab.c"
},
"signature_version": "v1"
},
{
"deprecated": false,
"signature_type": "Line",
"digest": {
"line_hashes": [
"212658755389406059833830562300516653499",
"201381836538477114258617779280796146030",
"302285419246911275932144487388570272238",
"262131155964030128750198698395094825846",
"120523421720983727123488074848466022665"
],
"threshold": 0.9
},
"source": "https://android.googlesource.com/kernel/common/+/c4eb1f403243fc7bbb7de644db8587c03de36da6",
"id": "PUB-A-197155069-dd80b817",
"target": {
"file": "kernel/bpf/hashtab.c"
},
"signature_version": "v1"
}
],
"spl": "2021-10-05"
}