CVE-2026-139339

drm/panthor: Fully disable the AS even if it's going to be re-assigned

Published Nov 30, 2026 CVSS 3.1 · 7 High EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

drm/panthor: Fully disable the AS even if it's going to be re-assigned

We're trying to be smart by skipping the UPDATE(UNMAPPED) step, but
it remains to be proven it adds any noticeable overhead. Moreover, it's
breaking the assumption that, once the VM is unbound, no access can
happen on it.

For instance, say the panthor_mmu_as_enable() call in panthor_vm_active()
fails after we've called panthor_vm_release_as_locked(), we're now in a
state where the HW still points to the old page table, but SW slot points
to the new VM, which is not truly HW-bound.

If, after the as_slots lock is released, the evicted VM itself is
released, the HW might have access to memory that has been returned
to the system until the reset we scheduled (because of the faulty
AS_COMMAND) is effective.

Let's make this bullet-proof by doing a full bound -> unbound -> bound
cycle on AS slot recycling.

Analysis

AI-generated

Technical impact

The flaw exists in the Linux kernel’s DMA‑mapped GPU memory manager, where a virtual machine can be unbound from an address space slot while the hardware remains pointing to the old page table. This mismatch allows the GPU hardware to perform memory operations against memory that the operating system has since reclaimed, creating a use‑after‑free style condition. An attacker who can exploit this condition or trigger the failure path could read or modify arbitrary kernel memory, leading to data leakage or privilege escalation. The weakness is a classic example of improper memory handling (CWE‑416) and inadequate access restriction (CWE‑284). The impact is on integrity and confidentiality of system memory and may be leveraged by a privileged or local attacker.

Affected Systems

All Linux kernel deployments that include the DRM panthor driver are potentially affected, regardless of distribution. The specific kernel versions that contain the offending code are not listed, so any kernel that has not been updated with the recent patch commit is at risk.

Risk and Exploitability

No EPSS score is available, and the vulnerability is not marked in CISA’s KEV catalog, so publicly documented exploitation is unknown. Because the bug is a kernel‑level memory safety flaw, exploitation would likely require a local privilege escalation or a driver‑level exploit that can trigger the AS state transition. The source code commit that introduced the fix is publicly visible, indicating that the patch is already available. Consequently, the risk is high for unpatched systems but can be mitigated through an update. The lack of public exploitation data suggests moderate immediate threat but with potential for future active attacks.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the panthor AS bug fix
  • If an immediate kernel upgrade is not possible, disable or remove the panthor device or any GPU that uses the panthor MMU driver to prevent the faulty state transition
  • Restrict GPU usage to the least privilege accounts and monitor for abnormal DMA activity

Generated by OpenCVE AI on November 30, 2026 at 21:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: drm/panthor: Fully disable the AS even if it's going to be re-assigned We're trying to be smart by skipping the UPDATE(UNMAPPED) step, but it remains to be proven it adds any noticeable overhead. Moreover, it's breaking the assumption that, once the VM is unbound, no access can happen on it. For instance, say the panthor_mmu_as_enable() call in panthor_vm_active() fails after we've called panthor_vm_release_as_locked(), we're now in a state where the HW still points to the old page table, but SW slot points to the new VM, which is not truly HW-bound. If, after the as_slots lock is released, the evicted VM itself is released, the HW might have access to memory that has been returned to the system until the reset we scheduled (because of the faulty AS_COMMAND) is effective. Let's make this bullet-proof by doing a full bound -> unbound -> bound cycle on AS slot recycling.
Title drm/panthor: Fully disable the AS even if it's going to be re-assigned
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-825

    Expired Pointer Dereference

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Dec 1, 2026, 5:42 AM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:18 PM
Modified
Dec 1, 2026, 6:17 AM
Severity
Moderate
Public date
Nov 30, 2026, 1:33 PM