kernel_optimize_test/arch/um
Gaurav Singh bab991cf40 um: Fix null pointer dereference in vector_user_bpf
The bpf_prog is being checked for !NULL after uml_kmalloc
but later its used directly for example:
bpf_prog->filter = bpf and is also later returned upon
success. Fix this, do a NULL check and return right away.

Signed-off-by: Gaurav Singh <gaurav1086@gmail.com>
Acked-By: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
2020-10-11 23:12:51 +02:00
..
configs um: Cleanup CONFIG_IOSCHED_CFQ 2020-03-29 23:15:22 +02:00
drivers um: Fix null pointer dereference in vector_user_bpf 2020-10-11 23:12:51 +02:00
include asm-generic: pgalloc: provide generic pgd_free() 2020-08-07 11:33:26 -07:00
kernel treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
os-Linux um: Use fdatasync() when mapping the UBD FSYNC command 2020-06-02 22:37:55 +02:00
scripts
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
Kconfig Cleanup, SECCOMP_FILTER support, message printing fixes, and other 2020-08-15 18:50:32 -07:00
Kconfig.debug treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile kbuild: remove cc-option test of -fno-stack-protector 2020-07-07 11:13:10 +09:00
Makefile-os-Linux
Makefile-skas