{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139339","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-11-30T13:22:15.928Z","datePublished":"2026-11-30T13:33:50.907Z","dateUpdated":"2026-12-01T05:42:19.043Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-12-01T05:42:19.043Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/panthor: Fully disable the AS even if it's going to be re-assigned\n\nWe're trying to be smart by skipping the UPDATE(UNMAPPED) step, but\nit remains to be proven it adds any noticeable overhead. Moreover, it's\nbreaking the assumption that, once the VM is unbound, no access can\nhappen on it.\n\nFor instance, say the panthor_mmu_as_enable() call in panthor_vm_active()\nfails after we've called panthor_vm_release_as_locked(), we're now in a\nstate where the HW still points to the old page table, but SW slot points\nto the new VM, which is not truly HW-bound.\n\nIf, after the as_slots lock is released, the evicted VM itself is\nreleased, the HW might have access to memory that has been returned\nto the system until the reset we scheduled (because of the faulty\nAS_COMMAND) is effective.\n\nLet's make this bullet-proof by doing a full bound -> unbound -> bound\ncycle on AS slot recycling."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"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.\nAC: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.\nPR: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.\nUI: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.\nS: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.\nC: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.\nI: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.\nA: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."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/panthor/panthor_mmu.c"],"versions":[{"version":"32e593d74c39249ae14c8f0de88eec677c621aa7","lessThan":"5594fb17b332b570ad8a845bf451274621f45539","status":"affected","versionType":"git"},{"version":"32e593d74c39249ae14c8f0de88eec677c621aa7","lessThan":"a431d4ec5d938893060f69a018a2c47651c282d9","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/panthor/panthor_mmu.c"],"versions":[{"version":"7.0","status":"affected"},{"version":"0","lessThan":"7.0","status":"unaffected","versionType":"semver"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.0","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.0","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/5594fb17b332b570ad8a845bf451274621f45539"},{"url":"https://git.kernel.org/stable/c/a431d4ec5d938893060f69a018a2c47651c282d9"}],"title":"drm/panthor: Fully disable the AS even if it's going to be re-assigned","x_generator":{"engine":"bippy-1.2.0"}}}}