]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
UBUNTU: SAUCE: rfi-flush: Fix the fallback flush to actually activate
authorMichael Ellerman <mpe@ellerman.id.au>
Sat, 6 Jan 2018 15:50:16 +0000 (21:20 +0530)
committerMarcelo Henrique Cerri <marcelo.cerri@canonical.com>
Thu, 11 Jan 2018 20:35:24 +0000 (18:35 -0200)
commit468e79eb979525c748eb851cb16f5f095174a7cd
tree3879a575f4617c96e3db5cf74dff29fc906673cb
parent9c586f5255f00ba2610d686cb738ccb1d5363d59
UBUNTU: SAUCE: rfi-flush: Fix the fallback flush to actually activate

CVE-2017-5754

BugLink: http://bugs.launchpad.net/bugs/1742772
Since we now have three nops, we need to branch further to get over
the nops to the branch to the fallback flush.

Instead of putting the branch in slot 1 and branching by 8, put it in
0 and branch all the way to keep it simple.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Marcelo Henrique Cerri <marcelo.cerri@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
arch/powerpc/lib/feature-fixups.c