PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-46202 Linux CVE debrief

## Summary CVE-2026-46202 is a Linux kernel bug in the `hid-appletb-kbd` driver (Apple Touch Bar keyboard HID support). The driver’s backlight autodim logic called `backlight_device_set_brightness()`—which takes a mutex—from two atomic contexts: a timer-list softirq callback and input-event handlers running in IRQ/softirq context. This triggered “sleeping function called from invalid context” warnings and could lead to system instability. The fix converts the timer to a `delayed_work` and moves the brightness restore to a dedicated `work_struct`, ensuring all blocking operations run in process context. ## Affected Product - **Product:** Linux kernel HID driver `hid-appletb-kbd` (Apple Touch Bar keyboard support) - **Affected versions:** Not explicitly enumerated in source; patches apply to stable kernel branches. - **Fixed versions:** See patch commits in resource links. ## Root Cause The `appletb_inactivity_timer()` timer-list callback and `reset_inactivity_timer()` (invoked from `appletb_kbd_hid_event()` and `appletb_kbd_inp_event()`) both executed `backlight_device_set_brightness()`, which internally calls `mutex_lock()`. Mutex acquisition from softirq/IRQ context violates kernel preemption rules, producing `BUG: sleeping function called from invalid context` warnings. ## Impact - **Availability:** Local denial of service (kernel warnings, potential soft lockups or instability). - **Confidentiality/Integrity:** Not directly impacted. - **Attack vector:** Local; requires physical or emulated input events to trigger the autodim/restore paths. ## Exploitation Status No evidence of active exploitation or weaponized proof-of-concept in supplied sources. ## Patches Upstream stable kernel commits resolve the issue by: 1. Converting `struct timer_list` to `struct delayed_work` (`appletb_inactivity_work`). 2. Adding `struct work_struct restore_brightness_work` for synchronous brightness restoration. 3. Cancelling both works during driver teardown. ## Recommended Actions 1. **Upgrade:** Apply the relevant stable kernel patch (see resource links) or upgrade to a kernel version containing the fix. 2. **Verify:** Confirm `hid-appletb-kbd` is not in `d

Vendor
Linux
Product
Unknown
CVSS
MEDIUM 5.5
CISA KEV
Not listed in stored evidence
Original CVE published
2026-05-28
Original CVE updated
2026-06-10
Advisory published
2026-05-28
Advisory updated
2026-06-10

Who should care

Linux system administrators managing Apple MacBook hardware with Touch Bar; kernel maintainers backporting stable patches.

Technical summary

The hid-appletb-kbd driver for Apple Touch Bar keyboards triggered kernel warnings by calling mutex-based backlight functions from softirq/IRQ context. The fix restructures the autodim logic to use process-context workqueues, eliminating the invalid context sleeps without changing functional semantics.

Defensive priority

medium

Recommended defensive actions

  • Apply the relevant stable kernel patch or upgrade to a kernel version containing the fix
  • Verify hid-appletb-kbd is not loaded on systems where Apple Touch Bar support is unnecessary
  • Monitor kernel logs for 'sleeping function called from invalid context' warnings as an indicator of unpatched systems

Evidence notes

Root cause and fix description derived from CVE description and kernel commit references. No CVSS score or severity assigned in source; marked null. Vendor attribution inferred from reference domain (Kernel) with low confidence per source metadata.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-46202 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-46202

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-46202 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-46202

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/1654e53349d4e657b331de354313461f401f5063

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/2473a334c292af257ef68e33bc7760f4a8251812

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/5c0830323689ef15224f0025276176988861b3b0

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.