From: Eduard Zingerman <eddyz87@gmail.com>
To: torvalds@linux-foundation.org
Cc: bpf@vger.kernel.org, alexei.starovoitov@gmail.com,
andrii@kernel.org, daniel@iogearbox.net, memxor@gmail.com,
Eduard Zingerman <eddyz87@gmail.com>
Subject: [GIT PULL] bpf for 7.2-rc5
Date: Fri, 24 Jul 2026 16:15:35 -0700 [thread overview]
Message-ID: <20260724231535.854435-1-eddyz87@gmail.com> (raw)
Hi Linus,
The following changes since commit 94515f3a7d4256a5062176b7d6ed0471938cd51a:
Merge tag 'bpf-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf (2026-07-17 12:55:24 -0700)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git tags/bpf-fixes
for you to fetch changes up to 2d66a033864e27ab8d5e44cb36f31d9d2413bee4:
bpf, sockmap: Fix cork use-after-free in tcp_bpf_sendmsg() (2026-07-24 15:04:11 -0700)
----------------------------------------------------------------
BPF fixes:
- Fix tcp_bpf_sendmsg() error path mistaking a concurrently-freed
sk_psock->cork for the local temporary message and freeing it
again. (Chengfeng Ye)
- Reject passing scalar NULL to nonnull arg of a global subprog.
Previously the verifier did not account for the cases directly
passing scalars to a global subprog, e.g.: 'global_func(0);'
would pass even if 'global_func' argument was marked nonnull.
(Amery Hung)
Signed-off-by: Eduard Zingerman <eddyz87@gmail.com>
----------------------------------------------------------------
Amery Hung (2):
bpf: Reject passing scalar NULL to nonnull arg of a global subprog
selftests/bpf: Test passing scalar NULL to nonnull global subprog
Chengfeng Ye (1):
bpf, sockmap: Fix cork use-after-free in tcp_bpf_sendmsg()
kernel/bpf/verifier.c | 3 ++-
net/ipv4/tcp_bpf.c | 2 +-
tools/testing/selftests/bpf/progs/verifier_global_subprogs.c | 10 ++++++++++
3 files changed, 13 insertions(+), 2 deletions(-)
next reply other threads:[~2026-07-24 23:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-24 23:15 Eduard Zingerman [this message]
2026-07-25 3:11 ` [GIT PULL] bpf for 7.2-rc5 pr-tracker-bot
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=20260724231535.854435-1-eddyz87@gmail.com \
--to=eddyz87@gmail.com \
--cc=alexei.starovoitov@gmail.com \
--cc=andrii@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=memxor@gmail.com \
--cc=torvalds@linux-foundation.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 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.