Look up another CVE · open CVE-2025-68735 in the interactive tracker
CVE-2025-68735
drm/panthor: Prevent potential UAF in group creation
Published 2025-12-24 (10 months ago) by the Linux kernel CNA. Subsystem drivers/gpu. Debian urgency: unimportant.
What to do, per Debian release
Debian's own status for CVE-2025-68735 in every release this site tracks, and what each one means in practice. Every status below is the one the Debian Security Team publishes for this CVE. source
| Release | Status | Version | What this means |
|---|---|---|---|
| Debian 12bookworm | not affected | 6.1.190-1 | Nothing to do. bookworm never shipped the vulnerable code. |
| Debian 13trixie | vulnerable | 6.12.113-1 | No fix published anywhere yet, neither in Debian nor upstream for the series trixie tracks. Watch the Debian tracker page for this CVE. Advisories for trixie have historically landed a median of 11 days after publication. |
| Debian 14forky | fixed | 6.17.13-1 | Update the kernel and reboot. Fixed in 6.17.13-1. A running kernel keeps the old code until the machine restarts. |
| Debian unstablesid | fixed | 6.17.13-1 | Update the kernel and reboot. Fixed in 6.17.13-1. A running kernel keeps the old code until the machine restarts. |
The vulnerability
What the bug is
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
Where it lives
The fix touches these files. If the subsystem is one you do not use, the practical exposure is lower, though the package is still the vulnerable one.
drivers/gpu/drm/panthor/panthor_sched.c
- What this is
- ARM MALI PANTHOR DRM DRIVERMAINTAINERS section matched on drivers/gpu/drm/panthor/ · dri-devel@lists.freedesktop.org · Supported
- Kernel module
- panthor
Check it on the machine
grep -w CONFIG_DRM_PANTHOR /boot/config-$(uname -r)Reads the booted kernel's own configuration, on the machine and nowhere else. =y is built in, =m is a module, and an is not set line means the code is not there.
lsmod | grep -w panthorPrints a line if that module is loaded right now, and nothing if it is not. One that is not loaded can still be loaded later by anything that needs it.
Show whether Debian builds this, per release
Debian builds this, but not on every flavour. At least one release below builds the code on some of its kernel flavours and not on others, so the answer depends on the architecture and flavour installed. The build rule could not be established for 1 release, so nothing is claimed about those.
- bookworm?
- trixieMnot built on amd64/amd64, amd64/cloud-amd64, amd64/rt/amd64, arm64/cloud-arm64, armel/rpi, armhf/armmp, armhf/armmp-lpae, armhf/rt/armmp, ppc64el/powerpc64le, ppc64el/powerpc64le-64k, riscv64/riscv64, s390x/s390x
- forky, sidMnot built on amd64/amd64, amd64/cloud-amd64, amd64/rt-amd64, arm64/cloud-arm64, armhf/armmp, armhf/armmp-lpae, loong64/loong64, ppc64el/powerpc64le, ppc64el/powerpc64le-64k, riscv64/riscv64, s390x/s390x
- ?
- not established - no Makefile entry for the affected file
- M
- a module where it is built at all; some flavours do not build it
Where a release above reads "not established", no build rule for the affected file was found in that release's kernel tree. That is a gap in this lookup, not a finding that the code is absent.
- Build switch
- CONFIG_DRM_PANTHOR
From the configuration Debian publishes for every kernel flavour it builds. It covers only the architectures Debian ships a linux-config package for, and nothing about a kernel you built yourself. Debian's own status above stays authoritative about the source package.MAINTAINERS kbuild Makefiles Debian linux-config packages
Signals
- Published
- 2025-12-24 (10 months ago)source
- CVSS
- 7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:Hsource recompute it - Attack vector
- local (AV:L)source
- EPSS
- 0.18%, higher than 6.9% of all CVEssource
- CISA KEV
- not listedthe KEV catalogue
- Debian urgency
- unimportantsource
- Subsystem
- drivers/gpu
Upstream fixes
The versions the CNA records as introducing and fixing this, and the commit for each. source
| Introduced | Fixed in | Commit |
|---|---|---|
| 6.10 | 6.17.13 | deb8b2491f6b |
| 6.10 | 6.18.2 | c646ebff3fa5 |
| 6.10 | 6.19 | eec7e23d848d |
Why the CNA scored it this way
Quoted from the kernel CNA's own scoring file, word for word. A highlighted metric carries the most severe value CVSS v3.1 defines for it, which is what pushes the score up. source
- AV:LAttack vector, local
- The flaw is reached through concurrent GROUP_CREATE and GROUP_DESTROY ioctls on a Panthor DRM device node, making it locally exploitable.
- AC:LAttack complexity, low
- The attacker controls both racing threads, handles are predictably allocated from a 1–128 range, and attacker-controlled queue allocations widen the repeatable race window.
- PR:LPrivileges required, low
- Both ioctls have DRM_RENDER_ALLOW, and low or medium group priorities require no capability; a basic unprivileged process with render-node access suffices.
- UI:NUser interaction, none
- The attacker directly issues the concurrent ioctls without requiring any action from another user.
- S:UScope, unchanged
- The corruption affects the host kernel within the same security authority and represents standard local privilege escalation, not a VM or IOMMU-boundary escape.
- C:HConfidentiality impact, high
- The group can be freed and reclaimed while creation continues dereferencing stale pointers, providing exploitable heap corruption that can enable arbitrary kernel-memory disclosure.
- I:HIntegrity impact, high
- Post-free operations write queue pointers, counters, list links, locks, and task metadata into reclaimed memory, enabling arbitrary corruption and potential control-flow hijacking.
- A:HAvailability impact, high
- Concurrent cleanup can free the group and associated resources while they remain in use, allowing repeatable kernel crashes, oopses, or panics.