CVE-2026-138984

mfd: da903x: Cancel IRQ work during teardown

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

mfd: da903x: Cancel IRQ work during teardown

The IRQ handler disables the IRQ and schedules irq_work. Releasing the
IRQ does not drain that work, which can continue to use the devm-allocated
chip and notifier state.

Manage both IRQ-work cancellation and subdevice removal with devres.
Register the subdevice-removal action before requesting the IRQ, then add
the IRQ-work action after the request. This avoids leaving a live IRQ
without work cancellation if action registration fails. Devres cleanup
then disables the IRQ and drains the work before releasing the IRQ and
removing child devices. Register both actions before creating the children
so partial probe failures use the same ordering.

This issue was found by the author's in-house static analysis tool.
The patch was reviewed by the author against the latest mainline tree.

Analysis

AI-generated

Technical impact

This flaw occurs in the da903x multi‑function device driver in the Linux kernel. When the device is torn down, the IRQ handler has already scheduled a deferred work item, but the interrupt is not drained before the allocation that supports the work item is released. The deferred work continues to run using memory that has been freed, creating a classic use‑after‑free scenario that can corrupt kernel memory or execute attacker supplied code. The vulnerability is likely exploitable by local attackers who trigger device removal or probe failures; it could also be leveraged by an attacker with higher privileges if the devm allocations are under their control. The primary impact is potential arbitrary code execution in kernel mode or a kernel crash leading to a denial of service.

Affected Systems

Any Linux kernel that includes the da903x driver is affected; the patch applies to the generic Linux:Linux vendor. No specific version ranges are listed in the CNA data, so the vulnerability may be present in kernels prior to the introduction of the fix.

Risk and Exploitability

The CVSS score is not provided, and EPSS data are unavailable, so the statistical likelihood of exploitation cannot be quantified from the available data. The vulnerability is not listed in CISA’s KEV catalog. The attack vector is inferred to be local, typically involving manipulation of the device’s probe or removal sequence. Because the flaw results in a use‑after‑free of kernel‑managed memory, a successful exploitation could grant an attacker kernel‑level privilege escalation or an enforced reboot. Critical when the device is actively in use, but may be mitigated by avoiding removal during operations or updating to a kernel that includes the recent patch.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the kernel to a version that includes the da903x IRQ‑work cancellation fix, ensuring the driver’s devres cleanup is properly ordered.
  • Rebuild any modules that depend on da903x with the patched driver before deploying to production systems.
  • If a kernel upgrade is not immediately possible, disable automatic da903x device removal (e.g., via udev rules) to prevent the unplanned teardown that triggers the use‑after‑free.

Generated by OpenCVE AI on November 30, 2026 at 18:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: mfd: da903x: Cancel IRQ work during teardown The IRQ handler disables the IRQ and schedules irq_work. Releasing the IRQ does not drain that work, which can continue to use the devm-allocated chip and notifier state. Manage both IRQ-work cancellation and subdevice removal with devres. Register the subdevice-removal action before requesting the IRQ, then add the IRQ-work action after the request. This avoids leaving a live IRQ without work cancellation if action registration fails. Devres cleanup then disables the IRQ and drains the work before releasing the IRQ and removing child devices. Register both actions before creating the children so partial probe failures use the same ordering. This issue was found by the author's in-house static analysis tool. The patch was reviewed by the author against the latest mainline tree.
Title mfd: da903x: Cancel IRQ work during teardown
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

No weakness.

Sources

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