# CVE-2026-138945: media: qcom: camss: vfe: Fix VFE reset while another line is streaming

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-11-30T13:26:26.559Z
- Modified: 2026-11-30T14:17:55.650Z
- 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]

(As written by CVE List.)

## Affected

- Linux Linux: from 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.*; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/04c715be88729b63dfbe4e49b83d1a45aa390f10>
- <https://git.kernel.org/stable/c/c5bd5b3fdd167d19ed14cb2e5997c14eb1aa32ca>
- <https://git.kernel.org/stable/c/3d05f99ba9488e0436869347f598fcc9a3773762>
- <https://git.kernel.org/stable/c/d5a82968ecc160bc48063912cf9e16f2c5ddd871>
- <https://git.kernel.org/stable/c/f73b13bd811b876f9481697e9b197f28ad11e646>
- <https://git.kernel.org/stable/c/bb1d103df3c398f7775f488f85f0aa94060a4b94>
- <https://git.kernel.org/stable/c/e5d4b0e69a4017fd39354499c9d7583f625f0524>

## Sources

- CVE List: [CVE-2026-138945](https://www.cve.org/CVERecord?id=CVE-2026-138945), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-138945](https://nvd.nist.gov/vuln/detail/CVE-2026-138945), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-138945 · Whole record: https://cve.day/CVE-2026-138945.json · Rebuilt by cve.day 2026-11-30T14:32:34.019Z
