{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "0619ba8c17b121ef0273be181198659b17d84247"
            },
            {
              "fixed": "2005252e42823e4a8406536a1d56684d3ad01ce4"
            },
            {
              "fixed": "8bd1b427cdd50ddf20347dd5cd8bd4c17851af05"
            },
            {
              "fixed": "efcf3ea7648f2b2ffc2bdd1fabcc3ef7d5992d38"
            },
            {
              "fixed": "1ccbd9f6eda1884746d205f19477d351fecc8f0f"
            },
            {
              "fixed": "b4455b69ed192d17bf7b2c2fd18f92831760d80a"
            },
            {
              "fixed": "fd8b909039d7646ff63b455deaa35051fb4418ae"
            },
            {
              "fixed": "ef68bd82e1aa9820ade5a897bd78b569483cbfd5"
            },
            {
              "fixed": "27cee4141c8de82cf051104ca830c3a209816033"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "3.8.0"
            },
            {
              "fixed": "5.10.275"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.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.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-139479.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: hda: Fix potential UAF for gating jack\n\nsnd_hda_jack_set_gating_jack() assigns gated and gating variables from\nthe succeeding calls of snd_hda_jack_tbl_get().  This works normally,\nbut the second call might kick off the reallocation of the jack table,\nhence the first pointer might become invalid, which leads to a UAF.\n\nFor avoiding that pitfall, this patch changes the code to two phases:\nthe first to only create two entries, and the second phase to get the\npointers from the table, so that no relocation can happen any longer.",
  "id": "CVE-2026-139479",
  "modified": "2026-11-30T14:45:31.235763156Z",
  "published": "2026-11-30T13:35:07.956Z",
  "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/1ccbd9f6eda1884746d205f19477d351fecc8f0f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2005252e42823e4a8406536a1d56684d3ad01ce4"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/27cee4141c8de82cf051104ca830c3a209816033"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8bd1b427cdd50ddf20347dd5cd8bd4c17851af05"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b4455b69ed192d17bf7b2c2fd18f92831760d80a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ef68bd82e1aa9820ade5a897bd78b569483cbfd5"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/efcf3ea7648f2b2ffc2bdd1fabcc3ef7d5992d38"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/fd8b909039d7646ff63b455deaa35051fb4418ae"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139479.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139479"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "ALSA: hda: Fix potential UAF for gating jack"
}