All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christian Lamparter <chunkeey@gmail.com>
To: Dmitry Antipov <dmantipov@yandex.ru>
Cc: linux-wireless@vger.kernel.org, Jeff Johnson <quic_jjohnson@quicinc.com>
Subject: Re: [PATCH] wifi: carl9170: do not ping device which has failed to load firmware
Date: Wed, 11 Jun 2025 22:36:06 +0200	[thread overview]
Message-ID: <12719f87-ce87-4614-a34e-5f05efd55121@gmail.com> (raw)
In-Reply-To: <20250610100208.2282442-1-dmantipov@yandex.ru>

On 6/10/25 12:02 PM, Dmitry Antipov wrote:
> Syzkaller reports [1, 2] crashes caused by an attempts to ping
> the device which has failed to load firmware. Since such a device
> doesn't pass 'ieee80211_register_hw()', an internal workqueue
> managed by 'ieee80211_queue_work()' is not yet created and an
> attempt to queue work on it causes null-ptr-deref.
> 
> [1] https://syzkaller.appspot.com/bug?extid=9a4aec827829942045ff
hmm, the sample crash report didn't show any carl9170 involvement. But the
provided console log did have it:
<https://syzkaller.appspot.com/text?tag=CrashLog&x=12cf580c580000>

|[  144.671347][    C1] Call Trace:
|[  144.674634][    C1]  <TASK>
|[  144.677574][    C1]  ? do_raw_spin_unlock+0x122/0x240
|[  144.682819][    C1]  queue_work_on+0x181/0x270
|[  144.687414][    C1]  ? __pfx_queue_work_on+0x10/0x10
|[  144.692525][    C1]  ? carl9170_usb_submit_rx_urb+0x198/0x1d0
|[  144.698424][    C1]  ? carl9170_usb_rx_complete+0x207/0x280
|[  144.704149][    C1]  __usb_hcd_giveback_urb+0x41a/0x690
|[  144.709555][    C1]  ? usb_hcd_unlink_urb_from_ep+0x2c/0x110
|[  144.715455][    C1]  ? __pfx___usb_hcd_giveback_urb+0x10/0x10

> [2] https://syzkaller.appspot.com/bug?extid=0d8afba53e8fb2633217
> Fixes: e4a668c59080 ("carl9170: fix spurious restart due to high latency")
> Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>

Acked-by: Christian Lamparter <chunkeey@gmail.com>
Cc: <stable@vger.kernel.org>

  reply	other threads:[~2025-06-11 20:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-10 10:02 [PATCH] wifi: carl9170: do not ping device which has failed to load firmware Dmitry Antipov
2025-06-11 20:36 ` Christian Lamparter [this message]
2025-06-15 19:54   ` Fedor Pchelkin
2025-06-16 10:01     ` Dmitry Antipov
2025-06-16 16:55       ` Christian Lamparter
2025-06-16 18:12         ` [PATCH v2] " Dmitry Antipov
2025-06-17  6:18           ` Christian Lamparter
2025-06-17 23:32           ` Jeff Johnson
  -- strict thread matches above, loose matches on Subject: below --
2025-06-13 20:19 [PATCH] " Fedor Pchelkin
2025-06-14 16:33 ` Christian Lamparter

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=12719f87-ce87-4614-a34e-5f05efd55121@gmail.com \
    --to=chunkeey@gmail.com \
    --cc=dmantipov@yandex.ru \
    --cc=linux-wireless@vger.kernel.org \
    --cc=quic_jjohnson@quicinc.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 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.