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

Look up another CVE · open CVE-2026-68380 in the interactive tracker

CVE-2026-68380

accel/amdxdna: Fix use-after-free of mm_struct in job scheduler

7.8 EPSS 0.1% AV:L

Published 2026-08-10 (2 months ago) by the Linux kernel CNA. Subsystem drivers/accel. Debian urgency: unimportant.

What to do, per Debian release

Debian's own status for CVE-2026-68380 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 13trixienot affected6.12.113-1Nothing to do. trixie never shipped the vulnerable code.
Debian 14forkyfixed7.1.6-1Update the kernel and reboot. Fixed in 7.1.6-1. A running kernel keeps the old code until the machine restarts.
Debian unstablesidfixed7.1.6-1Update the kernel and reboot. Fixed in 7.1.6-1. A running kernel keeps the old code until the machine restarts.

The vulnerability

What the bug is

amdxdna_cmd_submit() stores current->mm in job->mm without holding any reference. aie2_sched_job_run() later access job->mm from the DRM scheduler worker thread. With only a raw pointer and no structural reference, the mm_struct can be freed before the scheduler runs the job. Fix this by calling mmgrab() to hold a structural mm_count reference for the lifetime of the job, paired with mmdrop() in every cleanup path.

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/accel/amdxdna/amdxdna_ctx.c

What this is
AMD XDNA DRIVERMAINTAINERS section matched on drivers/accel/amdxdna/ · dri-devel@lists.freedesktop.org · Supported
Kernel module
amdxdna

Check it on the machine

grep -wE 'CONFIG_DRM_ACCEL|CONFIG_DRM_ACCEL_AMDXDNA' /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 amdxdna

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 2 releases, so nothing is claimed about those.

  • bookworm, trixie?
  • forky, sidMnot built on amd64/cloud-amd64, arm64/arm64, arm64/arm64-16k, arm64/cloud-arm64, arm64/rt-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 switches
CONFIG_DRM_ACCEL, CONFIG_DRM_ACCEL_AMDXDNA
Reads as
all on means the file is compiled; any one off means it is not.

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-08-10 (2 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.13%, higher than 2.5% of all CVEssource
CISA KEV
not listedthe KEV catalogue
Debian urgency
unimportantsource
Subsystem
drivers/accel

Upstream fixes

The versions the CNA records as introducing and fixing this, and the commit for each. source

IntroducedFixed inCommit
6.146.18.426875ee2bef48
6.147.1.6e8fadbffc19a
6.147.2faebb7ba1ac6

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 vulnerable path is the AMDXDNA_EXEC_CMD ioctl on the /dev/accel/accel* accel/DRM node, requiring local access to the device file; there is no remote or adjacent-network entry point into the NPU job scheduler.
AC:LAttack complexity, low
The attacker controls both sides of the lifetime race: it can saturate the hwctx job semaphore with long-running commands to keep jobs queued, then submit from a forked task sharing the fd and exit that task so its mm_struct is freed while the job is still pending. No condition outside attacker control is needed.
PR:LPrivileges required, low
The EXEC_CMD ioctl is registered with no privilege flags (unlike SET_STATE which is DRM_ROOT_ONLY), so any unprivileged local user holding an open handle to the accel render node can submit jobs and trigger the bug.
UI:NUser interaction, none
Exploitation is entirely driven by the attacker's own process tree (open, submit, fork, exit); no victim action or interaction with any other user is required.
S:UScope, unchanged
The use-after-free corrupts kernel memory within the same kernel security authority; there is no crossing of a VM, IOMMU or sandbox boundary as a direct consequence of the flaw.
C:HConfidentiality impact, high
The freed mm_struct is reallocated from a general kernel cache, and the driver's continued use of it (mmget_not_zero, later mmput_async/__mmput walking page tables) gives an attacker who sprays the reclaimed slot a path to disclose arbitrary kernel memory.
I:HIntegrity impact, high
mmget_not_zero() performs an atomic increment into freed memory and mmput_async() can drive a reclaimed object through __mmput()/exit_mmap(), yielding controlled kernel writes and page-table teardown on attacker-shaped data, i.e. a route to privilege escalation.
A:HAvailability impact, high
Even without full exploitation the use-after-free reliably corrupts an mm_struct that the kernel then dereferences and tears down, causing oops or panic and rendering the system unavailable.