Merge tag 'probes-fixes-v6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 28 May 2024 17:17:40 +0000 (10:17 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 28 May 2024 17:17:40 +0000 (10:17 -0700)
commit8d6bc6a2b1e15c64f670f93a472ad310953188b1
tree301d42d0277fcca6d2eb72b4db3dff357d1a5a46
parent2bfcfd584ff5ccc8bb7acde19b42570414bf880b
parente569eb34970281438e2b48a3ef11c87459fcfbcb
Merge tag 'probes-fixes-v6.10-rc1' of git://git./linux/kernel/git/trace/linux-trace

Pull probes fixes from Masami Hiramatsu:

 - uprobes: prevent mutex_lock() under rcu_read_lock().

   Recent changes moved uprobe_cpu_buffer preparation which involves
   mutex_lock(), under __uprobe_trace_func() which is called inside
   rcu_read_lock().

   Fix it by moving uprobe_cpu_buffer preparation outside of
   __uprobe_trace_func()

 - kprobe-events: handle the error case of btf_find_struct_member()

* tag 'probes-fixes-v6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
  tracing/probes: fix error check in parse_btf_field()
  uprobes: prevent mutex_lock() under rcu_read_lock()