summaryrefslogtreecommitdiffstats
path: root/.mailmap
diff options
context:
space:
mode:
authorVincent Minet <v.minet@criteo.com>2020-05-08 00:14:22 +0200
committerJakub Kicinski <kuba@kernel.org>2020-05-09 04:06:55 +0200
commitdb803036ada7d61d096783726f9771b3fc540370 (patch)
tree538a193dd95f6afe20309e7af2182ec6fd7d6845 /.mailmap
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf (diff)
downloadlinux-db803036ada7d61d096783726f9771b3fc540370.tar.xz
linux-db803036ada7d61d096783726f9771b3fc540370.zip
umh: fix memory leak on execve failure
If a UMH process created by fork_usermode_blob() fails to execute, a pair of struct file allocated by umh_pipe_setup() will leak. Under normal conditions, the caller (like bpfilter) needs to manage the lifetime of the UMH and its two pipes. But when fork_usermode_blob() fails, the caller doesn't really have a way to know what needs to be done. It seems better to do the cleanup ourselves in this case. Fixes: 449325b52b7a ("umh: introduce fork_usermode_blob() helper") Signed-off-by: Vincent Minet <v.minet@criteo.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions