An issue was discovered in the Linux kernel before 5.11.8. kernel/bpf/verifier.c performs undesirable out-of-bounds speculation on pointer arithmetic, leading to side-channel attacks that defeat Spectre mitigations and obtain sensitive information from kernel memory, aka CID-f232326f6966. This affects pointer types that do not define a ptr_limit.
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-27170.json"
[
{
"deprecated": false,
"signature_type": "Function",
"digest": {
"length": 5441.0,
"function_hash": "237130632320402287915129151404081062765"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@f232326f6966cf2a1d1db7bc917a4ce5f9f55f76",
"id": "CVE-2020-27170-57554b1e",
"target": {
"file": "kernel/bpf/verifier.c",
"function": "adjust_ptr_min_max_vals"
}
},
{
"deprecated": false,
"signature_type": "Function",
"digest": {
"length": 794.0,
"function_hash": "126604541501675336527789420133705707050"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@f232326f6966cf2a1d1db7bc917a4ce5f9f55f76",
"id": "CVE-2020-27170-ae300bc9",
"target": {
"file": "kernel/bpf/verifier.c",
"function": "sanitize_ptr_alu"
}
},
{
"deprecated": false,
"signature_type": "Line",
"digest": {
"line_hashes": [
"180841455783467795703113496782457871887",
"257118614456417926188133659900788839136",
"41267845175258279825760507167262690422",
"267550527190971643769709544694719177311",
"193364546096840881381987074053673846899",
"90775551709057973830812023933835910174",
"293601627608731108426224748917287833895",
"10302977814231104138253932061413931264",
"73855573104132816649585704312571781685",
"212977572650590932963696887885226430361",
"197031968747589241251011319380157669827",
"74026223800702950218727260142262351038",
"177074576170073475048763707036330724157",
"268442762844796854166947313042000660647",
"78062727873476785052765981134524948244",
"260945562594781714439086855982511255926",
"321784044010973627583827317091953873833",
"294876745742643239529054088476793699695",
"4950608528543534548819516620256605021"
],
"threshold": 0.9
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@f232326f6966cf2a1d1db7bc917a4ce5f9f55f76",
"id": "CVE-2020-27170-d8ddf4b6",
"target": {
"file": "kernel/bpf/verifier.c"
}
}
]