{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "e94fdbd7b25d87e64688bb109e2c550217a4c879"
            },
            {
              "fixed": "e5e75bdff6b152b5c9c5f749ab0c9d54d1c2eb53"
            },
            {
              "fixed": "cc27f8fcf2189471008f427df50a2023e874326f"
            },
            {
              "fixed": "4d94838df883a4719b977ad77ff975b1279ebb91"
            },
            {
              "fixed": "01e055fb891fc8520763fa87d8d07e04efedabb8"
            },
            {
              "fixed": "08f87d507bbc59e099ac3620c4c73109b9e2b0dc"
            },
            {
              "fixed": "a6913835735469751f56473f5212eb291a4805e7"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.14.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.119"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.65"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139478.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: core: Add missing barriers for power_ref vs card-\u003eshutdown\n\nsnd_power_ref_and_wait() increments card-\u003epower_ref and then reads\ncard-\u003eshutdown (and the power state) locklessly, while\nsnd_card_disconnect() sets card-\u003eshutdown and then waits for\npower_ref to drop to zero via snd_power_sync_ref().  Due to the\nmissing barrier on both sides, the caller proceeds with shutdown still\nseen as false, while the disconnect side sees a zero refcount and\ncontinues tearing down incorrectly.\n\nFor addressing the potential race, add smp_mb__after_atomic() after\nthe refcount increment and smp_mb() before snd_power_sync_ref() in\nsnd_card_disconnect().",
  "id": "CVE-2026-139478",
  "modified": "2026-12-01T20:45:47.000977024Z",
  "published": "2026-11-30T13:35:07.431Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/01e055fb891fc8520763fa87d8d07e04efedabb8"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/08f87d507bbc59e099ac3620c4c73109b9e2b0dc"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/4d94838df883a4719b977ad77ff975b1279ebb91"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a6913835735469751f56473f5212eb291a4805e7"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/cc27f8fcf2189471008f427df50a2023e874326f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e5e75bdff6b152b5c9c5f749ab0c9d54d1c2eb53"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139478.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139478"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "ALSA: core: Add missing barriers for power_ref vs card-\u003eshutdown"
}