<?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://db.gcve.eu</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>Mon, 19 Oct 2026 12:35:38 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-98859 — HID: multitouch: stop the release timer from being rearmed on remove</title>
      <link>https://db.gcve.eu/vuln/cve-2026-98859</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;HID: multitouch: stop the release timer from being rearmed on remove&lt;/p&gt;
&lt;p&gt;mt_remove() quiesces the sticky-finger timer before stopping the
hardware:&lt;/p&gt;
&lt;p&gt;timer_delete_sync(&amp;amp;td-&amp;gt;release_timer);&lt;/p&gt;
&lt;p&gt;sysfs_remove_group(&amp;amp;hdev-&amp;gt;dev.kobj, &amp;amp;mt_attribute_group);
    hid_hw_stop(hdev);&lt;/p&gt;
&lt;p&gt;timer_delete_sync() waits for a running callback and dequeues the timer,
but it does not stop the timer from being armed again. The transport is
still delivering reports at that point, and the report path rearms it:&lt;/p&gt;
&lt;p&gt;if (app-&amp;gt;quirks &amp;amp; MT_QUIRK_STICKY_FINGERS) {
        if (td-&amp;gt;mt_io_flags &amp;amp; MT_IO_SLOTS_MASK)
            mod_timer(&amp;amp;td-&amp;gt;release_timer,
                      jiffies + msecs_to_jiffies(100));&lt;/p&gt;
&lt;p&gt;A report that arrives after timer_delete_sync() has returned therefore
leaves the timer queued. td is allocated with devm_kzalloc() against
hdev-&amp;gt;dev, so it is freed when the driver is unbound, after mt_remove()
returns. When the timer fires afterwards, mt_expired_timeout()
dereferences the freed td:&lt;/p&gt;
&lt;p&gt;struct mt_device *td = timer_container_of(td, t, release_timer);
    struct hid_device *hdev = td-&amp;gt;hdev;&lt;/p&gt;
&lt;p&gt;if (test_and_set_bit_lock(MT_IO_FLAGS_RUNNING, &amp;amp;td-&amp;gt;mt_io_flags))&lt;/p&gt;
&lt;p&gt;Simply moving the teardown after hid_hw_stop() does not fix this on its
own, because mt_expired_timeout() calls mt_release_contacts(), which
walks hdev-&amp;gt;inputs; the timer still has to be quiesced before
hid_hw_stop() tears the input devices down.&lt;/p&gt;
&lt;p&gt;Use timer…&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;HID: multitouch: stop the release timer from being rearmed on remove&lt;/p&gt;
&lt;p&gt;mt_remove() quiesces the sticky-finger timer before stopping the
hardware:&lt;/p&gt;
&lt;p&gt;timer_delete_sync(&amp;amp;td-&amp;gt;release_timer);&lt;/p&gt;
&lt;p&gt;sysfs_remove_group(&amp;amp;hdev-&amp;gt;dev.kobj, &amp;amp;mt_attribute_group);
    hid_hw_stop(hdev);&lt;/p&gt;
&lt;p&gt;timer_delete_sync() waits for a running callback and dequeues the timer,
but it does not stop the timer from being armed again. The transport is
still delivering reports at that point, and the report path rearms it:&lt;/p&gt;
&lt;p&gt;if (app-&amp;gt;quirks &amp;amp; MT_QUIRK_STICKY_FINGERS) {
        if (td-&amp;gt;mt_io_flags &amp;amp; MT_IO_SLOTS_MASK)
            mod_timer(&amp;amp;td-&amp;gt;release_timer,
                      jiffies + msecs_to_jiffies(100));&lt;/p&gt;
&lt;p&gt;A report that arrives after timer_delete_sync() has returned therefore
leaves the timer queued. td is allocated with devm_kzalloc() against
hdev-&amp;gt;dev, so it is freed when the driver is unbound, after mt_remove()
returns. When the timer fires afterwards, mt_expired_timeout()
dereferences the freed td:&lt;/p&gt;
&lt;p&gt;struct mt_device *td = timer_container_of(td, t, release_timer);
    struct hid_device *hdev = td-&amp;gt;hdev;&lt;/p&gt;
&lt;p&gt;if (test_and_set_bit_lock(MT_IO_FLAGS_RUNNING, &amp;amp;td-&amp;gt;mt_io_flags))&lt;/p&gt;
&lt;p&gt;Simply moving the teardown after hid_hw_stop() does not fix this on its
own, because mt_expired_timeout() calls mt_release_contacts(), which
walks hdev-&amp;gt;inputs; the timer still has to be quiesced before
hid_hw_stop() tears the input devices down.&lt;/p&gt;
&lt;p&gt;Use timer…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-98859</guid>
    </item>
  </channel>
</rss>
