# CVE-2026-98200: hwmon: (hp-wmi-sensors) Fix use-after-free in fungible\_show()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-10-06T08:44:38.289Z
- **Modified:** 2026-10-19T10:18:20.623Z

## Who should check

- Anyone running Linux \>= 23902f98f8d4811ab84dde6419569a5b374f8122, \< b6b2a638aa36c441b2c8d0b6bd8ed2bb9701e795; \>= 23902f98f8d4811ab84dde6419569a5b374f8122, \< f59ecfd2c58bace39538f3fff7f43788b3fdb539; \>= 23902f98f8d4811ab84dde6419569a5b374f8122, \< 72c85149794a1ccf8d718ffed1521106b5d31968; \>= 23902f98f8d4811ab84dde6419569a5b374f8122, \< 9c1e65bc79ff104914b11e6ad972139296ec86fe; \>= 23902f98f8d4811ab84dde6419569a5b374f8122, \< e6cb0b4d4ecb8e71fd2200d907ab2e9663356f69
- Anyone running Linux 6.5

## Description

In the Linux kernel, the following vulnerability has been resolved:

hwmon: (hp-wmi-sensors) Fix use-after-free in fungible\_show()

nsensor-\>current\_state is dynamically replaced as the sensor's state
changes. update\_numeric\_sensor\_from\_wobj() does this by freeing the
old string and installing a new one:

	if (strcmp(trimmed, nsensor-\>current\_state)) {
		new\_string = hp\_wmi\_strdup(dev, trimmed);
		if (new\_string) {
			devm\_kfree(dev, nsensor-\>current\_state);
			nsensor-\>current\_state = new\_string;
		}
	}

This function is only ever called from hp\_wmi\_update\_info() while
state-\>lock is held, so the free-and-replace itself is properly
serialized against concurrent updates.

fungible\_show(), however, reads the same pointer after the lock has
already been dropped:

	err = hp\_wmi\_update\_info(state, info);
	if (err)
		return err;

	switch (prop) {
	...
	case HP\_WMI\_PROPERTY\_CURRENT\_STATE:
		seq\_printf(seqf, "%s\\n", nsensor-\>current\_state);
		break;

hp\_wmi\_update\_info() takes state-\>lock internally and releases it
before returning, so by the time fungible\_show() dereferences
nsensor-\>current\_state in seq\_printf(), no lock is held. Two
processes reading a sensor's current\_state debugfs entry at
overlapping times (or one reading it while another read of the same
sensor triggers a refresh) can race: one thread's seq\_printf() can
be part-way through printing the string at the moment another
thread's call into update\_numeric\_sensor\_from\_wobj() frees it with
devm\_kfree() and installs a new pointer, causing a use-after-free
read.

Take state-\>lock around the read in fungible\_show() as well, so it
can never run concurrently with the free-and-replace in
update\_numeric\_sensor\_from\_wobj().

## Affected and fixed versions

- Linux: \>= 23902f98f8d4811ab84dde6419569a5b374f8122, \< b6b2a638aa36c441b2c8d0b6bd8ed2bb9701e795; \>= 23902f98f8d4811ab84dde6419569a5b374f8122, \< f59ecfd2c58bace39538f3fff7f43788b3fdb539; \>= 23902f98f8d4811ab84dde6419569a5b374f8122, \< 72c85149794a1ccf8d718ffed1521106b5d31968; \>= 23902f98f8d4811ab84dde6419569a5b374f8122, \< 9c1e65bc79ff104914b11e6ad972139296ec86fe; \>= 23902f98f8d4811ab84dde6419569a5b374f8122, \< e6cb0b4d4ecb8e71fd2200d907ab2e9663356f69 (cvelist)
- Linux: 6.5 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-98200.md
Affected: Linux >= 23902f98f8d4811ab84dde6419569a5b374f8122, < b6b2a638aa36c441b2c8d0b6bd8ed2bb9701e795; >= 23902f98f8d4811ab84dde6419569a5b374f8122, < f59ecfd2c58bace39538f3fff7f43788b3fdb539; >= 23902f98f8d4811ab84dde6419569a5b374f8122, < 72c85149794a1ccf8d718ffed1521106b5d31968; >= 23902f98f8d4811ab84dde6…
Fixed in: Linux 72c85149794a1ccf8d718ffed1521106b5d31968, Linux 9c1e65bc79ff104914b11e6ad972139296ec86fe

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-98200 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 23902f98f8d4811ab84dde6419569a5b374f8122, \< b6b2a638aa36c441b2c8d0b6bd8ed2bb9701e795; \>= 23902f98f8d4811ab84dde6419569a5b374f8122, \< f59ecfd2c58bace39538f3fff7f43788b3fdb539; \>= 23902f98f8d4811ab84dde6419569a5b374f8122, \< 72c85149794a1ccf8d718ffed1521106b5d31968; \>= 23902f98f8d4811ab84dde6419569a5b374f8122, \< 9c1e65bc79ff104914b11e6ad972139296ec86fe; \>= 23902f98f8d4811ab84dde6419569a5b374f8122, \< e6cb0b4d4ecb8e71fd2200d907ab2e9663356f69; Linux 6.5.

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

Yes. Fixed in Linux 72c85149794a1ccf8d718ffed1521106b5d31968, Linux 9c1e65bc79ff104914b11e6ad972139296ec86fe. No fix listed yet: follow the vendor advisory.

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

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/b6b2a638aa36c441b2c8d0b6bd8ed2bb9701e795>
- other: <https://git.kernel.org/stable/c/f59ecfd2c58bace39538f3fff7f43788b3fdb539>
- other: <https://git.kernel.org/stable/c/72c85149794a1ccf8d718ffed1521106b5d31968>
- other: <https://git.kernel.org/stable/c/9c1e65bc79ff104914b11e6ad972139296ec86fe>
- other: <https://git.kernel.org/stable/c/e6cb0b4d4ecb8e71fd2200d907ab2e9663356f69>

## 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-98200>

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