{"id":"CVE-2026-139479","aliases":["CVE-2026-139479"],"related":[],"kind":"vulnerability","state":"published","title":"ALSA: hda: Fix potential UAF for gating jack","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-30T13:35:07.956Z","modified":"2026-11-30T14:19:21.483Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"0619ba8c17b121ef0273be181198659b17d84247","fixed":"2005252e42823e4a8406536a1d56684d3ad01ce4","status":"affected"},{"type":"git","introduced":"0619ba8c17b121ef0273be181198659b17d84247","fixed":"8bd1b427cdd50ddf20347dd5cd8bd4c17851af05","status":"affected"},{"type":"git","introduced":"0619ba8c17b121ef0273be181198659b17d84247","fixed":"efcf3ea7648f2b2ffc2bdd1fabcc3ef7d5992d38","status":"affected"},{"type":"git","introduced":"0619ba8c17b121ef0273be181198659b17d84247","fixed":"1ccbd9f6eda1884746d205f19477d351fecc8f0f","status":"affected"},{"type":"git","introduced":"0619ba8c17b121ef0273be181198659b17d84247","fixed":"b4455b69ed192d17bf7b2c2fd18f92831760d80a","status":"affected"},{"type":"git","introduced":"0619ba8c17b121ef0273be181198659b17d84247","fixed":"fd8b909039d7646ff63b455deaa35051fb4418ae","status":"affected"},{"type":"git","introduced":"0619ba8c17b121ef0273be181198659b17d84247","fixed":"ef68bd82e1aa9820ade5a897bd78b569483cbfd5","status":"affected"},{"type":"git","introduced":"0619ba8c17b121ef0273be181198659b17d84247","fixed":"27cee4141c8de82cf051104ca830c3a209816033","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.8","status":"unaffected"},{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.119","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/2005252e42823e4a8406536a1d56684d3ad01ce4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8bd1b427cdd50ddf20347dd5cd8bd4c17851af05","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/efcf3ea7648f2b2ffc2bdd1fabcc3ef7d5992d38","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1ccbd9f6eda1884746d205f19477d351fecc8f0f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b4455b69ed192d17bf7b2c2fd18f92831760d80a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fd8b909039d7646ff63b455deaa35051fb4418ae","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ef68bd82e1aa9820ade5a897bd78b569483cbfd5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/27cee4141c8de82cf051104ca830c3a209816033","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139479","url":"https://www.cve.org/CVERecord?id=CVE-2026-139479","licence":"CVE Terms of Use","modified":"2026-11-30T13:35:07.956Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139479","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139479","licence":"Public domain","modified":"2026-11-30T14:19:21.483Z"}],"updatedAt":"2026-11-30T14:33:03.670Z","epss":{"score":0.00211,"percentile":0.12009,"date":"2026-12-01T12:00:22.000Z"}}