Linux kernel -stable discussions
 help / color / mirror / Atom feed
From: "Alexei Starovoitov" <alexei.starovoitov@gmail.com>
To: "James Houghton" <jthoughton@google.com>,
	"David Hildenbrand" <david@kernel.org>,
	"Liam R. Howlett" <liam@infradead.org>,
	"Andrew Morton" <akpm@linux-foundation.org>
Cc: <stable@vger.kernel.org>, "Steven Rostedt" <rostedt@goodmis.org>,
	"Masami Hiramatsu" <mhiramat@kernel.org>,
	"Ingo Molnar" <mingo@kernel.org>,
	"Andrii Nakryiko" <andrii@kernel.org>,
	"Daniel Borkmann" <daniel@iogearbox.net>, <linux-mm@kvack.org>,
	<bpf@vger.kernel.org>, "Sashiko" <sashiko-bot@kernel.org>
Subject: Re: [PATCH] mm/maccess: Check nmi_uaccess_okay() in user nofault helpers
Date: Wed, 02 Dec 2026 01:00:35 +0000	[thread overview]
Message-ID: <DN9U9SW75S1I.2VWPZ7BD0SWM4@gmail.com> (raw)
In-Reply-To: <20261201211926.3463573-1-jthoughton@google.com>

On Tue, Dec 01, 2026 at 01:19 PM James Houghton <jthoughton@google.com> wrote:
> Unlike copy_from_user_nofault(), which checks nmi_uaccess_okay() before
> accessing user memory, copy_to_user_nofault(), strncpy_from_user_nofault(),
> and strnlen_user_nofault() do not.

Acked-by: Alexei Starovoitov <ast@kernel.org>

      reply	other threads:[~2026-12-02  1:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-01 21:19 [PATCH] mm/maccess: Check nmi_uaccess_okay() in user nofault helpers James Houghton
2026-12-02  1:00 ` Alexei Starovoitov [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=DN9U9SW75S1I.2VWPZ7BD0SWM4@gmail.com \
    --to=alexei.starovoitov@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=andrii@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=david@kernel.org \
    --cc=jthoughton@google.com \
    --cc=liam@infradead.org \
    --cc=linux-mm@kvack.org \
    --cc=mhiramat@kernel.org \
    --cc=mingo@kernel.org \
    --cc=rostedt@goodmis.org \
    --cc=sashiko-bot@kernel.org \
    --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