<?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-30T20:49:05.174483+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-46202</id>
    <title>CVE-2026-46202 — HID: appletb-kbd: run inactivity autodim from workqueues</title>
    <updated>2026-09-30T20:49:05.176928+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: run inactivity autodim from workqueues</p>
<p>The autodim code in hid-appletb-kbd takes backlight_device-&gt;ops_lock
via backlight_device_set_brightness() -&gt; mutex_lock() from two
different atomic contexts:</p>
<p>* appletb_inactivity_timer() is a struct timer_list callback, so it
   runs in softirq context.  Every expiry triggers</p>
<p>BUG: sleeping function called from invalid context at kernel/locking/mutex.c:591
     Call Trace:
      &lt;IRQ&gt;
      __might_resched
      __mutex_lock
      backlight_device_set_brightness
      appletb_inactivity_timer
      call_timer_fn
      run_timer_softirq</p>
<p>* reset_inactivity_timer() is called from appletb_kbd_hid_event() and
   appletb_kbd_inp_event().  On real USB hardware these run in
   softirq/IRQ context (URB completion and input-event dispatch).
   When the Touch Bar has already been dimmed or turned off, the
   reset path calls backlight_device_set_brightness() directly to
   restore brightness, producing the same warning.</p>
<p>Both call sites hit the same mutex_lock()-from-atomic bug.  Fix them
together by moving the blocking work onto the system workqueue:</p>
<p>* Convert the inactivity timer from struct timer_list to
   struct delayed_work; the callback (appletb_inactivity_work) now
   runs in process context where mutex_lock() is legal.
 * Add a dedicated struct work_struct restore_brightness_work and have
   reset_inactivity_timer() schedule it instead of c…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2026-46202"/>
  </entry>
</feed>
