Skip to content
Heist/ feed
Back to feed
HighFix available

drm/panthor: Prevent potential UAF in group creation

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: drm/panthor: Prevent potential UAF in group creation This commit prevents the possibility of a use after free issue in the GROUP_CREATE ioctl function, which arose as pointer to the group is accessed in that ioctl function after storing it in the Xarray. A malicious userspace can second guess the handle of a group and try to call GROUP_DESTROY ioctl from another thread around the same time as GROUP_CREATE ioctl. To prevent the use after free exploit, this commit uses a mark on an entry of group pool Xarray which is added just before returning from the GROUP_CREATE ioctl function. The mark is checked for all ioctls that specify the group handle and so userspace won't be abe to delete a group that isn't marked yet. v2: Add R-bs and fixes tags

Products
Kernel
Affected versions
Not specified
Fixed versions
6.12.114, 6.17.13, 6.18.2
CVEs
CVE-2025-68735
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 10:09 UTC · Revision 1

Source evidence

drm/panthor: Prevent potential UAF in group creation

core-osv · Original source

Published 24 Dec 2025, 12:09 UTC

In the Linux kernel, the following vulnerability has been resolved: drm/panthor: Prevent potential UAF in group creation This commit prevents the possibility of a use after free issue in the GROUP_CREATE ioctl function, which arose as pointer to the group is accessed in that ioctl function after storing it in the Xarray. A malicious userspace can second guess the handle of a group and try to call GROUP_DESTROY ioctl from another thread around the same time as GROUP_CREATE ioctl. To prevent the use after free exploit, this commit uses a mark on an entry of group pool Xarray which is added just before returning from the GROUP_CREATE ioctl function. The mark is checked for all ioctls that specify the group handle and so userspace won't be abe to delete a group that isn't marked yet. v2: Add R-bs and fixes tags

osv:CVE-2025-68735

Kernel

Fixed versions: 6.12.114, 6.17.13, 6.18.2

Complete source record
{
  "id": "de2a7401ec574b51d084640f0cff0b6f7d3ccb2e9d9c3ec62ea925973e69d2df",
  "url": "https://osv.dev/vulnerability/CVE-2025-68735",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "drm/panthor: Prevent potential UAF in group creation",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: drm/panthor: Prevent potential UAF in group creation This commit prevents the possibility of a use after free issue in the GROUP_CREATE ioctl function, which arose as pointer to the group is accessed in that ioctl function after storing it in the Xarray. A malicious userspace can second guess the handle of a group and try to call GROUP_DESTROY ioctl from another thread around the same time as GROUP_CREATE ioctl. To prevent the use after free exploit, this commit uses a mark on an entry of group pool Xarray which is added just before returning from the GROUP_CREATE ioctl function. The mark is checked for all ioctls that specify the group handle and so userspace won't be abe to delete a group that isn't marked yet. v2: Add R-bs and fixes tags",
    "evidence": "osv:CVE-2025-68735",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.12.114",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.17.13",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.2",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2025-68735",
      "aliases": [
        "CVE-2025-68735"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "de85488138247d034eb3241840424a54d660926b"
                },
                {
                  "fixed": "c6bbec068a9accd6f1df05f3df9a5254c99292ee"
                },
                {
                  "fixed": "deb8b2491f6b9882ae02d7dc2651c7bf4f3b7e05"
                },
                {
                  "fixed": "c646ebff3fa571e7ea974235286fb9ed3edc260c"
                },
                {
                  "fixed": "eec7e23d848d2194dd8791fcd0f4a54d4378eecd"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68735.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.10.0"
                },
                {
                  "fixed": "6.12.114"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.17.13"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.18.0"
                },
                {
                  "fixed": "6.18.2"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68735.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:27.618834482Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/c646ebff3fa571e7ea974235286fb9ed3edc260c",
        "https://git.kernel.org/stable/c/c6bbec068a9accd6f1df05f3df9a5254c99292ee",
        "https://git.kernel.org/stable/c/deb8b2491f6b9882ae02d7dc2651c7bf4f3b7e05",
        "https://git.kernel.org/stable/c/eec7e23d848d2194dd8791fcd0f4a54d4378eecd",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68735.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-68735",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68735.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-68735",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 494399,
  "published_at": "2025-12-24T12:09:34.364+00:00"
}