CVE-2026-139672

media: ivsc: Fix csi_dev use-after-free in mei_ace_setup_dev_link()

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: ivsc: Fix csi_dev use-after-free in mei_ace_setup_dev_link()

device_link_add() only takes a reference to the supplier when the
link is created successfully. When it fails it returns NULL without
taking one, so the put_device(csi_dev) before the error check can
drop the last reference to csi_dev and dev_name(csi_dev) then
dereferences a freed device.

Move the put_device() below the error check and release the
reference through the existing err_put label on the failure path so
that csi_dev is no longer touched after it has been put.

Analysis

AI-generated

Technical impact

In the Linux kernel’s IVSC media driver, a use‑after‑free flaw exists in mei_ace_setup_dev_link when setting up device links. The driver releases the reference to csi_dev before checking for failure, allowing the freed device to be dereferenced. This classic CWE‑416 error can crash the kernel and, if memory is reused maliciously, may allow privilege escalation. The hot‑fix moves the put_device call after the error test, eliminating the vulnerable reference usage.

Affected Systems

All versions of the Linux kernel that include the old IVSC media driver are affected. The specific product is the Linux kernel; the issue is confined to the media:ivsc subsystem. The patch is included in the Linux repository commit referenced above, so any release that has not yet incorporated those changes is vulnerable.

Risk and Exploitability

The vulnerability is localized to kernel execution and requires attacker control over the kernel or local privileged access. No public exploit is currently known, and the EPSS score is not available. Because the issue can cause a kernel crash and potentially lead to privilege escalation, it should be considered high severity. The KEV flag is not set, but the lack of mitigation makes local exploitation plausible.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the kernel to a version that incorporates the patch from commits b0af3a1c and f9be9333.
  • Reboot the system to load the updated IVSC driver.
  • If a kernel upgrade is not feasible, unload or disable the IVSC media driver module to prevent the use‑after‑free from being exercised.

Generated by OpenCVE AI on December 1, 2026 at 00:22 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: media: ivsc: Fix csi_dev use-after-free in mei_ace_setup_dev_link() device_link_add() only takes a reference to the supplier when the link is created successfully. When it fails it returns NULL without taking one, so the put_device(csi_dev) before the error check can drop the last reference to csi_dev and dev_name(csi_dev) then dereferences a freed device. Move the put_device() below the error check and release the reference through the existing err_put label on the failure path so that csi_dev is no longer touched after it has been put.
Title media: ivsc: Fix csi_dev use-after-free in mei_ace_setup_dev_link()
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:36 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM