CVE-2022-49232: drm/amd/display: Fix a NULL pointer dereference in amdgpu_dm_connector_add_common_modes()
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.
Security readout for executives and security teams
Plain-English summary
This Linux kernel flaw can let a local authenticated user trigger a crash path in the AMD display driver, causing availability impact. It does not indicate data theft or remote compromise. The provided sources say it was found by static analysis and fixed by adding a NULL check.
Executive priority
Treat as a routine kernel availability patch, not an emergency remote-compromise issue. Prioritize shared workstations, lab systems, and multi-user Linux hosts where a local crash has business impact.
Technical view
In amdgpu_dm_connector_add_common_modes(), a failed amdgpu_dm_create_common_mode() call could leave mode NULL, then drm_mode_probed_add() dereferenced mode->head. The result is CWE-476 NULL pointer dereference with CVSS 5.5 local availability impact. Stable kernel commits add the missing NULL check.
Likely exposure
Exposure is most likely on Linux systems running the listed affected kernel versions with the AMDGPU display stack in use. Practical exposure depends on hardware, kernel packaging, and whether distribution kernels have backported the stable fixes.
Exploitation context
The CVSS vector requires local privileges and no user interaction. The bundle does not show KEV listing or active exploitation. The source text states the issue was found by a static analyzer, which lowers evidence of real-world weaponization.
Researcher notes
Evidence is limited to the CVE record and Linux stable commit references. The affected-version data includes both commit identifiers and version ranges, so validate against vendor kernel packaging rather than relying only on upstream version numbers.
Mitigation direction
Update to a Linux kernel containing the referenced stable fixes.
Check distribution advisories for backported kernel packages.
Prioritize multi-user systems with AMDGPU display exposure.
Restrict unnecessary local access where patching is delayed.
Validation and detection
Inventory Linux kernel versions against the affected version list.
Confirm the installed kernel includes a referenced stable fix or distro backport.
Identify hosts using AMDGPU DRM/display functionality.
Review kernel crash logs for related NULL dereference symptoms.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-476: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-476 · source CWE mapping
NULL Pointer Dereference
NULL Pointer Dereference represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.