News: 0001661912

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Linux 7.4 To Land New BTB CTX Isolation Feature Of AMD Zen 6

([AMD] 3 Hours Ago AMD BTB CTX Isolation)


The [1]Linux 7.4 kernel is set to introduce support for a new AMD Zen 6 security feature.

Adding to the [2]Zen 6 related patches queuing up ahead of the Linux 7.4 merge window later this month is enabling support for the new Branch Target Buffer Context "BTB CTX" Isolation feature. BTB CTX Isolation is [3]a new security defense against SRSO , the Speculative Return Stack Overflow vulnerability that affected Zen 1 to Zen 4 CPUs. BTB CTX Isolation will isolate the different user/kernel and guest/host contexts from one another.

[4]This patch queued now into tip/tip.git's "x86/bugs" Git branch adapts the AMD SRSO mitigation for this new Zen 6 capability:

"Zen6 has BTB protection which isolates the different contexts (user/kernel, guest/host) from one another. This makes the SafeRET mitigation there unnecessary leaving the user/user and guest/guest attack vectors open, whose protection is handled by the Spectre v2 mitigation setting to do IBPB on a context switch.

Detect that setting and report it with a new mitigation string."

With the patch in a TIP Git branch ahead of the Linux 7.4 merge window opening later this month, it should be submitted for that next kernel version. Linux 7.4 is looking to be an important kernel overall for Zen 6 enablement, especially on the Ryzen client side with a number of patches landing while for the 6th Gen EPYC "Venice" servers we've already been seeing work there the past several kernel cycle.



[1] https://www.phoronix.com/search/Linux+7.4

[2] https://www.phoronix.com/search/Zen+6

[3] https://www.phoronix.com/news/Linux-Preps-AMD-BTB-CTX

[4] https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=ae1d2082d93bc04604dc08e9b7f9cdba5e0c28e6



Yes... I feel your pain... but as a former first poster (I scored mine a
couple months ago) I know what you went through. Here's where you screwed
up though... YOU DIDN'T PULL THE TRIGGER. You didn't carpe diem.

Yep... When I saw that nice clean article with no posts I didn't hesitate,
yes the adrenaline was surging... my palms were wet, heart pounding. I was
standing at the peak of greatness... I knew I had but one thing to do,
there was no turning back now... I rapidly typed in a one word post.. then
with no hesitation I navigated my mouse over the submit button... and
WHAM.. seconds later I was looking at my feeble post with a #1 attached to
the header. At that mmoment I knew a feeling that only few will ever
know... I was at one with Slashdot... Zen masters and Kings will relate
I'm sure. That one sweet moment when the ying and the yang converge...
bliss... eternal bliss... ahhh!

Then I smoked a cigarette and went to bed.

-- Anonymous Coward, in response to a "First Post!" that clearly wasn't.