BPF List
 help / color / mirror / Atom feed
From: "Chris Mason" <mason@kernel.org>
To: sashiko-reviews@lists.linux.dev
Cc: ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org,
	bpf@vger.kernel.org
Subject: Re: [PATCH bpf 3/4] lib/buildid: check the file type before __kernel_read()
Date: Thu, 03 Dec 2026 13:58:24 -0500	[thread overview]
Message-ID: <1796323398.1.48697.4@kernel.org> (raw)
In-Reply-To: <sashiko-outbox-248359@kernel.org>

On Thu, 03 Dec 2026 18:13:35 +0000, sashiko-bot@kernel.org wrote:
> [Severity: Medium]
> Can S_IFREG stream files still reach __kernel_read() here?

Yes, a FUSE file with FOPEN_STREAM still gets here.  But page faults on that
mapping already send reads to the FUSE server, and this patch doesn't change
anything for regular files, so I'd leave that one alone.

-chris

  reply	other threads:[~2026-12-03 18:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-03 16:31 [PATCH bpf 0/4] lib/buildid: fix a few bugs Chris Mason
2026-12-03 16:31 ` [PATCH bpf 1/4] lib/buildid: check FMODE_READ before __kernel_read() Chris Mason
2026-12-03 16:31 ` [PATCH bpf 2/4] lib/buildid: check the offset " Chris Mason
2026-12-03 16:31 ` [PATCH bpf 3/4] lib/buildid: check the file type " Chris Mason
2026-12-03 18:13   ` sashiko-bot
2026-12-03 18:58     ` Chris Mason [this message]
2026-12-03 16:31 ` [PATCH bpf 4/4] lib/buildid: limit the number of ELF notes per parse Chris Mason

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=1796323398.1.48697.4@kernel.org \
    --to=mason@kernel.org \
    --cc=andrii@kernel.org \
    --cc=ast@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=sashiko-reviews@lists.linux.dev \
    /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