APPLIED[3]: [PATCH 0/3][SRU][ARTFUL] Fix deadlock on task switches with new microcode

Stefan Bader stefan.bader at
Thu Apr 5 12:41:00 UTC 2018

On 05.04.2018 07:51, Tyler Hicks wrote:
> BugLink:
> [Impact]
> Some systems experience kernel lockups after updating to the latest
> intel-microcode package or when receiving updated microcode from a BIOS update.
> In many cases, the lockups occur before users can reach the login screen which
> makes it very difficult to debug/workaround.
> [Test Case]
> The most reliable test case currently known is to install the sssd package.
> Lockups may occur during package installation (disable IBPB by writing 0 to
> /proc/sys/kernel/ibpb_enabled to prevent this from happening). A lockup will
> most likely occur just after booting the system up as the lock screen is
> displayed.
> [Regression Potential]
> The fix is in the task switching code of the kernel so complexity of the change
> is relatively high.
> [Other Information]
> The third patch fixes what I think was an incomplete backport of 72be211ba.
> That commit added the initialize_tlbstate_and_flush() function but then never
> added any callers of that function.
> I was hopeful that the third patch would fix a resume from hibernation/sleep
> bug (LP: #1748393) but one tester reported that it did not have an effect.

After some more discussions and pointing out that 2/3 does add some init code to
the function that currently was not used (and also that 3/3 is related to both
CVEs) I applied 3/3 to master-next as well.


> Tyler

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the kernel-team mailing list