[Bug target/86777] Bfin port needs updating for CVE-2017-5753

jiez at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Aug 15 00:59:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86777

--- Comment #1 from Jie Zhang <jiez at gcc dot gnu.org> ---
(In reply to Richard Earnshaw from comment #0)
> The bfin port needs updating for this CVE.  See the linked meta bug for
> details of possible actions required.

For Blackfin, the speculative load only happens when the load instruction is
the next instruction after conditional jump instruction. For example,

conditional jump
load

The above load will be speculatively executed. But

conditional jump
add
load

this load will not.

Is there a way to control speculation barrier being only inserted for the first
case, but not for the second case? Thanks.

Jie


More information about the Gcc-bugs mailing list