CVE-2025-68179 (GCVE-0-2025-68179)

Vulnerability from cvelistv5 – Published: 2025-12-16 13:42 – Updated: 2026-08-05 12:10
VLAI
Title
s390: Disable ARCH_WANT_OPTIMIZE_HUGETLB_VMEMMAP
Summary
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.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 00a34d5a99c0631bd780b14cbe3813d0b39c3886 , < 7088465f10816d9425b95740b37c95f082041d76 (git)
Affected: 00a34d5a99c0631bd780b14cbe3813d0b39c3886 , < 5e23918e4352288323d13fb511116cdea0234b71 (git)
Affected: 00a34d5a99c0631bd780b14cbe3813d0b39c3886 , < d4a8238e5729505b7394ccb007e5dc3e557aa66b (git)
Affected: 00a34d5a99c0631bd780b14cbe3813d0b39c3886 , < 64e2f60f355e556337fcffe80b9bcff1b22c9c42 (git)
Create a notification for this product.
Linux Linux Affected: 6.2
Unaffected: 0 , < 6.2 (semver)
Unaffected: 6.6.117 , ≤ 6.6.* (semver)
Unaffected: 6.12.58 , ≤ 6.12.* (semver)
Unaffected: 6.17.8 , ≤ 6.17.* (semver)
Unaffected: 6.18 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "arch/s390/Kconfig"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "7088465f10816d9425b95740b37c95f082041d76",
              "status": "affected",
              "version": "00a34d5a99c0631bd780b14cbe3813d0b39c3886",
              "versionType": "git"
            },
            {
              "lessThan": "5e23918e4352288323d13fb511116cdea0234b71",
              "status": "affected",
              "version": "00a34d5a99c0631bd780b14cbe3813d0b39c3886",
              "versionType": "git"
            },
            {
              "lessThan": "d4a8238e5729505b7394ccb007e5dc3e557aa66b",
              "status": "affected",
              "version": "00a34d5a99c0631bd780b14cbe3813d0b39c3886",
              "versionType": "git"
            },
            {
              "lessThan": "64e2f60f355e556337fcffe80b9bcff1b22c9c42",
              "status": "affected",
              "version": "00a34d5a99c0631bd780b14cbe3813d0b39c3886",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "arch/s390/Kconfig"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.2"
            },
            {
              "lessThan": "6.2",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.117",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.58",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.17.*",
              "status": "unaffected",
              "version": "6.17.8",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.18",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.117",
                  "versionStartIncluding": "6.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.58",
                  "versionStartIncluding": "6.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.17.8",
                  "versionStartIncluding": "6.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18",
                  "versionStartIncluding": "6.2",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ns390: Disable ARCH_WANT_OPTIMIZE_HUGETLB_VMEMMAP\n\nAs reported by Luiz Capitulino enabling HVO on s390 leads to reproducible\ncrashes. The problem is that kernel page tables are modified without\nflushing corresponding TLB entries.\n\nEven if it looks like the empty flush_tlb_all() implementation on s390 is\nthe problem, it is actually a different problem: on s390 it is not allowed\nto replace an active/valid page table entry with another valid page table\nentry without the detour over an invalid entry. A direct replacement may\nlead to random crashes and/or data corruption.\n\nIn order to invalidate an entry special instructions have to be used\n(e.g. ipte or idte). Alternatively there are also special instructions\navailable which allow to replace a valid entry with a different valid\nentry (e.g. crdte or cspg).\n\nGiven that the HVO code currently does not provide the hooks to allow for\nan implementation which is compliant with the s390 architecture\nrequirements, disable ARCH_WANT_OPTIMIZE_HUGETLB_VMEMMAP again, which is\nbasically a revert of the original patch which enabled it."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The vulnerable HVO remap code is reached through local hugetlb pool operations \u2014 `mmap(MAP_HUGETLB)`/`munmap` driving surplus folio allocation and free, or sysfs/sysctl pool resizing \u2014 all requiring local system access. There is no network-facing path to `hugetlb_vmemmap_optimize_folio()`.\nAC:L - Every HVO optimize/restore cycle unconditionally performs the architecturally illegal valid-to-valid page table entry replacement and, in the batched path, frees vmemmap pages with zero TLB invalidation because s390\u0027s `flush_tlb_all()` is empty; the reporter confirmed reproducible crashes and an attacker can repeat the allocate/free loop indefinitely to compound the stale-TLB window.\nPR:L - On a system with HVO enabled and `nr_overcommit_hugepages` configured \u2014 the exact deployment the s390 enabling commit documents \u2014 an ordinary unprivileged user triggers `alloc_surplus_hugetlb_folio()` \u2192 `hugetlb_vmemmap_optimize_folio()` via `mmap(MAP_HUGETLB|MAP_ANONYMOUS)`, which has no capability check in `mm/mmap.c:586`. Access to a world-writable hugetlbfs mount gives the same unprivileged reach.\nUI:N - The attacker triggers the hugetlb allocation and free cycle entirely on their own; no victim action, file open, or filesystem mount by another user is needed.\nS:U - The corruption is confined to the kernel\u0027s own page tables and physical memory within a single security authority; there is no crossing of a hypervisor, IOMMU, or sandbox boundary.\nC:H - Stale writable TLB entries continue to map vmemmap virtual addresses to physical pages already returned to the buddy allocator and reallocated for arbitrary kernel or user data, giving read access to that memory; additionally, a mixed old/new translation can resolve to an arbitrary physical address, and corrupted `struct page` metadata can expose page contents across process boundaries.\nI:H - The commit explicitly states the direct entry replacement \"may lead to random crashes and/or data corruption\"; kernel writes to `struct page` through stale RW mappings land in reallocated physical pages, and the corrupted refcount/flags/mapping fields are readily leveraged into arbitrary write and control-flow hijacking primitives.\nA:H - The reporter observed reproducible kernel crashes with HVO enabled on s390, and the attacker can re-trigger the condition at will to reliably panic the system."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T12:10:03.176Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/7088465f10816d9425b95740b37c95f082041d76"
        },
        {
          "url": "https://git.kernel.org/stable/c/5e23918e4352288323d13fb511116cdea0234b71"
        },
        {
          "url": "https://git.kernel.org/stable/c/d4a8238e5729505b7394ccb007e5dc3e557aa66b"
        },
        {
          "url": "https://git.kernel.org/stable/c/64e2f60f355e556337fcffe80b9bcff1b22c9c42"
        }
      ],
      "title": "s390: Disable ARCH_WANT_OPTIMIZE_HUGETLB_VMEMMAP",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2025-68179",
    "datePublished": "2025-12-16T13:42:57.817Z",
    "dateReserved": "2025-12-16T13:41:40.251Z",
    "dateUpdated": "2026-08-05T12:10:03.176Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2025-68179",
      "date": "2026-08-10",
      "epss": "0.00137",
      "percentile": "0.03505"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2025-68179\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-12-16T14:15:49.873\",\"lastModified\":\"2026-07-30T06:24:32.327\",\"vulnStatus\":\"Deferred\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\ns390: Disable ARCH_WANT_OPTIMIZE_HUGETLB_VMEMMAP\\n\\nAs reported by Luiz Capitulino enabling HVO on s390 leads to reproducible\\ncrashes. The problem is that kernel page tables are modified without\\nflushing corresponding TLB entries.\\n\\nEven if it looks like the empty flush_tlb_all() implementation on s390 is\\nthe problem, it is actually a different problem: on s390 it is not allowed\\nto replace an active/valid page table entry with another valid page table\\nentry without the detour over an invalid entry. A direct replacement may\\nlead to random crashes and/or data corruption.\\n\\nIn order to invalidate an entry special instructions have to be used\\n(e.g. ipte or idte). Alternatively there are also special instructions\\navailable which allow to replace a valid entry with a different valid\\nentry (e.g. crdte or cspg).\\n\\nGiven that the HVO code currently does not provide the hooks to allow for\\nan implementation which is compliant with the s390 architecture\\nrequirements, disable ARCH_WANT_OPTIMIZE_HUGETLB_VMEMMAP again, which is\\nbasically a revert of the original patch which enabled it.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"arch/s390/Kconfig\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"00a34d5a99c0631bd780b14cbe3813d0b39c3886\",\"lessThan\":\"7088465f10816d9425b95740b37c95f082041d76\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"00a34d5a99c0631bd780b14cbe3813d0b39c3886\",\"lessThan\":\"5e23918e4352288323d13fb511116cdea0234b71\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"00a34d5a99c0631bd780b14cbe3813d0b39c3886\",\"lessThan\":\"d4a8238e5729505b7394ccb007e5dc3e557aa66b\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"00a34d5a99c0631bd780b14cbe3813d0b39c3886\",\"lessThan\":\"64e2f60f355e556337fcffe80b9bcff1b22c9c42\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"arch/s390/Kconfig\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"6.2\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"6.2\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.117\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.58\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.17.8\",\"lessThanOrEqual\":\"6.17.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":7.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.9}]},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/5e23918e4352288323d13fb511116cdea0234b71\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/64e2f60f355e556337fcffe80b9bcff1b22c9c42\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/7088465f10816d9425b95740b37c95f082041d76\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d4a8238e5729505b7394ccb007e5dc3e557aa66b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-07-30T08:43:16+00:00",
      "cve": "CVE-2025-68179",
      "id": "CVE-2025-68179",
      "initial_release_date": "2025-12-16T00:00:00+00:00",
      "product_status:fixed": "305",
      "product_status:known_affected": "98",
      "product_status:known_not_affected": "90",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: Linux kernel (s390): Denial of service and data corruption due to improper page table updates",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-68179.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-07-31T00:59:01Z",
      "cve": "CVE-2025-68179",
      "id": "CVE-2025-68179",
      "initial_release_date": "2025-12-17T00:26:10Z",
      "product_status:known_affected": "184",
      "product_status:known_not_affected": "266",
      "product_status:recommended": "43",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2025-68179",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2025-68179.json",
      "version": "15"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…