News for hackers. Stuff that matters.
Re:Zenbleed by hedgehog on Monday July 24, 2023 @05:59PM (#36854835)
In certain cases isolation and simplicity overlap, I suspect for example that the dangers of SMT implementation complexity are part of why Apple didn't implement it for their respective CPUs. Likely we'll see this elsewhere too, for example Amazon may not ever push to have SMT in their Graviton chips (the early generations are off the shelf cores from ARM where they didn't have a readily available choice).
Re:Zenbleed by asdfasgasdgasdg on Monday July 24, 2023 @07:38PM (#36855727)
I could be mistaken, but I don't think Zenbleed has anything to do with SMT, based on my reading of the document. There is a mention of hyperthreads sharing the same physical registers, but you can spy on anything happening on the same physical core, because the register file is shared across the whole core.

It even says so in the document:

    Note that it is not sufficient to disable SMT.
Apple's chips don't have this vulnerability, but it's not because they don't have SMT. They just didn't write this particular defect into their CPU implementation.
Re:Zenbleed by hedgehog on Wednesday July 26, 2023 @01:42PM (#36881718)
Correct, I was responding to parent writing "At what point does the complexity of CPU architectures become so difficult to reason about that we just accept the performance penalty of keeping it simpler?"

I think we may be seeing an industry-wide shift away from SMT because the performance penalty is small and the complexity cost is high, if so that fits parent's speculation about the trend. In a narrow sense Zenbleed isn't related to SMT but OP's question seems perfectly relevant to me. I come from a security background and on average more complicated == less secure because engineering resources are finite and it's just harder and more work to make complicated things correct.

Re:Zenbleed by meithecatte on Monday July 24, 2023 @07:55PM (#36855876)
Eh, as long as you assign both hyper-threads to the same tenant, and schedule them at the same time, you should be fine.
Re:Zenbleed by throwawaylinux on Tuesday July 25, 2023 @04:58AM (#36859747)
Not really if that's an attack you're concerned about, because guests can attack the hypervisor via the same mechanisms. You would need to gang schedule to ensure all threads of a core were only either in host or guest.