In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Fix potential null-deref in dm_resume
[Why] Fixing smatch error: dmresume() error: we previously assumed 'aconnector->dclink' could be null
[How] Check if dc_link null at the beginning of the loop, so further checks can be dropped.
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fd79b61af2782f8875c78f50cdb8630ec43e2990",
"id": "CVE-2022-50535-cebec4b1",
"signature_type": "Line",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"
},
"digest": {
"line_hashes": [
"164372630192560915562537434760934328479",
"304991003637228455518760529805076103869",
"201157144488114165794611282547483107393",
"29267225313936084065228978108048181284",
"174882769394036104084912510313008060971"
],
"threshold": 0.9
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fd79b61af2782f8875c78f50cdb8630ec43e2990",
"id": "CVE-2022-50535-f06e083f",
"signature_type": "Function",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "dm_resume",
"file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"
},
"digest": {
"function_hash": "76346460658693160366137255945848588800",
"length": 1705.0
}
}
]