<?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 04:10:47 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-80782 — HID: magicmouse: do not keep a stale msc-&gt;input if no input is claimed</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-80782</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: magicmouse: do not keep a stale msc-&amp;gt;input if no input is claimed&lt;/p&gt;
&lt;p&gt;magicmouse_input_mapping() caches the first hid_input&amp;#39;s input_dev in
msc-&amp;gt;input while the report descriptor is parsed, and the rest of the
driver treats a non-NULL msc-&amp;gt;input as proof that an input device was
registered.&lt;/p&gt;
&lt;p&gt;That does not hold on the hid-input error path. If hidinput_connect()
fails -- for instance because input_register_device() returns an error --
it unwinds through hidinput_disconnect(), which frees every input_dev it
created, including the one cached in msc-&amp;gt;input.&lt;/p&gt;
&lt;p&gt;The failure does not abort the probe. hid_connect() only skips the claim:&lt;/p&gt;
&lt;p&gt;if ((connect_mask &amp;amp; HID_CONNECT_HIDINPUT) &amp;amp;&amp;amp; !hidinput_connect(hdev,
				connect_mask &amp;amp; HID_CONNECT_HIDINPUT_FORCE))
		hdev-&amp;gt;claimed |= HID_CLAIMED_INPUT;&lt;/p&gt;
&lt;p&gt;and the &amp;#34;device has no listeners&amp;#34; bailout below it does not fire for this
driver, which sets -&amp;gt;raw_event; on the USB Magic Mouse 2 / Magic Trackpad
2 paths hidraw and hiddev are claimed as well. hid_hw_start() therefore
returns 0 and magicmouse_probe() continues with msc-&amp;gt;input pointing at
freed memory. Being non-NULL, it passes the &amp;#34;input not registered&amp;#34; check
in probe and the NULL checks in -&amp;gt;raw_event and -&amp;gt;event, so the next
input report dereferences freed memory.&lt;/p&gt;
&lt;p&gt;Clear msc-&amp;gt;input when the HID core did not claim an input device, so the
existing NULL checks cover this case as well.&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: magicmouse: do not keep a stale msc-&amp;gt;input if no input is claimed&lt;/p&gt;
&lt;p&gt;magicmouse_input_mapping() caches the first hid_input&amp;#39;s input_dev in
msc-&amp;gt;input while the report descriptor is parsed, and the rest of the
driver treats a non-NULL msc-&amp;gt;input as proof that an input device was
registered.&lt;/p&gt;
&lt;p&gt;That does not hold on the hid-input error path. If hidinput_connect()
fails -- for instance because input_register_device() returns an error --
it unwinds through hidinput_disconnect(), which frees every input_dev it
created, including the one cached in msc-&amp;gt;input.&lt;/p&gt;
&lt;p&gt;The failure does not abort the probe. hid_connect() only skips the claim:&lt;/p&gt;
&lt;p&gt;if ((connect_mask &amp;amp; HID_CONNECT_HIDINPUT) &amp;amp;&amp;amp; !hidinput_connect(hdev,
				connect_mask &amp;amp; HID_CONNECT_HIDINPUT_FORCE))
		hdev-&amp;gt;claimed |= HID_CLAIMED_INPUT;&lt;/p&gt;
&lt;p&gt;and the &amp;#34;device has no listeners&amp;#34; bailout below it does not fire for this
driver, which sets -&amp;gt;raw_event; on the USB Magic Mouse 2 / Magic Trackpad
2 paths hidraw and hiddev are claimed as well. hid_hw_start() therefore
returns 0 and magicmouse_probe() continues with msc-&amp;gt;input pointing at
freed memory. Being non-NULL, it passes the &amp;#34;input not registered&amp;#34; check
in probe and the NULL checks in -&amp;gt;raw_event and -&amp;gt;event, so the next
input report dereferences freed memory.&lt;/p&gt;
&lt;p&gt;Clear msc-&amp;gt;input when the HID core did not claim an input device, so the
existing NULL checks cover this case as well.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-80782</guid>
    </item>
  </channel>
</rss>
