Junglewise Threat Intelligence

CVE-2026-45978: Linux Kernel Greybus staging driver NULL pointer dereference in lights component

CVE-2026-45978 · Severity: info · CVSS 0 · Published 2026-05-27

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability was identified in the Linux kernel's Greybus staging driver, which handles communication for modular hardware. Under specific low-memory conditions, the system could experience a crash (NULL pointer dereference) when attempting to configure hardware lights. This primarily impacts system stability and availability.

Technical details

A NULL pointer dereference vulnerability exists in drivers/staging/greybus/light.c within the gb_lights_light_config() function. The function was incorrectly storing the 'channel_count' value before successfully allocating the 'channels' array via kcalloc(). If the memory allocation failed, the subsequent cleanup path in gb_lights_release() would attempt to iterate through the channels based on the non-zero count, leading to a dereference of the NULL pointer. An attacker or a system under heavy memory pressure could trigger this crash. The fix reorders the operations to ensure 'channels_count' is only updated after a successful allocation.

Affected products

  • Linux Linux Kernel Fixed in versions 01b91cb, 06162d8, 3cbe694, 65f2c60, a118724, ba50221, da46264, efcffd9

Timeline

  • 2026-01-08: other: Patch authored
  • 2026-05-27: disclosed: NVD publication date

References