lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87wn65umye.wl-tiwai@suse.de>
Date:   Mon, 02 Jan 2023 13:42:49 +0100
From:   Takashi Iwai <tiwai@...e.de>
To:     Salvatore Bonaccorso <carnil@...ian.org>
Cc:     Thorsten Leemhuis <regressions@...mhuis.info>,
        Alsa-devel <alsa-devel@...a-project.org>,
        "regressions@...ts.linux.dev" <regressions@...ts.linux.dev>,
        LKML <linux-kernel@...r.kernel.org>,
        Takashi Iwai <tiwai@...e.com>,
        Richard Fitzgerald <rf@...nsource.cirrus.com>,
        Mark Brown <broonie@...nel.org>,
        PÁLFFY Dániel <dpalffy@...il.com>,
        Sergey <zagagyka@...ealt.ru>
Subject: Re: [regression, 5.10.y] Bug 216861 - sound
 disappearance on Acer Swift 3 SF314-59-78UR after update to 5.10.157

On Mon, 02 Jan 2023 11:43:36 +0100,
Salvatore Bonaccorso wrote:
> 
> Hi,
> 
> [Adding as well Richard Fitzgerald and PÁLFFY Dániel to recipients]
> 
> On Fri, Dec 30, 2022 at 09:08:57AM +0100, Thorsten Leemhuis wrote:
> > Hi, this is your Linux kernel regression tracker speaking.
> > 
> > I noticed a regression report in bugzilla.kernel.org. As many (most?)
> > kernel developer don't keep an eye on it, I decided to forward it by
> > mail. Quoting from https://bugzilla.kernel.org/show_bug.cgi?id=216861 :
> > 
> > >  Sergey 2022-12-29 10:07:51 UTC
> > > 
> > > Created attachment 303497 [details]
> > > pulseaudio.log
> > > 
> > > Sudden sound disappearance was reported for some laptops, e.g.
> > > 
> > > Acer Swift 3 SF314-59-78UR 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
> > > 
> > > # lspci
> > > 0000:00:1f.3 Multimedia audio controller: Intel Corporation Tiger Lake-LP Smart Sound Technology Audio Controller (rev 20)
> > >         Subsystem: Acer Incorporated [ALI] Device 148c
> > >         Flags: bus master, fast devsel, latency 32, IRQ 197, IOMMU group 12
> > >         Memory at 601f270000 (64-bit, non-prefetchable) [size=16K]
> > >         Memory at 601f000000 (64-bit, non-prefetchable) [size=1M]
> > >         Capabilities: [50] Power Management version 3
> > >         Capabilities: [80] Vendor Specific Information: Len=14 <?>
> > >         Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
> > >         Kernel driver in use: sof-audio-pci
> > > 
> > > I am attaching the pulseaudio and dmesg logs
> > > 
> > > This bug started reproducing after updating the kernel from 5.10.156 to 5.10.157
> > > 
> > > Bisection revealed the commit being reverted:
> > > 
> > > c34db0d6b88b1da95e7ab3353e674f4f574cccee is the first bad commit
> > > commit c34db0d6b88b1da95e7ab3353e674f4f574cccee
> > > Author: Richard Fitzgerald <rf@...nsource.cirrus.com>
> > > Date:   Fri Nov 4 13:22:13 2022 +0000
> > > 
> > >     ASoC: soc-pcm: Don't zero TDM masks in __soc_pcm_open()
> > >     
> > >     [ Upstream commit 39bd801d6908900e9ab0cdc2655150f95ddd4f1a ]
> > >     
> > >     The DAI tx_mask and rx_mask are set by snd_soc_dai_set_tdm_slot()
> > >     and used by later code that depends on the TDM settings. So
> > >     __soc_pcm_open() should not be obliterating those mask values.
> > >     
> > > [...]
> > > Original bug report: https://bugzilla.altlinux.org/44690
> > 
> > See the ticket for more details.
> > 
> > BTW, let me use this mail to also add the report to the list of tracked
> > regressions to ensure it's doesn't fall through the cracks:
> > 
> > #regzbot introduced: c34db0d6b88b1d
> > https://bugzilla.kernel.org/show_bug.cgi?id=216861
> > #regzbot title: sound: asoc: sudden sound disappearance
> > #regzbot ignore-activity
> 
> FWIW, we had as well reports in Debian after having updated the kernel
> from 5.10.149 based one to 5.10.158 based one in the last point
> releases, they are at least:
> 
> https://bugs.debian.org/1027483
> https://bugs.debian.org/1027430

I got another report while the commit was backported to 5.14-based
openSUSE Leap kernel, and I ended up with dropping it.

So, IMO, it's safer to drop this patch from the older stable trees.
As far as I see, 5.15.y and 5.10.y got this.

Unless anyone gives a better fix, I'm going to submit a revert patch
for those trees.


thanks,

Takashi

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ