A vulnerability in the Linux kernel's memory management subsystem allowed the function generic_access_phys() to attempt ioremap on ordinary RAM pages, which is incorrect behavior. This issue arises particularly with Copy-on-Write (CoW) PFNMAP mappings, causing the kernel to try mapping anonymous folios as if they were I/O memory, which is unsupported and problematic especially on x86 architectures. The fix disallows ioremap'ing ordinary RAM unless the pages are marked reserved, rejecting other cases with an error.