GHSA-R4WR-6G88-CCGM
Vulnerability from github – Published: 2026-11-20 06:32 – Updated: 2026-11-23 09:31In the Linux kernel, the following vulnerability has been resolved:
hwmon: (coretemp) Set nr_cores only after core_data allocation succeeds
In init_temp_data(), pdata->nr_cores is populated from topology_num_cores_per_package() before allocating pdata->core_data. If that allocation fails, init_temp_data() returns NULL with pdata->core_data still NULL and pdata->nr_cores set to a positive value.
coretemp_add_core() logs the error without failing coretemp_cpu_online(), so the CPU still comes online with pdata->hwmon_dev registered. When the CPU is later taken offline (or the module is unloaded), coretemp_cpu_offline() calls get_temp_data(pd, cpu), which loops up to pdata->nr_cores and dereferences the NULL pdata->core_data pointer.
Store the core count in a local variable and assign pdata->nr_cores only after pdata->core_data is allocated, preserving the invariant that pdata->nr_cores is zero whenever pdata->core_data is NULL.
{
"affected": [],
"aliases": [
"CVE-2026-99716"
],
"database_specific": {
"cwe_ids": [],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-11-20T06:18:08Z",
"severity": null
},
"details": "In the Linux kernel, the following vulnerability has been resolved:\n\nhwmon: (coretemp) Set nr_cores only after core_data allocation succeeds\n\nIn init_temp_data(), pdata-\u003enr_cores is populated from\ntopology_num_cores_per_package() before allocating pdata-\u003ecore_data. If\nthat allocation fails, init_temp_data() returns NULL with\npdata-\u003ecore_data still NULL and pdata-\u003enr_cores set to a positive value.\n\ncoretemp_add_core() logs the error without failing coretemp_cpu_online(),\nso the CPU still comes online with pdata-\u003ehwmon_dev registered. When the\nCPU is later taken offline (or the module is unloaded),\ncoretemp_cpu_offline() calls get_temp_data(pd, cpu), which loops up to\npdata-\u003enr_cores and dereferences the NULL pdata-\u003ecore_data pointer.\n\nStore the core count in a local variable and assign pdata-\u003enr_cores only\nafter pdata-\u003ecore_data is allocated, preserving the invariant that\npdata-\u003enr_cores is zero whenever pdata-\u003ecore_data is NULL.",
"id": "GHSA-r4wr-6g88-ccgm",
"modified": "2026-11-23T09:31:00Z",
"published": "2026-11-20T06:32:08Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99716"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/01bd308458a2855e64358669b057a59e1e819570"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/18551f9cfa0890187219e5d46a277feb1fa260b9"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/2fb99a03cb8c4a5907c55968d1aa8df6c885e347"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/95638f1f05ced75a82e83f610cd01b636d2a21b1"
}
],
"schema_version": "1.4.0",
"severity": []
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.