# CVE-2022-49488: drm/msm/mdp5: Return error code in mdp5_mixer_release when deadlock is detected

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2025-02-26T02:13:26.116Z
- Modified: 2026-06-17T05:18:12.663Z
- Weaknesses: CWE-476
- Assigned by: Linux

## 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/

(As written by CVE List.)

## Affected

- Linux Linux: from 7907a0d77cb461f58045763c205a5830be72e97c before 1a5d1474026ea4f1a6f931075ca2adb884af39cf; from 7907a0d77cb461f58045763c205a5830be72e97c before 22d8424913b1348c6324916745fadaeea5273f0e; from 7907a0d77cb461f58045763c205a5830be72e97c before 883f1d52a57bf51e1d7a80c432345e2c6222477e; from 7907a0d77cb461f58045763c205a5830be72e97c before 09bdeedc1fc53e64b8282e1de67752c69e43bdba; from 7907a0d77cb461f58045763c205a5830be72e97c before 47e393061049aff6818d1b9fdca7351411a23fc2; from 7907a0d77cb461f58045763c205a5830be72e97c before 46e5ce63924a96af452c4fc5ee0bb3b241e1b9f4; from 7907a0d77cb461f58045763c205a5830be72e97c before ca75f6f7c6f89365e40f10f641b15981b1f07c31; 4.18 (not affected: before 4.18; from 4.19.247 up to 4.19.*; from 5.4.198 up to 5.4.*; from 5.10.121 up to 5.10.*; from 5.15.46 up to 5.15.*; from 5.17.14 up to 5.17.*; from 5.18.3 up to 5.18.*; from 5.19 up to *)
- linux linux_kernel: from 4.18 before 4.19.247; from 4.20 before 5.4.198; from 5.5 before 5.10.121; from 5.11 before 5.15.46; from 5.16 before 5.17.14; from 5.18 before 5.18.3

## References

- <https://git.kernel.org/stable/c/1a5d1474026ea4f1a6f931075ca2adb884af39cf> (patch)
- <https://git.kernel.org/stable/c/22d8424913b1348c6324916745fadaeea5273f0e> (patch)
- <https://git.kernel.org/stable/c/883f1d52a57bf51e1d7a80c432345e2c6222477e> (patch)
- <https://git.kernel.org/stable/c/09bdeedc1fc53e64b8282e1de67752c69e43bdba> (patch)
- <https://git.kernel.org/stable/c/47e393061049aff6818d1b9fdca7351411a23fc2> (patch)
- <https://git.kernel.org/stable/c/46e5ce63924a96af452c4fc5ee0bb3b241e1b9f4> (patch)
- <https://git.kernel.org/stable/c/ca75f6f7c6f89365e40f10f641b15981b1f07c31> (patch)

## Sources

- CVE List: [CVE-2022-49488](https://www.cve.org/CVERecord?id=CVE-2022-49488), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-49488](https://nvd.nist.gov/vuln/detail/CVE-2022-49488), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-49488 · Whole record: https://cve.day/CVE-2022-49488.json · Rebuilt by cve.day 2026-11-25T22:58:20.685Z
