Nixpkgs security tracker

Login with GitHub

Suggestion detail

Dismissed
(max. allowed matches exceeded)
created 11 hours ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
ALSA: cmipci: check snd_ctl_new1() return value

In the Linux kernel, the following vulnerability has been resolved: ALSA: cmipci: check snd_ctl_new1() return value snd_ctl_new1() can return NULL when memory allocation fails. snd_cmipci_spdif_controls() does not check the return value before dereferencing kctl->id.device, which can lead to a NULL pointer dereference. Add NULL checks after snd_ctl_new1() calls and return -ENOMEM if any fails.

Affected products

Linux
  • <6.1.178
  • <c205bd1b28fb7e5f1061a4e78813fad7d315cb3e
  • =<6.18.*
  • <af2b009b773bc42995546507963e5e78970dc3ed
  • ==6.4
  • =<6.12.*
  • <8825a06bfa7932a7a74dec01669d405df0b47286
  • <6.4
  • =<7.1.*
  • <67e9ea92cd598cba1783ff701553c776a6cedee9
  • =<6.1.*
  • =<*
  • =<6.6.*
  • <b44888c33c4f11277d0e5e023338f2740232a4ed
  • ==7bf12707fa3db4c14fbe8ab93efb421d8ca93bf8
  • <4dd5b0b1a52a8d6e59a3f217204817228ce0238b
  • <6.4