In the Linux kernel, the following vulnerability has been resolved: alpha: invalidate the local context in flush_tlb_page() When the target mm is not the calling CPU's active_mm, flush_tlb_page() does nothing locally, and smp_call_function() reaches only the other CPUs. This CPU may still hold translations for the mm and can later reuse the old ASN together with them. Add the missing else branch. flush_tlb_other() clears mm->context[cpu] so a fresh ASN is taken at the next switch. Add this before changing the current->active_mm test to current->mm: that change will also send lazy callers here, so their local invalidate must already be in place. The uniprocessor implementations of flush_tlb_mm() and flush_icache_user_page() in asm/tlbflush.h and asm/cacheflush.h already contain exactly this branch.
https://git.kernel.org/stable/c/d67bdaa88078da5ffa8d7b26a42f0d7e9e534934
https://git.kernel.org/stable/c/c93a6fe9de0256d5b1d493a031a8bc9bcbb89e7d
https://git.kernel.org/stable/c/c772377b6eb98f596a588923be260b40b89bedc2
https://git.kernel.org/stable/c/c0db730bf05eb3c10c1fae64b19f6913dce129fc
https://git.kernel.org/stable/c/b6304897bfdb383f2f6e9655bf05a041b29bc513
https://git.kernel.org/stable/c/ab0678412cc7ebfcafbc7b958f3afc50a9d2c47f
https://git.kernel.org/stable/c/5aa85f90a825b7eb9d4b6d0dd956d652715fa108
https://git.kernel.org/stable/c/393cdca8e239b50ab2fc237cdbc5adfee14eab0a