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: <20231021190124.9e591c603d227379453d3307@kernel.org>
Date:   Sat, 21 Oct 2023 19:01:24 +0900
From:   Masami Hiramatsu (Google) <mhiramat@...nel.org>
To:     Linus Torvalds <torvalds@...ux-foundation.org>
Cc:     Francis Laniel <flaniel@...ux.microsoft.com>,
        linux-kernel@...r.kernel.org, Steven Rostedt <rostedt@...dmis.org>,
        Masami Hiramatsu <mhiramat@...nel.org>
Subject: [GIT PULL] probes: fixes for v6.6-rc6.2

Hi Linus,

Probes fixes for v6.6-rc6.2:

- kprobe-events: Fix kprobe events to reject if the attached symbol
  is not unique name because it may not the function which the user
  want to attach to. (User can attach a probe to such symbol using
  the nearest unique symbol + offset.)

- selftest: Add a testcase to ensure the kprobe event rejects non
  unique symbol correctly.


Please pull the latest probes-fixes-v6.6-rc6.2 tree, which can be found at:


  git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git
probes-fixes-v6.6-rc6.2

Tag SHA1: d6e0322d9de05369d84aa0e8acc0c03978b50a40
Head SHA1: 03b80ff8023adae6780e491f66e932df8165e3a0


Francis Laniel (2):
      tracing/kprobes: Return EADDRNOTAVAIL when func matches several symbols
      selftests/ftrace: Add new test case which checks non unique symbol

----
 kernel/trace/trace_kprobe.c                        | 63 ++++++++++++++++++++++
 kernel/trace/trace_probe.h                         |  1 +
 .../ftrace/test.d/kprobe/kprobe_non_uniq_symbol.tc | 13 +++++
 3 files changed, 77 insertions(+)
 create mode 100644 tools/testing/selftests/ftrace/test.d/kprobe/kprobe_non_uniq_symbol.tc

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ