All of lore.kernel.org
 help / color / mirror / Atom feed
* CVE-2026-100033: alpha: invalidate the local context in flush_tlb_mm()
@ 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: invalidate the local context in flush_tlb_mm()

flush_tlb_mm() has the same caller-CPU omission that was fixed in
flush_tlb_page(): when the target mm is not the calling CPU's active_mm
nothing happens locally, and smp_call_function() handles only the other
CPUs, so this CPU may later reuse the old ASN together with the
translations it still holds.

The active_mm test itself is left alone here. That path calls
flush_tlb_current(), which loads a fresh context through
__load_new_mm_context() rather than issuing a targeted tbi() against
whatever ASN happens to be loaded, so it does not depend on which context
is current.

The uniprocessor implementation in asm/tlbflush.h already has the missing
branch. Counted over a fork-heavy run, flush_tlb_mm() was entered with the
mm not this CPU's active_mm 2934 times, and 632 times while otherwise idle.

The proposed Alpha hugetlb support routes hugetlb invalidations through
flush_tlb_range(), which calls this function. Unmapping or migrating a
hugetlb folio from another context will also need this local invalidate.

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


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

	Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 5.10.275 with commit def2772f486665f1144ec5aa347b26ac1fbdfc90
	Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 5.15.226 with commit 9941bdb511b7771f51190a10ae141088f8a9af92
	Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.1.193 with commit c5ca925c464371b099837aa8ad057f64611ee409
	Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.6.163 with commit dc61db41a015cbfa38b6446fd37e4d15e1dbdbb2
	Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.12.117 with commit c25050f8e22e1f65e244970c0f641d4413287991
	Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.18.63 with commit 4f2aa02c8865810c9dbeec767e78da9e2bd8ef43
	Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.3.4 with commit f763165bb711567c18ede8f3cc20943b37b2b82e
	Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.4-rc1 with commit 721bb7a129771f0ff9cef1dd5abfc106ef65feba

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-100033
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/def2772f486665f1144ec5aa347b26ac1fbdfc90
	https://git.kernel.org/stable/c/9941bdb511b7771f51190a10ae141088f8a9af92
	https://git.kernel.org/stable/c/c5ca925c464371b099837aa8ad057f64611ee409
	https://git.kernel.org/stable/c/dc61db41a015cbfa38b6446fd37e4d15e1dbdbb2
	https://git.kernel.org/stable/c/c25050f8e22e1f65e244970c0f641d4413287991
	https://git.kernel.org/stable/c/4f2aa02c8865810c9dbeec767e78da9e2bd8ef43
	https://git.kernel.org/stable/c/f763165bb711567c18ede8f3cc20943b37b2b82e
	https://git.kernel.org/stable/c/721bb7a129771f0ff9cef1dd5abfc106ef65feba

^ 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-100033: alpha: invalidate the local context in flush_tlb_mm() 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.