CVE-2026-139037: media: microchip-isc: do not touch WB registers when not streaming
In the Linux kernel, the following vulnerability has been resolved:
media: microchip-isc: do not touch WB registers when not streaming
iscsawbctrl() called iscupdateawbctrls() 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 awblock, racing iscawbwork(), which holds it so the DMA done IRQ cannot latch a half-updated pipeline.
Write the registers only while streaming and not stopping, under awblock, and update the profile there. The isc->stop check covers the window where iscstopstreaming() has gated the clocks but vb2 still reports streaming. Otherwise the new values stay cached and iscconfigure() programs them at the next stream start.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In the Linux kernel Microchip ISC driver, write white-balance registers only while streaming and not stopping; perform the writes under awb_lock and update the profile there. Do not call isc_update_awb_ctrls() unconditionally from isc_s_awb_ctrl().