In the Linux kernel, the following vulnerability has been resolved: media: qcom: camss: vfe: Fix VFE reset while another line is streaming vfe_disable_output() stops the write masters of the line being disabled and then resets the whole VFE. The reset is not limited to that line. When two lines of one VFE stream at the same time, which is the case whenever a CSID demultiplexes several virtual channels to different RDIs, stopping the first line resets the VFE underneath the second line. The second line's write master configuration is wiped, the buffers it had in flight are never completed, and the VFE is left in a state in which the next global reset is not acknowledged. Stopping or restarting the second line then fails with: VFE reset timeout Move the reset to vfe_disable() and do it under stream_lock, as part of the decrement that makes the count reach zero, so that exactly one caller resets and no line can be enabled while the reset runs. Stopping the line's write masters is enough to quiesce that line on its own. With a single line streaming, the reset happens exactly as before. [bod: Converted vfe_disable_output to void]
https://git.kernel.org/stable/c/f73b13bd811b876f9481697e9b197f28ad11e646
https://git.kernel.org/stable/c/e5d4b0e69a4017fd39354499c9d7583f625f0524
https://git.kernel.org/stable/c/d5a82968ecc160bc48063912cf9e16f2c5ddd871
https://git.kernel.org/stable/c/c5bd5b3fdd167d19ed14cb2e5997c14eb1aa32ca
https://git.kernel.org/stable/c/bb1d103df3c398f7775f488f85f0aa94060a4b94
https://git.kernel.org/stable/c/3d05f99ba9488e0436869347f598fcc9a3773762
https://git.kernel.org/stable/c/04c715be88729b63dfbe4e49b83d1a45aa390f10