]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'prevent-oob-under-speculation'
authorAlexei Starovoitov <ast@kernel.org>
Thu, 3 Jan 2019 00:01:25 +0000 (16:01 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 3 Jan 2019 00:01:25 +0000 (16:01 -0800)
commit1a6ab5b967852e95e6105c925e8cf17ac31573f0
tree0aec20aa0c87f1cef2241c726cbbc404f5317155
parent14ef694f4766e1dc857537db5f0050744697ff51
parenta66647eed94bdf10b85f9784acb06713e22b6207
Merge branch 'prevent-oob-under-speculation'

Daniel Borkmann says:

====================
This set fixes an out of bounds case under speculative execution
by implementing masking of pointer alu into the verifier. For
details please see the individual patches.

Thanks!

v2 -> v3:
  - 8/9: change states_equal condition into old->speculative &&
    !cur->speculative, thanks Jakub!
  - 8/9: remove incorrect speculative state test in
    propagate_liveness(), thanks Jakub!
v1 -> v2:
  - Typo fixes in commit msg and a comment, thanks David!
====================

Signed-off-by: Alexei Starovoitov <ast@kernel.org>