]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Merge tag 'trace-v4.12-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt...
authorLinus Torvalds <torvalds@linux-foundation.org>
Sat, 27 May 2017 15:30:30 +0000 (08:30 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 27 May 2017 15:30:30 +0000 (08:30 -0700)
commit77d64656950b299f5e7c70f1e3a0bdc991b51497
tree91e5a8c9d9e5e791301225e4e0b658b4fd5b3e81
parentc86daad2c25bfd4a33d48b7691afaa96d9c5ab46
parent6ee98ffeea0bc9e072e419497d78697d8afcdd6d
Merge tag 'trace-v4.12-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace

Pull ftrace fixes from Steven Rostedt:
 "There's been a few memory issues found with ftrace.

  One was simply a memory leak where not all was being freed that should
  have been in releasing a file pointer on set_graph_function.

  Then Thomas found that the ftrace trampolines were marked for
  read/write as well as execute. To shrink the possible attack surface,
  he added calls to set them to ro. Which also uncovered some other
  issues with freeing module allocated memory that had its permissions
  changed.

  Kprobes had a similar issue which is fixed and a selftest was added to
  trigger that issue again"

* tag 'trace-v4.12-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
  x86/ftrace: Make sure that ftrace trampolines are not RWX
  x86/mm/ftrace: Do not bug in early boot on irqs_disabled in cpu_flush_range()
  selftests/ftrace: Add a testcase for many kprobe events
  kprobes/x86: Fix to set RWX bits correctly before releasing trampoline
  ftrace: Fix memory leak in ftrace_graph_release()