In the Linux kernel, the following vulnerability has been resolved:
drm/amdgpu: Fix size validation for non-exclusive domains (v4)
Fix amdgpubovalidate_size() to check whether the TTM domain manager for the requested memory exists, else we get a kernel oops when dereferencing "man".
v2: Make the patch standalone, i.e. not dependent on local patches. v3: Preserve old behaviour and just check that the manager pointer is not NULL. v4: Complain if GTT domain requested and it is uninitialized--most likely a bug.
[
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@80546eef216854a7bd47e39e828f04b406c00599",
"deprecated": false,
"id": "CVE-2022-50527-89da7694",
"signature_type": "Function",
"digest": {
"function_hash": "154390719021688866456522704256206068999",
"length": 537.0
},
"target": {
"function": "amdgpu_bo_validate_size",
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_object.c"
}
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7554886daa31eacc8e7fac9e15bbce67d10b8f1f",
"deprecated": false,
"id": "CVE-2022-50527-991b00ac",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"152692039292620467761501719692124323967",
"165519297859269761588251813436944907209",
"29083701483281453601109830591276054307",
"317960512491941424750693074145923871897",
"139856812639462599616471440308691484368",
"139850815212429982715554360270158032095",
"323776454478647171818187261436309517991",
"188021730290191104548807985544072214808",
"124845044185914773530523993160326321222",
"272330154295984120724731439497904991114",
"299621344302038475991103291907558609505",
"196012738629226787597525628225693675244",
"139850815212429982715554360270158032095",
"323776454478647171818187261436309517991",
"22063992210559300543076973829803288342",
"276724982101181025694146884556575863946",
"268429778188237136290381397268852062574"
]
},
"target": {
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_object.c"
}
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8ba7c55e112f4ffd2a95b99be1cb1c891ef08ba1",
"deprecated": false,
"id": "CVE-2022-50527-aeaf3b99",
"signature_type": "Function",
"digest": {
"function_hash": "154390719021688866456522704256206068999",
"length": 537.0
},
"target": {
"function": "amdgpu_bo_validate_size",
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_object.c"
}
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@80546eef216854a7bd47e39e828f04b406c00599",
"deprecated": false,
"id": "CVE-2022-50527-bcd5ab02",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"152692039292620467761501719692124323967",
"165519297859269761588251813436944907209",
"29083701483281453601109830591276054307",
"317960512491941424750693074145923871897",
"139856812639462599616471440308691484368",
"139850815212429982715554360270158032095",
"323776454478647171818187261436309517991",
"188021730290191104548807985544072214808",
"124845044185914773530523993160326321222",
"272330154295984120724731439497904991114",
"299621344302038475991103291907558609505",
"196012738629226787597525628225693675244",
"139850815212429982715554360270158032095",
"323776454478647171818187261436309517991",
"22063992210559300543076973829803288342",
"276724982101181025694146884556575863946",
"268429778188237136290381397268852062574"
]
},
"target": {
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_object.c"
}
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8ba7c55e112f4ffd2a95b99be1cb1c891ef08ba1",
"deprecated": false,
"id": "CVE-2022-50527-c245b3c9",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"152692039292620467761501719692124323967",
"165519297859269761588251813436944907209",
"29083701483281453601109830591276054307",
"317960512491941424750693074145923871897",
"139856812639462599616471440308691484368",
"139850815212429982715554360270158032095",
"323776454478647171818187261436309517991",
"188021730290191104548807985544072214808",
"124845044185914773530523993160326321222",
"272330154295984120724731439497904991114",
"299621344302038475991103291907558609505",
"196012738629226787597525628225693675244",
"139850815212429982715554360270158032095",
"323776454478647171818187261436309517991",
"22063992210559300543076973829803288342",
"276724982101181025694146884556575863946",
"268429778188237136290381397268852062574"
]
},
"target": {
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_object.c"
}
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7554886daa31eacc8e7fac9e15bbce67d10b8f1f",
"deprecated": false,
"id": "CVE-2022-50527-ff4d6faa",
"signature_type": "Function",
"digest": {
"function_hash": "154390719021688866456522704256206068999",
"length": 537.0
},
"target": {
"function": "amdgpu_bo_validate_size",
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_object.c"
}
}
]