<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-09-29T04:10:38.265231+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/cve-2026-80782</id>
    <title>CVE-2026-80782 — HID: magicmouse: do not keep a stale msc-&gt;input if no input is claimed</title>
    <updated>2026-09-29T04:10:38.828091+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Linux</p>
<p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>HID: magicmouse: do not keep a stale msc-&gt;input if no input is claimed</p>
<p>magicmouse_input_mapping() caches the first hid_input's input_dev in
msc-&gt;input while the report descriptor is parsed, and the rest of the
driver treats a non-NULL msc-&gt;input as proof that an input device was
registered.</p>
<p>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-&gt;input.</p>
<p>The failure does not abort the probe. hid_connect() only skips the claim:</p>
<p>if ((connect_mask &amp; HID_CONNECT_HIDINPUT) &amp;&amp; !hidinput_connect(hdev,
				connect_mask &amp; HID_CONNECT_HIDINPUT_FORCE))
		hdev-&gt;claimed |= HID_CLAIMED_INPUT;</p>
<p>and the "device has no listeners" bailout below it does not fire for this
driver, which sets -&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-&gt;input pointing at
freed memory. Being non-NULL, it passes the "input not registered" check
in probe and the NULL checks in -&gt;raw_event and -&gt;event, so the next
input report dereferences freed memory.</p>
<p>Clear msc-&gt;input when the HID core did not claim an input device, so the
existing NULL checks cover this case as well.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2026-80782"/>
  </entry>
</feed>
