In the Linux kernel, the following vulnerability has been resolved: media: microchip-isc: disable histogram and flush AWB work on teardown isc_stop_streaming() and the isc_start_streaming() error path dropped the runtime PM reference with the histogram still enabled. A HISDONE firing just before the stop, or a failed isc_update_profile() on the start path, can queue isc_awb_work(), 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. isc_configure() is the one enabling the histogram and then calling isc_update_profile(), so do the cleanup in its own failure path; isc_stop_streaming() does the same on teardown. synchronize_irq() must come before cancel_work_sync(), so an in-flight handler cannot re-queue awb_work after it is cancelled.
https://git.kernel.org/stable/c/e57d9cea533d232ffa31fd77f6d79fa704af57fc
https://git.kernel.org/stable/c/77496797f854d0a74621ed1b8fafc4d63a2b9666
https://git.kernel.org/stable/c/6dc8e17c26a9042291f7b6e70042c1499a20929a
https://git.kernel.org/stable/c/04d698f5bdb23f5e013fcbe751eb7a0b7a007b36
https://git.kernel.org/stable/c/00d87c379915a3689b2488bd37f490875d79e20f