A race condition between hugetlb sysctl handlers in mm/hugetlb.c in the Linux kernel before 5.8.8 could be used by local attackers to corrupt memory, cause a NULL pointer dereference, or possibly have unspecified other impact, aka CID-17743798d812.
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-25285.json"
[
{
"id": "CVE-2020-25285-7601c79c",
"signature_type": "Function",
"digest": {
"function_hash": "154081086041580517127473271631497752087",
"length": 586.0
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@17743798d81238ab13050e8e2833699b54e15467",
"target": {
"function": "hugetlb_overcommit_handler",
"file": "mm/hugetlb.c"
},
"deprecated": false
},
{
"id": "CVE-2020-25285-abb4a445",
"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"
]
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@17743798d81238ab13050e8e2833699b54e15467",
"target": {
"file": "mm/hugetlb.c"
},
"deprecated": false
},
{
"id": "CVE-2020-25285-b4e3a09c",
"signature_type": "Function",
"digest": {
"function_hash": "302141843589403206817579250493394775559",
"length": 500.0
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@17743798d81238ab13050e8e2833699b54e15467",
"target": {
"function": "hugetlb_sysctl_handler_common",
"file": "mm/hugetlb.c"
},
"deprecated": false
}
]