In the Linux kernel, the following vulnerability has been resolved:
drm/msm/mdp5: Return error code in mdp5_pipe_release when deadlock is detected
mdp5_get_global_state runs the risk of hitting a -EDEADLK when acquiring the modeset lock, but currently mdp5_pipe_release doesn't check for if an error is returned. Because of this, there is a possibility of mdp5_pipe_release hitting a NULL dereference error.
To avoid this, let's have mdp5_pipe_release check if mdp5_get_global_state returns an error and propogate that error.
Changes since v1: - Separated declaration and initialization of *new_state to avoid compiler warning - Fixed some spelling mistakes in commit message
Changes since v2: - Return 0 in case where hwpipe is NULL as this is considered normal behavior - Added 2nd patch in series to fix a similar NULL dereference issue in mdp5_mixer_release
Patchwork: https://patchwork.freedesktop.org/patch/485179/
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-gkeUpgrade linux-raspi-5.4Upgrade linux-bluefieldUpgrade linux-ibm-5.4Upgrade linux-aws-5.4Upgrade linuxUpgrade linux-fipsUpgrade linux-lowlatency-hwe-5.15Upgrade linux-oracle-5.15Upgrade linux-aws-5.15Upgrade linux-raspiUpgrade linux-riscv-5.15Upgrade linux-lowlatencyUpgrade linux-oracle-5.4Upgrade linux-realtimeUpgrade linux-intel-iotgUpgrade linux-awsUpgrade linux-gcp-5.15Upgrade linux-iotUpgrade linux-ibmUpgrade linux-azure-5.4Upgrade linux-gcp-5.4Upgrade linux-gcpUpgrade linux-azure-fipsUpgrade linux-gkeopUpgrade linux-aws-fipsUpgrade linux-azure-5.15Upgrade linux-gcp-fipsUpgrade linux-intel-iotg-5.15Upgrade linux-kvmUpgrade linux-hwe-5.4Upgrade linux-hwe-5.15Upgrade linux-nvidiaUpgrade linux-azureUpgrade linux-oracle | 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