{"id":"CVE-2026-139339","state":"PUBLISHED","title":"drm/panthor: Fully disable the AS even if it's going to be re-assigned","description":"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.","publishedAt":"2026-11-30T13:33:50.907Z","updatedAt":"2026-11-30T13:33:50.907Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"32e593d74c39249ae14c8f0de88eec677c621aa7","status":"affected","lessThan":"5594fb17b332b570ad8a845bf451274621f45539","versionType":"git"},{"version":"32e593d74c39249ae14c8f0de88eec677c621aa7","status":"affected","lessThan":"a431d4ec5d938893060f69a018a2c47651c282d9","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/panthor/panthor_mmu.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.0","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/panthor/panthor_mmu.c"]}],"references":["https://git.kernel.org/stable/c/5594fb17b332b570ad8a845bf451274621f45539","https://git.kernel.org/stable/c/a431d4ec5d938893060f69a018a2c47651c282d9"],"weaknesses":[],"ingestedAt":"2026-11-30T13:48:04.491Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/139xxx/CVE-2026-139339.json","commit":"8c2c22940a0de21d18737df980299c0488d5dc73","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139339","state":"PUBLISHED","datePublished":"2026-11-30T13:33:50.907Z","dateUpdated":"2026-11-30T13:33:50.907Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-11-30T13:22:15.928Z"},"containers":{"cna":{"title":"drm/panthor: Fully disable the AS even if it's going to be re-assigned","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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"32e593d74c39249ae14c8f0de88eec677c621aa7","status":"affected","lessThan":"5594fb17b332b570ad8a845bf451274621f45539","versionType":"git"},{"version":"32e593d74c39249ae14c8f0de88eec677c621aa7","status":"affected","lessThan":"a431d4ec5d938893060f69a018a2c47651c282d9","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/panthor/panthor_mmu.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.0","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/panthor/panthor_mmu.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/5594fb17b332b570ad8a845bf451274621f45539"},{"url":"https://git.kernel.org/stable/c/a431d4ec5d938893060f69a018a2c47651c282d9"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-30T13:33:50.907Z"},"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"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}