Page MenuHomeFreeBSD

Implement the SSBD (CVE-2018-3639) workaround on arm64
ClosedPublic

Authored by andrew on Jun 15 2018, 10:08 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 12, 9:41 AM
Unknown Object (File)
Mar 7 2024, 1:14 PM
Unknown Object (File)
Feb 7 2024, 9:19 AM
Unknown Object (File)
Dec 20 2023, 5:31 AM
Unknown Object (File)
Dec 13 2023, 4:36 PM
Unknown Object (File)
Dec 12 2023, 5:46 PM
Unknown Object (File)
Nov 22 2023, 3:21 AM
Unknown Object (File)
Nov 13 2023, 3:24 AM

Details

Summary

This calls into the Arm Trusted Firmware to enable and disable the workaround
for the Speculative Store Bypass Disable (SSBD) issue, also known as Spectre
Variant 4.

As this may have a large performance overhead, and how exploitable SSBD is
is unknown we follow the Linux lead of allowing the administrator to select
between always on, always off, or only enabled in the kernel, with the latter
being the default.

PR: 228955

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Fix the SMCCC_ARCH_WORKAROUND_2 function ID

delphij added reviewers: kib, emaste.
delphij added a subscriber: delphij.

Adding kib@ and emaste@. (I think secteam@ do want to pay attention on this one but is probably more of a "FYI" or "Cc" role rather than a reviewer but thanks for the heads up).

This revision was not accepted when it landed; it landed in state Needs Review.Jul 31 2018, 12:53 PM
This revision was automatically updated to reflect the committed changes.