Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-139339

published high CVSS 3.1 · 7.0

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

Published
30 Nov 2026, 13:33:50 UTC
Updated
01 Dec 2026, 05:42:19 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux32e593d74c39249ae14c8f0de88eec677c621aa7 to < 5594fb17b332b570ad8a845bf451274621f45539 · 32e593d74c39249ae14c8f0de88eec677c621aa7 to < a431d4ec5d938893060f69a018a2c47651c282d9 · Other versions: unaffected Affected Not stated Linux
Linux — Linux7.0 (affected) · 0 to < 7.0 (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.0 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The attacker drives AS recycling in panthor_vm_active() (group_bind_locked from tick_ctx_apply after GROUP_SUBMIT) and frees the evicted VM via VM_DESTROY or close. All of these are DRM_RENDER_ALLOW ioctls on the local /dev/dri/renderD* node, with no remote data path. AC:H - The stale AS only exists if panthor_mmu_as_enable() fails after the recycle, which needs the AS_ACTIVE bit stuck for 100ms in wait_ready() (a hardware MMU hang the attacker cannot induce). The GPU must then use the AS, which no CSG is bound to, before the soft reset; tick_work bails while reset is pending. PR:L - Creating VMs and groups, submitting jobs to force AS slot eviction, and destroying the evicted VM (panthor_ioctl_vm_destroy -> panthor_vm_pool_destroy_vm) only need an open render node. That node is 0666 or render-group by default, so no capability is checked. UI:N - No other user has to act: the attacker owns both the evicted VM and the VM being activated, and frees the former through their own file descriptor. S:U - The stale AS lets the GPU, which this kernel driver controls, reach host memory the kernel freed. Both the vulnerable driver and the affected memory are under the same kernel authority, with no guest/host or IOMMU boundary crossed. C:H - With the HW AS still pointing at the evicted VM's root page table, panthor_vm_free() (as.id < 0) frees page tables and BO pages without UNMAPPED+UPDATE. Any GPU translation through that AS then walks reallocated pages, giving the device read access to arbitrary host memory. I:H - Translations through freed and reallocated page-table pages can resolve to arbitrary physical pages, and GPU writes through them corrupt host memory the kernel has reused. This is a device-side use-after-free write. A:H - GPU DMA into freed page tables and pages corrupts host memory, which can crash the kernel. The AS_ACTIVE-stuck failure also forces a full GPU reset that kills in-flight work.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 32e593d74c39249ae14c8f0de88eec677c621aa7 to < 5594fb17b332b570ad8a845bf451274621f45539 (affected · git)32e593d74c39249ae14c8f0de88eec677c621aa7 to < a431d4ec5d938893060f69a018a2c47651c282d9 (affected · git)Default: unaffected Linux · cna
Linux Linux 7.0 (affected)0 to < 7.0 (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

2

Provider assertions

1

Linux · cna

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

Provenance

Schema
5.2
Searchable
yes
Content hash
a7225b5494f4fa0172734bfdeed9876ae2be3b300ee12a57a9d59a4027b71a40
Ingested
01 Dec 2026, 05:47:22 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected