{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "61b04cb24a129f2483d5110e119fc2e365177741"
            },
            {
              "fixed": "3cd008aa8391ba1d788035d6e33f092d15f95dfa"
            },
            {
              "fixed": "5c8ecd9ebc95523c950b3616703d4c19ee5e8b33"
            },
            {
              "fixed": "450f37994eb36e006ebfd075e8fdc27b9465ca22"
            },
            {
              "fixed": "a691c54986412e1fa87f036d2577d5a78a75e658"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "2.6.37"
            },
            {
              "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/139xxx/CVE-2026-139047.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: cx231xx-audio: drain wq_trigger before audio fini\n\naudio_trigger() is deferred work (dev-\u003ewq_trigger) armed from\nsnd_cx231xx_capture_trigger() on every PCM START/STOP; it dereferences\ndev-\u003eadev state and may free the URBs via cx231xx_isoc_audio_deinit().\ncx231xx_audio_fini() tore down that state without draining wq_trigger,\nso work armed before or racing fini ran against freed state.\n\nUse disable_work_sync() in fini to drain the work and prevent further\nqueueing.  Initialize the work, lock and stream_started counter at the\ntop of cx231xx_audio_init(), before any fallible allocation, and clear\nthe partially-built audio state on its error path, so fini is safe even\nif a later step fails.\n\nThis issue was found by an in-house static analysis tool.",
  "id": "CVE-2026-139047",
  "modified": "2026-11-30T14:45:50.794876691Z",
  "published": "2026-11-30T13:27:22.574Z",
  "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/3cd008aa8391ba1d788035d6e33f092d15f95dfa"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/450f37994eb36e006ebfd075e8fdc27b9465ca22"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5c8ecd9ebc95523c950b3616703d4c19ee5e8b33"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a691c54986412e1fa87f036d2577d5a78a75e658"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139047.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139047"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "media: cx231xx-audio: drain wq_trigger before audio fini"
}