# CVE-2026-99716: hwmon: (coretemp) Set nr\_cores only after core\_data allocation succeeds

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.17% (percentile 4, 2026-11-28)
- **Published:** 2026-11-20T05:50:54.576Z
- **Modified:** 2026-11-23T08:18:12.243Z

## Who should check

- Anyone running Linux \>= 1a793caf6f6991716cb07583ed7c27de84ef0cba, \< 18551f9cfa0890187219e5d46a277feb1fa260b9; \>= 1a793caf6f6991716cb07583ed7c27de84ef0cba, \< 01bd308458a2855e64358669b057a59e1e819570; \>= 1a793caf6f6991716cb07583ed7c27de84ef0cba, \< 2fb99a03cb8c4a5907c55968d1aa8df6c885e347; \>= 1a793caf6f6991716cb07583ed7c27de84ef0cba, \< 95638f1f05ced75a82e83f610cd01b636d2a21b1
- Anyone running Linux 6.9

## Description

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.

## Affected and fixed versions

- Linux: \>= 1a793caf6f6991716cb07583ed7c27de84ef0cba, \< 18551f9cfa0890187219e5d46a277feb1fa260b9; \>= 1a793caf6f6991716cb07583ed7c27de84ef0cba, \< 01bd308458a2855e64358669b057a59e1e819570; \>= 1a793caf6f6991716cb07583ed7c27de84ef0cba, \< 2fb99a03cb8c4a5907c55968d1aa8df6c885e347; \>= 1a793caf6f6991716cb07583ed7c27de84ef0cba, \< 95638f1f05ced75a82e83f610cd01b636d2a21b1 (cvelist)
- Linux: 6.9 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 95638f1f05ced75a82e83f610cd01b636d2a21b1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-99716. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99716.md
Affected: Linux >= 1a793caf6f6991716cb07583ed7c27de84ef0cba, < 18551f9cfa0890187219e5d46a277feb1fa260b9; >= 1a793caf6f6991716cb07583ed7c27de84ef0cba, < 01bd308458a2855e64358669b057a59e1e819570; >= 1a793caf6f6991716cb07583ed7c27de84ef0cba, < 2fb99a03cb8c4a5907c55968d1aa8df6c885e347; >= 1a793caf6f6991716cb0758…
Fixed in: Linux 18551f9cfa0890187219e5d46a277feb1fa260b9, Linux 01bd308458a2855e64358669b057a59e1e819570, Linux 2fb99a03cb8c4a5907c55968d1aa8df6c885e347, Linux 95638f1f05ced75a82e83f610cd01b636d2a21b1

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-99716 being exploited?

There is no confirmed exploitation: CVE-2026-99716 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-99716?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-99716?

Linux \>= 1a793caf6f6991716cb07583ed7c27de84ef0cba, \< 18551f9cfa0890187219e5d46a277feb1fa260b9; \>= 1a793caf6f6991716cb07583ed7c27de84ef0cba, \< 01bd308458a2855e64358669b057a59e1e819570; \>= 1a793caf6f6991716cb07583ed7c27de84ef0cba, \< 2fb99a03cb8c4a5907c55968d1aa8df6c885e347; \>= 1a793caf6f6991716cb07583ed7c27de84ef0cba, \< 95638f1f05ced75a82e83f610cd01b636d2a21b1; Linux 6.9.

### Is there a fix for CVE-2026-99716?

Yes. Fixed in Linux 18551f9cfa0890187219e5d46a277feb1fa260b9, Linux 01bd308458a2855e64358669b057a59e1e819570, Linux 2fb99a03cb8c4a5907c55968d1aa8df6c885e347, Linux 95638f1f05ced75a82e83f610cd01b636d2a21b1. Upgrade Linux to 95638f1f05ced75a82e83f610cd01b636d2a21b1 or later.

### How do I check if I'm affected by CVE-2026-99716?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/18551f9cfa0890187219e5d46a277feb1fa260b9>
- other: <https://git.kernel.org/stable/c/01bd308458a2855e64358669b057a59e1e819570>
- other: <https://git.kernel.org/stable/c/2fb99a03cb8c4a5907c55968d1aa8df6c885e347>
- other: <https://git.kernel.org/stable/c/95638f1f05ced75a82e83f610cd01b636d2a21b1>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-99716>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-99716> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-99716>
