Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795100369; b=XXHTPUMB0KW4rFmtE5UzecmhK5O3XuOzT9/PMzXVJvJa8Jl59zbhc441A+TA52wzrSdy LgL1cuADtNgUeAXRLq4xnhzKh7Xy9ppsWMS+2HIBymRkGZ2Ze9/P9pqYFjNGiQY2AzTPp dgik6oJxWmrklP+SYG2SpZ3e3Rc8t7/gGzZ/AyUTm8+YxB7WHBI7rB41F4lY69x60MMLF jKVzLkEbtJ2ktCgQYqCjWulp2ZUubqd1hCdeTEPGaCTBVk9AKemMqSdq0+ETi1IrYYlSH 56++89Byu8XvkXqtAUvdwX6yQjwA7+0FyFqaE8xTxIh87lQr5sgU6bA7hKIbh5BdycA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795100369; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=wFy1tRcqXmoAbNAzzpIeeXJCVjDeTloW1uVsCytEN6U=; b=IAksWJVykNecssDumr3wkWO/VLtLhk7IqTJPyPbDe3qpjZpMSVEqnc/yj6IM0q93sG4s lp2Fw0dpjs1tNATf6alORGefcOXQljlAbBIIF5XnEPdkHeAzvHGMP4LvnQck7bsNlVZv+ vCxcPKabLGyJy/WvaQ3q8JXIXRq/37DzCrOYjYDohoGv4EBfkIbwanEaSCqOq6/cY5/PN r11Xg3Z+VEzSrU+q73oI4jQNcgzLJJJ+KFgOCXj/TtsjAIj99A1Kaq7aN8uSY8jrWDZzq b5xbKut8z7gzIXttYO1comMQRtHV6WNT7jpS/25i7o8VqtF3nFWtCS7bL6+/CzQ86ng== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=Wl4g1Dq2; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5430F606A320 for ; Thu, 19 Nov 2026 14:59:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=Wl4g1Dq2 Received: by smtp.kernel.org (Postfix) with ESMTPSA id DD6D81F000C5; Thu, 19 Nov 2026 14:59:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795100369; bh=wFy1tRcqXmoAbNAzzpIeeXJCVjDeTloW1uVsCytEN6U=; h=From:To:Cc:Subject:Date:Reply-To; b=Wl4g1Dq2AL1hEE0AQxt57VR6sgRaPD4LEYMXmGVDArck150FcsntR0S37OatVG4OO h6SUyZVe6tBn5mjq/K4pUKt8B3lQ67LwbBe4+ZQbTf8HGIubIZ/7xEdPY9hZo5vQg8 Mjmsoyz1h0NYgtvJUzzipHAVhOmqgcN4N/0n+/gc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99504: ASoC: audio-graph-card2: Fix use-after-free in audio_graph2_link_c2c() Date: Thu, 19 Nov 2026 15:26:42 +0100 Message-ID: <2026111917-CVE-2026-99504-ff7d@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2359; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=VOdl0lE/p2FXFcrfwjXps93Mev5Bpb6VaNEx1zJXrIA=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/2SbukciWv7xSa7/zs0eMaYtuM5+qjJrlcM+G2W1Nq +TP9pCQjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiIxAyGOXz32YzrEg4cWXQ7 wa9yR9Ab06pd8xkWXC06WFDwe2bIrvr1kanOWnNjU+6yAwA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: ASoC: audio-graph-card2: Fix use-after-free in audio_graph2_link_c2c() of_graph_get_next_port() consumes the reference of its prev argument. port0 is only borrowed from the caller's iterator, so the call drops a reference the function does not own, and port0 is dereferenced again afterwards. Pass an extra reference, as graph_count_c2c() does, so the reference the callee consumes is the one taken here. The Linux kernel CVE team has assigned CVE-2026-99504 to this issue. Affected and fixed versions =========================== Issue introduced in 6.14 with commit 5f281c3e82b1203c40cf6ead009ffb5b09db056b and fixed in 6.18.61 with commit fd0dd0ee82ef62b8b4bda1ffceb361946f403404 Issue introduced in 6.14 with commit 5f281c3e82b1203c40cf6ead009ffb5b09db056b and fixed in 7.3.2 with commit 85db2c35fd93bc6604e4d7abe4701d6587bc15a3 Issue introduced in 6.14 with commit 5f281c3e82b1203c40cf6ead009ffb5b09db056b and fixed in 7.4-rc1 with commit 5ea495bccfd746b063bc6702064f167467717b41 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-99504 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: sound/soc/generic/audio-graph-card2.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/fd0dd0ee82ef62b8b4bda1ffceb361946f403404 https://git.kernel.org/stable/c/85db2c35fd93bc6604e4d7abe4701d6587bc15a3 https://git.kernel.org/stable/c/5ea495bccfd746b063bc6702064f167467717b41