GHSA-gw2c-4fx4-rq5x
Record from GitHub Advisory Database · Published December 4, 2025
In the Linux kernel, the following vulnerability has been resolved: hwmon: (cgbc-hwmon) Add missing NULL check after devm_kzalloc() The driver allocates memory for sensor data using devm_kzalloc(), but did not check if the allocation succeeded. In case of memory allocation failure, dereferencing the NULL pointer would lead to a kernel crash. Add a NULL pointer check and return -ENOMEM to handle allocation failure properly.
Risk scores
Timeline
- Dec 4, 2025 CVE Published
- May 1, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln GHSA-gw2c-4fx4-rq5x
vulnetix vdb fixes GHSA-gw2c-4fx4-rq5x
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/GHSA-gw2c-4fx4-rq5x/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart