{"id":"CVE-2026-99504","summary":"ASoC: audio-graph-card2: Fix use-after-free in audio_graph2_link_c2c()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: audio-graph-card2: Fix use-after-free in audio_graph2_link_c2c()\n\nof_graph_get_next_port() consumes the reference of its prev argument.\nport0 is only borrowed from the caller's iterator, so the call drops a\nreference the function does not own, and port0 is dereferenced again\nafterwards. Pass an extra reference, as graph_count_c2c() does, so the\nreference the callee consumes is the one taken here.","modified":"2026-11-19T17:00:46.340121652Z","published":"2026-11-19T14:43:54.790Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99504.json","cna_assigner":"Linux"},"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/5ea495bccfd746b063bc6702064f167467717b41"},{"type":"WEB","url":"https://git.kernel.org/stable/c/85db2c35fd93bc6604e4d7abe4701d6587bc15a3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fd0dd0ee82ef62b8b4bda1ffceb361946f403404"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99504.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99504"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"5f281c3e82b1203c40cf6ead009ffb5b09db056b"},{"fixed":"fd0dd0ee82ef62b8b4bda1ffceb361946f403404"},{"fixed":"85db2c35fd93bc6604e4d7abe4701d6587bc15a3"},{"fixed":"5ea495bccfd746b063bc6702064f167467717b41"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99504.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.14.0"},{"fixed":"6.18.61"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99504.json"}}],"schema_version":"1.9.2"}