CVE-2026-45978
staging: greybus: lights: avoid NULL deref
Reported by linux · Published May 27, 2026
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.
EPSS 0.12% · 2.0th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 6.19.4, 6.18.14, 6.12.75, 6.6.128, 6.1.165, 5.15.202, 5.10.252 |
| Linux | Linux | efcffd9a6ad8d190651498d5eda53bfc7cf683a7, da46264a7016034a5bbbad034c012ef218b7d0af |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 2870b52bae4c81823ffcb3ed2b0626fb39d64f48, 2870b52bae4c81823ffcb3ed2b0626fb39d64f48, 2870b52bae4c81823ffcb3ed2b0626fb39d64f48 |
| Linux | Linux | 4.9, 0, 5.10.252 |
| Linux | Linux | 7.0, 0, 5.10.252 |
| linux | linux_kernel | 4.9, 4.9, 4.9 |
Timeline
- May 27, 2026 CVE Published
- May 28, 2026 EPSS Score (14 in total, the first dated here)
- May 29, 2026 Security Advisory (131 in total, the first dated here)
- Jun 4, 2026 Coalition ESS Score
- Aug 11, 2026 Distribution Patch (128 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-45978
vulnetix vdb fixes CVE-2026-45978
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-45978/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart