]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commit6d27c6dd1012e7be748ec05da78556319718fbe7
tree2d9f35288b60c467f18e5e81891c0a198a8adad3
parent958b4cd8fa4c2eff0c257b07f2bb753b7c7a6f52
parente978de7a6d382ec378830ca2cf38e902df0b6d84
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>