CVE-2025-68179
JSON

7.8high

s390: Disable ARCH_WANT_OPTIMIZE_HUGETLB_VMEMMAP

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.17% (higher than 6% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: s390: Disable ARCH_WANT_OPTIMIZE_HUGETLB_VMEMMAP As reported by Luiz Capitulino enabling HVO on s390 leads to reproducible crashes. The problem is that kernel page tables are modified without flushing corresponding TLB entries. Even if it looks like the empty flush_tlb_all() implementation on s390 is the problem, it is actually a different problem: on s390 it is not allowed to replace an active/valid page table entry with another valid page table entry without the detour over an invalid entry. A direct replacement may lead to random crashes and/or data corruption. In order to invalidate an entry special instructions have to be used (e.g. ipte or idte). Alternatively there are also special instructions available which allow to replace a valid entry with a different valid entry (e.g. crdte or cspg). Given that the HVO code currently does not provide the hooks to allow for an implementation which is compliant with the s390 architecture requirements, disable ARCH_WANT_OPTIMIZE_HUGETLB_VMEMMAP again, which is basically a revert of the original patch which enabled it.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 00a34d5a99c0631bd780b14cbe3813d0b39c3886 before 7088465f10816d9425b95740b37c95f082041d76, from 00a34d5a99c0631bd780b14cbe3813d0b39c3886 before 5e23918e4352288323d13fb511116cdea0234b71, from 00a34d5a99c0631bd780b14cbe3813d0b39c3886 before d4a8238e5729505b7394ccb007e5dc3e557aa66b, from 00a34d5a99c0631bd780b14cbe3813d0b39c3886 before 64e2f60f355e556337fcffe80b9bcff1b22c9c42, 6.2
Not affected: before 6.2, from 6.6.117 up to 6.6.*, from 6.12.58 up to 6.12.*, from 6.17.8 up to 6.17.*, from 6.18 up to *
CVE List

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: s390: Disable ARCH_WANT_OPTIMIZE_HUGETLB_VMEMMAP As reported by Luiz Capitulino enabling HVO on s390 leads to reproducible crashes. The problem is that kernel page tables are modified without flushing corresponding TLB entries. Even if it looks like the empty flush_tlb_all() implementation on s390 is the problem, it is actually a different problem: on s390 it is not allowed to replace an active/valid page table entry with another valid page table entry without the detour over an invalid entry. A direct replacement may lead to random crashes and/or data corruption. In order to invalidate an entry special instructions have to be used (e.g. ipte or idte). Alternatively there are also special instructions available which allow to replace a valid entry with a different valid entry (e.g. crdte or cspg). Given that the HVO code currently does not provide the hooks to allow for an implementation which is compliant with the s390 architecture requirements, disable ARCH_WANT_OPTIMIZE_HUGETLB_VMEMMAP again, which is basically a revert of the original patch which enabled it.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: s390: Deshabilitar ARCH_WANT_OPTIMIZE_HUGETLB_VMEMMAP Según lo informado por Luiz Capitulino, habilitar HVO en s390 conduce a fallos reproducibles. El problema es que las tablas de páginas del kernel se modifican sin vaciar las entradas TLB correspondientes. Aunque parezca que la implementación vacía de flush_tlb_all() en s390 es el problema, en realidad es un problema diferente: en s390 no está permitido reemplazar una entrada de tabla de páginas activa/válida con otra entrada de tabla de páginas válida sin el desvío a través de una entrada inválida. Un reemplazo directo puede conducir a fallos aleatorios y/o corrupción de datos. Para invalidar una entrada se deben usar instrucciones especiales (p. ej., ipte o idte). Alternativamente, también hay instrucciones especiales disponibles que permiten reemplazar una entrada válida con una entrada válida diferente (p. ej., crdte o cspg). Dado que el código HVO actualmente no proporciona los 'hooks' para permitir una implementación que cumpla con los requisitos de la arquitectura s390, se deshabilita ARCH_WANT_OPTIMIZE_HUGETLB_VMEMMAP de nuevo, lo cual es básicamente una reversión del parche original que lo habilitó.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-68179 changed 2026-08-05CVE Terms of Use
NVDCVE-2025-68179 changed 2026-10-14Public domain