]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blobdiff - queue-4.14/bpf-fix-selftests-are-changes-for-cve-2019-7308.patch
add bpf changelog comment update for 4.14.y
[thirdparty/kernel/stable-queue.git] / queue-4.14 / bpf-fix-selftests-are-changes-for-cve-2019-7308.patch
index 6aec81af4515eb626b7a96c84ea222c1c6ff700e..cf9953eb43ef24abe969594336a4986a527c9f3b 100644 (file)
@@ -8,7 +8,10 @@ Message-ID: <20190403183917.13749-18-sblbir@amzn.com>
 
 From: Balbir Singh <sblbir@amzn.com>
 
-The error strings need to be updated, since they fail early.
+The changes to fix the CVE 2019-7308 make the bpf verifier stricter
+with respect to operations that were allowed earlier in unprivileged
+mode. Fixup the test cases so that the error messages now correctly
+reflect pointer arithmetic going out of range for tests.
 
 Signed-off-by: Balbir Singh <sblbir@amzn.com>
 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>