FKIE_CVE-2026-99716
Vulnerability from fkie_nvd - Published: 2026-11-20 06:18 - Updated: 2026-11-23 08:18
Severity
Summary
In 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.
References
Impacted products
| Vendor | Product | Version |
|---|
{
"affected": [
{
"affectedData": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/hwmon/coretemp.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "18551f9cfa0890187219e5d46a277feb1fa260b9",
"status": "affected",
"version": "1a793caf6f6991716cb07583ed7c27de84ef0cba",
"versionType": "git"
},
{
"lessThan": "01bd308458a2855e64358669b057a59e1e819570",
"status": "affected",
"version": "1a793caf6f6991716cb07583ed7c27de84ef0cba",
"versionType": "git"
},
{
"lessThan": "2fb99a03cb8c4a5907c55968d1aa8df6c885e347",
"status": "affected",
"version": "1a793caf6f6991716cb07583ed7c27de84ef0cba",
"versionType": "git"
},
{
"lessThan": "95638f1f05ced75a82e83f610cd01b636d2a21b1",
"status": "affected",
"version": "1a793caf6f6991716cb07583ed7c27de84ef0cba",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/hwmon/coretemp.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "6.9"
},
{
"lessThan": "6.9",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.119",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.65",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.3.*",
"status": "unaffected",
"version": "7.3.5",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.4-rc2",
"versionType": "original_commit_for_fix"
}
]
}
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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": "CVE-2026-99716",
"lastModified": "2026-11-23T08:18:12.243",
"metrics": {},
"published": "2026-11-20T06:18:08.013",
"references": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/01bd308458a2855e64358669b057a59e1e819570"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/18551f9cfa0890187219e5d46a277feb1fa260b9"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/2fb99a03cb8c4a5907c55968d1aa8df6c885e347"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/95638f1f05ced75a82e83f610cd01b636d2a21b1"
}
],
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"vulnStatus": "Received"
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
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.
Loading…
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
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.
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.
Loading…
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.
Loading…