Skip to main content
Network Thinking Solutions Logo

CVE-2022-49490

Linux kernel: drm/msm/mdp5: Return error code in mdp5_pipe_release when deadlock is detected

All CVEs
CVE-2022-49490Published 2/26/2025

Linux kernel: drm/msm/mdp5: Return error code in mdp5_pipe_release when deadlock is detected

Vendor advisory
CVSS5.5Medium

Overview

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/

Published
2/26/2025
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 4.18, < 4.19.247

Verify advisory

Source
linux kernel
linux
≥ 4.20, < 5.4.198

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.121

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.46

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 5.17.14

Verify advisory

Source
linux kernel
linux
≥ 5.18, < 5.18.3

Verify advisory

Source
Linux
Linux
≥ 7907a0d77cb461f58045763c205a5830be72e97c, < 776f5c58bfe16cf322d71eeed3c5dda1eeac7e6b

Verify advisory

Source
Linux
Linux
≥ 7907a0d77cb461f58045763c205a5830be72e97c, < b2aa2c4efe93e2580d6a8774b04fe2b99756a322

Verify advisory

Source
Linux
Linux
≥ 7907a0d77cb461f58045763c205a5830be72e97c, < 49dc28b4b2e28ef7564e355c91487996c1cbebd7

Verify advisory

Source
Linux
Linux
≥ 7907a0d77cb461f58045763c205a5830be72e97c, < 04bef5f1ba8ea6d7c1c8f5f65e0395c62db59cb8

Verify advisory

Source
Linux
Linux
≥ 7907a0d77cb461f58045763c205a5830be72e97c, < 19964dfb39bda4d7716a71009488f0668ecbcf52

Verify advisory

Source
Linux
Linux
≥ 7907a0d77cb461f58045763c205a5830be72e97c, < 33dc5aac46e0fad8f5eb193e5906ed0eb6b66ceb

Verify advisory

Source
Linux
Linux
≥ 7907a0d77cb461f58045763c205a5830be72e97c, < d59be579fa932c46b908f37509f319cbd4ca9a68

Verify advisory

Source
Linux
Linux
4.18

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.