public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
From: "Ricardo Cañuelo Navarro" <rcn@igalia.com>
To: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: stable@vger.kernel.org, revest@google.com, kernel-dev@igalia.com,
	"Andrii Nakryiko" <andrii@kernel.org>,
	"Eduard Zingerman" <eddyz87@gmail.com>,
	"Hao Luo" <haoluo@google.com>, "Jiri Olsa" <jolsa@kernel.org>,
	"John Fastabend" <john.fastabend@gmail.com>,
	"KP Singh" <kpsingh@kernel.org>,
	"Martin KaFai Lau" <martin.lau@linux.dev>,
	"Song Liu" <song@kernel.org>,
	"Stanislav Fomichev" <sdf@google.com>,
	"Yonghong Song" <yonghong.song@linux.dev>,
	"Alexei Starovoitov" <ast@kernel.org>,
	"Jesper Dangaard Brouer" <hawk@kernel.org>,
	"Toke Høiland-Jørgensen" <toke@redhat.com>,
	"Jakub Kicinski" <kuba@kernel.org>,
	syzbot+0b5c75599f1d872bea6f@syzkaller.appspotmail.com,
	syzbot+5ae46b237278e2369cac@syzkaller.appspotmail.com,
	syzbot+c1e04a422bbc0f0f2921@syzkaller.appspotmail.com,
	"Jeongjun Park" <aha310510@gmail.com>,
	syzbot+44623300f057a28baf1e@syzkaller.appspotmail.com,
	"Jason Wang" <jasowang@redhat.com>,
	"Willem de Bruijn" <willemb@google.com>,
	syzbot+3c2b6d5d4bec3b904933@syzkaller.appspotmail.com,
	syzbot+707d98c8649695eaf329@syzkaller.appspotmail.com,
	syzbot+c226757eb784a9da3e8b@syzkaller.appspotmail.com,
	syzbot+61a1cfc2b6632363d319@syzkaller.appspotmail.com,
	syzbot+709e4c85c904bcd62735@syzkaller.appspotmail.com,
	"David S. Miller" <davem@davemloft.net>
Subject: Re: [PATCH 6.6 v3 0/3] Set the bpf_net_context before invoking BPF XDP in the TUN driver
Date: Wed, 26 Feb 2025 18:12:44 +0100	[thread overview]
Message-ID: <87zfi8y6ib.fsf@igalia.com> (raw)
In-Reply-To: <20250226163158.krCJgret@linutronix.de>

Hi Sebastian, thanks for answering.

On Wed, Feb 26 2025 at 17:31:58, Sebastian Andrzej Siewior <bigeasy@linutronix.de> wrote:
> Just to be clear: A problem exists in v6.6 independent of my doing and
> 401cb7dae813 happens to fix it? The commit fecef4cd42c6 is a fixup for
> 401cb7dae813.
>
> If so, can you share syzbot's reproducer and/or backtrace/ report?

Actually, it's fecef4cd42c6 the one that fixes the issue, but
401cb7dae813 is needed for it to work: it implements the bpf_net_ctx_*()
api, then fecef4cd42c6 uses bpf_net_ctx_set() and bpf_net_ctx_clear() in
the tun driver.

Here's the syzkaller report on stable v6.6:
https://pastebin.com/yD0zVD0c

and here's the C reproducer:
https://pastebin.com/d415fUDU

Cheers,
Ricardo

  reply	other threads:[~2025-02-26 17:12 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-26  9:39 [PATCH 6.6 v3 0/3] Set the bpf_net_context before invoking BPF XDP in the TUN driver Ricardo Cañuelo Navarro
2025-02-26  9:39 ` [PATCH 6.6 v3 1/3] net: Reference bpf_redirect_info via task_struct on PREEMPT_RT Ricardo Cañuelo Navarro
2025-02-27  5:08   ` Sasha Levin
2025-02-28  4:56   ` Sasha Levin
2025-02-26  9:39 ` [PATCH 6.6 v3 2/3] tun: Assign missing bpf_net_context Ricardo Cañuelo Navarro
2025-02-27  5:08   ` Sasha Levin
2025-02-28  4:56   ` Sasha Levin
2025-02-26  9:39 ` [PATCH 6.6 v3 3/3] tun: Add missing bpf_net_ctx_clear() in do_xdp_generic() Ricardo Cañuelo Navarro
2025-02-27  5:08   ` Sasha Levin
2025-02-28  4:56   ` Sasha Levin
2025-02-26 16:31 ` [PATCH 6.6 v3 0/3] Set the bpf_net_context before invoking BPF XDP in the TUN driver Sebastian Andrzej Siewior
2025-02-26 17:12   ` Ricardo Cañuelo Navarro [this message]
2025-02-27 16:31 ` Sebastian Andrzej Siewior

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=87zfi8y6ib.fsf@igalia.com \
    --to=rcn@igalia.com \
    --cc=aha310510@gmail.com \
    --cc=andrii@kernel.org \
    --cc=ast@kernel.org \
    --cc=bigeasy@linutronix.de \
    --cc=davem@davemloft.net \
    --cc=eddyz87@gmail.com \
    --cc=haoluo@google.com \
    --cc=hawk@kernel.org \
    --cc=jasowang@redhat.com \
    --cc=john.fastabend@gmail.com \
    --cc=jolsa@kernel.org \
    --cc=kernel-dev@igalia.com \
    --cc=kpsingh@kernel.org \
    --cc=kuba@kernel.org \
    --cc=martin.lau@linux.dev \
    --cc=revest@google.com \
    --cc=sdf@google.com \
    --cc=song@kernel.org \
    --cc=stable@vger.kernel.org \
    --cc=syzbot+0b5c75599f1d872bea6f@syzkaller.appspotmail.com \
    --cc=syzbot+3c2b6d5d4bec3b904933@syzkaller.appspotmail.com \
    --cc=syzbot+44623300f057a28baf1e@syzkaller.appspotmail.com \
    --cc=syzbot+5ae46b237278e2369cac@syzkaller.appspotmail.com \
    --cc=syzbot+61a1cfc2b6632363d319@syzkaller.appspotmail.com \
    --cc=syzbot+707d98c8649695eaf329@syzkaller.appspotmail.com \
    --cc=syzbot+709e4c85c904bcd62735@syzkaller.appspotmail.com \
    --cc=syzbot+c1e04a422bbc0f0f2921@syzkaller.appspotmail.com \
    --cc=syzbot+c226757eb784a9da3e8b@syzkaller.appspotmail.com \
    --cc=toke@redhat.com \
    --cc=willemb@google.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox