<?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-10-02T08:54:58.931872+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-46213</id>
    <title>CVE-2026-46213 — HID: appletb-kbd: fix UAF in inactivity-timer cleanup path</title>
    <updated>2026-10-02T08:54:58.933188+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: appletb-kbd: fix UAF in inactivity-timer cleanup path</p>
<p>Commit 38224c472a03 ("HID: appletb-kbd: fix slab use-after-free bug in
appletb_kbd_probe") added timer_delete_sync(&amp;kbd-&gt;inactivity_timer) to
both the probe close_hw error path and appletb_kbd_remove(), but the
way it was wired in left the inactivity timer reachable during driver
tear-down via two distinct windows.</p>
<p>Window A -- put_device() before timer_delete_sync():</p>
<p>put_device(&amp;kbd-&gt;backlight_dev-&gt;dev);
	timer_delete_sync(&amp;kbd-&gt;inactivity_timer);</p>
<p>The inactivity_timer softirq reads kbd-&gt;backlight_dev and calls
backlight_device_set_brightness() -&gt; mutex_lock(&amp;ops_lock).  If a
concurrent hid_appletb_bl unbind drops the last devm reference
between these two calls, the backlight_device is freed and the
mutex_lock() touches freed memory.</p>
<p>Window B -- backlight cleanup before hid_hw_stop():</p>
<p>if (kbd-&gt;backlight_dev) {
		timer_delete_sync(...);
		put_device(...);
	}
	hid_hw_close(hdev);
	hid_hw_stop(hdev);</p>
<p>Even after Window A is closed, hid_hw_close()/hid_hw_stop() still run
afterwards, so a late ".event" callback from the HID core (USB URB
completion on real Apple hardware) can arrive after
timer_delete_sync() drained the softirq but before put_device() drops
the reference.  That callback reaches reset_inactivity_timer(), which
calls mod_timer() and re-arms the timer.  The freshly re-armed timer
can then fire on the about-to-be-freed backlight_devic…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2026-46213"/>
  </entry>
</feed>
