CVE-2026-45978
staging: greybus: lights: avoid NULL deref
Check your servers for CVE-2026-45978
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-45978 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Exploitation
EPSS 0.16%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 2.99% of all scored CVEs. Scores of 30 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 2870b52bae4c81823ffcb3ed2b0626fb39d64f48, before a118724d7641b832fa14323e2733e28ae4834552 affected from 2870b52bae4c81823ffcb3ed2b0626fb39d64f48, before 3cbe694d235d96f628ec7dc6ae4d8bdddb768699 affected from 2870b52bae4c81823ffcb3ed2b0626fb39d64f48, before ba5022162da63059bae36c4fd84d7031f582c71f affected from 2870b52bae4c81823ffcb3ed2b0626fb39d64f48, before 65f2c608096d766540953d9b170d216aa3b5eb95 affected from 2870b52bae4c81823ffcb3ed2b0626fb39d64f48, before 01b91cb3e748032fd96bbe0043812b426a52f091 affected from 2870b52bae4c81823ffcb3ed2b0626fb39d64f48, before 06162d85f830582da6e9e5fcf9c9504d6da9ae0b affected from 2870b52bae4c81823ffcb3ed2b0626fb39d64f48, before da46264a7016034a5bbbad034c012ef218b7d0af affected from 2870b52bae4c81823ffcb3ed2b0626fb39d64f48, before efcffd9a6ad8d190651498d5eda53bfc7cf683a7
Other versions: unaffected
|
| Linux |
affected 4.9 unaffected before 4.9 unaffected from 5.10.252 up to and including 5.10.* unaffected from 5.15.202 up to and including 5.15.* unaffected from 6.1.165 up to and including 6.1.* unaffected from 6.6.128 up to and including 6.6.* unaffected from 6.12.75 up to and including 6.12.* unaffected from 6.18.14 up to and including 6.18.* unaffected from 6.19.4 up to and including 6.19.* unaffected 7.0 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-45978 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-45978
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-45978
trivy image --scanners vuln IMAGE | grep CVE-2026-45978
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/a118724d7641b832fa14323e2733e28ae4834552 git.kernel.org
- https://git.kernel.org/stable/c/3cbe694d235d96f628ec7dc6ae4d8bdddb768699 git.kernel.org
- https://git.kernel.org/stable/c/ba5022162da63059bae36c4fd84d7031f582c71f git.kernel.org
- https://git.kernel.org/stable/c/65f2c608096d766540953d9b170d216aa3b5eb95 git.kernel.org
- https://git.kernel.org/stable/c/01b91cb3e748032fd96bbe0043812b426a52f091 git.kernel.org
- https://git.kernel.org/stable/c/06162d85f830582da6e9e5fcf9c9504d6da9ae0b git.kernel.org
- https://git.kernel.org/stable/c/da46264a7016034a5bbbad034c012ef218b7d0af git.kernel.org
- https://git.kernel.org/stable/c/efcffd9a6ad8d190651498d5eda53bfc7cf683a7 git.kernel.org
Source: the record CVE-2026-45978 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse