CVE-2026-139335

platform: cznic: turris-omnia-mcu: stop button emulation producers

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

platform: cznic: turris-omnia-mcu: stop button emulation producers

The legacy MCU IRQ thread can requeue button-release emulation work
after its managed cleanup has canceled it. Since the IRQ is still active
at that point, the newly queued work can outlive device teardown and
access freed MCU state.

Use disable_delayed_work_sync() to prevent further queueing and drain
the worker before the IRQ action is released. Keep the parent IRQ active
while the worker completes. devm_add_action_or_reset() also drains the
work if action registration fails.

This issue was identified as part of our ongoing research while
reviewing kernel code.

Analysis

AI-generated

Technical impact

The vulnerability is a use‑after‑free in the Linux kernel’s turris‑omnia‑mcu driver. When the legacy MCU IRQ thread queues a button‑release emulation job after its cleanup routine has cancelled it, the newly queued work can execute while the IRQ remains active. Because the device has already been torn down, the work accesses freed MCU state leading to memory corruption that can crash the kernel or, if an attacker can force execution of the freed code, elevate privileges. The weakness is typical of CWE‑416 and could be exploited by triggering button events during device teardown.

Affected Systems

This affects the Linux kernel core, as indicated by the CPE string cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*. No explicit kernel version range is provided, so any kernel that incorporates the turris‑omnia‑mcu module before the patch is potentially vulnerable.

Risk and Exploitability

The CVSS and EPSS metrics are absent, and the vulnerability is not listed in the CISA KEV catalog, so the precise risk level cannot be quantified. However, a use‑after‑free in kernel space is generally considered high impact, especially if an attacker can trigger the faulty IRQ sequence. The likely attack vector is local or privileged, requiring physical or firmware‑initiated access to the device to generate the button event during teardown.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest patched Linux kernel that contains the fix for the turris‑omnia‑mcu driver.
  • Update the driver code to use disable_delayed_work_sync() to prevent work re‑queuing after cleanup, ensuring the IRQ remains active until the worker completes.
  • If updating the kernel is not immediately possible, register IRQ actions with devm_add_action_or_reset() so that pending work is drained if action registration fails.

Generated by OpenCVE AI on November 30, 2026 at 21:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: platform: cznic: turris-omnia-mcu: stop button emulation producers The legacy MCU IRQ thread can requeue button-release emulation work after its managed cleanup has canceled it. Since the IRQ is still active at that point, the newly queued work can outlive device teardown and access freed MCU state. Use disable_delayed_work_sync() to prevent further queueing and drain the worker before the IRQ action is released. Keep the parent IRQ active while the worker completes. devm_add_action_or_reset() also drains the work if action registration fails. This issue was identified as part of our ongoing research while reviewing kernel code.
Title platform: cznic: turris-omnia-mcu: stop button emulation producers
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:33 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:18 PM
Modified
Nov 30, 2026, 2:18 PM