Commit e82cad5f authored by Michael Ellerman's avatar Michael Ellerman Committed by Marcelo Henrique Cerri

UBUNTU: SAUCE: rfi-flush: Fix HRFI_TO_UNKNOWN

CVE-2017-5754

BugLink: http://bugs.launchpad.net/bugs/1742772

We forgot to expand the number of nops in HRFI_TO_UNKNOWN when we
expanded the number of nops. The result is we actually overwrite the
rfid with a nop, which is not good. Luckily this is only used in
denorm_done, which is not hit often.

Spotted by Ram.
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Signed-off-by: default avatarMarcelo Henrique Cerri <marcelo.cerri@canonical.com>
parent 1a65b15b
......@@ -123,6 +123,8 @@
#define HRFI_TO_UNKNOWN \
RFI_FLUSH_FIXUP_SECTION; \
nop; \
nop; \
nop; \
hrfid; \
b hrfi_flush_fallback
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment