llamaCVEVulnerability Intelligence
/
Linux kernel

CVE-2026-99580

Linux kernel use-after-free in userfaultfd page table handling

An attacker could trigger use of an unmapped page table during huge page range copying, corrupting memory.

Texto original en inglés · Ver en español

Sin parche publicadomm/userfaultfd
Descargar PNG JSON
CVSS
—
N/D
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
ParcheSin parcheEl fabricante no ha publicado corrección
Exposición1 dDesde la divulgación, 20 nov 2026, 12:49 a. m.
Detección6 minDesde la divulgación hasta su ingreso al índice
Decisión estimadaSeguir
Remediar en la ventana regular de mantenimiento
Sin puntaje CVSS ni severidad publicados y sin explotación conocida. Estimación de Llama (sin evaluación oficial): remediar en el mantenimiento regular y revisar si la fuente publica más datos. No hay versión corregida: aplique mitigaciones.
Bajo impacto. Igual parchea cuando toque, ¿eh?Te ganaste un descanso. Esta no es urgente.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Explotación
Remediación
Monitoreo
Detectada
Fuente: NIST NVD +1
12:49 a. m.
01:20 a. m.
01:12 p. m.
12:49 a. m.
09:54 a. m.
07:00 p. m.
04:06 a. m.
01:12 p. m.
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-99580 divulgada
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: NIST NVD Registro visto por primera vez en NIST NVD
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0 · 20 nov 2026

The Linux kernel can wrongly allocate an anon_vma for read-only shared file mappings, which are not copy-on-write mappings. This can lead the kernel to use a page table that is no longer mapped during huge page range copying.

Descripción original del registro (Linux)

In the Linux kernel, the following vulnerability has been resolved: mm/userfaultfd: only allocate anon_vma in CoW mappings find_vma_and_prepare_anon() can end up allocating an anon_vma in VMAs that are not CoW mappings, which is wrong. If we have a MAP_SHARED R/O file mapped, we lack VM_SHARED (but do have VM_MAYSHARE) and lack VM_MAYWRITE. While uffd later rejects such mappings (uffd registration requires VM_MAYWRITE, see comment in validate_dst_vma) find_vma_and_prepare_anon() still wrongly allocates an anon vma before it validates the vma. This in turn later confuses copy_page_range()->vma_needs_copy() such that we end up calling copy_hugetlb_page_range() with ranges that actually do not contain *any* per-pagetable information that would require copying, which is the basis for PMD-table sharing in the first place. copy_hugetlb_page_range() should not have to worry about shared PMD tables at all: it doesn't make any sense to copy page tables that are shared, as they can be fully recreated later. Ending up in the function with shareable page tables is the real issue. If a destination PMD table is shared in copy_hugetlb_page_range(), it might get concurrently unshared as we are not holding relevant locks, resulting in us using a page table that is no longer mapped and possibly freed after calling: dst_pte = huge_pte_alloc(dst, dst_vma, addr, sz); To fix it, do not allocate an anon_vma in non-CoW mappings and add a safety guard to copy_hugetlb_page_range(), making sure that we never end up messing with shared PMD tables in there. Before commit 867a43a34ff8a ("userfaultfd: use per-vma locks in userfaultfd operations") we would always validate the VMA before allocating an anon_vma, and consequently never wrongly allocate an anon_vma. As uffd_lock_vma() is part of the same lookup machinery and also contains a misleading VM_SHARED check, change that one as well directly for consistency. A follow-up cleanup will stop taking the hugetlb_vma_lock_read(src_vma) lock in copy_hugetlb_page_range() entirely. Further, the usage of VM_SHARED in userfaultfd code should be cleaned up later to focus on CoW vs. non-CoW mappings.

Versiones

Versiones afectadas

6.9
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
Linux
Sin parche — — —
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Otrahttps://git.kernel.org/stable/c/a90e7044b34f801fbafcb682e8ee827a6db26002
Otrahttps://git.kernel.org/stable/c/3bf446c8ce64938f86439906d730a2cd5c0b31e2
Otrahttps://git.kernel.org/stable/c/20704188d669ed74a624fd67dfa4711bcb1087b6
Otrahttps://git.kernel.org/stable/c/514c9247db305922591d806ec65d3c3fe420538d

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.