CVE
CVE-2025-71078
CNA 原文 · 原文(英文)
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_off() switch_slb load_slb++ /* * load_slb becomes 0 here *…
受影响版本
- 6.19-rc8仅此版本
- 6.19-rc7仅此版本
- 6.19-rc6仅此版本
- 6.19-rc5仅此版本
- 6.19-rc4仅此版本
- 6.19-rc3仅此版本
- 6.19-rc2仅此版本
- 6.19-rc1仅此版本
- ≥ 6.13, < 6.18.4修复版本 6.18.4
- ≥ 6.7, < 6.12.64修复版本 6.12.64
- ≥ 6.2, < 6.6.120修复版本 6.6.120
- ≥ 5.16, < 6.1.160修复版本 6.1.160
- ≥ 5.11, < 5.15.198修复版本 5.15.198
- ≥ 4.20.1, < 5.10.248修复版本 5.10.248
- 4.20仅此版本
发行版软件包(Debian、Ubuntu、Red Hat 等)会回移补丁而不改上游版本号,请同时查看所用发行版的安全公告。
公告与补丁
- git.kernel.org/stable/c/00312419f0863964625d6dcda8183f96849412c6 · Patch
- git.kernel.org/stable/c/01324c0328181b94cf390bda22ff91c75126ea57 · Patch
- git.kernel.org/stable/c/2e9a95d60f1df7b57618fd5ef057aef331575bd2 · Patch
- git.kernel.org/stable/c/4ae1e46d8a290319f33f71a2710a1382ba5431e8 · Patch
- git.kernel.org/stable/c/895123c309a34d2cfccf7812b41e17261a3a6f37 · Patch
- git.kernel.org/stable/c/b13a3dbfa196af68eae2031f209743735ad416bf · Patch
- git.kernel.org/stable/c/c9f865022a1823d814032a09906e91e4701a35fc · Patch
数据来源:NVD(公有领域)、CISA KEV(CC0)、FIRST EPSS、OSV.dev / GitHub Advisory Database(CC-BY 4.0) · 本库只列受影响版本与修复版本,不托管、不链接任何利用代码。