CVE-2022-49232
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2022
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
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.
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
unaffected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| e7b07ceef2a650e5ed8ca37997689e086c680daf | affected | git | 2c729dec8c1e3e2892fde5ce8181553860914e74 | Unavailable | None listed |
| e7b07ceef2a650e5ed8ca37997689e086c680daf | affected | git | 57f4ad5e286fe4599c8fc63cf89f85f9eec7f9c9 | Unavailable | None listed |
| e7b07ceef2a650e5ed8ca37997689e086c680daf | affected | git | 19a7eba284790cfbba2945deb2363cf03ce41648 | Unavailable | None listed |
| e7b07ceef2a650e5ed8ca37997689e086c680daf | affected | git | bdc7429708a0772d90c208975694f7c2133b1202 | Unavailable | None listed |
| e7b07ceef2a650e5ed8ca37997689e086c680daf | affected | git | f4eaa999fec78dec2a9c2d797438e05cbffb125b | Unavailable | None listed |
| e7b07ceef2a650e5ed8ca37997689e086c680daf | affected | git | 639b3b9def0a6a3f316a195d705d14113236e89c | Unavailable | None listed |
| e7b07ceef2a650e5ed8ca37997689e086c680daf | affected | git | 588a70177df3b1777484267584ef38ab2ca899a2 | Unavailable | None listed |
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
affected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 4.15 | affected | Unavailable | Unavailable | Unavailable | None listed |
| 0 | unaffected | semver | 4.15 | Unavailable | None listed |
| 4.19.238 | unaffected | semver | Unavailable | 4.19.* | None listed |
| 5.4.189 | unaffected | semver | Unavailable | 5.4.* | None listed |
| 5.10.110 | unaffected | semver | Unavailable | 5.10.* | None listed |
| 5.15.33 | unaffected | semver | Unavailable | 5.15.* | None listed |
| 5.16.19 | unaffected | semver | Unavailable | 5.16.* | None listed |
| 5.17.2 | unaffected | semver | Unavailable | 5.17.* | None listed |
| 5.18 | unaffected | original_commit_for_fix | Unavailable | * | None listed |