<?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>Tue, 29 Sep 2026 13:03:15 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-89624 — HID: universal-pidff: stop the device when force-feedback init fails</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-89624</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: universal-pidff: stop the device when force-feedback init fails&lt;/p&gt;
&lt;p&gt;universal_pidff_probe() starts the device with hid_hw_start() and then, if
force-feedback initialisation fails, returns the error through a label that
only does &amp;#34;return error&amp;#34;.  The device is left started.&lt;/p&gt;
&lt;p&gt;The HID core does not unwind on the driver&amp;#39;s behalf.  __hid_device_probe()
releases the devres group, closes the report and clears hdev-&amp;gt;driver:&lt;/p&gt;
&lt;p&gt;if (ret) {
		devres_release_group(&amp;amp;hdev-&amp;gt;dev, hdev-&amp;gt;devres_group_id);
		hid_close_report(hdev);
		hdev-&amp;gt;driver = NULL;
	}&lt;/p&gt;
&lt;p&gt;The hidraw character device that hid_hw_start() registered through
hid_connect() is allocated with kzalloc() and added with cdev_device_add(),
so it is not devres-managed and survives that.  With hdev-&amp;gt;driver NULL,
hid_device_remove() skips hid_hw_stop() as well, because it only unwinds
while a driver is still attached.  The registration therefore outlives the
device on both paths.&lt;/p&gt;
&lt;p&gt;Opening the surviving /dev/hidrawX writes into freed memory.  KASAN reports
a use-after-free write from hidraw_open() -&amp;gt; hid_hw_open() -&amp;gt; the
transport&amp;#39;s open callback, which takes a spinlock inside the freed object.
A descriptor that carries a PID usage page and no input reports is enough:
hidraw claims the device so hid_hw_start() succeeds, while hid-&amp;gt;inputs
stays empty so force-feedback init fails.  The other failure returns in
hid_pidff_init_with_quirks() - no output reports, an allocatio…&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: universal-pidff: stop the device when force-feedback init fails&lt;/p&gt;
&lt;p&gt;universal_pidff_probe() starts the device with hid_hw_start() and then, if
force-feedback initialisation fails, returns the error through a label that
only does &amp;#34;return error&amp;#34;.  The device is left started.&lt;/p&gt;
&lt;p&gt;The HID core does not unwind on the driver&amp;#39;s behalf.  __hid_device_probe()
releases the devres group, closes the report and clears hdev-&amp;gt;driver:&lt;/p&gt;
&lt;p&gt;if (ret) {
		devres_release_group(&amp;amp;hdev-&amp;gt;dev, hdev-&amp;gt;devres_group_id);
		hid_close_report(hdev);
		hdev-&amp;gt;driver = NULL;
	}&lt;/p&gt;
&lt;p&gt;The hidraw character device that hid_hw_start() registered through
hid_connect() is allocated with kzalloc() and added with cdev_device_add(),
so it is not devres-managed and survives that.  With hdev-&amp;gt;driver NULL,
hid_device_remove() skips hid_hw_stop() as well, because it only unwinds
while a driver is still attached.  The registration therefore outlives the
device on both paths.&lt;/p&gt;
&lt;p&gt;Opening the surviving /dev/hidrawX writes into freed memory.  KASAN reports
a use-after-free write from hidraw_open() -&amp;gt; hid_hw_open() -&amp;gt; the
transport&amp;#39;s open callback, which takes a spinlock inside the freed object.
A descriptor that carries a PID usage page and no input reports is enough:
hidraw claims the device so hid_hw_start() succeeds, while hid-&amp;gt;inputs
stays empty so force-feedback init fails.  The other failure returns in
hid_pidff_init_with_quirks() - no output reports, an allocatio…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-89624</guid>
    </item>
  </channel>
</rss>
