7.8high
alpha: fix user-space corruption during memory compaction
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.18% (higher than 7% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: alpha: fix user-space corruption during memory compaction Alpha systems can suffer sporadic user-space crashes and heap corruption when memory compaction is enabled. Symptoms include SIGSEGV, glibc allocator failures (e.g. "unaligned tcache chunk"), and compiler internal errors. The failures disappear when compaction is disabled or when using global TLB invalidation. The root cause is insufficient TLB shootdown during page migration. Alpha relies on ASN-based MM context rollover for instruction cache coherency, but this alone is not sufficient to prevent stale data or instruction translations from surviving migration. Fix this by introducing a migration-specific helper that combines: - MM context invalidation (ASN rollover), - immediate per-CPU TLB invalidation (TBI), - synchronous cross-CPU shootdown when required. The helper is used only by migration/compaction paths to avoid changing global TLB semantics. Additionally, update flush_tlb_other(), pte_clear(), to use READ_ONCE()/WRITE_ONCE() for correct SMP memory ordering. This fixes observed crashes on both UP and SMP Alpha systems.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from a48d07afdf18212de22b959715b16793c5a6e57a before 01cddfc34bf2a813a2773f1d607305515be55409, from a48d07afdf18212de22b959715b16793c5a6e57a before 5593c9b255ae73f57a8b5e696a660032acbd67da, from a48d07afdf18212de22b959715b16793c5a6e57a before d4ca6ca2c6f5a1d19d9014c5b36d96637846b5d6, from a48d07afdf18212de22b959715b16793c5a6e57a before 03e42b5f7ad4c2c3db8bd384bab7990d5d53c90f, from a48d07afdf18212de22b959715b16793c5a6e57a before bab8d762a8dbb816b10011e13b87d1bca91e5f77, from a48d07afdf18212de22b959715b16793c5a6e57a before dd5712f3379cfe760267cdd28ff957d9ab4e51c7, 2.6.16 Not affected: before 2.6.16, from 6.1.191 up to 6.1.*, from 6.6.160 up to 6.6.*, from 6.12.75 up to 6.12.*, from 6.18.16 up to 6.18.*, from 6.19.6 up to 6.19.* | CVE List |
| linux linux_kernel | from 2.6.16.1 before 6.12.75, from 6.13 before 6.18.16, from 6.19 before 6.19.6, 2.6.16 | NVD |
Classification
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: alpha: fix user-space corruption during memory compaction Alpha systems can suffer sporadic user-space crashes and heap corruption when memory compaction is enabled. Symptoms include SIGSEGV, glibc allocator failures (e.g. "unaligned tcache chunk"), and compiler internal errors. The failures disappear when compaction is disabled or when using global TLB invalidation. The root cause is insufficient TLB shootdown during page migration. Alpha relies on ASN-based MM context rollover for instruction cache coherency, but this alone is not sufficient to prevent stale data or instruction translations from surviving migration. Fix this by introducing a migration-specific helper that combines: - MM context invalidation (ASN rollover), - immediate per-CPU TLB invalidation (TBI), - synchronous cross-CPU shootdown when required. The helper is used only by migration/compaction paths to avoid changing global TLB semantics. Additionally, update flush_tlb_other(), pte_clear(), to use READ_ONCE()/WRITE_ONCE() for correct SMP memory ordering. This fixes observed crashes on both UP and SMP Alpha systems.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: alpha: soluciona la corrupción del espacio de usuario durante la compactación de memoria Los sistemas Alpha pueden sufrir fallos esporádicos del espacio de usuario y corrupción del heap cuando la compactación de memoria está habilitada. Los síntomas incluyen SIGSEGV, fallos del asignador de glibc (p. ej., ’fragmento de tcache no alineado’), y errores internos del compilador. Los fallos desaparecen cuando la compactación está deshabilitada o cuando se utiliza la invalidación global de la TLB. La causa raíz es un TLB shootdown insuficiente durante la migración de páginas. Alpha se basa en el rollover de contexto MM basado en ASN para la coherencia de la caché de instrucciones, pero esto por sí solo no es suficiente para evitar que datos obsoletos o traducciones de instrucciones sobrevivan a la migración. Esto se soluciona introduciendo un ayudante específico para la migración que combina: - invalidación del contexto MM (rollover de ASN), - invalidación inmediata de la TLB por CPU (TBI), - shootdown síncrono entre CPUs cuando sea necesario. El ayudante se utiliza solo por rutas de migración/compactación para evitar cambiar la semántica global de la TLB. Además, se actualiza flush_tlb_other(), pte_clear(), para usar READ_ONCE()/WRITE_ONCE() para una correcta ordenación de memoria SMP. Esto soluciona los fallos observados tanto en sistemas Alpha UP como SMP.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-43258 changed 2026-10-30 | CVE Terms of Use |
| NVD | CVE-2026-43258 changed 2026-11-11 | Public domain |