CVE-2022-49488

drm/msm/mdp5: Return error code in mdp5_mixer_release when deadlock is detected

State
Published
Severity
Not scored
Published
Feb 26, 2025
Updated
May 11, 2026
Reserved
Feb 26, 2025

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

drm/msm/mdp5: Return error code in mdp5_mixer_release when deadlock is detected

There is a possibility for mdp5_get_global_state to return -EDEADLK when acquiring the modeset lock, but currently global_state in mdp5_mixer_release doesn't check for if an error is returned.

To avoid a NULL dereference error, let's have mdp5_mixer_release check if an error is returned and propagate that error.

Patchwork: https://patchwork.freedesktop.org/patch/485181/

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 7907a0d77cb461f58045763c205a5830be72e97c to before 1a5d1474026ea4f1a6f931075ca2adb884af39cfAffected
  • 7907a0d77cb461f58045763c205a5830be72e97c to before 22d8424913b1348c6324916745fadaeea5273f0eAffected
  • 7907a0d77cb461f58045763c205a5830be72e97c to before 883f1d52a57bf51e1d7a80c432345e2c6222477eAffected
  • 7907a0d77cb461f58045763c205a5830be72e97c to before 09bdeedc1fc53e64b8282e1de67752c69e43bdbaAffected
  • 7907a0d77cb461f58045763c205a5830be72e97c to before 47e393061049aff6818d1b9fdca7351411a23fc2Affected
  • 7907a0d77cb461f58045763c205a5830be72e97c to before 46e5ce63924a96af452c4fc5ee0bb3b241e1b9f4Affected
  • 7907a0d77cb461f58045763c205a5830be72e97c to before ca75f6f7c6f89365e40f10f641b15981b1f07c31Affected
LinuxLinux
  • 4.18Affected
  • before 4.18Not affected
  • 4.19.247 through 4.19.*Not affected
  • 5.4.198 through 5.4.*Not affected
  • 5.10.121 through 5.10.*Not affected
  • 5.15.46 through 5.15.*Not affected
  • 5.17.14 through 5.17.*Not affected
  • 5.18.3 through 5.18.*Not affected
  • 5.19 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.