---
id: CVE-2025-68735
title: |-
  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 …
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 …
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
published: '2025-12-24'
updated: '2026-10-13'
sourceUpdated: '2026-10-13T10:10:00.193'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-68735'
references:
  - url: 'https://git.kernel.org/stable/c/c646ebff3fa571e7ea974235286fb9ed3edc260c'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/deb8b2491f6b9882ae02d7dc2651c7bf4f3b7e05'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/eec7e23d848d2194dd8791fcd0f4a54d4378eecd'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
epss: 0.00178
epssPercentile: 0.06783
ingestedAt: '2026-10-13T10:22:03.516Z'
---

## Overview

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

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
