CVE-2022-49488

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

MEDIUM
5.5
CVSS Score
Published: February 26, 2025 at 02:13 AM UTC
Updated: June 17, 2026 at 05:18 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%

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/

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.18 ≤ v < 4.19.2474.18 ≤ v < 5.10.1214.18 ≤ v < 5.15.464.18 ≤ v < 5.17.144.18 ≤ v < 5.18.34.18 ≤ v < 5.194.18 ≤ v < 5.4.1984.20 ≤ v < 5.4.1985.11 ≤ v < 5.15.465.16 ≤ v < 5.17.145.18 ≤ v < 5.18.35.5 ≤ v < 5.10.1214.187907a0d77cb461f58045763c205a5830be72e97c
Vendor states this is fixed in 09bdeedc1fc53e64b8282e1de67752c69e43bdba (fixed)
Vendor states this is fixed in 1a5d1474026ea4f1a6f931075ca2adb884af39cf (fixed)
Vendor states this is fixed in 22d8424913b1348c6324916745fadaeea5273f0e (fixed)
Vendor states this is fixed in 46e5ce63924a96af452c4fc5ee0bb3b241e1b9f4 (fixed)
Vendor states this is fixed in 47e393061049aff6818d1b9fdca7351411a23fc2 (fixed)
Vendor states this is fixed in 883f1d52a57bf51e1d7a80c432345e2c6222477e (fixed)
Vendor states this is fixed in ca75f6f7c6f89365e40f10f641b15981b1f07c31 (fixed)
Vendor states this is fixed in 4.18 (unaffected)
Vendor states this is fixed in 4.19.247 (unaffected)
Vendor states this is fixed in 5.10.121 (unaffected)
Vendor states this is fixed in 5.15.46 (unaffected)
Vendor states this is fixed in 5.17.14 (unaffected)
Vendor states this is fixed in 5.18.3 (unaffected)
Vendor states this is fixed in 5.19 (unaffected)
Vendor states this is fixed in 5.4.198 (unaffected)

References (7)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/09bdeedc1fc53e64b8282e1de67752c69e43bdba
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1a5d1474026ea4f1a6f931075ca2adb884af39cf
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/22d8424913b1348c6324916745fadaeea5273f0e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/46e5ce63924a96af452c4fc5ee0bb3b241e1b9f4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/47e393061049aff6818d1b9fdca7351411a23fc2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/883f1d52a57bf51e1d7a80c432345e2c6222477e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ca75f6f7c6f89365e40f10f641b15981b1f07c31

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card