CVE-2026-138945
media: qcom: camss: vfe: Fix VFE reset while another line is streaming
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]
INFO
Published Date :
Nov. 30, 2026, 2:17 p.m.
Last Modified :
Nov. 30, 2026, 2:17 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Move VFE reset to vfe_disable function.
- Perform reset under stream_lock.
- Ensure only one caller resets VFE.
- Stop line's write masters to quiesce line.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-138945.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-138945 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-138945
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-138945 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-138945 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 30, 2026
Action Type Old Value New Value Added 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] Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/138xxx/CVE-2026-138945.json">CVE-2026-138945</a> Added Reference https://git.kernel.org/stable/c/04c715be88729b63dfbe4e49b83d1a45aa390f10 Added Reference https://git.kernel.org/stable/c/3d05f99ba9488e0436869347f598fcc9a3773762 Added Reference https://git.kernel.org/stable/c/bb1d103df3c398f7775f488f85f0aa94060a4b94 Added Reference https://git.kernel.org/stable/c/c5bd5b3fdd167d19ed14cb2e5997c14eb1aa32ca Added Reference https://git.kernel.org/stable/c/d5a82968ecc160bc48063912cf9e16f2c5ddd871 Added Reference https://git.kernel.org/stable/c/e5d4b0e69a4017fd39354499c9d7583f625f0524 Added Reference https://git.kernel.org/stable/c/f73b13bd811b876f9481697e9b197f28ad11e646