Skip to content

ALSA: core: some power-state hardening

Takashi Iwai linux-sound lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ALSA: core: Check shutdown flag at D0 power-state, toosound/core/init.c+6 -60 replies
2/2ALSA: control: Fix UAF in snd_ctl_elem_add() on card disconnectsound/core/control.c+2 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] ALSA: core: some power-state hardening

Hi,

there was a report about a UAF with the inconsistent power-state handling. This is a couple of small patches to address such corner cases.

Takashi

===

Takashi Iwai (2):
ALSA: core: Check shutdown flag at D0 power-state, too
ALSA: control: Fix UAF in snd_ctl_elem_add() on card disconnect

 sound/core/control.c |  2 ++
 sound/core/init.c    | 12 ++++++------
 2 files changed, 8 insertions(+), 6 deletions(-)
Signature · 1 line
2.55.0