An issue was discovered in _splithugepmd in mm/hugememory.c in the Linux kernel before 5.7.5. The copy-on-write implementation can grant unintended write access because of a race condition in a THP mapcount check, aka CID-c444eb564fb1.
[
{
"id": "CVE-2020-29368-1384df1d",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"186575377702378297788877657258455811578",
"62280791117301714953475261891481182799",
"157717077011240822145473274654014649277",
"254348974979409281079232387991930179706",
"297789660306839784457895863694677159988",
"184260271923848413843788031012598222837",
"160587493053965929408564373791498951336",
"303745111411998574222958840361365078339",
"312463488833165955664499971355803067084",
"238308424915957855665396696743588872857",
"41344355247723848313475928304551289332",
"113369615935754813213873612931572692496",
"24352837519995616835921924564141996617",
"339096172300213892236954473131030810260",
"108625528906053915165477637024389099595"
]
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@c444eb564fb16645c172d550359cb3d75fe8a040",
"signature_type": "Line",
"target": {
"file": "mm/huge_memory.c"
}
},
{
"id": "CVE-2020-29368-9cbd6698",
"signature_version": "v1",
"digest": {
"function_hash": "62518233568053495378856513386487914666",
"length": 706.0
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@c444eb564fb16645c172d550359cb3d75fe8a040",
"signature_type": "Function",
"target": {
"file": "mm/huge_memory.c",
"function": "__split_huge_pmd"
}
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-29368.json"