HT Vulnerability CAN-2005-0109
Quoted 1 line
Is it possible that two domain kernels running on the same physical core
but on different ht threads leak information to each other exploiting this covert/side channels?
It is possible. When exploited, this is a fairly high bandwiidth channel. It is possible for the nucleus to prevent this through page coloring.
All that being said, future processors are moving from HT to multicore. The problem then migrates to the L2 cache, where coloring is much less effective. It is unlikely that there exists any satisfsactory solution short of flushing or disabling the cache, neither of which is pragmatically viable.
Current high assurance requirements don't require that you solve the channel problem. They require that you characterize them and make a reasonable efffort to minimize them.
Shap
Quoted 5 lines
All that being said, future processors are moving from HT to multicore. The problem then migrates to the L2 cache, where coloring is much less effective. It is unlikely that there exists any satisfsactory solution short of flushing or disabling the cache, neither of which is pragmatically viable.
But the bandwidth for L2 cache channel using this technique will also be lower than for the L1. Additionally, I think the dual core CPUs coming from AMD and Intel don't actually share any cache (yet), unlike the dual-core POWER products from IBM.
Cheers,
Mark
Quoted 12 lines
Current high assurance requirements don't require that you solve the channel problem. They require that you characterize them and make a reasonable efffort to minimize them.
Shap
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 8 lines · Mark Williamson
Quoted 5 lines
All that being said, future processors are moving from HT to multicore. The problem then migrates to the L2 cache, where coloring is much less effective. It is unlikely that there exists any satisfsactory solution short of flushing or disabling the cache, neither of which is pragmatically viable.
But the bandwidth for L2 cache channel using this technique will also be lower than for the L1....
This isn't immediately obvious. It depends on how effectively the transmitter can achieve "line resident in L2 but not in L1".
Quoted 5 lines
Quoted 2 lines
But the bandwidth for L2 cache channel using this technique will also be lower than for the L1....
This isn't immediately obvious. It depends on how effectively the transmitter can achieve "line resident in L2 but not in L1".
OK, I should have qualified that statement :-) It's a fair cop...
The L2 bandwidth for this channel is lower on current Intel CPUs because you have the added complication of TLB misses whilst trying to exploit the covert channel. This is a significant issue because the TLB on the P4 apparently can only map half of the address space the cache can hold...
On current P4s the associativity of the L2 is 8 way, rather than 4 way, which also reduces the efficiency of the miss-generating technique.
My original statement implicitly assumes that these factors will continue to be present as the chips evolve. If Intel change the TLB size relative to the L2 cache, or the associativity of the L1 / L2 caches, then this situation could still change.
It's not entirely clear to me how much code for exploiting this channel was produced by Colin Percival vs. how much of his data is based on calculated estimates. Does anyone know of a proof-of-concept exploit?
Cheers,
Mark