Popis
In the Linux kernel, the following vulnerability has been resolved: staging: greybus: lights: avoid NULL deref gb_lights_light_config() stores channel_count before allocating the channels array. If kcalloc() fails, gb_lights_release() iterates the non-zero count and dereferences light->channels, which is NULL. Allocate channels first and only then publish channels_count so the cleanup path can-t walk a NULL pointer.
CVSS 5.5EPSS 0.123%Riziko 0.56
Zobraziť zdroj- Zverejnené
- 2026-05-27 14:17:14
- Dotknuté verzie
- unknown
- Typ
- Core software
- Vektor
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Operačné systémy
- Linux