Nixpkgs security tracker

Login with GitHub

Suggestion detail

Dismissed
(max. allowed matches exceeded)
created 1 day ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
ALSA: gus: check snd_ctl_new1() return value

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

Affected products

Linux
  • <6.1.178
  • =<6.18.*
  • <97f6bdf5d5ded2e37f358cacb5a95f1393356604
  • ==a1374d2683442633f8ad2169f8f31df45048e008
  • ==6.4
  • =<6.12.*
  • <6.4
  • =<7.1.*
  • <fc5d4f27ca1293bc1379ef8fff691c30d9803ca2
  • =<6.1.*
  • =<6.6.*
  • <5e74e5e8cb7cc25f7a89f59abaf3489bf0c6f4a0
  • =<*
  • <eccf8e91266e39f6f15637702a04a1d344833fe2
  • <c7fa99d30c7a166a5e5db5a585ce7501ff68326b
  • <465075c6835103821d725c13f8c545898e5f2636
  • <6.4