aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorAlexey Dobriyan <[email protected]>2018-04-20 14:56:03 -0700
committerLinus Torvalds <[email protected]>2018-04-20 17:18:35 -0700
commit2e0ad552f5f8cd0fda02bc45fcd2b89821c62fd1 (patch)
tree1b22f2e03dc3d0e82048a454b3daeb5e54efd11b /tools/perf/scripts/python/bin/export-to-postgresql-report
parent1e6306652ba18723015d1b4967fe9de55f042499 (diff)
proc: revalidate kernel thread inodes to root:root
task_dump_owner() has the following code: mm = task->mm; if (mm) { if (get_dumpable(mm) != SUID_DUMP_USER) { uid = ... } } Check for ->mm is buggy -- kernel thread might be borrowing mm and inode will go to some random uid:gid pair. Link: http://lkml.kernel.org/r/20180412220109.GA20978@avx2 Signed-off-by: Alexey Dobriyan <[email protected]> Cc: "Eric W. Biederman" <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions