<div dir="ltr">Replying via email as Phab is ... sad still.<br><br><div class="gmail_quote"><div dir="ltr">On Thu, Jan 4, 2018 at 9:55 AM Tom Stellard via Phabricator via llvm-commits <<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">tstellar added a comment.<br>
<br>
Does this CVE affect all previous versions of clang/llvm ?<br></blockquote><div><br></div><div>It's orthogonal. The CVE is a hardware issue. This patch allows specific, sensitive software systems to mitigate this CVE with a new suite of compiler features.</div><div><br></div><div>So the CVE doesn't affect any particular version, but everyone *is* affected and we should try to get this feature into all mainstream versions of clang/llvm to help users mitigate it.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
The Project Zero blog post mention that this issue affects ARM CPUs, does clang/llvm need a similar fix for ARM?<br></blockquote><div><br></div><div>Perhaps, but it will need to be reasonably tailored to ARM processors. The technique of using a "ret" as a constrained prediction domain indirect branch is a pretty x86-specific trick.</div><div><br></div><div>All the other components are generic and should be easily adapted to other processors if they need them.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Is this fix important enough to do a special 5.0.2 release for it?<br></blockquote><div><br></div><div>IMO, absolutely. I'd love to get this landed, backported, and a 5.0.2 release out within O(days) because that way distros can pick it up rapidly.</div><div><br></div><div>I view this as relatively low risk as it is an entirely optional code path. It may have bugs, but it shouldn't make existing things buggy.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
<a href="https://reviews.llvm.org/D41723" rel="noreferrer" target="_blank">https://reviews.llvm.org/D41723</a><br>
<br>
<br>
<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits</a><br>
</blockquote></div></div>