lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230711234728.e9f386a44657240b7e1cda49@kernel.org>
Date:   Tue, 11 Jul 2023 23:47:28 +0900
From:   Masami Hiramatsu (Google) <mhiramat@...nel.org>
To:     Linus Torvalds <torvalds@...ux-foundation.org>
Cc:     Jiri Olsa <jolsa@...nel.org>, Li zeming <zeming@...china.com>,
        Masami Hiramatsu (Google) <mhiramat@...nel.org>,
        Tzvetomir Stoyanov (VMware) <tz.stoyanov@...il.com>,
        Ze Gao <zegao2021@...il.com>, linux-kernel@...r.kernel.org
Subject: [GIT PULL] probes: Fixes for 6.5-rc1

Hi Linus,

Probes fixes and clean ups for v6.5-rc1:

- Fix fprobe's rethook release timing issue(1). Release rethook after
  ftrace_ops is unregistered so that the rethook is not accessed after
  free.

- Fix fprobe's rethook access timing issue(2). Stop rethook before
  ftrace_ops is unregistered so that the rethook is NOT keep using
  after exiting the unregister_fprobe().

- Fix eprobe cleanup logic. If it attaches to multiple events and failes
  to enable one of them, rollback all enabled events correctly.

- Fix fprobe to unlock ftrace recursion lock correctly when it missed
  by another running kprobe.

- Cleanup kprobe to remove unnecessary NULL.

- Cleanup kprobe to remove unnecessary 0 initializations.


Please pull the latest probes-fixes-v6.5-rc1 tree, which can be found at:


  git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git
probes-fixes-v6.5-rc1

Tag SHA1: 18caf0b93d8c36dbef8de1332b50ea3a6defd19f
Head SHA1: 195b9cb5b288fec1c871ef89f78cc9a7461aad3a


Jiri Olsa (1):
      fprobe: Release rethook after the ftrace_ops is unregistered

Li zeming (2):
      kprobes: Remove unnecessary ‘NULL’ values from correct_ret_addr
      kernel: kprobes: Remove unnecessary ‘0’ values

Masami Hiramatsu (Google) (1):
      fprobe: Ensure running fprobe_exit_handler() finished before calling rethook_free()

Tzvetomir Stoyanov (VMware) (1):
      kernel/trace: Fix cleanup logic of enable_trace_eprobe

Ze Gao (1):
      fprobe: add unlock to match a succeeded ftrace_test_recursion_trylock

----
 include/linux/rethook.h     |  1 +
 kernel/kprobes.c            |  8 ++++----
 kernel/trace/fprobe.c       | 15 +++++++--------
 kernel/trace/rethook.c      | 13 +++++++++++++
 kernel/trace/trace_eprobe.c | 18 ++++++++++++++++--
 5 files changed, 41 insertions(+), 14 deletions(-)


Thank you,

-- 
Masami Hiramatsu (Google) <mhiramat@...nel.org>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ