mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Kalle Valo <kvalo@codeaurora.org>
To: Borislav Petkov <bp@alien8.de>
Cc: Jiri Slaby <jirislaby@kernel.org>,
	Nick Kossifidis <mickflemm@gmail.com>,
	Luis Chamberlain <mcgrof@kernel.org>,
	Ping-Ke Shih <pkshih@realtek.com>,
	linux-wireless@vger.kernel.org,
	lkml <linux-kernel@vger.kernel.org>
Subject: Re: net/wireless/reg.c:144 suspicious rcu_dereference_check() usage!
Date: Fri, 22 Jan 2021 14:20:43 +0200	[thread overview]
Message-ID: <87v9bpb1t0.fsf@codeaurora.org> (raw)
In-Reply-To: <20210122105034.GF4867@zn.tnic> (Borislav Petkov's message of "Fri, 22 Jan 2021 11:50:34 +0100")

Borislav Petkov <bp@alien8.de> writes:

> On Fri, Jan 22, 2021 at 11:11:24AM +0100, Borislav Petkov wrote:
>> Hi,
>> 
>> this triggers is on 5.11-rc3 + tip/x86/urgent (shouldn't matter tho),
>> 32-bit kernel:
>
> This looks like a multiple wireless drivers issue, this is on another
> 32-bit machine with ath5k this time:
>
> [   23.810222] ath5k 0000:03:00.0: can't disable ASPM; OS doesn't have ASPM control
> [   23.847597] ath5k 0000:03:00.0: registered as 'phy0'
> [   24.504999] ath: EEPROM regdomain: 0x65
> [   24.516125] ath: EEPROM indicates we should expect a direct regpair map
> [   24.527286] ath: Country alpha2 being used: 00
> [   24.535435] ath: Regpair used: 0x65
>
> [   24.551461] =============================
> [   24.561941] WARNING: suspicious RCU usage
> [   24.572030] 5.11.0-rc3+ #1 Not tainted
> [   24.580276] -----------------------------
> [   24.590764] net/wireless/reg.c:144 suspicious rcu_dereference_check() usage!
> [   24.601730] 

Can you try this commit:

51d62f2f2c50 cfg80211: Save the regulatory domain with a lock

https://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211.git/commit/?id=51d62f2f2c50

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

  reply	other threads:[~2021-01-22 12:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-22 10:11 Borislav Petkov
2021-01-22 10:50 ` Borislav Petkov
2021-01-22 12:20   ` Kalle Valo [this message]
2021-01-22 12:57     ` Borislav Petkov

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=87v9bpb1t0.fsf@codeaurora.org \
    --to=kvalo@codeaurora.org \
    --cc=bp@alien8.de \
    --cc=jirislaby@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=mcgrof@kernel.org \
    --cc=mickflemm@gmail.com \
    --cc=pkshih@realtek.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

all inboxes | Powered by JetHome®