Linux-Wireless Archive mirror
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: linux-wireless@vger.kernel.org
Cc: syzbot+8830db5d3593b5546d2e@syzkaller.appspotmail.com
Subject: Re: [PATCH] wifi: mac80211: handle tasklet frames before stopping
Date: Wed, 15 May 2024 13:57:43 +0200	[thread overview]
Message-ID: <a351bba727b5fe8129c30b19d2b5c354ad32c363.camel@sipsolutions.net> (raw)
In-Reply-To: <20240515135318.b05f11385c9a.I41c1b33a2e1814c3a7ef352cd7f2951b91785617@changeid>

On Wed, 2024-05-15 at 13:53 +0200, Johannes Berg wrote:
> From: Johannes Berg <johannes.berg@intel.com>
> 
> The code itself doesn't want to handle frames from the driver
> if it's already stopped, but if the tasklet was queued before
> and runs after the stop, then all bets are off. Flush queues
> before actually stopping, RX should be off at this point since
> all the interfaces are removed already, etc.
> 
> Reported-by: syzbot+8830db5d3593b5546d2e@syzkaller.appspotmail.com
> 

I suspect this might also address
https://syzkaller.appspot.com/bug?extid=ac648b0525be1feba506

johannes

      reply	other threads:[~2024-05-15 11:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-15 11:53 [PATCH] wifi: mac80211: handle tasklet frames before stopping Johannes Berg
2024-05-15 11:57 ` Johannes Berg [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=a351bba727b5fe8129c30b19d2b5c354ad32c363.camel@sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=syzbot+8830db5d3593b5546d2e@syzkaller.appspotmail.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).