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