CVE-2026-138995

media: ene_ir: Ensure teardown is done in the correct order

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

media: ene_ir: Ensure teardown is done in the correct order

The timer can be re-armed from the irq, so ensure that the timers are
deleted after the irq and that we only free the rc device once we are
sure that the irq has been silenced.

Analysis

AI-generated

Technical impact

In the Linux kernel media subsystem, a race condition was identified where the timer used by the ene_ir driver could be re‑armed from within an IRQ handler. Because the teardown sequence deleted the timers before the IRQ was fully silenced and freed the RC device prematurely, an attacker could trigger a use‑after‑free or crash the kernel, leading to a denial of service. This flaw effectively allows an attacker with sufficient privileges to destabilize the system.

Affected Systems

The flaw affects the Linux kernel, specifically the media subsystem component named ene_ir. No specific kernel version is listed, so all releases that include the affected driver before the patch commit may be vulnerable. Administrators should review their kernel releases for inclusion of the fix commit identified in the provided Git references.

Risk and Exploitability

The CVSS score is not supplied, and the EPSS score is unknown, so the theoretical exploitation probability remains unquantified. The vulnerability is not listed in the CISA KEV catalog, indicating no publicly known exploitation yet. The likely attack vector requires low‑to‑medium privilege elevation to the kernel or active use of the affected media interface, so the immediate risk to general users is limited but significant within a compromised or privileged environment.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the patch commit resolving the order‑of‑teardown bug
  • Disable or unload the ene_ir driver before system shutdown or restart to avoid the race condition
  • Review system logs for any timer or RC device failures, and enable kernel hardening options such as CONFIG_LOCKUP_DETECT or strict timer checks

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-362
CWE-416
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: media: ene_ir: Ensure teardown is done in the correct order The timer can be re-armed from the irq, so ensure that the timers are deleted after the irq and that we only free the rc device once we are sure that the irq has been silenced.
Title media: ene_ir: Ensure teardown is done in the correct order
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-362

    Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

  • CWE-416

    Use After Free

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