aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/workqueue.c
diff options
context:
space:
mode:
authorMateusz Guzik <mguzik@redhat.com>2016-08-23 16:20:39 +0200
committerPaul Moore <paul@paul-moore.com>2016-08-31 16:16:35 -0400
commit5efc244346f9f338765da3d592f7947b0afdc4b5 (patch)
tree6ebac44194021885b9f79e72193ee243391dc7ed /kernel/workqueue.c
parentmm: introduce get_task_exe_file (diff)
downloadlinux-dev-5efc244346f9f338765da3d592f7947b0afdc4b5.tar.xz
linux-dev-5efc244346f9f338765da3d592f7947b0afdc4b5.zip
audit: fix exe_file access in audit_exe_compare
Prior to the change the function would blindly deference mm, exe_file and exe_file->f_inode, each of which could have been NULL or freed. Use get_task_exe_file to safely obtain stable exe_file. Signed-off-by: Mateusz Guzik <mguzik@redhat.com> Acked-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru> Acked-by: Richard Guy Briggs <rgb@redhat.com> Cc: <stable@vger.kernel.org> # 4.3.x Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'kernel/workqueue.c')
0 files changed, 0 insertions, 0 deletions