All of lore.kernel.org
 help / color / mirror / Atom feed
* CVE-2026-100035: alpha: fix the local TLB invalidate in flush_tlb_page()
@ 2026-11-30 13:23 Greg Kroah-Hartman
  0 siblings, 0 replies; only message in thread
From: Greg Kroah-Hartman @ 2026-11-30 13:23 UTC (permalink / raw)
  To: linux-cve-announce; +Cc: Greg Kroah-Hartman

From: Greg Kroah-Hartman <gregkh@kernel.org>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

alpha: fix the local TLB invalidate in flush_tlb_page()

flush_tlb_page() invalidates the calling CPU itself before asking the
others, and gates that on current->active_mm. For a non-executable vma
that means a targeted tbi(2, addr), which acts on the context currently
loaded and is only guaranteed to invalidate the intended translations
when the target mm's context is the loaded one. A lazy active_mm does
not establish that, so as in ipi_flush_tlb_page() the target mm's stale
translations can survive, and nothing forces the old ASN to be retired
afterwards.

Test current->mm instead. A lazy caller then takes the flush_tlb_other()
branch added by the previous patch, retiring its local context. Adding
that branch first preserves the local invalidate at every step, including
on EV7 where a targeted tbi() against a foreign ASN appeared to work.

Which callers reach here with a foreign mm depends on the configuration.
folio_mkclean(), from the writeback flusher kworker that has no mm of its
own, accounted for about half the calls during writeback of a shared
mapping and none at all on anonymous memory. Those counts were measured
with CONFIG_COMPACTION=n: with COMPACTION=y, asm/pgtable.h overrides
ptep_clear_flush() to call migrate_flush_tlb_page(), which rendezvouses
with every CPU and handles the context itself, so folio_mkclean() does
not reach this function.

The Linux kernel CVE team has assigned CVE-2026-100035 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 5.10.275 with commit 5e5d66a01e9306419a8ee6a50eae96faef7362bf
	Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 5.15.226 with commit f41baa3acba2a7c776b01bc71292e74ef4f159a3
	Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.1.193 with commit 6c7a76f34009ed54c23ded11a5c6384d550808e5
	Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.6.163 with commit b456f8b7c70800e8333c5891065dcb48a48e2732
	Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.12.117 with commit 3d6546c65188befd9ee3cf65ce7dcf08b5e08610
	Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.18.63 with commit be818ec671dba143030e5924cb44a768114042ca
	Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.3.4 with commit 8f7524673fcd6a8d854f99b9a317481c475100f1
	Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.4-rc1 with commit 32f4dd420d626f96128fcfeea2ab24760b4f21a6

Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to
older supported kernel versions.  The official CVE entry at
	https://cve.org/CVERecord/?id=CVE-2026-100035
will be updated if fixes are backported, please check that for the most
up to date information about this issue.


Affected files
==============

The file(s) affected by this issue are:
	arch/alpha/kernel/smp.c


Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes.  Individual
changes are never tested alone, but rather are part of a larger kernel
release.  Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all.  If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
	https://git.kernel.org/stable/c/5e5d66a01e9306419a8ee6a50eae96faef7362bf
	https://git.kernel.org/stable/c/f41baa3acba2a7c776b01bc71292e74ef4f159a3
	https://git.kernel.org/stable/c/6c7a76f34009ed54c23ded11a5c6384d550808e5
	https://git.kernel.org/stable/c/b456f8b7c70800e8333c5891065dcb48a48e2732
	https://git.kernel.org/stable/c/3d6546c65188befd9ee3cf65ce7dcf08b5e08610
	https://git.kernel.org/stable/c/be818ec671dba143030e5924cb44a768114042ca
	https://git.kernel.org/stable/c/8f7524673fcd6a8d854f99b9a317481c475100f1
	https://git.kernel.org/stable/c/32f4dd420d626f96128fcfeea2ab24760b4f21a6

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-30 13:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-30 13:23 CVE-2026-100035: alpha: fix the local TLB invalidate in flush_tlb_page() Greg Kroah-Hartman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.