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.
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
4e52889f48fedfa5f2e443dc8490550cb49fbdc3 to < f29cdac8aaaee519b2583fbaee064a6d483b1839affected4e52889f48fedfa5f2e443dc8490550cb49fbdc3 to < 54ff46664a946c1dd5b6f1dcedcb0e0b92e3b6d4affected4e52889f48fedfa5f2e443dc8490550cb49fbdc3 to < f6906dcdc5722b77243f4dc1ce07a0832738ef88affected4e52889f48fedfa5f2e443dc8490550cb49fbdc3 to < 0726aa97ce80bb6fd002b80904c6e9cc7fc6c55baffected4e52889f48fedfa5f2e443dc8490550cb49fbdc3 to < cb323f0650b92b1cf606d3ab83d41c1673c94feaaffected4e52889f48fedfa5f2e443dc8490550cb49fbdc3 to < a517178cce67bb52562300d41cf648f4c5a23777affected4e52889f48fedfa5f2e443dc8490550cb49fbdc3 to < 3954e37821eb997694e55d8a6b2ae5211e193445affected4e52889f48fedfa5f2e443dc8490550cb49fbdc3 to < d8983c47d4d95eb1ed889dbb7516d3738fa854d8affected
Linux Linux
Default version status: affected
5.7affected0 to < 5.7unaffected5.10.275 to ≤ 5.10.*unaffected5.15.226 to ≤ 5.15.*unaffected6.1.193 to ≤ 6.1.*unaffected6.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/f29cdac8aaaee519b2583fbaee064a6d483b1839 ↗
- https://git.kernel.org/stable/c/54ff46664a946c1dd5b6f1dcedcb0e0b92e3b6d4 ↗
- https://git.kernel.org/stable/c/f6906dcdc5722b77243f4dc1ce07a0832738ef88 ↗
- https://git.kernel.org/stable/c/0726aa97ce80bb6fd002b80904c6e9cc7fc6c55b ↗
- https://git.kernel.org/stable/c/cb323f0650b92b1cf606d3ab83d41c1673c94fea ↗
- https://git.kernel.org/stable/c/a517178cce67bb52562300d41cf648f4c5a23777 ↗
- https://git.kernel.org/stable/c/3954e37821eb997694e55d8a6b2ae5211e193445 ↗
- https://git.kernel.org/stable/c/d8983c47d4d95eb1ed889dbb7516d3738fa854d8 ↗