CVE-2026-139038: media: microchip-isc: disable histogram and flush AWB work on teardown
In the Linux kernel, the following vulnerability has been resolved:
media: microchip-isc: disable histogram and flush AWB work on teardown
iscstopstreaming() and the iscstartstreaming() error path dropped the runtime PM reference with the histogram still enabled. A HISDONE firing just before the stop, or a failed iscupdateprofile() on the start path, can queue iscawbwork(), which reads the histogram registers before taking its own PM reference and faults on the unclocked device.
Disable the histogram, synchronize the IRQ and flush the work before the device is left unclocked. iscconfigure() is the one enabling the histogram and then calling iscupdateprofile(), so do the cleanup in its own failure path; iscstopstreaming() does the same on teardown. synchronizeirq() must come before cancelworksync(), so an in-flight handler cannot re-queue awbwork after it is cancelled.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In the Microchip ISC driver, disable the histogram and synchronize the IRQ before calling cancel_work_sync() for AWB work during teardown. Also perform this cleanup in isc_configure()'s failure path after isc_update_profile() fails.