diff options
author | Jann Horn <jannh@google.com> | 2017-12-19 05:11:57 +0100 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2017-12-21 02:15:41 +0100 |
commit | ea25f914dc164c8d56b36147ecc86bc65f83c469 (patch) | |
tree | ae74d60039bef82d303017c162822f4fa8ddbf02 /kernel/power | |
parent | bpf: fix 32-bit ALU op verification (diff) | |
download | linux-ea25f914dc164c8d56b36147ecc86bc65f83c469.tar.xz linux-ea25f914dc164c8d56b36147ecc86bc65f83c469.zip |
bpf: fix missing error return in check_stack_boundary()
Prevent indirect stack accesses at non-constant addresses, which would
permit reading and corrupting spilled pointers.
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>
Diffstat (limited to 'kernel/power')
0 files changed, 0 insertions, 0 deletions