CVE-2026-139037

media: microchip-isc: do not touch WB registers when not streaming

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: microchip-isc: do not touch WB registers when not streaming

isc_s_awb_ctrl() called isc_update_awb_ctrls() unconditionally, writing
the white balance registers even when the device is runtime suspended;
on many ARM platforms accessing the unclocked registers is an external
abort. The write was also done without awb_lock, racing isc_awb_work(),
which holds it so the DMA done IRQ cannot latch a half-updated pipeline.

Write the registers only while streaming and not stopping, under
awb_lock, and update the profile there. The isc->stop check covers the
window where isc_stop_streaming() has gated the clocks but vb2 still
reports streaming. Otherwise the new values stay cached and
isc_configure() programs them at the next stream start.

Analysis

AI-generated

Technical impact

The vulnerability occurs in the Linux kernel’s media subsystem, the microchip-isc driver. The isc_s_awb_ctrl() function calls isc_update_awb_ctrls() without checking whether the device is streaming or suspended. Because the device can be runtime suspended, the driver writes to white balance (WB) registers while the clocks are disabled. On many ARM platforms this results in an external abort, which can crash the kernel. Additionally, the write occurs outside of awb_lock, creating a race with isc_awb_work() that may leave the DMA pipeline in a partially updated state. The combined effect is a crash or denial of service on systems using this driver.

Affected Systems

All Linux kernel installations that include the microchip-isc driver before the patch were affected. The vendor is Linux:Linux, and the issue is present in all kernel releases that contain the unguarded register writes. The lack of a version range in the CNA data means that any kernel built with the legacy driver is potentially vulnerable.

Risk and Exploitability

The description does not provide a CVSS score or EPSS metric. The vulnerability does not appear in the CISA KEV catalog and the EPSS score is unavailable. The risk is that an attacker with physical access to a device that uses the microchip‑isc driver could trigger a system crash. The attack is local in scope and requires the driver to be loaded; no remote exploitation is described. Because the flaw could only be exercised when the hardware is present, the likelihood of exploitation in the wild is low, but the impact of a kernel panic would be severe.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel update that contains the microchip-isc driver fix.
  • If an immediate kernel upgrade is not possible, temporarily disable the microchip-isc driver or remap the device until the patch is available.
  • For advanced users maintaining a custom kernel, modify the driver's source code to add streaming checks and acquire awb_lock before writing the WB registers to emulate the fixed logic.

Generated by OpenCVE AI on November 30, 2026 at 19:12 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-362
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: media: microchip-isc: do not touch WB registers when not streaming isc_s_awb_ctrl() called isc_update_awb_ctrls() unconditionally, writing the white balance registers even when the device is runtime suspended; on many ARM platforms accessing the unclocked registers is an external abort. The write was also done without awb_lock, racing isc_awb_work(), which holds it so the DMA done IRQ cannot latch a half-updated pipeline. Write the registers only while streaming and not stopping, under awb_lock, and update the profile there. The isc->stop check covers the window where isc_stop_streaming() has gated the clocks but vb2 still reports streaming. Otherwise the new values stay cached and isc_configure() programs them at the next stream start.
Title media: microchip-isc: do not touch WB registers when not streaming
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')

Sources

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