<?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://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-12-05T12:22:17.877837+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" 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://db.gcve.eu/vuln/cve-2026-143398</id>
    <title>CVE-2026-143398 — Input: destroy force-feedback device on input unregistration</title>
    <updated>2026-12-05T12:22:17.878956+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>Input: destroy force-feedback device on input unregistration</p>
<p>When an input device is unregistered while userspace holds an open file
descriptor to its event node, input_dev_release() is deferred until the
last file descriptor is closed. Because input_ff_destroy() was only
called from input_dev_release(), force-feedback teardown (ff-&gt;destroy
and freeing ff-&gt;private) could run after the parent driver had already
unbound, freed its device state, or even been unloaded via rmmod,
causing use-after-free errors or page faults in unmapped module text.</p>
<p>Commit ef166ce08801 ("Input: stop force-feedback timer when
unregistering input devices") added a separate ff-&gt;stop callback for
ff-memless, but left ff-&gt;destroy invoked from input_dev_release().</p>
<p>Once __input_unregister_device() has disconnected all input handlers
(which flushes effects, closes the device, and marks evdev dead) and
deleted the device from sysfs, nothing accesses dev-&gt;ff anymore. Call
input_ff_destroy() directly in __input_unregister_device() so that
ff-&gt;destroy() always runs synchronously while the driver and its module
are still active, and remove the now-redundant ff-&gt;stop callback. Keep
input_ff_destroy() in input_dev_release() (where it is a no-op once
dev-&gt;ff is NULL) to handle input_free_device() on devices that were
never registered.</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2026-143398"/>
  </entry>
</feed>
