CVE-2025-22100 (GCVE-0-2025-22100)
Vulnerability from cvelistv5
Published
2025-04-16 14:12
Modified
2026-08-05 11:56
Summary
In the Linux kernel, the following vulnerability has been resolved: drm/panthor: Fix race condition when gathering fdinfo group samples Commit e16635d88fa0 ("drm/panthor: add DRM fdinfo support") failed to protect access to groups with an xarray lock, which could lead to use-after-free errors.
Impacted products
Vendor Product Version
Linux Linux Version: e16635d88fa07ba5801aa9e57ad7fe3c053234e4
Version: e16635d88fa07ba5801aa9e57ad7fe3c053234e4
Version: e16635d88fa07ba5801aa9e57ad7fe3c053234e4
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/panthor/panthor_sched.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "6d98c83ad67e7bd86a47494fd6c3863e7bb26db9",
              "status": "affected",
              "version": "e16635d88fa07ba5801aa9e57ad7fe3c053234e4",
              "versionType": "git"
            },
            {
              "lessThan": "e9d45f42a64a400adba59ee83d03e6db662530b4",
              "status": "affected",
              "version": "e16635d88fa07ba5801aa9e57ad7fe3c053234e4",
              "versionType": "git"
            },
            {
              "lessThan": "0590c94c3596d6c1a3d549ae611366f2ad4e1d8d",
              "status": "affected",
              "version": "e16635d88fa07ba5801aa9e57ad7fe3c053234e4",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/panthor/panthor_sched.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.13"
            },
            {
              "lessThan": "6.13",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.13.*",
              "status": "unaffected",
              "version": "6.13.11",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.14.*",
              "status": "unaffected",
              "version": "6.14.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.15",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.13.11",
                  "versionStartIncluding": "6.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.14.2",
                  "versionStartIncluding": "6.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.15",
                  "versionStartIncluding": "6.13",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/panthor: Fix race condition when gathering fdinfo group samples\n\nCommit e16635d88fa0 (\"drm/panthor: add DRM fdinfo support\") failed to\nprotect access to groups with an xarray lock, which could lead to\nuse-after-free errors."
        }
      ],
      "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 - Exploitation requires local access to the panthor DRM render node (/dev/dri/renderD*) for the GROUP_CREATE/GROUP_DESTROY ioctls and a read of /proc/\u003cpid\u003e/fdinfo for the same fd. There is no network-reachable path into this GPU driver.\nAC:L - The attacker controls both sides of the race, spinning one thread on read() of its own fdinfo while another thread loops GROUP_CREATE/GROUP_DESTROY, so the window can be hit repeatedly and at will. Groups with no submitted jobs are freed synchronously on destroy, making the window wide and reproducible.\nPR:L - Both the GROUP_CREATE and GROUP_DESTROY ioctls are DRM_RENDER_ALLOW, requiring no DRM master or authentication, and any process can read its own /proc/self/fdinfo. On Android, Chromebooks and embedded Mali-CSF systems ordinary unprivileged apps hold render-node access.\nUI:N - The attacking process performs every step itself \u2014 opening the render node, creating and destroying the group, and reading its own fdinfo. No victim action is involved.\nS:U - The use-after-free corrupts kernel slab memory within the same security authority; there is no VM, IOMMU or sandbox boundary crossed.\nC:H - The loop reads two u64 fields out of the freed panthor_group and the values are printed straight back to userspace as drm-cycles-panthor/drm-engine-panthor, leaking reallocated heap contents including potential kernel pointers, and a UAF generally yields an arbitrary-read primitive via heap grooming.\nI:H - The loop body writes into the freed object \u2014 mutex_lock/unlock on group-\u003efdinfo.lock plus zeroing of the data fields \u2014 corrupting whatever structure reuses the slab, which is a classic path to control-flow hijack via heap spraying.\nA:H - Dereferencing and locking a freed mutex reliably produces a kernel oops or panic, and the corrupted lock state can additionally hang tasks waiting on it."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T11:56:46.364Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/6d98c83ad67e7bd86a47494fd6c3863e7bb26db9"
        },
        {
          "url": "https://git.kernel.org/stable/c/e9d45f42a64a400adba59ee83d03e6db662530b4"
        },
        {
          "url": "https://git.kernel.org/stable/c/0590c94c3596d6c1a3d549ae611366f2ad4e1d8d"
        }
      ],
      "title": "drm/panthor: Fix race condition when gathering fdinfo group samples",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2025-22100",
    "datePublished": "2025-04-16T14:12:49.851Z",
    "dateReserved": "2024-12-29T08:45:45.819Z",
    "dateUpdated": "2026-08-05T11:56:46.364Z",
    "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…