CVE-2026-98200
hwmon: (hp-wmi-sensors) Fix use-after-free in fungible_show()
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 23902f98f8d4811ab84dde6419569a5b374f8122, < b6b2a638aa36c441b2c8d0b6bd8ed2bb9701e795; >= 23902f98f8d4811ab84dde6419569a5b374f8122, < f59ecfd2c58bace39538f3fff7f43788b3fdb539; >= 23902f98f8d4811ab84dde6419569a5b374f8122, < 72c85149794a1ccf8d718ffed1521106b5d31968; >= 23902f98f8d4811ab84dde6419569a5b374f8122, < 9c1e65bc79ff104914b11e6ad972139296ec86fe; >= 23902f98f8d4811ab84dde6419569a5b374f8122, < e6cb0b4d4ecb8e71fd2200d907ab2e9663356f69
- Anyone running Linux 6.5
Vulnerability facts
- Affected
- Linux >= 23902f98f8d4811ab84dde6419569a5b374f8122, < b6b2a638aa36c441b2c8d0b6bd8ed2bb9701e795; >= 23902f98f8d4811ab84dde6419569a5b374f8122, < f59ecfd2c58bace39538f3fff7f43788b3fdb539; >= 23902f98f8d4811ab84dde6419569a5b374f8122, < 72c85149794a1ccf8d718ffed1521106b5d31968; >= 23902f98f8d4811ab84dde6419569a5b374f8122, < 9c1e65bc79ff104914b11e6ad972139296ec86fe; >= 23902f98f8d4811ab84dde6419569a5b374f8122, < e6cb0b4d4ecb8e71fd2200d907ab2e9663356f69; Linux 6.5
- Fixed in
- Linux 72c85149794a1ccf8d718ffed1521106b5d31968, Linux 9c1e65bc79ff104914b11e6ad972139296ec86fe
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.21% chance of exploitation in 30 days (percentile 6, 2026-11-26)
- Modified
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
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 23902f98f8d4811ab84dde6419569a5b374f8122, < b6b2a638aa36c441b2c8d0b6bd8ed2bb9701e795; >= 23902f98f8d4811ab84dde6419569a5b374f8122, < f59ecfd2c58bace39538f3fff7f43788b3fdb539; >= 23902f98f8d4811ab84dde6419569a5b374f8122, < 72c85149794a1ccf8d718ffed1521106b5d31968; >= 23902f98f8d4811ab84dde6419569a5b374f8122, < 9c1e65bc79ff104914b11e6ad972139296ec86fe; >= 23902f98f8d4811ab84dde6419569a5b374f8122, < e6cb0b4d4ecb8e71fd2200d907ab2e9663356f69 | — | cvelist |
| Linux | 6.5 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
References
Other
- https://git.kernel.org/stable/c/b6b2a638aa36c441b2c8d0b6bd8ed2bb9701e795
- https://git.kernel.org/stable/c/f59ecfd2c58bace39538f3fff7f43788b3fdb539
- https://git.kernel.org/stable/c/72c85149794a1ccf8d718ffed1521106b5d31968
- https://git.kernel.org/stable/c/9c1e65bc79ff104914b11e6ad972139296ec86fe
- https://git.kernel.org/stable/c/e6cb0b4d4ecb8e71fd2200d907ab2e9663356f69
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.