Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can Bochs VM help to avoid spectre and meltdown types of att
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
romankqsok
n00b
n00b


Joined: 06 Jan 2019
Posts: 28

PostPosted: Thu Feb 07, 2019 11:15 am    Post subject: Can Bochs VM help to avoid spectre and meltdown types of att Reply with quote

Can bochs full emulation prevent escaping from guest to host using spectre like vulnerabilities?
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5588

PostPosted: Thu Feb 07, 2019 4:21 pm    Post subject: Reply with quote

no
Back to top
View user's profile Send private message
romankqsok
n00b
n00b


Joined: 06 Jan 2019
Posts: 28

PostPosted: Thu Feb 07, 2019 4:51 pm    Post subject: Reply with quote

Does an ability of a guest to escape into the host address space depend on a type of virtualization?

For example slow full emulation like in Bochs (when original CPU instructions are converted to other instructions before execution) vs fast hardware virtualization (when CPU instructions are executed almost unchanged just in another context) if I understand correctly ?

What about a full emulation of even another architecture? Say fully emulating immune Cortex A53 virtual hardware on a X86 hardware which is not immune to spectre by itself?

Is it so easy to produce a code for a Cortex A53 virtual guest CPU which would be translated into vulnerable hardware X86 host instructions?
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5588

PostPosted: Fri Feb 08, 2019 12:53 am    Post subject: Reply with quote

Javascript runtimes are vulnerable. Anything lower-level than that is also going to be vulnerable.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum