kernel-rt fix: avoid use-after-free of pt_regs struct passed to task_work function.

* stp_utrace.c (utrace_exec_work): move __stp_utrace_free_task_work() to avoid use-after-free.
(utrace_syscall_entry_work): ditto.
1 file changed
tree: 2fbd0b13b9c95685f9ba5d9f80ecd421b0377214
  1. doc/
  2. emacs/
  3. httpd/
  4. includes/
  5. initscript/
  6. java/
  7. m4/
  8. man/
  9. po/
  10. python/
  11. runtime/
  12. scripts/
  13. stapbpf/
  14. stapdyn/
  15. staprun/
  16. tapset/
  17. testsuite/
  18. vim/
  19. .gitignore
  20. .mailmap
  21. ABOUT-NLS
  22. aclocal.m4
  23. AUTHORS
  24. AUTHORS.sh
  25. bpf-base.cxx
  26. bpf-bitset.cxx
  27. bpf-bitset.h
  28. bpf-internal.h
  29. bpf-opt.cxx
  30. bpf-translate.cxx
  31. bpf.h
  32. buildrun.cxx
  33. buildrun.h
  34. cache.cxx
  35. cache.h
  36. client-http.cxx
  37. client-http.h
  38. client-nss.cxx
  39. client-nss.h
  40. cmdline.cxx
  41. cmdline.h
  42. compile
  43. config.guess
  44. config.in
  45. config.rpath
  46. config.sub
  47. configure
  48. configure.ac
  49. COPYING
  50. coveragedb.cxx
  51. coveragedb.h
  52. csclient.cxx
  53. csclient.h
  54. cscommon.cxx
  55. cscommon.h
  56. depcomp
  57. dtrace.in
  58. dwarf_wrappers.cxx
  59. dwarf_wrappers.h
  60. dwflpp.cxx
  61. dwflpp.h
  62. elaborate.cxx
  63. elaborate.h
  64. git_version.sh
  65. HACKING
  66. hash.cxx
  67. hash.h
  68. INSTALL
  69. install-sh
  70. interactive.cxx
  71. interactive.h
  72. INTERNALS
  73. loc2stap.cxx
  74. loc2stap.h
  75. main.cxx
  76. Makefile.am
  77. Makefile.in
  78. mdfour.c
  79. mdfour.h
  80. missing
  81. NEWS
  82. nss-server-info.cxx
  83. nss-server-info.h
  84. nsscommon.cxx
  85. nsscommon.h
  86. parse.cxx
  87. parse.h
  88. privilege.cxx
  89. privilege.h
  90. py-compile
  91. README
  92. README.security
  93. README.stapregex
  94. README.unprivileged
  95. remote.cxx
  96. remote.h
  97. rpm_finder.cxx
  98. rpm_finder.h
  99. run-stap.in
  100. runtest.sh
  101. sdt_types.h
  102. session.cxx
  103. session.h
  104. setupdwfl.cxx
  105. setupdwfl.h
  106. smileytap.svg
  107. stap-authorize-cert.cxx
  108. stap-env
  109. stap-gen-cert.cxx
  110. stap-prep
  111. stap-report
  112. stap-server
  113. stap-server.conf
  114. stap-server.service
  115. stap-serverd.cxx
  116. stap-sign-module.cxx
  117. stap-start-server
  118. stap-stop-server
  119. staplog.c
  120. stapregex-defines.h
  121. stapregex-dfa.cxx
  122. stapregex-dfa.h
  123. stapregex-parse.cxx
  124. stapregex-parse.h
  125. stapregex-tree.cxx
  126. stapregex-tree.h
  127. stapregex.cxx
  128. stapregex.h
  129. stapsslerr.h
  130. staptree.cxx
  131. staptree.h
  132. stapvirt.c
  133. stringtable.cxx
  134. stringtable.h
  135. systemtap.spec
  136. tapset-been.cxx
  137. tapset-dynprobe.cxx
  138. tapset-dynprobe.h
  139. tapset-itrace.cxx
  140. tapset-mark.cxx
  141. tapset-method.cxx
  142. tapset-netfilter.cxx
  143. tapset-perfmon.cxx
  144. tapset-procfs.cxx
  145. tapset-python.cxx
  146. tapset-timers.cxx
  147. tapset-utrace.cxx
  148. tapsets.cxx
  149. tapsets.h
  150. task_finder.cxx
  151. task_finder.h
  152. translate.cxx
  153. translate.h
  154. translator-output.cxx
  155. translator-output.h
  156. util.cxx
  157. util.h
  158. version.h
  159. zanata.xml