CVE-2026-138945
JSON

Not scored

media: qcom: camss: vfe: Fix VFE reset while another line is streaming

Severity
Not scored
Exploit likelihood
0.21% (higher than 11% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

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]

Affected

Product or packageVersionsReported by
Linux Linuxfrom 7319cdf189bb643c6d56e5898ef89ad7c3ef6c31 before 04c715be88729b63dfbe4e49b83d1a45aa390f10, from 7319cdf189bb643c6d56e5898ef89ad7c3ef6c31 before c5bd5b3fdd167d19ed14cb2e5997c14eb1aa32ca, from 7319cdf189bb643c6d56e5898ef89ad7c3ef6c31 before 3d05f99ba9488e0436869347f598fcc9a3773762, from 7319cdf189bb643c6d56e5898ef89ad7c3ef6c31 before d5a82968ecc160bc48063912cf9e16f2c5ddd871, from 7319cdf189bb643c6d56e5898ef89ad7c3ef6c31 before f73b13bd811b876f9481697e9b197f28ad11e646, from 7319cdf189bb643c6d56e5898ef89ad7c3ef6c31 before bb1d103df3c398f7775f488f85f0aa94060a4b94, from 7319cdf189bb643c6d56e5898ef89ad7c3ef6c31 before e5d4b0e69a4017fd39354499c9d7583f625f0524, 5.13
Not affected: before 5.13, from 5.15.226 up to 5.15.*, from 6.1.193 up to 6.1.*, from 6.6.163 up to 6.6.*, from 6.12.117 up to 6.12.*, from 6.18.63 up to 6.18.*
CVE List

References

Sources

SourceRecordLicence
CVE ListCVE-2026-138945 changed 2026-11-30CVE Terms of Use
NVDCVE-2026-138945 changed 2026-11-30Public domain