{"api_version":"1","generated_at":"2026-12-03T05:42:38+00:00","cve":"CVE-2026-142917","urls":{"html":"https://cve.report/CVE-2026-142917","api":"https://cve.report/api/cve/CVE-2026-142917.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-142917","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-142917"},"summary":{"title":"ALSA: hda: Use linked list for jack table","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: hda: Use linked list for jack table\n\nSo far we've used snd_array infrastructure for managing the\nhda_jack_tbl elements, but it turned out that this may lead to a UAF\nwhen a different order of destruction procedure is applied; namely,\neach hda_jack_tbl object creates a snd_jack object and sets the\nprivate_data pointing to the hda_jack_tbl, and private_free to release\nit.  It looks harmless, but since snd_array may reallocate the whole\ntable at growing, the formerly referred jack pointer may become stale.\n\nFortunately, currently there is no call pattern that triggers this\nissue, so it's only hypothetical, but we should address it in anyway.\n\nThere are several ways to address this, and at this time, we rather\nredesign the hda_jack_tbl allocations: instead of snd_array(), do a\nnormal kmalloc() + linked list.  There will be more kmalloc calls than\nthe original code, but as the number of jacks are usually at most\nhandful, it must not be a problem.  This change allows us the\npersistent jack pointer, so no stale pointer access can happen any\nlonger.\n\nThis also fixes another reported issue about the stale jack pointer\nreference in snd_hda_jack_tbl_new(), too.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-12-03 04:18:31","updated_at":"2026-12-03 04:18:31"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/f9b97ececb0b5e1b40215a8d9759e5d2cced7ec9","name":"https://git.kernel.org/stable/c/f9b97ececb0b5e1b40215a8d9759e5d2cced7ec9","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/3eff04dc7ae5c967156eb04a54f3867dcb1d3c85","name":"https://git.kernel.org/stable/c/3eff04dc7ae5c967156eb04a54f3867dcb1d3c85","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/9d23ace1496a79f0e875523daf500af97f2f0e07","name":"https://git.kernel.org/stable/c/9d23ace1496a79f0e875523daf500af97f2f0e07","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5676e013f16ac4b616d433af24647d0ce4b067aa","name":"https://git.kernel.org/stable/c/5676e013f16ac4b616d433af24647d0ce4b067aa","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-142917","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142917","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 31ef22579302ac42054bebecb528710f46580925 3eff04dc7ae5c967156eb04a54f3867dcb1d3c85 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 31ef22579302ac42054bebecb528710f46580925 9d23ace1496a79f0e875523daf500af97f2f0e07 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 31ef22579302ac42054bebecb528710f46580925 f9b97ececb0b5e1b40215a8d9759e5d2cced7ec9 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 31ef22579302ac42054bebecb528710f46580925 5676e013f16ac4b616d433af24647d0ce4b067aa git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3.3","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 3.3 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.120 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.65 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["include/sound/hda_codec.h","sound/hda/common/codec.c","sound/hda/common/hda_jack.h","sound/hda/common/jack.c","sound/soc/sof/intel/hda-codec.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"3eff04dc7ae5c967156eb04a54f3867dcb1d3c85","status":"affected","version":"31ef22579302ac42054bebecb528710f46580925","versionType":"git"},{"lessThan":"9d23ace1496a79f0e875523daf500af97f2f0e07","status":"affected","version":"31ef22579302ac42054bebecb528710f46580925","versionType":"git"},{"lessThan":"f9b97ececb0b5e1b40215a8d9759e5d2cced7ec9","status":"affected","version":"31ef22579302ac42054bebecb528710f46580925","versionType":"git"},{"lessThan":"5676e013f16ac4b616d433af24647d0ce4b067aa","status":"affected","version":"31ef22579302ac42054bebecb528710f46580925","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["include/sound/hda_codec.h","sound/hda/common/codec.c","sound/hda/common/hda_jack.h","sound/hda/common/jack.c","sound/soc/sof/intel/hda-codec.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"3.3"},{"lessThan":"3.3","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.120","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.65","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.120","versionStartIncluding":"3.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"3.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"3.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"3.3","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: hda: Use linked list for jack table\n\nSo far we've used snd_array infrastructure for managing the\nhda_jack_tbl elements, but it turned out that this may lead to a UAF\nwhen a different order of destruction procedure is applied; namely,\neach hda_jack_tbl object creates a snd_jack object and sets the\nprivate_data pointing to the hda_jack_tbl, and private_free to release\nit.  It looks harmless, but since snd_array may reallocate the whole\ntable at growing, the formerly referred jack pointer may become stale.\n\nFortunately, currently there is no call pattern that triggers this\nissue, so it's only hypothetical, but we should address it in anyway.\n\nThere are several ways to address this, and at this time, we rather\nredesign the hda_jack_tbl allocations: instead of snd_array(), do a\nnormal kmalloc() + linked list.  There will be more kmalloc calls than\nthe original code, but as the number of jacks are usually at most\nhandful, it must not be a problem.  This change allows us the\npersistent jack pointer, so no stale pointer access can happen any\nlonger.\n\nThis also fixes another reported issue about the stale jack pointer\nreference in snd_hda_jack_tbl_new(), too."}],"providerMetadata":{"dateUpdated":"2026-12-03T03:25:57.853Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/3eff04dc7ae5c967156eb04a54f3867dcb1d3c85"},{"url":"https://git.kernel.org/stable/c/9d23ace1496a79f0e875523daf500af97f2f0e07"},{"url":"https://git.kernel.org/stable/c/f9b97ececb0b5e1b40215a8d9759e5d2cced7ec9"},{"url":"https://git.kernel.org/stable/c/5676e013f16ac4b616d433af24647d0ce4b067aa"}],"title":"ALSA: hda: Use linked list for jack table","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-142917","datePublished":"2026-12-03T03:25:57.853Z","dateReserved":"2026-12-03T03:10:28.337Z","dateUpdated":"2026-12-03T03:25:57.853Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-03 04:18:31","lastModifiedDate":"2026-12-03 04:18:31","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"142917","Ordinal":"1","Title":"ALSA: hda: Use linked list for jack table","CVE":"CVE-2026-142917","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"142917","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: hda: Use linked list for jack table\n\nSo far we've used snd_array infrastructure for managing the\nhda_jack_tbl elements, but it turned out that this may lead to a UAF\nwhen a different order of destruction procedure is applied; namely,\neach hda_jack_tbl object creates a snd_jack object and sets the\nprivate_data pointing to the hda_jack_tbl, and private_free to release\nit.  It looks harmless, but since snd_array may reallocate the whole\ntable at growing, the formerly referred jack pointer may become stale.\n\nFortunately, currently there is no call pattern that triggers this\nissue, so it's only hypothetical, but we should address it in anyway.\n\nThere are several ways to address this, and at this time, we rather\nredesign the hda_jack_tbl allocations: instead of snd_array(), do a\nnormal kmalloc() + linked list.  There will be more kmalloc calls than\nthe original code, but as the number of jacks are usually at most\nhandful, it must not be a problem.  This change allows us the\npersistent jack pointer, so no stale pointer access can happen any\nlonger.\n\nThis also fixes another reported issue about the stale jack pointer\nreference in snd_hda_jack_tbl_new(), too.","Type":"Description","Title":"ALSA: hda: Use linked list for jack table"}]}}}