From: Steven Rostedt <rostedt@goodmis.org>
To: Changbin Du <changbin.du@gmail.com>
Cc: mingo@redhat.com, linux-kernel@vger.kernel.org, stable@vger.kernel.org
Subject: Re: [PATCH] kprobe: safely access memory specified by userspace
Date: Thu, 14 Feb 2019 09:44:47 -0500 [thread overview]
Message-ID: <20190214094447.0adeea8e@gandalf.local.home> (raw)
In-Reply-To: <20190214141043.3j6upjrfmse75sma@mail.google.com>
On Thu, 14 Feb 2019 14:10:44 +0000
Changbin Du <changbin.du@gmail.com> wrote:
> > No I didn't have the fix. I was running an older kernel actually. One
> > before commit 9da3f2b74054406f87dff7101a569217ffceb29b was added.
> > There's nothing actually wrong with that code, since kprobes is allowed
> > to poke at anything. But that commit considers the kernel using copy
> > from user to poke kernel address space is a security bug.
> >
> Glade to know that. And I wonder wether all such cases have been
> disclosed. I noticed the uprobe code also uses some usercopy functions.
Well, uprobe shouldn't be poking at kernel addresses ;-)
-- Steve
prev parent reply other threads:[~2019-02-14 14:44 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-25 15:10 Changbin Du
[not found] ` <20190129003521.3327B2183F@mail.kernel.org>
2019-01-29 3:07 ` Changbin Du
2019-02-13 14:36 ` Changbin Du
2019-02-13 15:41 ` Steven Rostedt
2019-02-14 0:05 ` Changbin Du
2019-02-14 13:04 ` Steven Rostedt
2019-02-14 14:10 ` Changbin Du
2019-02-14 14:44 ` Steven Rostedt [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190214094447.0adeea8e@gandalf.local.home \
--to=rostedt@goodmis.org \
--cc=changbin.du@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®