From: "Alexei Starovoitov" <alexei.starovoitov@gmail.com>
To: "ZNV" <mejedi@gmail.com>, "bpf" <bpf@vger.kernel.org>
Cc: "Daniel Borkmann" <daniel@iogearbox.net>,
"John Fastabend" <john.fastabend@gmail.com>,
"Andrii Nakryiko" <andrii@kernel.org>,
"Martin KaFai Lau" <martin.lau@linux.dev>,
"Eduard Zingerman" <eddyz87@gmail.com>,
"Song Liu" <song@kernel.org>,
"Yonghong Song" <yonghong.song@linux.dev>,
"KP Singh" <kpsingh@kernel.org>,
"Stanislav Fomichev" <sdf@fomichev.me>,
"Hao Luo" <haoluo@google.com>, "Jiri Olsa" <jolsa@kernel.org>
Subject: Re: out of bounds context access with syscall programs + tail calls
Date: Tue, 01 Dec 2026 20:36:09 +0000 [thread overview]
Message-ID: <DN9ONCBOWCV1.2QQP3D7Y2S8FS@gmail.com> (raw)
In-Reply-To: <CAAYXoE8mwGVM5k-qGjBFVym=xcid0Z-dJwQd1rcwSxidMTHB5Q@mail.gmail.com>
On Tue, Dec 01, 2026 at 04:49 AM ZNV <mejedi@gmail.com> wrote:
> On Fri, 27 Nov 2026 at 12:03, ZNV <mejedi@gmail.com> wrote:
>>
>> As far as I can tell, tail call map only enforces that the caller/callee
>> program types are compatible, ignoring max_ctx_access. It is possible to
>> chain 2 syscall programs via tail calls; the second one having a larger
>> max_ctx_access (reproducer follows).
it's already fixed in bpf-next.
Pls check both trees before spamming people.
prev parent reply other threads:[~2026-12-01 20:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-27 11:03 out of bounds context access with syscall programs + tail calls ZNV
2026-12-01 12:49 ` ZNV
2026-12-01 20:36 ` 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=DN9ONCBOWCV1.2QQP3D7Y2S8FS@gmail.com \
--to=alexei.starovoitov@gmail.com \
--cc=andrii@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=eddyz87@gmail.com \
--cc=haoluo@google.com \
--cc=john.fastabend@gmail.com \
--cc=jolsa@kernel.org \
--cc=kpsingh@kernel.org \
--cc=martin.lau@linux.dev \
--cc=mejedi@gmail.com \
--cc=sdf@fomichev.me \
--cc=song@kernel.org \
--cc=yonghong.song@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.