Re: [Regression] 6.1.66, 6.6.5 - wifi: cfg80211: fix CQM for non-range use

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Dec 11, 2023 at 05:17:47PM +0700, Philip Müller wrote:
> On 11.12.23 16:46, Philip Müller wrote:
> > On 11.12.23 16:40, Greg Kroah-Hartman wrote:
> > > On Mon, Dec 11, 2023 at 10:39:26AM +0100, Greg Kroah-Hartman wrote:
> > > > On Mon, Dec 11, 2023 at 04:26:26PM +0700, Philip Müller wrote:
> > > > > On 11.12.23 16:25, Greg Kroah-Hartman wrote:
> > > > > > On Mon, Dec 11, 2023 at 04:02:11PM +0700, Philip Müller wrote:
> > > > > > > Hi Johannes, hi Greg,
> > > > > > > 
> > > > > > > Any tree that back-ported 7e7efdda6adb wifi:
> > > > > > > cfg80211: fix CQM for non-range
> > > > > > > use that does not contain 076fc8775daf wifi:
> > > > > > > cfg80211: remove wdev mutex
> > > > > > > (which does not apply cleanly to 6.6.y or 6.6.1) will be affected.
> > > > > > > 
> > > > > > > You can find a downstream bug report at Arch Linux:
> > > > > > > 
> > > > > > > https://gitlab.archlinux.org/archlinux/packaging/packages/linux/-/issues/17
> > > > > > > 
> > > > > > > So we should either revert 7e7efdda6adb or backport
> > > > > > > the needed to those
> > > > > > > kernel series. 6.7.y is reported to work with 6.7.0-rc4.
> > > > > > 
> > > > > > Yeah, this looks bad, I'll go just revert this for now and push out a
> > > > > > new release with the fix as lots of people are hitting it.
> > > > > > 
> > > > > > thanks,
> > > > > > 
> > > > > > greg k-h
> > > > > 
> > > > > 
> > > > > Hi Greg,
> > > > > 
> > > > > there is actually a fix for it:
> > > > > 
> > > > > https://www.spinics.net/lists/stable/msg703040.html
> > > > 
> > > > That "fix" was not cc:ed to any of the wifi developers and would need a
> > > > lot of review before I feel comfortable accepting it, as I said in the
> > > > response to that message.
> > > > 
> > > > Also, please point to lore.kernel.org lists, it's much easier to handle
> > > > as we don't have any control over any other archive web site.
> > > 
> > > Also, have you tested that proposed fix?
> > > 
> > > thanks,
> > > 
> > > greg k-h
> > 
> > Not yet. Currently build kernels on my end to see if it fixes the
> > regression. A revert of the patch is confirmed to work also by users who
> > have the issue. I can check with mine, when I've released a kernel with
> > Léo Lam's fix.
> > 
> 
> According to the author of the patch, it was not yet tested:
> 
> This is a kernel bug on the 6.6.x stable branch. As people have correctly
> pointed out, 4a7e92551618 ("wifi: cfg80211: fix CQM for non-range use"
> backported to 6.6.x) is the culprit as it causes cfg80211_cqm_rssi_update
> not to release the wdev lock in some cases - which then causes various other
> things to deadlock.
> 
> I have submitted a patch:
> https://lore.kernel.org/stable/20231210213930.61378-1-leo@xxxxxxxxx/T/
> 
> I'm pretty sure it will fix the issue but I haven't tested it.
> 
> https://bbs.archlinux.org/viewtopic.php?pid=2136529#p2136529
> 
> There is an Arch Kernel with that patch applied for testing:
> https://bbs.archlinux.org/viewtopic.php?pid=2136533#p2136533
> 
> The proper fix seems to be '076fc8775daf wifi: cfg80211: remove wdev mutex'
> which does not apply cleanly to either 6.6.y or 6.1.y as stated here:
> https://bbs.archlinux.org/viewtopic.php?pid=2136579#p2136579

6.6.6 is out now which should fix the issue for the distros to pick up,
it reverts the offending commit.  Now we can take the time to fix this
up "properly" if developers want to.

thanks,

greg k-h




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux