In the Linux kernel, the following vulnerability has been resolved: x86/mm: Fix SMP ordering in switchmmirqsoff() Stephen noted that it is possible to not have an smpmb() between the loadedmm store and the tlbgen load in switchmm(), meaning the ordering against flushtlbmmrange() goes out the window, and it becomes possible for switchmm() to not observe a recent tlbgen update and fail to flush the TLBs. [ dhansen: merge conflict fixed by Ingo ]