CVE-2022-49488 (GCVE-0-2022-49488)
Vulnerability from cvelistv5
Published
2025-02-26 02:13
Modified
2025-05-04 08:38
Severity ?
Summary
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/
Impacted products
Vendor Product Version
Linux Linux Version: 7907a0d77cb461f58045763c205a5830be72e97c
Version: 7907a0d77cb461f58045763c205a5830be72e97c
Version: 7907a0d77cb461f58045763c205a5830be72e97c
Version: 7907a0d77cb461f58045763c205a5830be72e97c
Version: 7907a0d77cb461f58045763c205a5830be72e97c
Version: 7907a0d77cb461f58045763c205a5830be72e97c
Version: 7907a0d77cb461f58045763c205a5830be72e97c
Create a notification for this product.
   Linux Linux Version: 4.18
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c",
            "drivers/gpu/drm/msm/disp/mdp5/mdp5_mixer.c",
            "drivers/gpu/drm/msm/disp/mdp5/mdp5_mixer.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "1a5d1474026ea4f1a6f931075ca2adb884af39cf",
              "status": "affected",
              "version": "7907a0d77cb461f58045763c205a5830be72e97c",
              "versionType": "git"
            },
            {
              "lessThan": "22d8424913b1348c6324916745fadaeea5273f0e",
              "status": "affected",
              "version": "7907a0d77cb461f58045763c205a5830be72e97c",
              "versionType": "git"
            },
            {
              "lessThan": "883f1d52a57bf51e1d7a80c432345e2c6222477e",
              "status": "affected",
              "version": "7907a0d77cb461f58045763c205a5830be72e97c",
              "versionType": "git"
            },
            {
              "lessThan": "09bdeedc1fc53e64b8282e1de67752c69e43bdba",
              "status": "affected",
              "version": "7907a0d77cb461f58045763c205a5830be72e97c",
              "versionType": "git"
            },
            {
              "lessThan": "47e393061049aff6818d1b9fdca7351411a23fc2",
              "status": "affected",
              "version": "7907a0d77cb461f58045763c205a5830be72e97c",
              "versionType": "git"
            },
            {
              "lessThan": "46e5ce63924a96af452c4fc5ee0bb3b241e1b9f4",
              "status": "affected",
              "version": "7907a0d77cb461f58045763c205a5830be72e97c",
              "versionType": "git"
            },
            {
              "lessThan": "ca75f6f7c6f89365e40f10f641b15981b1f07c31",
              "status": "affected",
              "version": "7907a0d77cb461f58045763c205a5830be72e97c",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c",
            "drivers/gpu/drm/msm/disp/mdp5/mdp5_mixer.c",
            "drivers/gpu/drm/msm/disp/mdp5/mdp5_mixer.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.18"
            },
            {
              "lessThan": "4.18",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.247",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.198",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.121",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.46",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.17.*",
              "status": "unaffected",
              "version": "5.17.14",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.18.*",
              "status": "unaffected",
              "version": "5.18.3",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "5.19",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.247",
                  "versionStartIncluding": "4.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.198",
                  "versionStartIncluding": "4.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.121",
                  "versionStartIncluding": "4.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.46",
                  "versionStartIncluding": "4.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.17.14",
                  "versionStartIncluding": "4.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.18.3",
                  "versionStartIncluding": "4.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.19",
                  "versionStartIncluding": "4.18",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/msm/mdp5: Return error code in mdp5_mixer_release when deadlock is detected\n\nThere is a possibility for mdp5_get_global_state to return\n-EDEADLK when acquiring the modeset lock, but currently global_state in\nmdp5_mixer_release doesn\u0027t check for if an error is returned.\n\nTo avoid a NULL dereference error, let\u0027s have mdp5_mixer_release\ncheck if an error is returned and propagate that error.\n\nPatchwork: https://patchwork.freedesktop.org/patch/485181/"
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-05-04T08:38:58.996Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/1a5d1474026ea4f1a6f931075ca2adb884af39cf"
        },
        {
          "url": "https://git.kernel.org/stable/c/22d8424913b1348c6324916745fadaeea5273f0e"
        },
        {
          "url": "https://git.kernel.org/stable/c/883f1d52a57bf51e1d7a80c432345e2c6222477e"
        },
        {
          "url": "https://git.kernel.org/stable/c/09bdeedc1fc53e64b8282e1de67752c69e43bdba"
        },
        {
          "url": "https://git.kernel.org/stable/c/47e393061049aff6818d1b9fdca7351411a23fc2"
        },
        {
          "url": "https://git.kernel.org/stable/c/46e5ce63924a96af452c4fc5ee0bb3b241e1b9f4"
        },
        {
          "url": "https://git.kernel.org/stable/c/ca75f6f7c6f89365e40f10f641b15981b1f07c31"
        }
      ],
      "title": "drm/msm/mdp5: Return error code in mdp5_mixer_release when deadlock is detected",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-49488",
    "datePublished": "2025-02-26T02:13:26.116Z",
    "dateReserved": "2025-02-26T02:08:31.583Z",
    "dateUpdated": "2025-05-04T08:38:58.996Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…