Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 894456 - Kernel < 6.1.12, 5.15.94: Cross-Thread Return Address Predictions vulnerability
Summary: Kernel < 6.1.12, 5.15.94: Cross-Thread Return Address Predictions vulnerability
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Kernel (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Security
URL: https://lwn.net/ml/linux-kernel/20230...
Whiteboard:
Keywords:
Depends on: 894460
Blocks:
  Show dependency tree
 
Reported: 2023-02-14 21:07 UTC by Michał Górny
Modified: 2023-05-01 05:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-02-14 21:07:35 UTC
From ${URL}:

```
Certain AMD processors are vulnerable to a cross-thread return address
predictions bug. When running in SMT mode and one of the sibling threads
transitions out of C0 state, the other thread gets access to twice as many
entries in the RSB, but unfortunately the predictions of the now-halted
logical processor are not purged.  Therefore, the executing processor
could speculatively execute from locations that the now-halted processor
had trained the RSB on.

The Spectre v2 mitigations cover the Linux kernel, as it fills the RSB
when context switching to the idle thread. However, KVM allows a VMM to
prevent exiting guest mode when transitioning out of C0 using the
KVM_CAP_X86_DISABLE_EXITS capability can be used by a VMM to change this
behavior. To mitigate the cross-thread return address predictions bug,
a VMM must not be allowed to override the default behavior to intercept
C0 transitions.
```

Apparently mitigated in 6.1.12 and 5.15.94.
Comment 1 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2023-05-01 05:49:23 UTC
$ fix_in_what_release 6f0f2d5ef895d66a3f2b32dd05189ec34afa5a55
5.15.94 6.1.12

Tree is clean for a long time.