{"id":"CVE-2022-49232","published":"2025-02-26T01:55:58Z","modified":"2026-05-11T18:55:42Z","title":"drm/amd/display: Fix a NULL pointer dereference in amdgpu_dm_connector_add_common_modes()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: Fix a NULL pointer dereference in amdgpu_dm_connector_add_common_modes()\n\nIn amdgpu_dm_connector_add_common_modes(), amdgpu_dm_create_common_mode()\nis assigned to mode and is passed to drm_mode_probed_add() directly after\nthat. drm_mode_probed_add() passes &mode->head to list_add_tail(), and\nthere is a dereference of it in list_add_tail() without recoveries, which\ncould lead to NULL pointer dereference on failure of\namdgpu_dm_create_common_mode().\n\nFix this by adding a NULL check of mode.\n\nThis bug was found by a static analyzer.\n\nBuilds with 'make allyesconfig' show no new warnings,\nand our static analyzer no longer warns about this code.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00269,"percentile":0.19544,"provenance":"source"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"}],"references":[{"url":"https://git.kernel.org/stable/c/2c729dec8c1e3e2892fde5ce8181553860914e74","tags":[]},{"url":"https://git.kernel.org/stable/c/57f4ad5e286fe4599c8fc63cf89f85f9eec7f9c9","tags":[]},{"url":"https://git.kernel.org/stable/c/19a7eba284790cfbba2945deb2363cf03ce41648","tags":[]},{"url":"https://git.kernel.org/stable/c/bdc7429708a0772d90c208975694f7c2133b1202","tags":[]},{"url":"https://git.kernel.org/stable/c/f4eaa999fec78dec2a9c2d797438e05cbffb125b","tags":[]},{"url":"https://git.kernel.org/stable/c/639b3b9def0a6a3f316a195d705d14113236e89c","tags":[]},{"url":"https://git.kernel.org/stable/c/588a70177df3b1777484267584ef38ab2ca899a2","tags":[]}],"priority":{"score":7.8,"factors":[{"name":"EPSS percentile","points":3.91},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= e7b07ceef2a650e5ed8ca37997689e086c680daf, < 2c729dec8c1e3e2892fde5ce8181553860914e74",">= e7b07ceef2a650e5ed8ca37997689e086c680daf, < 57f4ad5e286fe4599c8fc63cf89f85f9eec7f9c9",">= e7b07ceef2a650e5ed8ca37997689e086c680daf, < 19a7eba284790cfbba2945deb2363cf03ce41648",">= e7b07ceef2a650e5ed8ca37997689e086c680daf, < bdc7429708a0772d90c208975694f7c2133b1202",">= e7b07ceef2a650e5ed8ca37997689e086c680daf, < f4eaa999fec78dec2a9c2d797438e05cbffb125b",">= e7b07ceef2a650e5ed8ca37997689e086c680daf, < 639b3b9def0a6a3f316a195d705d14113236e89c",">= e7b07ceef2a650e5ed8ca37997689e086c680daf, < 588a70177df3b1777484267584ef38ab2ca899a2"]},{"vendor":"Linux","product":"Linux","versions":["4.15"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-01T19:46:07.786921Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-54994","exploited":false,"provenance":"source"}}