CVE-2026-68380: accel/amdxdna: Fix use-after-free of mm_struct in job scheduler
In the Linux kernel, the following vulnerability has been resolved:
accel/amdxdna: Fix use-after-free of mmstruct in job scheduler
amdxdnacmdsubmit() stores current->mm in job->mm without holding any reference. aie2schedjobrun() later access job->mm from the DRM scheduler worker thread. With only a raw pointer and no structural reference, the mmstruct can be freed before the scheduler runs the job.
Fix this by calling mmgrab() to hold a structural mmcount reference for the lifetime of the job, paired with mmdrop() in every cleanup path.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/linux-aws-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-1014.14~24.04.1 - Upgrade
Upgrade
ubuntu/linux-azure-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-1017.17~24.04.1 - Upgrade
Upgrade
ubuntu/linux-azure-fde-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-1016.16~24.04.1 - Upgrade
Upgrade
ubuntu/linux-gcp-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-1014.14~24.04.1 - Upgrade
Upgrade
ubuntu/linux-hwe-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-38.38~24.04.4 - Upgrade
Upgrade
ubuntu/linux-nvidia-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-1024.25~24.04.1 - Upgrade
Upgrade
ubuntu/linux-oracle-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-1013.13~24.04.1 - Upgrade
Upgrade
ubuntu/linux-riscv-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-38.38.1~24.04.1 - Upgrade
Upgrade
ubuntu/linuxto a version that resolves this vulnerability.Fixed in 7.0.0-38.38 - Upgrade
Upgrade
ubuntu/linux-awsto a version that resolves this vulnerability.Fixed in 7.0.0-1014.14 - Upgrade
Upgrade
ubuntu/linux-azureto a version that resolves this vulnerability.Fixed in 7.0.0-1017.17 - Upgrade
Upgrade
ubuntu/linux-azure-fdeto a version that resolves this vulnerability.Fixed in 7.0.0-1016.16 - Upgrade
Upgrade
ubuntu/linux-gcpto a version that resolves this vulnerability.Fixed in 7.0.0-1014.14 - Upgrade
Upgrade
ubuntu/linux-gketo a version that resolves this vulnerability.Fixed in 7.0.0-1008.9 - Upgrade
Upgrade
ubuntu/linux-ibmto a version that resolves this vulnerability.Fixed in 7.0.0-1015.15 - Upgrade
Upgrade
ubuntu/linux-nvidia-bosto a version that resolves this vulnerability.Fixed in 7.0.0-2022.23 - Upgrade
Upgrade
ubuntu/linux-oem-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-1015.15 - Upgrade
Upgrade
ubuntu/linux-oracleto a version that resolves this vulnerability.Fixed in 7.0.0-1013.13 - Upgrade
Upgrade
ubuntu/linux-realtimeto a version that resolves this vulnerability.Fixed in 7.0.0-38.38.1 - Upgrade
Upgrade
ubuntu/linux-riscvto a version that resolves this vulnerability.Fixed in 7.0.0-38.38.1 - Compensating control
In accel/amdxdna job submission, call mmgrab() to hold a structural mm_count reference for the lifetime of the job, and pair it with mmdrop() in every cleanup path.
Event History
Frequently Asked Questions
What is the severity of CVE-2026-68380?
The severity of CVE-2026-68380 is rated at 43.
What does CVE-2026-68380 impact?
CVE-2026-68380 impacts the Linux kernel's job scheduling when using AMD's DXNA.
How do I fix CVE-2026-68380?
To fix CVE-2026-68380, update the Linux kernel to a version that incorporates the patch resolving the use-after-free issue.
What is the nature of the vulnerability in CVE-2026-68380?
CVE-2026-68380 is a use-after-free vulnerability related to the handling of mm_struct in the job scheduler.
When was CVE-2026-68380 published?
CVE-2026-68380 was published on August 10, 2026.