On Sun, 07 Jun 2026 04:56:05 +0200,
Ruoyu Wang wrote:
>
> Several ALSA drivers dereference the pointer returned by snd_ctl_new1()
> to adjust id.device, id.index, or store bookkeeping pointers before
> calling snd_ctl_add(). snd_ctl_new1() can return NULL on allocation
> failure, making these writes a NULL pointer dereference.
>
> This series adds NULL checks to all affected call sites found by static
> analysis.
>
> Ruoyu Wang (8):
> ALSA: es18xx: check control allocation before private data setup
> ALSA: gus: check PCM volume control allocation
> ALSA: cmipci: check S/PDIF control allocations
> ALSA: es1938: check control allocation before private data setup
> ALSA: ice1712: aureon: check CS8415 control allocation
> ALSA: ice1712: check pro S/PDIF control allocations
> ALSA: ice1724: check S/PDIF control allocations
> ALSA: ymfpci: check S/PDIF control allocations
Some of them seems to have been already applied or conflicting.
Please rebase on the latest for-next branch of sound.git tree and
resubmit.
thanks,
Takashi