data built 2026-10-19T13:16:53Z

Look up another CVE · open CVE-2025-71302 in the interactive tracker

CVE-2025-71302

drm/panthor: fix for dma-fence safe access rules

7.8 EPSS 0.2% AV:L

Published 2026-05-08 (5 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-71302 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

ReleaseStatus VersionWhat this means
Debian 12bookwormnot affected6.1.190-1Nothing to do. bookworm never shipped the vulnerable code.
Debian 13trixievulnerable6.12.113-1No 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 14forkyfixed6.19.6-1Update the kernel and reboot. Fixed in 6.19.6-1. A running kernel keeps the old code until the machine restarts.
Debian unstablesidfixed6.19.6-1Update the kernel and reboot. Fixed in 6.19.6-1. A running kernel keeps the old code until the machine restarts.

The vulnerability

What the bug is

Commit 506aa8b02a8d6 ("dma-fence: Add safe access helpers and document the rules") details the dma-fence safe access rules. The most common culprit is that drm_sched_fence_get_timeline_name may race with group_free_queue.

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 panthor

Prints 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
2026-05-08 (5 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.15%, higher than 4.0% 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

IntroducedFixed inCommit
6.106.18.16ab8c0de60f16
6.106.19.6eae60933abd1
6.107.0efe24898485c

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
An attacker reaches the flaw through DRM ioctls on a local Panthor render node and SYNC_IOC_FILE_INFO on an exported sync-file.
AC:LAttack complexity, low
The attacker controls both sides by querying the exported fence concurrently with GROUP_DESTROY or file closure and can repeat the race while spraying reclaimed heap objects.
PR:LPrivileges required, low
All required Panthor, syncobj, and export operations are DRM_RENDER_ALLOW; ordinary-priority groups require neither DRM master nor a capability.
UI:NUser interaction, none
The attacker independently creates the VM, group, job, syncobj, and sync-file and triggers teardown without victim action.
S:UScope, unchanged
The vulnerability compromises resources governed by the same host kernel and does not inherently cross a VM or IOMMU security boundary.
C:HConfidentiality impact, high
The exported scheduler fence can outlive the freed queue, allowing the timeline callback to dereference reclaimed scheduler and name data. Heap reclamation can provide a chosen source pointer whose contents are copied through SYNC_IOC_FILE_INFO, supporting repeated kernel-memory disclosure.
I:HIntegrity impact, high
This is a kernel heap use-after-free involving surviving dma-fence references into reclaimed queue state. Under conservative UAF scoring, attacker-influenced heap reuse is treated as potentially enabling arbitrary memory modification or control-flow hijacking.
A:HAvailability impact, high
Dereferencing a stale or attacker-influenced scheduler-name pointer can cause a kernel fault, oops, or panic, and an unprivileged attacker can trigger the condition repeatedly.