<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://vulnerability.circl.lu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Sat, 10 Oct 2026 20:05:58 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-98200 — hwmon: (hp-wmi-sensors) Fix use-after-free in fungible_show()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-98200</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;hwmon: (hp-wmi-sensors) Fix use-after-free in fungible_show()&lt;/p&gt;
&lt;p&gt;nsensor-&amp;gt;current_state is dynamically replaced as the sensor&amp;#39;s state
changes. update_numeric_sensor_from_wobj() does this by freeing the
old string and installing a new one:&lt;/p&gt;
&lt;p&gt;if (strcmp(trimmed, nsensor-&amp;gt;current_state)) {
		new_string = hp_wmi_strdup(dev, trimmed);
		if (new_string) {
			devm_kfree(dev, nsensor-&amp;gt;current_state);
			nsensor-&amp;gt;current_state = new_string;
		}
	}&lt;/p&gt;
&lt;p&gt;This function is only ever called from hp_wmi_update_info() while
state-&amp;gt;lock is held, so the free-and-replace itself is properly
serialized against concurrent updates.&lt;/p&gt;
&lt;p&gt;fungible_show(), however, reads the same pointer after the lock has
already been dropped:&lt;/p&gt;
&lt;p&gt;err = hp_wmi_update_info(state, info);
	if (err)
		return err;&lt;/p&gt;
&lt;p&gt;switch (prop) {
	...
	case HP_WMI_PROPERTY_CURRENT_STATE:
		seq_printf(seqf, &amp;#34;%s\n&amp;#34;, nsensor-&amp;gt;current_state);
		break;&lt;/p&gt;
&lt;p&gt;hp_wmi_update_info() takes state-&amp;gt;lock internally and releases it
before returning, so by the time fungible_show() dereferences
nsensor-&amp;gt;current_state in seq_printf(), no lock is held. Two
processes reading a sensor&amp;#39;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&amp;#39;s seq_printf() can
be part-way through printing the string at the moment another
thread&amp;#39;s call into update_numeric_sensor_from_wobj() frees it with
devm_kfree() and installs a…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;hwmon: (hp-wmi-sensors) Fix use-after-free in fungible_show()&lt;/p&gt;
&lt;p&gt;nsensor-&amp;gt;current_state is dynamically replaced as the sensor&amp;#39;s state
changes. update_numeric_sensor_from_wobj() does this by freeing the
old string and installing a new one:&lt;/p&gt;
&lt;p&gt;if (strcmp(trimmed, nsensor-&amp;gt;current_state)) {
		new_string = hp_wmi_strdup(dev, trimmed);
		if (new_string) {
			devm_kfree(dev, nsensor-&amp;gt;current_state);
			nsensor-&amp;gt;current_state = new_string;
		}
	}&lt;/p&gt;
&lt;p&gt;This function is only ever called from hp_wmi_update_info() while
state-&amp;gt;lock is held, so the free-and-replace itself is properly
serialized against concurrent updates.&lt;/p&gt;
&lt;p&gt;fungible_show(), however, reads the same pointer after the lock has
already been dropped:&lt;/p&gt;
&lt;p&gt;err = hp_wmi_update_info(state, info);
	if (err)
		return err;&lt;/p&gt;
&lt;p&gt;switch (prop) {
	...
	case HP_WMI_PROPERTY_CURRENT_STATE:
		seq_printf(seqf, &amp;#34;%s\n&amp;#34;, nsensor-&amp;gt;current_state);
		break;&lt;/p&gt;
&lt;p&gt;hp_wmi_update_info() takes state-&amp;gt;lock internally and releases it
before returning, so by the time fungible_show() dereferences
nsensor-&amp;gt;current_state in seq_printf(), no lock is held. Two
processes reading a sensor&amp;#39;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&amp;#39;s seq_printf() can
be part-way through printing the string at the moment another
thread&amp;#39;s call into update_numeric_sensor_from_wobj() frees it with
devm_kfree() and installs a…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-98200</guid>
    </item>
  </channel>
</rss>
