Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5464E3EBF09 for ; Wed, 4 Feb 2026 16:00:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770220850; cv=none; b=ZN5nxqqBxvdM+b/Pd5/v67u0hT2y1bPCdzwfwS+s375awkF4a9HNiBfJq3alo0hlnkGoKbYgDnCwbI5knM647MUcHa4gPpuY8xDclSzBt6tYDaRV9Kc1ivXJbB+HEyIC9hojrNk8iaMqspb3rIydfvZZOyxYn+WtYqmNV442DMc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770220850; c=relaxed/simple; bh=INQyB1E1vHbKVJe2PIqCdtF6r4WQ405xKSl8RuyaYUs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=FyWcLAKc0XzP0YXeigUaPrfChGKiZcK5+WoH5wFZJBQWzfEdX0ipEC8XNE1ceNwX+QXkoxvD3ODZkx0tHWLYLWjU8alG+vkLQ1XIlHDh6Qm0jwxpt/nJUpbnpnUTJaArYdS1Yimkz5huq5UIlE/Ib1ErkjInPxaKsejKCHdbGVA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=o+yDNKGH; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="o+yDNKGH" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 40189C4CEF7; Wed, 4 Feb 2026 16:00:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1770220849; bh=INQyB1E1vHbKVJe2PIqCdtF6r4WQ405xKSl8RuyaYUs=; h=From:To:Cc:Subject:Date:Reply-To:From; b=o+yDNKGHXTPCIHTRwRXBOnUDOsQrvEDLuB4nToiDWXlD0WiCdPsZifdqIFfPC34Qo tklXBisDyyy0NcNNGrmMwlGffCn32ffjwXeWvUqY8m2D0uWDe3mBOQdhn3x2h/Kve0 2b+M8nvp/Yy1VPy0IKOqXKiEkN0gvkaI/FJ9PUNo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-71192: ALSA: ac97: fix a double free in snd_ac97_controller_register() Date: Wed, 4 Feb 2026 17:00:39 +0100 Message-ID: <2026020438-CVE-2025-71192-3370@gregkh> X-Mailer: git-send-email 2.53.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2679; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=dw6mWd94NGDiT8Ga1PkW/rEnIdPs4xWwz/GGDiWyxiY=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnNuWrFey9I6zZklJfrvDZznWTHdtfBYt2/b9sieL7Wn XSIK/briGFhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgInMWM4w3T3x+c7j3soG0kt+ 1oUW2IkJ6dxlmGc1e6tzpFVj2Up+x/WJD/fOLv39WB8A 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: ALSA: ac97: fix a double free in snd_ac97_controller_register() If ac97_add_adapter() fails, put_device() is the correct way to drop the device reference. kfree() is not required. Add kfree() if idr_alloc() fails and in ac97_adapter_release() to do the cleanup. Found by code review. The Linux kernel CVE team has assigned CVE-2025-71192 to this issue. Affected and fixed versions =========================== Issue introduced in 4.15 with commit 74426fbff66eea8e8d1f42c8238c268d1e63a832 and fixed in 6.1.161 with commit c80f9b3349a99a9d5b295f5bbc23f544c5995ad7 Issue introduced in 4.15 with commit 74426fbff66eea8e8d1f42c8238c268d1e63a832 and fixed in 6.6.121 with commit 21f8bc5179bed91c3f946adb5e55d717b891960c Issue introduced in 4.15 with commit 74426fbff66eea8e8d1f42c8238c268d1e63a832 and fixed in 6.12.66 with commit fcc04c92cbb5497ce67c58dd2f0001bb87f40396 Issue introduced in 4.15 with commit 74426fbff66eea8e8d1f42c8238c268d1e63a832 and fixed in 6.18.6 with commit cb73d37ac18bc1716690ff5255a0ef1952827e9e Issue introduced in 4.15 with commit 74426fbff66eea8e8d1f42c8238c268d1e63a832 and fixed in 6.19-rc5 with commit 830988b6cf197e6dcffdfe2008c5738e6c6c3c0f 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-2025-71192 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/ac97/bus.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/c80f9b3349a99a9d5b295f5bbc23f544c5995ad7 https://git.kernel.org/stable/c/21f8bc5179bed91c3f946adb5e55d717b891960c https://git.kernel.org/stable/c/fcc04c92cbb5497ce67c58dd2f0001bb87f40396 https://git.kernel.org/stable/c/cb73d37ac18bc1716690ff5255a0ef1952827e9e https://git.kernel.org/stable/c/830988b6cf197e6dcffdfe2008c5738e6c6c3c0f