CVE-2022-49490
published 2025-02-26CVE-2022-49490: In the Linux kernel, the following vulnerability has been resolved: drm/msm/mdp5: Return error code in mdp5_pipe_release when deadlock is detected…
PriorityP418medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.26%
18.1th percentile
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/
Affected
19 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 5.18.5-1 (bookworm) | linux 5.18.5-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 7907a0d77cb461f58045763c205a5830be72e97c < 776f5c58bfe16cf322d71eeed3c5dda1eeac7e6b | 776f5c58bfe16cf322d71eeed3c5dda1eeac7e6b |
| linux | linux | >= 7907a0d77cb461f58045763c205a5830be72e97c < b2aa2c4efe93e2580d6a8774b04fe2b99756a322 | b2aa2c4efe93e2580d6a8774b04fe2b99756a322 |
| linux | linux | >= 7907a0d77cb461f58045763c205a5830be72e97c < 49dc28b4b2e28ef7564e355c91487996c1cbebd7 | 49dc28b4b2e28ef7564e355c91487996c1cbebd7 |
| linux | linux | >= 7907a0d77cb461f58045763c205a5830be72e97c < 04bef5f1ba8ea6d7c1c8f5f65e0395c62db59cb8 | 04bef5f1ba8ea6d7c1c8f5f65e0395c62db59cb8 |
| linux | linux | >= 7907a0d77cb461f58045763c205a5830be72e97c < 19964dfb39bda4d7716a71009488f0668ecbcf52 | 19964dfb39bda4d7716a71009488f0668ecbcf52 |
| linux | linux | >= 7907a0d77cb461f58045763c205a5830be72e97c < 33dc5aac46e0fad8f5eb193e5906ed0eb6b66ceb | 33dc5aac46e0fad8f5eb193e5906ed0eb6b66ceb |
| linux | linux | >= 7907a0d77cb461f58045763c205a5830be72e97c < d59be579fa932c46b908f37509f319cbd4ca9a68 | d59be579fa932c46b908f37509f319cbd4ca9a68 |
| linux | linux_kernel | >= 0 < 5.10.127-1 | 5.10.127-1 |
| linux | linux_kernel | >= 0 < 5.18.5-1 | 5.18.5-1 |
| linux | linux_kernel | >= 0 < 5.18.5-1 | 5.18.5-1 |
| linux | linux_kernel | >= 0 < 5.18.5-1 | 5.18.5-1 |
| linux | linux_kernel | >= 4.18 < 4.19.247 | 4.19.247 |
| linux | linux_kernel | >= 4.20 < 5.4.198 | 5.4.198 |
| linux | linux_kernel | >= 5.11 < 5.15.46 | 5.15.46 |
| linux | linux_kernel | >= 5.16 < 5.17.14 | 5.17.14 |
| linux | linux_kernel | >= 5.18 < 5.18.3 | 5.18.3 |
| linux | linux_kernel | >= 5.5 < 5.10.121 | 5.10.121 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
kernel: drm/msm/mdp5: Return error code in mdp5_pipe_release when deadlock is detected
vendor_redhat·2025-02-26·CVSS 5.5
CVE-2022-49490 [MEDIUM] kernel: drm/msm/mdp5: Return error code in mdp5_pipe_release when deadlock is detected
kernel: drm/msm/mdp5: Return error code in mdp5_pipe_release when deadlock is detected
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
Debian
CVE-2022-49490: linux - In the Linux kernel, the following vulnerability has been resolved: drm/msm/mdp...
vendor_debian·2022·CVSS 5.5
CVE-2022-49490 [MEDIUM] CVE-2022-49490: linux - In the Linux kernel, the following vulnerability has been resolved: drm/msm/mdp...
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
GHSA
GHSA-rpvf-9x4w-8h3f: In the Linux kernel, the following vulnerability has been resolved:
drm/msm/mdp5: Return error code in mdp5_pipe_release when deadlock is detected
m
ghsa_unreviewed·2025-10-22
CVE-2022-49490 [MEDIUM] CWE-476 GHSA-rpvf-9x4w-8h3f: In the Linux kernel, the following vulnerability has been resolved:
drm/msm/mdp5: Return error code in mdp5_pipe_release when deadlock is detected
m
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 se
OSV
CVE-2022-49490: In the Linux kernel, the following vulnerability has been resolved: drm/msm/mdp5: Return error code in mdp5_pipe_release when deadlock is detected mdp
osv·2025-02-26·CVSS 5.5
CVE-2022-49490 [MEDIUM] CVE-2022-49490: In the Linux kernel, the following vulnerability has been resolved: drm/msm/mdp5: Return error code in mdp5_pipe_release when deadlock is detected mdp
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
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/04bef5f1ba8ea6d7c1c8f5f65e0395c62db59cb8https://git.kernel.org/stable/c/19964dfb39bda4d7716a71009488f0668ecbcf52https://git.kernel.org/stable/c/33dc5aac46e0fad8f5eb193e5906ed0eb6b66cebhttps://git.kernel.org/stable/c/49dc28b4b2e28ef7564e355c91487996c1cbebd7https://git.kernel.org/stable/c/776f5c58bfe16cf322d71eeed3c5dda1eeac7e6bhttps://git.kernel.org/stable/c/b2aa2c4efe93e2580d6a8774b04fe2b99756a322https://git.kernel.org/stable/c/d59be579fa932c46b908f37509f319cbd4ca9a68
2025-02-26
Published