Messages in this thread | ![/](/images/icornerl.gif) | | Date | Tue, 12 Dec 2023 14:44:41 +0200 (EET) | From | Kai Vehmanen <> | Subject | Re: [PATCH] ASoC: hdac_hda: Fix NULL pointer dereference when hda_pvt is not set |
| |
Hi,
On Tue, 12 Dec 2023, Kai-Heng Feng wrote:
> Kernel splat can be found on boot: > [ 7.906438] BUG: kernel NULL pointer dereference, address: 0000000000000078 > [ 7.906449] #PF: supervisor read access in kernel mode > [ 7.906455] #PF: error_code(0x0000) - not-present page [...] > This is caused by attempting to dereference hda_pvt, so check if it's > NULL before using it. > > Fixes: a0575b4add21 ("ASoC: hdac_hda: Conditionally register dais for HDMI and Analog")
can you try this fix already merged to Mark's tree (merged on 7th Dec):
"ASoC: SOF: Intel: hda-codec: Delay the codec device registration" https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git/commit/?id=ce17aa4cf2db7d6b95a3f854ac52d0d49881dd49
Br, Kai
| ![\](/images/icornerr.gif) |