CVE-2026-100035
JSON

7.0high

alpha: fix the local TLB invalidate in flush_tlb_page()

Severity
7.0high CVSS:3.1 by Linux
Exploit likelihood
0.17% (higher than 6% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 5e5d66a01e9306419a8ee6a50eae96faef7362bf, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before f41baa3acba2a7c776b01bc71292e74ef4f159a3, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 6c7a76f34009ed54c23ded11a5c6384d550808e5, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before b456f8b7c70800e8333c5891065dcb48a48e2732, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 3d6546c65188befd9ee3cf65ce7dcf08b5e08610, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before be818ec671dba143030e5924cb44a768114042ca, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 8f7524673fcd6a8d854f99b9a317481c475100f1, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 32f4dd420d626f96128fcfeea2ab24760b4f21a6 and 1 more
Not affected: before 2.6.12, from 5.10.275 up to 5.10.*, from 5.15.226 up to 5.15.*, from 6.1.193 up to 6.1.*, from 6.6.163 up to 6.6.*, from 6.12.117 up to 6.12.*
CVE List

References

Sources

SourceRecordLicence
CVE ListCVE-2026-100035 changed 2026-12-01CVE Terms of Use
NVDCVE-2026-100035 changed 2026-12-01Public domain