In the Linux kernel, the following vulnerability has been resolved:
drm/amdgpu: Fix memory leak in hpdrxirqcreateworkqueue()
If construction of the array of work queues to handle hpdrxirq offload work fails, we need to unwind. Destroy all the created workqueues and the allocated memory for the hpdrxirqoffloadwork_queue struct array.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50515.json",
"cna_assigner": "Linux"
}[
{
"signature_type": "Function",
"digest": {
"function_hash": "18976255810229228113689686098896361579",
"length": 476.0
},
"signature_version": "v1",
"id": "CVE-2022-50515-001bf5c7",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3ba3814c00a4817eb1cd31eff08d921c40e5f3a4",
"target": {
"file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c",
"function": "hpd_rx_irq_create_workqueue"
}
},
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"140019213932548837217746838003649506065",
"337475872397872638369591692723629833754",
"253380882864876016303790456347389652396",
"181360785849212109605017402031691585866",
"262134717698280153565461871140657875650",
"134287126680383029854131910550472767758",
"95377443386775561701939344515007713224",
"53996043634167956634905622666291797440"
],
"threshold": 0.9
},
"id": "CVE-2022-50515-5c060ac1",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8b8da09da2701330e7f2c371655887e3d7defe90",
"target": {
"file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"
}
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"function_hash": "18976255810229228113689686098896361579",
"length": 476.0
},
"id": "CVE-2022-50515-68a94ab2",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8b8da09da2701330e7f2c371655887e3d7defe90",
"target": {
"file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c",
"function": "hpd_rx_irq_create_workqueue"
}
},
{
"signature_type": "Line",
"digest": {
"line_hashes": [
"140019213932548837217746838003649506065",
"337475872397872638369591692723629833754",
"253380882864876016303790456347389652396",
"181360785849212109605017402031691585866",
"262134717698280153565461871140657875650",
"134287126680383029854131910550472767758",
"95377443386775561701939344515007713224",
"53996043634167956634905622666291797440"
],
"threshold": 0.9
},
"signature_version": "v1",
"id": "CVE-2022-50515-6cb191de",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7136f956c73c4ba50bfeb61653dfd6a9669ea915",
"target": {
"file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"target": {
"file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c",
"function": "hpd_rx_irq_create_workqueue"
},
"id": "CVE-2022-50515-7081526f",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@600de40ed50c8b5ecb9c7a4f41eb882066c15a00",
"digest": {
"function_hash": "18976255810229228113689686098896361579",
"length": 476.0
}
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"function_hash": "18976255810229228113689686098896361579",
"length": 476.0
},
"id": "CVE-2022-50515-ae65e425",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7136f956c73c4ba50bfeb61653dfd6a9669ea915",
"target": {
"file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c",
"function": "hpd_rx_irq_create_workqueue"
}
},
{
"signature_type": "Line",
"signature_version": "v1",
"target": {
"file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"
},
"id": "CVE-2022-50515-af89bf22",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3ba3814c00a4817eb1cd31eff08d921c40e5f3a4",
"digest": {
"line_hashes": [
"140019213932548837217746838003649506065",
"337475872397872638369591692723629833754",
"253380882864876016303790456347389652396",
"181360785849212109605017402031691585866",
"262134717698280153565461871140657875650",
"134287126680383029854131910550472767758",
"95377443386775561701939344515007713224",
"53996043634167956634905622666291797440"
],
"threshold": 0.9
}
},
{
"signature_type": "Line",
"signature_version": "v1",
"target": {
"file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"
},
"id": "CVE-2022-50515-ceac5de4",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@600de40ed50c8b5ecb9c7a4f41eb882066c15a00",
"digest": {
"line_hashes": [
"140019213932548837217746838003649506065",
"337475872397872638369591692723629833754",
"253380882864876016303790456347389652396",
"181360785849212109605017402031691585866",
"262134717698280153565461871140657875650",
"134287126680383029854131910550472767758",
"95377443386775561701939344515007713224",
"53996043634167956634905622666291797440"
],
"threshold": 0.9
}
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50515.json"