{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "7319cdf189bb643c6d56e5898ef89ad7c3ef6c31"
            },
            {
              "fixed": "04c715be88729b63dfbe4e49b83d1a45aa390f10"
            },
            {
              "fixed": "c5bd5b3fdd167d19ed14cb2e5997c14eb1aa32ca"
            },
            {
              "fixed": "3d05f99ba9488e0436869347f598fcc9a3773762"
            },
            {
              "fixed": "d5a82968ecc160bc48063912cf9e16f2c5ddd871"
            },
            {
              "fixed": "f73b13bd811b876f9481697e9b197f28ad11e646"
            },
            {
              "fixed": "bb1d103df3c398f7775f488f85f0aa94060a4b94"
            },
            {
              "fixed": "e5d4b0e69a4017fd39354499c9d7583f625f0524"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.13.0"
            },
            {
              "fixed": "5.15.226"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.193"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.117"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.63"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138945.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: qcom: camss: vfe: Fix VFE reset while another line is streaming\n\nvfe_disable_output() stops the write masters of the line being\ndisabled and then resets the whole VFE. The reset is not limited to\nthat line.\n\nWhen two lines of one VFE stream at the same time, which is the case\nwhenever a CSID demultiplexes several virtual channels to different\nRDIs, stopping the first line resets the VFE underneath the second\nline. The second line's write master configuration is wiped, the\nbuffers it had in flight are never completed, and the VFE is left in\na state in which the next global reset is not acknowledged. Stopping\nor restarting the second line then fails with:\n\n  VFE reset timeout\n\nMove the reset to vfe_disable() and do it under stream_lock, as part\nof the decrement that makes the count reach zero, so that exactly one\ncaller resets and no line can be enabled while the reset runs.\nStopping the line's write masters is enough to quiesce that line on\nits own. With a single line streaming, the reset happens exactly as\nbefore.\n\n[bod: Converted vfe_disable_output to void]",
  "id": "CVE-2026-138945",
  "modified": "2026-11-30T14:45:54.067845445Z",
  "published": "2026-11-30T13:26:26.559Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/04c715be88729b63dfbe4e49b83d1a45aa390f10"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/3d05f99ba9488e0436869347f598fcc9a3773762"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/bb1d103df3c398f7775f488f85f0aa94060a4b94"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c5bd5b3fdd167d19ed14cb2e5997c14eb1aa32ca"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d5a82968ecc160bc48063912cf9e16f2c5ddd871"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e5d4b0e69a4017fd39354499c9d7583f625f0524"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f73b13bd811b876f9481697e9b197f28ad11e646"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138945.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-138945"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "media: qcom: camss: vfe: Fix VFE reset while another line is streaming"
}