[PATCH 6.6.y v2 0/3] ASoC: SOF: Intel: hda: Fix NULL pointer dereference in v6.6

Alva Lan posted 3 patches 4 days, 21 hours ago
Only 0 patches received!
sound/soc/sof/intel/hda-dai.c | 29 ++++++++++++++++++++++-------
1 file changed, 22 insertions(+), 7 deletions(-)
[PATCH 6.6.y v2 0/3] ASoC: SOF: Intel: hda: Fix NULL pointer dereference in v6.6
Posted by Alva Lan 4 days, 21 hours ago
v1->v2: add two prerequisite patches.

This series backports a fix for a NULL pointer dereference in
hda_dai_get_ops() to the 6.6.y stable branch.

The fix (patch 3/3) adds a NULL check for the widget before
dereferencing it. However, it depends on two prerequisite patches that
modify the code context in hda_select_dai_widget_ops():

  Patch 1/3: daa09d0615ce ("ASoC: SOF: Intel: hda-dai: remove dspless special case")
  Patch 2/3: 2065610b5ddd ("ASoC: SOF: Intel: hda-dai: add support for dspless mode beyond HDAudio")
  Patch 3/3: 16c589567a95 ("ASoC: SOF: Intel: hda: Fix NULL pointer dereference")

All three patches apply cleanly to v6.6.140 without adjusting the context.


Pierre-Louis Bossart (2):
  ASoC: SOF: Intel: hda-dai: remove dspless special case
  ASoC: SOF: Intel: hda-dai: add support for dspless mode beyond HDAudio

Ranjani Sridharan (1):
  ASoC: SOF: Intel: hda: Fix NULL pointer dereference

 sound/soc/sof/intel/hda-dai.c | 29 ++++++++++++++++++++++-------
 1 file changed, 22 insertions(+), 7 deletions(-)

-- 
2.43.0
Re: [PATCH 6.6.y v2 0/3] ASoC: SOF: Intel: hda: Fix NULL pointer dereference in v6.6
Posted by Sasha Levin 4 days, 9 hours ago
> v1->v2: add two prerequisite patches.
>
> This series backports a fix for a NULL pointer dereference in
> hda_dai_get_ops() to the 6.6.y stable branch.
>
>   Patch 1/3: daa09d0615ce ("ASoC: SOF: Intel: hda-dai: remove dspless special case")
>   Patch 2/3: 2065610b5ddd ("ASoC: SOF: Intel: hda-dai: add support for dspless mode beyond HDAudio")
>   Patch 3/3: 16c589567a95 ("ASoC: SOF: Intel: hda: Fix NULL pointer dereference")
>
> All three patches apply cleanly to v6.6.140 without adjusting the context.

Queued all three for 6.6, thanks.

--
Thanks,
Sasha