CVE-2022-49232
AMD Display NULL Pointer Dereference Vulnerability
Description
In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Fix a NULL pointer dereference in amdgpu_dm_connector_add_common_modes() In amdgpu_dm_connector_add_common_modes(), amdgpu_dm_create_common_mode() is assigned to mode and is passed to drm_mode_probed_add() directly after that. drm_mode_probed_add() passes &mode->head to list_add_tail(), and there is a dereference of it in list_add_tail() without recoveries, which could lead to NULL pointer dereference on failure of amdgpu_dm_create_common_mode(). Fix this by adding a NULL check of mode. This bug was found by a static analyzer. Builds with 'make allyesconfig' show no new warnings, and our static analyzer no longer warns about this code.
INFO
Published Date :
Feb. 26, 2025, 7:01 a.m.
Last Modified :
March 18, 2025, 7:26 p.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
3.6
Exploitability Score :
1.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-49232
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-49232
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-49232
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Mar. 18, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE CWE-476 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20 up to (excluding) 5.4.189 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.33 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.17 up to (excluding) 5.17.2 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.15 up to (excluding) 4.19.238 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.110 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 5.16.19 Added Reference Type kernel.org: https://git.kernel.org/stable/c/19a7eba284790cfbba2945deb2363cf03ce41648 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/2c729dec8c1e3e2892fde5ce8181553860914e74 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/57f4ad5e286fe4599c8fc63cf89f85f9eec7f9c9 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/588a70177df3b1777484267584ef38ab2ca899a2 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/639b3b9def0a6a3f316a195d705d14113236e89c Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/bdc7429708a0772d90c208975694f7c2133b1202 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/f4eaa999fec78dec2a9c2d797438e05cbffb125b Types: Patch -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Feb. 26, 2025
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Fix a NULL pointer dereference in amdgpu_dm_connector_add_common_modes() In amdgpu_dm_connector_add_common_modes(), amdgpu_dm_create_common_mode() is assigned to mode and is passed to drm_mode_probed_add() directly after that. drm_mode_probed_add() passes &mode->head to list_add_tail(), and there is a dereference of it in list_add_tail() without recoveries, which could lead to NULL pointer dereference on failure of amdgpu_dm_create_common_mode(). Fix this by adding a NULL check of mode. This bug was found by a static analyzer. Builds with 'make allyesconfig' show no new warnings, and our static analyzer no longer warns about this code. Added Reference https://git.kernel.org/stable/c/19a7eba284790cfbba2945deb2363cf03ce41648 Added Reference https://git.kernel.org/stable/c/2c729dec8c1e3e2892fde5ce8181553860914e74 Added Reference https://git.kernel.org/stable/c/57f4ad5e286fe4599c8fc63cf89f85f9eec7f9c9 Added Reference https://git.kernel.org/stable/c/588a70177df3b1777484267584ef38ab2ca899a2 Added Reference https://git.kernel.org/stable/c/639b3b9def0a6a3f316a195d705d14113236e89c Added Reference https://git.kernel.org/stable/c/bdc7429708a0772d90c208975694f7c2133b1202 Added Reference https://git.kernel.org/stable/c/f4eaa999fec78dec2a9c2d797438e05cbffb125b
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-49232
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-49232
weaknesses.