]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'net-socket-Fix-potential-spectre-v1-gadgets'
authorDavid S. Miller <davem@davemloft.net>
Sun, 29 Jul 2018 05:43:31 +0000 (22:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 29 Jul 2018 05:43:31 +0000 (22:43 -0700)
commit18661fb2293e0f8397c4739916cc747839c04e20
tree2d9f35288b60c467f18e5e81891c0a198a8adad3
parent2e327775f2fa7793e476cda83a4f63b0fe209e45
parentdc22e76df91cfa56a30cd070c0d31a71473d644c
Merge branch 'net-socket-Fix-potential-spectre-v1-gadgets'

Jeremy Cline says:

====================
net: socket: Fix potential spectre v1 gadgets

This fixes a pair of potential spectre v1 gadgets.

Note that because the speculation window is large, the policy is to stop
the speculative out-of-bounds load and not worry if the attack can be
completed with a dependent load or store[0].

[0] https://marc.info/?l=linux-kernel&m=152449131114778
====================

Signed-off-by: David S. Miller <davem@davemloft.net>