Skip to content
Heist/ feed
High

powerpc/64s/slb: Fix SLB multihit issue during SLB preload

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: powerpc/64s/slb: Fix SLB multihit issue during SLB preload On systems using the hash MMU, there is a software SLB preload cache that mirrors the entries loaded into the hardware SLB buffer. This preload cache is subject to periodic eviction — typically after every 256 context switches — to remove old entry. To optimize performance, the kernel skips switch_mmu_context() in switch_mm_irqs_off() when the prev and next mm_struct are the same. However, on hash MMU systems, this can lead to inconsistencies between the hardware SLB and the software preload cache. If an SLB entry for a process is evicted from the software cache on one CPU, and the same process later runs on another CPU without executing switch_mmu_context(), the hardware SLB may retain stale entries. If the kernel then attempts to reload that entry, it can trigger an SLB multi-hit error. The following timeline shows how stale SLB entries are created and can cause a multi-hit error when a process moves between CPUs without a MMU context switch. CPU 0 CPU 1 ----- ----- Process P exec swapper/1 load_elf_binary begin_new_exc activate_mm switch_mm_irqs_off switch_mmu_context switch_slb /* * This invalidates all * the entries in the HW * and setup the new HW * SLB entries as per the * preload cache. */ context_switch sched_migrate_task migrates process P to cpu-1 Process swapper/0 context switch (to process P) (uses mm_struct of Process P) switch_mm_irqs_o

Announced Group revision 1
Original source ↗

CVE-2025-71078

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2025-71078

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "5434ae74629af58ad0fc27143a9ea435f7734410",
        "lessThan": "01324c0328181b94cf390bda22ff91c75126ea57",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "5434ae74629af58ad0fc27143a9ea435f7734410",
        "lessThan": "2e9a95d60f1df7b57618fd5ef057aef331575bd2",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "5434ae74629af58ad0fc27143a9ea435f7734410",
        "lessThan": "c9f865022a1823d814032a09906e91e4701a35fc",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "5434ae74629af58ad0fc27143a9ea435f7734410",
        "lessThan": "b13a3dbfa196af68eae2031f209743735ad416bf",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "5434ae74629af58ad0fc27143a9ea435f7734410",
        "lessThan": "895123c309a34d2cfccf7812b41e17261a3a6f37",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "5434ae74629af58ad0fc27143a9ea435f7734410",
        "lessThan": "4ae1e46d8a290319f33f71a2710a1382ba5431e8",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "5434ae74629af58ad0fc27143a9ea435f7734410",
        "lessThan": "00312419f0863964625d6dcda8183f96849412c6",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "arch/powerpc/include/asm/book3s/64/mmu-hash.h",
      "arch/powerpc/kernel/process.c",
      "arch/powerpc/mm/book3s64/internal.h",
      "arch/powerpc/mm/book3s64/mmu_context.c",
      "arch/powerpc/mm/book3s64/slb.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "4.20"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "4.20",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "5.10.248",
        "versionType": "semver",
        "lessThanOrEqual": "5.10.*"
      },
      {
        "status": "unaffected",
        "version": "5.15.198",
        "versionType": "semver",
        "lessThanOrEqual": "5.15.*"
      },
      {
        "status": "unaffected",
        "version": "6.1.160",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.120",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.64",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.4",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "6.19",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "arch/powerpc/include/asm/book3s/64/mmu-hash.h",
      "arch/powerpc/kernel/process.c",
      "arch/powerpc/mm/book3s64/internal.h",
      "arch/powerpc/mm/book3s64/mmu_context.c",
      "arch/powerpc/mm/book3s64/slb.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2025-71078

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#39139 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement