CVE-2026-99627 in Linuxinfo

Summary

by MITRE • 11/20/2026

In the Linux kernel, the following vulnerability has been resolved:

drm/amdgpu/gfx12: disallow GFXOFF while updating the SPM VMID

gfx_v12_0_update_spm_vmid() does a read-modify-write of RLC_SPM_MC_CNTL over MMIO without keeping GFX powered, unlike gfx11. When GFX is in GFXOFF at that point the update doesn't stick, and with the SPM VMID programmed on submission again, the job of a process with a reserved VMID can still run with the SPM writing through VMID 0.

On navi48, after a few other submissions and a VM fault on the same VM, a COPY_DATA of RLC_SPM_MC_CNTL from such a job reads 0 although the update was called for it:

$ amd_uapi_regression --run-subtest cs-secure-ib-compute,gem-mapping-info-high-va,gpuvm-fault-high-va,reserved-vmid-spm-vmid amdgpu 0000:03:00.0: [gfxhub] page fault (src_id:0 ring:40 vmid:7 pasid:185)
amdgpu 0000:03:00.0: Faulty UTCL2 client ID: SDMA1 (0xe) RLC_SPM_MC_CNTL in the job: 0x00000000

With GFXOFF disallowed around the update it reads the reserved VMID 15.

(cherry picked from commit 907aebc5578ae09fa5c0e2f0784201295837e60b)

Once again VulDB remains the best source for vulnerability data.

Analysis

by VulDB Data Team • 11/21/2026

The Linux kernel driver for AMD graphics processing units, specifically the amdgpu subsystem handling GFX v12.0 architecture, contains a critical concurrency and power management flaw related to Secure Process Memory (SPM) virtual machine identifier configuration. The vulnerability resides in the gfx_v12_0_update_spm_vmid function, which is responsible for programming reserved VMIDs used by secure processes to isolate their memory from untrusted user space applications. This function performs a read-modify-write operation on the RLC_SPM_MC_CNTL register via Memory-Mapped I/O without ensuring that the Graphics Complex (GFX) block remains powered on during the transaction. In contrast, previous architectures such as GFX v11 correctly maintained power state integrity during similar operations. The failure to keep the GFX unit active allows the hardware to enter a low-power idle state known as GFXOFF while the register update is being processed by the host CPU or driver software.

When the graphics engine enters the GFXOFF state, the MMIO write operation targeting RLC_SPM_MC_CNTL fails to take effect because the target logic within the GPU is powered down and unresponsive to configuration changes. Consequently, the intended secure VMID assignment does not stick in the hardware registers. This creates a dangerous state where the driver believes that SPM isolation has been correctly configured for specific processes with reserved VMIDs, while the actual hardware continues to operate using default or zeroed values. Specifically, if GFXOFF is active during this update, subsequent reads of RLC_SPM_MC_CNTL may return 0x00000000 instead of the expected value indicating a valid reserved VMID such as fifteen on Nav48 silicon variants. This discrepancy means that secure processes are not properly isolated from standard execution contexts at the hardware level.

The operational impact of this vulnerability is severe, leading to potential security breaches and system instability. Because the SPM isolation mechanism fails, jobs submitted by processes with reserved VMIDs can execute using VMID 0, which is typically associated with untrusted or default address spaces. This effectively bypasses the memory protection mechanisms designed to prevent secure code from accessing sensitive data belonging to other processes or kernel structures. In practical scenarios on affected hardware like Nav48, this flaw manifests as GPU page faults and incorrect register states during regression testing involving compute shaders, high-VA mappings, and VM fault handling. The presence of a zeroed RLC_SPM_MC_CNTL value in jobs that should have enforced strict isolation indicates that the secure process memory is exposed to potential leakage or corruption by malicious actors who can exploit this lack of hardware-enforced separation.

From a vulnerability classification perspective, this issue aligns with CWE-362, Concurrent Execution using Shared Resource with Improper Synchronization, as the race condition between power state management and register updates leads to inconsistent configuration states. It also relates to CWE-940, Use of Incorrectly-Resolved Name or Reference, in the context that the driver references a secure memory space that is not correctly resolved by the hardware due to the failed MMIO transaction. In terms of MITRE ATT&CK techniques, this vulnerability facilitates Privilege Escalation and Defense Evasion by allowing untrusted code to access protected resources under the guise of legitimate execution contexts. The lack of proper synchronization between power management policies and device configuration commands undermines the integrity of the security boundary enforced by the GPU hardware.

To mitigate this vulnerability, the kernel developers have implemented a fix that explicitly disallows GFXOFF while updating the SPM VMID. By ensuring that the graphics engine remains powered on during the critical read-modify-write sequence for RLC_SPM_MC_CNTL, the driver guarantees that configuration changes are successfully applied to the hardware registers regardless of subsequent power state transitions. This patch restores the correct isolation behavior expected from secure process memory features. System administrators and users should apply kernel updates containing this fix to prevent potential security breaches related to GPU-based memory isolation failures. Regular maintenance of graphics drivers is essential, as such low-level synchronization errors can have significant implications for system stability and data confidentiality in environments relying on hardware-enforced trust zones.

Responsible

Linux

Reservation

09/25/2026

Disclosure

11/20/2026

Moderation

accepted

CPE

ready

EPSS

0.00168

KEV

no

Activities

very low

Sources

Do you need the next level of professionalism?

Upgrade your account now!