<?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>Fri, 02 Oct 2026 14:36:47 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-46213 — HID: appletb-kbd: fix UAF in inactivity-timer cleanup path</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-46213</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: appletb-kbd: fix UAF in inactivity-timer cleanup path&lt;/p&gt;
&lt;p&gt;Commit 38224c472a03 (&amp;#34;HID: appletb-kbd: fix slab use-after-free bug in
appletb_kbd_probe&amp;#34;) added timer_delete_sync(&amp;amp;kbd-&amp;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.&lt;/p&gt;
&lt;p&gt;Window A -- put_device() before timer_delete_sync():&lt;/p&gt;
&lt;p&gt;put_device(&amp;amp;kbd-&amp;gt;backlight_dev-&amp;gt;dev);
	timer_delete_sync(&amp;amp;kbd-&amp;gt;inactivity_timer);&lt;/p&gt;
&lt;p&gt;The inactivity_timer softirq reads kbd-&amp;gt;backlight_dev and calls
backlight_device_set_brightness() -&amp;gt; mutex_lock(&amp;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.&lt;/p&gt;
&lt;p&gt;Window B -- backlight cleanup before hid_hw_stop():&lt;/p&gt;
&lt;p&gt;if (kbd-&amp;gt;backlight_dev) {
		timer_delete_sync(...);
		put_device(...);
	}
	hid_hw_close(hdev);
	hid_hw_stop(hdev);&lt;/p&gt;
&lt;p&gt;Even after Window A is closed, hid_hw_close()/hid_hw_stop() still run
afterwards, so a late &amp;#34;.event&amp;#34; 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…&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: appletb-kbd: fix UAF in inactivity-timer cleanup path&lt;/p&gt;
&lt;p&gt;Commit 38224c472a03 (&amp;#34;HID: appletb-kbd: fix slab use-after-free bug in
appletb_kbd_probe&amp;#34;) added timer_delete_sync(&amp;amp;kbd-&amp;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.&lt;/p&gt;
&lt;p&gt;Window A -- put_device() before timer_delete_sync():&lt;/p&gt;
&lt;p&gt;put_device(&amp;amp;kbd-&amp;gt;backlight_dev-&amp;gt;dev);
	timer_delete_sync(&amp;amp;kbd-&amp;gt;inactivity_timer);&lt;/p&gt;
&lt;p&gt;The inactivity_timer softirq reads kbd-&amp;gt;backlight_dev and calls
backlight_device_set_brightness() -&amp;gt; mutex_lock(&amp;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.&lt;/p&gt;
&lt;p&gt;Window B -- backlight cleanup before hid_hw_stop():&lt;/p&gt;
&lt;p&gt;if (kbd-&amp;gt;backlight_dev) {
		timer_delete_sync(...);
		put_device(...);
	}
	hid_hw_close(hdev);
	hid_hw_stop(hdev);&lt;/p&gt;
&lt;p&gt;Even after Window A is closed, hid_hw_close()/hid_hw_stop() still run
afterwards, so a late &amp;#34;.event&amp;#34; 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…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-46213</guid>
    </item>
  </channel>
</rss>
