Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
93d4a26c3dabcee4d8bd6c9a1aba779484dc3cc3 to < 04d698f5bdb23f5e013fcbe751eb7a0b7a007b36affected93d4a26c3dabcee4d8bd6c9a1aba779484dc3cc3 to < e57d9cea533d232ffa31fd77f6d79fa704af57fcaffected93d4a26c3dabcee4d8bd6c9a1aba779484dc3cc3 to < 6dc8e17c26a9042291f7b6e70042c1499a20929aaffected93d4a26c3dabcee4d8bd6c9a1aba779484dc3cc3 to < 77496797f854d0a74621ed1b8fafc4d63a2b9666affected93d4a26c3dabcee4d8bd6c9a1aba779484dc3cc3 to < 00d87c379915a3689b2488bd37f490875d79e20faffected
Linux Linux
Default version status: affected
4.12affected0 to < 4.12unaffected6.6.163 to ≤ 6.6.*unaffected6.12.117 to ≤ 6.12.*unaffected6.18.63 to ≤ 6.18.*unaffected7.3.4 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/04d698f5bdb23f5e013fcbe751eb7a0b7a007b36 ↗
- https://git.kernel.org/stable/c/e57d9cea533d232ffa31fd77f6d79fa704af57fc ↗
- https://git.kernel.org/stable/c/6dc8e17c26a9042291f7b6e70042c1499a20929a ↗
- https://git.kernel.org/stable/c/77496797f854d0a74621ed1b8fafc4d63a2b9666 ↗
- https://git.kernel.org/stable/c/00d87c379915a3689b2488bd37f490875d79e20f ↗