From: Greg KH <gregkh@linuxfoundation.org>
To: asatsuyu.liu@gmail.com
Cc: stable@vger.kernel.org, bpf@vger.kernel.org, ast@kernel.org,
daniel@iogearbox.net, puranjay@kernel.org,
vadim.fedorenko@linux.dev
Subject: Re: [RFC PATCH 6.18.y 0/1] bpf: reject NULL arguments to four kfuncs
Date: Wed, 18 Nov 2026 11:40:12 +0100 [thread overview]
Message-ID: <2026111850-shiftless-popcorn-a566@gregkh> (raw)
In-Reply-To: <20261118101748.2335815-1-asatsuyu.liu@gmail.com>
On Wed, Nov 18, 2026 at 10:17:47AM +0000, asatsuyu.liu@gmail.com wrote:
> From: Yi Liu <asatsuyu.liu@gmail.com>
>
> Hi,
>
> 6.18.64 still accepts NULL and PTR_MAYBE_NULL arguments for four kfuncs
> whose implementations dereference them. Mainline fixed this class in
> v7.0 with
>
> 1a5c01d2508a ("bpf: Make KF_TRUSTED_ARGS the default for all kfuncs")
>
> but that commit is a broad verifier behavior change, it was not
> tagged for stable, and it is not in 6.18.y or 6.19.y. 6.18.64 is the
> current 6.18.y tip; 6.19.14 is the current 6.19.y tip.
Ok, but then properly backport that commit, do not od a one-off change,
that is not ok.
thanks,
greg k-h
prev parent reply other threads:[~2026-11-18 10:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-18 10:17 [RFC PATCH 6.18.y 0/1] bpf: reject NULL arguments to four kfuncs asatsuyu.liu
2026-11-18 10:17 ` [RFC PATCH 6.18.y 1/1] bpf: Reject " asatsuyu.liu
2026-11-18 10:40 ` sashiko-bot
2026-11-18 10:40 ` Greg KH [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=2026111850-shiftless-popcorn-a566@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=asatsuyu.liu@gmail.com \
--cc=ast@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=puranjay@kernel.org \
--cc=stable@vger.kernel.org \
--cc=vadim.fedorenko@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.