Netdev List
 help / color / mirror / Atom feed
From: Julius Bairaktaris <julius@bairaktaris.de>
To: netdev-bot+sinfo@kernel.org
Cc: andrew@lunn.ch, olteanv@gmail.com, razor@blackwall.org,
	idosch@nvidia.com, netdev@vger.kernel.org,
	bridge@lists.linux.dev, davem@davemloft.net, edumazet@kernel.org,
	kuba@kernel.org, pabeni@redhat.com, willemb@google.com,
	horms@kernel.org, f.fainelli@gmail.com
Subject: Re: [PATCH net] net: dsa: hold the device a queued FDB event is reported to
Date: Sun, 22 Nov 2026 18:40:33 +0100	[thread overview]
Message-ID: <20261122174033.968615-1-julius@bairaktaris.de> (raw)
In-Reply-To: <179536905824.3294.1235394828103149751@kernel.org>

On Sun, 22 Nov 2026 17:37:38 +0000, netdev-bot wrote:
> - How the issue was discovered, e.g. hit in production, hit during
>   development, syzbot report, manual code inspection, LLM or static
>   analysis tool scan.

Found by an LLM review (Claude) of a follow-up DSA FDB patch, then
reproduced in QEMU with KASAN as the commit message describes.
Trigger: a non-DSA bridge port (veth, Wi-Fi, USB NIC) is unregistered
while an FDB event for an address learned on it is still queued, on a
switch with assisted_learning_on_cpu_port (mt7530, felix, sja1105,
rtl8365mb, mxl862xx, motorcomm). Impact: use-after-free read in
br_switchdev_event(); CVSS 3.1 4.1 (AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H).
Nothing short of the fix avoids it.

Julius

      reply	other threads:[~2026-11-22 17:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-22 17:33 [PATCH net] net: dsa: hold the device a queued FDB event is reported to Julius Bairaktaris
2026-11-22 17:37 ` netdev-bot+sinfo
2026-11-22 17:40   ` Julius Bairaktaris [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=20261122174033.968615-1-julius@bairaktaris.de \
    --to=julius@bairaktaris.de \
    --cc=andrew@lunn.ch \
    --cc=bridge@lists.linux.dev \
    --cc=davem@davemloft.net \
    --cc=edumazet@kernel.org \
    --cc=f.fainelli@gmail.com \
    --cc=horms@kernel.org \
    --cc=idosch@nvidia.com \
    --cc=kuba@kernel.org \
    --cc=netdev-bot+sinfo@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=olteanv@gmail.com \
    --cc=pabeni@redhat.com \
    --cc=razor@blackwall.org \
    --cc=willemb@google.com \
    /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