CVE-2023-53084 (GCVE-0-2023-53084)
Vulnerability from cvelistv5
Published
2025-05-02 15:55
Modified
2026-08-05 09:12
Summary
In the Linux kernel, the following vulnerability has been resolved: drm/shmem-helper: Remove another errant put in error path drm_gem_shmem_mmap() doesn't own reference in error code path, resulting in the dma-buf shmem GEM object getting prematurely freed leading to a later use-after-free.
Impacted products
Vendor Product Version
Linux Linux Version: f49a51bfdc8ea717c97ccd4cc98b7e6daaa5553a
Version: f49a51bfdc8ea717c97ccd4cc98b7e6daaa5553a
Version: f49a51bfdc8ea717c97ccd4cc98b7e6daaa5553a
Version: f49a51bfdc8ea717c97ccd4cc98b7e6daaa5553a
Version: f49a51bfdc8ea717c97ccd4cc98b7e6daaa5553a
Version: 4655afcf0e3874af03afff8c8704b52350bdba47
Version: 5.9.5   
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/drm_gem_shmem_helper.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "684c7372bbd6447c2e86a2a84e97a1478604d21f",
              "status": "affected",
              "version": "f49a51bfdc8ea717c97ccd4cc98b7e6daaa5553a",
              "versionType": "git"
            },
            {
              "lessThan": "5cfb617967b05f8f27e862c97db1fabd8485f4db",
              "status": "affected",
              "version": "f49a51bfdc8ea717c97ccd4cc98b7e6daaa5553a",
              "versionType": "git"
            },
            {
              "lessThan": "dede8c14a37a7ac458f9add56154a074ed78e7cf",
              "status": "affected",
              "version": "f49a51bfdc8ea717c97ccd4cc98b7e6daaa5553a",
              "versionType": "git"
            },
            {
              "lessThan": "77d26c824aa5a7e0681ef1d5b75fe538d746addc",
              "status": "affected",
              "version": "f49a51bfdc8ea717c97ccd4cc98b7e6daaa5553a",
              "versionType": "git"
            },
            {
              "lessThan": "ee9adb7a45516cfa536ca92253d7ae59d56db9e4",
              "status": "affected",
              "version": "f49a51bfdc8ea717c97ccd4cc98b7e6daaa5553a",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "4655afcf0e3874af03afff8c8704b52350bdba47",
              "versionType": "git"
            },
            {
              "lessThan": "5.10",
              "status": "affected",
              "version": "5.9.5",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/drm_gem_shmem_helper.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.10"
            },
            {
              "lessThan": "5.10",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.176",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.104",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.21",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.2.*",
              "status": "unaffected",
              "version": "6.2.8",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.176",
                  "versionStartIncluding": "5.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.104",
                  "versionStartIncluding": "5.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.21",
                  "versionStartIncluding": "5.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.2.8",
                  "versionStartIncluding": "5.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.3",
                  "versionStartIncluding": "5.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "5.9.5",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/shmem-helper: Remove another errant put in error path\n\ndrm_gem_shmem_mmap() doesn\u0027t own reference in error code path, resulting\nin the dma-buf shmem GEM object getting prematurely freed leading to a\nlater use-after-free."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The bug is reached via local DRM render-node ioctls (PRIME_FD_TO_HANDLE, driver MMAP_BO) and mmap(2) on the DRM device fd, not via network packet processing.\nAC:L - An attacker fully controls the trigger by importing a dma-buf and mmaping it such that dma_buf_mmap fails (e.g., MAP_PRIVATE against exporters like CMA heap/udmabuf that reject private mappings), causing a deterministic double-put with no uncontrolled race.\nPR:L - Render nodes (/dev/dri/renderD*) and PRIME/MMAP_BO ioctls are available to unprivileged users (DRM_RENDER_ALLOW), including Android apps and desktop users in the render/video group; no real root or CAP_SYS_ADMIN is required.\nUI:N - The attacker opens their own DRM render node, imports their own dma-buf, and mmaps it; no action by another user is required.\nS:U - This is a standard in-kernel use-after-free enabling local privilege escalation within the same OS security authority, with no VM/IOMMU/sandbox boundary crossed.\nC:H - The errant put frees the imported shmem GEM object while a handle still references it, yielding a classic use-after-free that can be leveraged for arbitrary kernel memory disclosure.\nI:H - Use-after-free of the GEM object enables heap reuse and corruption primitives suitable for arbitrary write and control-flow hijacking in the kernel.\nA:H - The premature free leads to kernel oops/panic on subsequent use of the dangling GEM object, so availability impact is high even without full exploitation."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T09:12:40.219Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/684c7372bbd6447c2e86a2a84e97a1478604d21f"
        },
        {
          "url": "https://git.kernel.org/stable/c/5cfb617967b05f8f27e862c97db1fabd8485f4db"
        },
        {
          "url": "https://git.kernel.org/stable/c/dede8c14a37a7ac458f9add56154a074ed78e7cf"
        },
        {
          "url": "https://git.kernel.org/stable/c/77d26c824aa5a7e0681ef1d5b75fe538d746addc"
        },
        {
          "url": "https://git.kernel.org/stable/c/ee9adb7a45516cfa536ca92253d7ae59d56db9e4"
        }
      ],
      "title": "drm/shmem-helper: Remove another errant put in error path",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-53084",
    "datePublished": "2025-05-02T15:55:32.319Z",
    "dateReserved": "2025-05-02T15:51:43.550Z",
    "dateUpdated": "2026-08-05T09:12:40.219Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


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.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • 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…

Loading…