# CVE-2026-46202: HID: appletb-kbd: run inactivity autodim from workqueues

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-26)
- **Published:** 2026-05-28T09:40:18.687Z
- **Modified:** 2026-06-17T10:53:16.110Z

## Who should check

- Anyone running Linux \>= 93a0fc48948107e0cc34e1de22c3cb363a8f2783, \< 5c0830323689ef15224f0025276176988861b3b0; \>= 93a0fc48948107e0cc34e1de22c3cb363a8f2783, \< 2473a334c292af257ef68e33bc7760f4a8251812; \>= 93a0fc48948107e0cc34e1de22c3cb363a8f2783, \< 1654e53349d4e657b331de354313461f401f5063
- Anyone running Linux 6.15

## Description

In the Linux kernel, the following vulnerability has been resolved:

HID: appletb-kbd: run inactivity autodim from workqueues

The autodim code in hid-appletb-kbd takes backlight\_device-\>ops\_lock
via backlight\_device\_set\_brightness() -\> mutex\_lock() from two
different atomic contexts:

 \* appletb\_inactivity\_timer() is a struct timer\_list callback, so it
   runs in softirq context.  Every expiry triggers

     BUG: sleeping function called from invalid context at kernel/locking/mutex.c:591
     Call Trace:
      \<IRQ\>
      \_\_might\_resched
      \_\_mutex\_lock
      backlight\_device\_set\_brightness
      appletb\_inactivity\_timer
      call\_timer\_fn
      run\_timer\_softirq

 \* 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.

Both call sites hit the same mutex\_lock()-from-atomic bug.  Fix them
together by moving the blocking work onto the system workqueue:

 \* 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 calling
   backlight\_device\_set\_brightness() directly.

Cancel both works synchronously during driver tear-down alongside the
existing backlight reference drop.

The semantics are unchanged (same delays, same state transitions on
dim, turn-off and user activity); only the execution context of the
sleeping call changes.  The timer field and callback are renamed to
match their new type; reset\_inactivity\_timer() keeps its name because
it is invoked from input event paths that read naturally as "reset
the inactivity timer".

## Affected and fixed versions

- Linux: \>= 93a0fc48948107e0cc34e1de22c3cb363a8f2783, \< 5c0830323689ef15224f0025276176988861b3b0; \>= 93a0fc48948107e0cc34e1de22c3cb363a8f2783, \< 2473a334c292af257ef68e33bc7760f4a8251812; \>= 93a0fc48948107e0cc34e1de22c3cb363a8f2783, \< 1654e53349d4e657b331de354313461f401f5063 (cvelist)
- Linux: 6.15 (cvelist)

## Mitigation

- Upgrade Linux to 1654e53349d4e657b331de354313461f401f5063 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-46202. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-46202.md
Affected: Linux >= 93a0fc48948107e0cc34e1de22c3cb363a8f2783, < 5c0830323689ef15224f0025276176988861b3b0; >= 93a0fc48948107e0cc34e1de22c3cb363a8f2783, < 2473a334c292af257ef68e33bc7760f4a8251812; >= 93a0fc48948107e0cc34e1de22c3cb363a8f2783, < 1654e53349d4e657b331de354313461f401f5063; Linux 6.15
Fixed in: Linux 5c0830323689ef15224f0025276176988861b3b0, Linux 2473a334c292af257ef68e33bc7760f4a8251812, Linux 1654e53349d4e657b331de354313461f401f5063

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-46202 being exploited?

There is no confirmed exploitation: CVE-2026-46202 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-46202?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-46202?

Linux \>= 93a0fc48948107e0cc34e1de22c3cb363a8f2783, \< 5c0830323689ef15224f0025276176988861b3b0; \>= 93a0fc48948107e0cc34e1de22c3cb363a8f2783, \< 2473a334c292af257ef68e33bc7760f4a8251812; \>= 93a0fc48948107e0cc34e1de22c3cb363a8f2783, \< 1654e53349d4e657b331de354313461f401f5063; Linux 6.15.

### Is there a fix for CVE-2026-46202?

Yes. Fixed in Linux 5c0830323689ef15224f0025276176988861b3b0, Linux 2473a334c292af257ef68e33bc7760f4a8251812, Linux 1654e53349d4e657b331de354313461f401f5063. Upgrade Linux to 1654e53349d4e657b331de354313461f401f5063 or later.

### How do I check if I'm affected by CVE-2026-46202?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/5c0830323689ef15224f0025276176988861b3b0>
- patch: <https://git.kernel.org/stable/c/2473a334c292af257ef68e33bc7760f4a8251812>
- patch: <https://git.kernel.org/stable/c/1654e53349d4e657b331de354313461f401f5063>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-46202>

HTML: <https://flawdb.com/CVE-2026-46202> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-46202>
