Technical impact
A flaw in the kernel’s page pinning logic on non-MMU configurations causes the reference count for pinned pages to drop by a large bias instead of by one. When a pinned page is unregistered, the reference count can become negative, freeing memory that is subsequently reallocated. The kernel continues to expose the stale mapping, allowing user space to write to an address that now belongs to another process or object. This use‑after‑free and stale‑mapping combination is a classic vector for arbitrary memory writes, which can lead to privilege escalation or arbitrary code execution if an attacker can trigger the sequence.
Affected Systems
The issue affects all Linux kernel builds that contain the described __get_user_pages_locked implementation and are compiled without the CONFIG_MMU option. Many embedded, minimal, or older kernels fall into this category. No specific version range is listed, so any kernel that has not yet applied the identified patch is vulnerable. The vulnerability is tied to the io_uring fixed‑buffer registration path and the deprecated NOMMU path.
Risk and Exploitability
The flaw is a local attacker scenario; it requires the attacker to run with privileges that allow mapping memory and registering io_uring buffers, or the attacker must exploit the vulnerability as part of a broader kernel compromise. The absence of an EPSS score or KEV listing suggests the exploit has not yet been observed in the wild, but the severity of a use‑after‑free that corrupts arbitrary memory is high, and the kernel’s lack of a memory protection mechanism in NOMMU builds removes a key mitigation. The attack vector is therefore likely local with elevated privileges and may require coordinated staging to trigger the reference count mismatch and memory reuse. The CVSS score is not provided, but the nature of the bug warrants a high risk assessment for any affected system.