commit | a5ec6ae161d72f01411169a938fa5f8baea16e8f | [log] [tgz] |
---|---|---|
author | Jann Horn <jannh@google.com> | Mon Dec 18 20:11:58 2017 -0800 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Thu Dec 21 02:15:41 2017 +0100 |
tree | ac35208d260c569dff7eb526c5db93536e07b0f5 | |
parent | ea25f914dc164c8d56b36147ecc86bc65f83c469 [diff] |
bpf: force strict alignment checks for stack pointers Force strict alignment checks for stack pointers because the tracking of stack spills relies on it; unaligned stack accesses can lead to corruption of spilled registers, which is exploitable. Fixes: f1174f77b50c ("bpf/verifier: rework value tracking") Signed-off-by: Jann Horn <jannh@google.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>