CVE-2024-53080 (GCVE-0-2024-53080)
Vulnerability from cvelistv5
Published
2024-11-19 17:45
Modified
2026-08-05 11:43
Summary
In the Linux kernel, the following vulnerability has been resolved: drm/panthor: Lock XArray when getting entries for the VM Similar to commit cac075706f29 ("drm/panthor: Fix race when converting group handle to group object") we need to use the XArray's internal locking when retrieving a vm pointer from there. v2: Removed part of the patch that was trying to protect fetching the heap pointer from XArray, as that operation is protected by the @pool->lock.
Impacted products
Vendor Product Version
Linux Linux Version: 647810ec247641eb5aec8caef818919a4518a0b1
Version: 647810ec247641eb5aec8caef818919a4518a0b1
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/panthor/panthor_mmu.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "3342f066a8e1020a6f7d1fbd6b23bfdeda473eb5",
              "status": "affected",
              "version": "647810ec247641eb5aec8caef818919a4518a0b1",
              "versionType": "git"
            },
            {
              "lessThan": "444fa5b100e5c90550d6bccfe4476efb0391b3ca",
              "status": "affected",
              "version": "647810ec247641eb5aec8caef818919a4518a0b1",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/panthor/panthor_mmu.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.10"
            },
            {
              "lessThan": "6.10",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.11.*",
              "status": "unaffected",
              "version": "6.11.8",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.12",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.11.8",
                  "versionStartIncluding": "6.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12",
                  "versionStartIncluding": "6.10",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/panthor: Lock XArray when getting entries for the VM\n\nSimilar to commit cac075706f29 (\"drm/panthor: Fix race when converting\ngroup handle to group object\") we need to use the XArray\u0027s internal\nlocking when retrieving a vm pointer from there.\n\nv2: Removed part of the patch that was trying to protect fetching\nthe heap pointer from XArray, as that operation is protected by\nthe @pool-\u003elock."
        }
      ],
      "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 vulnerability is reached only through ioctls on the panthor DRM render node (/dev/dri/renderD*), requiring local access to the device file. No network or remote path exists.\nAC:L - The attacker controls both sides of the race entirely \u2014 one thread loops on VM_DESTROY while another loops on VM_GET_STATE/VM_BIND/TILER_HEAP_CREATE/GROUP_CREATE with the same handle on the same drm_file \u2014 and can retry indefinitely at no cost while arranging the VM to hold exactly one reference so the destroy frees it.\nPR:L - All involved ioctls are DRM_RENDER_ALLOW, so any local user or sandboxed application with render-node access (standard for Android apps, the Chrome GPU process, and desktop sessions on Mali CSF hardware) can trigger it. No capabilities or root are required.\nUI:N - The attacking process performs both racing ioctls itself; no victim action, mount, or file open by another user is needed.\nS:U - The corruption is confined to kernel memory within the same security authority; there is no VM, IOMMU, or hypervisor boundary crossed.\nC:H - The use-after-free lets the attacker reclaim the freed panthor_vm slot with sprayed data and have the kernel read it back (vm-\u003eunusable, heaps.pool, gpuvm ops), and a group holding the freed VM keeps using its io-pgtable state, enabling disclosure of kernel memory.\nI:H - The racing kref_get performs a refcount_inc write into freed, attacker-reclaimable heap memory, and drm_gpuvm_free() later dispatches through gpuvm-\u003eops-\u003evm_free read from that same reclaimed object, giving write and control-flow-hijack primitives; the extra put also produces a double free.\nA:H - Even unexploited, the UAF and the resulting double free reliably cause refcount warnings, mutex operations on freed memory, and kernel oops/panic, plus dangling GPU page tables \u2014 a full denial of service."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T11:43:30.489Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/3342f066a8e1020a6f7d1fbd6b23bfdeda473eb5"
        },
        {
          "url": "https://git.kernel.org/stable/c/444fa5b100e5c90550d6bccfe4476efb0391b3ca"
        },
        {
          "url": "https://project-zero.issues.chromium.org/issues/377500597"
        }
      ],
      "title": "drm/panthor: Lock XArray when getting entries for the VM",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-53080",
    "datePublished": "2024-11-19T17:45:10.820Z",
    "dateReserved": "2024-11-19T17:17:24.977Z",
    "dateUpdated": "2026-08-05T11:43:30.489Z",
    "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…