Public bug reported:

On Ubuntu 26.04, Dell Precision 5490 (Meteor Lake, SoundWire: rt713 / 2x rt1316 
/ rt1713),
booting 7.3.0-1004-oem results in no audio (PipeWire only offers "Dummy Output",
`aplay -l` is empty). 7.0.0-1018-oem on the same machine works. Updating
sof-firmware did not help (broken both before and after).

At boot, `alsactl restore` writes the saved capture gain to the rt712-sdca-dmic
control before the codec has finished initialising. regmap-sdw-mbq refuses the 
write
and the driver's error path then dereferences an invalid device pointer.
The oops kills alsactl while it holds locks; alsactl stays in D state and a 
second
`alsactl restore` blocks behind it, so card 0 is unusable.

Upstream commit 0bc42544a4a0 looks like an exact match for my issue.

Looking at other bug reports (#2172776), it looks like the issue has
been around for a while, but with 7.3.0 it's getting hit reliably on
boot.

I can also confirm that preventing alsactl from trying to restore state
at boot worked to get working sound:

sudo systemctl mask alsa-restore.service alsa-state.service
sudo mv /var/lib/alsa/asound.state /var/lib/alsa/asound.state.bak

I'd be happy to test an updated kernel package.

** Affects: linux-oem-7.3 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2174823

Title:
  NULL deref in rt712_sdca_dmic_set_gain_put

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-oem-7.3/+bug/2174823/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to