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.
CVSS Details
- CVSS 3.1 Base Score: 5.5
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Debian | — | Upgrade linux | Feb 27, 2025 | Feb 27, 2025 |
| Ubuntu | — | Upgrade linux-gcp-fipsUpgrade linux-azure-4.15Upgrade linux-intel-iotg-5.15Upgrade linux-oracleUpgrade linux-kvmUpgrade linux-ibmUpgrade linux-iotUpgrade linux-azureUpgrade linux-gcpUpgrade linux-awsUpgrade linux-bluefieldUpgrade linux-gcp-5.4Upgrade linux-gcp-4.15Upgrade linux-raspi-5.4Upgrade linux-azure-5.15Upgrade linux-aws-fipsUpgrade linux-hwe-5.15Upgrade linux-hwe-5.4Upgrade linux-azure-5.4Upgrade linux-hweUpgrade linux-intel-iotgUpgrade linux-ibm-5.4Upgrade linux-lowlatency-hwe-5.15Upgrade linux-aws-hweUpgrade linux-realtimeUpgrade linux-oracle-5.4Upgrade linux-aws-5.4Upgrade linux-gkeUpgrade linux-lowlatencyUpgrade linux-raspiUpgrade linuxUpgrade linux-azure-fipsUpgrade linux-fips | Mar 3, 2025 | Feb 26, 2025 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | May 27, 2026 | Feb 26, 2025 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub