Intel嚴重漏洞 OS更新將會降低效能 - 3C

Table of Contents

※ 引述《bf000777966 (joe)》之銘言:
: LINUS 本人證實蘇媽的說法,在新的核心補丁裡面排除了AMD的CPU
: "Exclude AMD from the PTI enforcement. Not necessarily a fix, but if AMD is so c
: onfident that they are not affected, then we should not burden users with the ov
: erhead - x86/cpu, x86/pti: Do not enable PTI on AMD processors"
: "AMD processors are not subject to the types of attacks that the kernel page tab
: le isolation feature protects against. The AMD microarchitecture does not allow
: memory references, including speculative references, that access higher privileg
: ed data when running in a lesser privileged mode when that access would result i
: n a page fault."
: Linus Torvalds Trusts Lisa Su's Commitment to AMD CPU Security
: http://go.newsfusion.com/security/item/1108590


Meltdown的原文(PDF論文): https://meltdownattack.com/meltdown.pdf


原理就是利用speculative execution跟out-of-order execution的特性

在產生exception之前趕快把資料讀走

論文裡還有用intel的TSX隱藏住exception,不讓系統發現



6.4 Limitations on ARM and AMD

論文說在AMD跟ARM上雖然也能跑,但是讀不出結果

蘇媽的說法是他家的CPU禁止任何違法的reference

可信度其實很高(跟論文說的一致)




另一個漏洞叫 Spectre

比meltdown更不直觀,也很難patch掉

不過攻擊原理很類似(改用機率統計判讀)

目前任何有speculative execution的CPU都會中獎

而且要patch的也許不僅是OS而已

一般軟體有資安顧慮的都要修改



結論:

Meltdown是重大的漏洞一定要修(至少從第一代的core i就有的)

Spectre也是很大的洞,連手機都會中,不過比較難利用,也很難Patch掉QQ

--

All Comments

Bethany avatarBethany2018-01-05
Spectre還是得面對
Selena avatarSelena2018-01-08
對不起我實在沒時間精神讀整篇英文QQ有沒有人能說一
下 exception 前讀走是從哪邊讀?
Quintina avatarQuintina2018-01-09
我以為是L1/L2 Cache?
Carolina Franco avatarCarolina Franco2018-01-09
看5.1 Attack Description
Carol avatarCarol2018-01-14
exception後趁cache還在,可以判斷出條件式指令的
結果
Sandy avatarSandy2018-01-15
其實我搞不懂Spectre要怎麼有意義的針對特定資料
還是就大海撈針 總有一天會讓你等到?
Anonymous avatarAnonymous2018-01-18
要對目標程式有一定了解,偷密碼之類的似乎不難
Jacob avatarJacob2018-01-22
就我的理解 他撈資料有機率性?
Lydia avatarLydia2018-01-26
不是,是要跑幾輪才能確定
像是猜密碼
Catherine avatarCatherine2018-01-28
我再重看一次文件好了QQ
Mason avatarMason2018-01-30
所以效能越好的系統撈越快嗎QQ
Blanche avatarBlanche2018-02-02
我也沒很懂,懂一部份而已QQ
Enid avatarEnid2018-02-06
Spectre目前是還好,因為只能在本地端執行,而且
Freda avatarFreda2018-02-06
只能看到同行程裡的東西