In hugetlbsysctlhandler_common and related functions of hugetlb.c, there is a possible out of bounds write due to a race condition. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.
{
"types": [
"EoP"
],
"fixes": [
"https://android.googlesource.com/kernel/common/+/17743798d81238ab13050e8e2833699b54e15467"
],
"spl": "2021-10-05",
"severity": "Moderate",
"vanir_signatures": [
{
"signature_version": "v1",
"id": "PUB-A-168881044-25b7b243",
"source": "https://android.googlesource.com/kernel/common/+/17743798d81238ab13050e8e2833699b54e15467",
"deprecated": false,
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"78427202925527779349980016267686973995",
"338377802588085533664388610784190761551",
"256267166488348839840768874250796996296",
"4970458604033063215999046892688571996",
"308375545043524342862824577489080759380",
"316161863518024943443887858991207575451",
"328824381190401889148034092091657180502",
"123731079449201011466761021242276376826",
"90693052548908672831086892649478154469",
"124377126167245379507221920113642622334",
"312595602721307417037474824336717395303",
"34370117864617520962682324390996520906",
"237607865337097299852604719082629131461",
"123731079449201011466761021242276376826",
"90693052548908672831086892649478154469",
"121859444371198340807101242839924512618"
]
},
"target": {
"file": "mm/hugetlb.c"
}
},
{
"signature_version": "v1",
"id": "PUB-A-168881044-581ada1c",
"source": "https://android.googlesource.com/kernel/common/+/17743798d81238ab13050e8e2833699b54e15467",
"deprecated": false,
"signature_type": "Function",
"digest": {
"length": 500.0,
"function_hash": "302141843589403206817579250493394775559"
},
"target": {
"file": "mm/hugetlb.c",
"function": "hugetlb_sysctl_handler_common"
}
},
{
"signature_version": "v1",
"id": "PUB-A-168881044-73179552",
"source": "https://android.googlesource.com/kernel/common/+/17743798d81238ab13050e8e2833699b54e15467",
"deprecated": false,
"signature_type": "Function",
"digest": {
"length": 586.0,
"function_hash": "154081086041580517127473271631497752087"
},
"target": {
"file": "mm/hugetlb.c",
"function": "hugetlb_overcommit_handler"
}
}
]
}