Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 C52CC407CDB for ; Wed, 27 May 2026 13:04:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779887095; cv=none; b=ifI4qgmDowaQybIOfJhzo0Ab+Y9XvCnXmM5Vtv9J6w6d7h1Wwl6UsgrtCxupoMjlaukDAwWTLJakFTzi5GnnyNeTdGL+z6d9+/UIwc0QIj1vp95h1Oo9vc5BGYEWzD+JC7JmZi5rE/tG9F7n/tT/Ve3GAo7jZpECP7Knqlj6AMc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779887095; c=relaxed/simple; bh=Q9y7inzA3m38TsQs5/RWW1Hy8Za3Pst0gE1pR6u1N60=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=VxviRB6+c12J/FxHwnQJQTYvzXF8YQv3E/7aOK7aJOy2OYtg9yyStC2Hih8kaKipEMi+6bfA7bqs++HEvfyhky316Xwo9/vyTMGHTieTy1L6XQOAG10JF8qPQ8IGNLFO/8Rva2Ly2WO0Sd6Ut0lq3JQ8w18MPIj/8qVG9qeaaTk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=XdVTVXYp; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="XdVTVXYp" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1D9501F000E9; Wed, 27 May 2026 13:04:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779887093; bh=IxueMPOHVcFEwFdOZ1ILcshNAFmYCG/hMKCEsRQB3GI=; h=From:To:Cc:Subject:Date:Reply-To; b=XdVTVXYptIQHfvo3aLruGUK7H9dOsOXHsILHbk7/DgNNOtECzkDted+7gCGj9nWJq F3C7DrleaRKjGsd8RbpHSx9HcCcHEDzlxyr7Ca2oETAdnRif2gg0v3T9pFMwf2fy08 +kkItXN+9R+VRXRhhorisGfC1kqWWFzxQfjI4QCA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46048: ALSA: caiaq: fix usb_dev refcount leak on probe failure Date: Wed, 27 May 2026 14:59:39 +0200 Message-ID: <2026052753-CVE-2026-46048-f25e@gregkh> X-Mailer: git-send-email 2.54.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=3708; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Lnm9OpoyIbf9iLLvLdCppdr8SrawrwWntjXHzxBkWZ0=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlir3q9t0cz/OS0Oi7jI9z2gGFJ0HKPbVzn9meIXnrgn BLr5sXTEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABPxfcWwYJdT19eJrUEylh6R aUatqUu55T/9YViwsf1LYva0+dWT/zN+DlfRLQ3bVPMWAA== 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: caiaq: fix usb_dev refcount leak on probe failure create_card() takes a reference on the USB device with usb_get_dev() and stores the matching usb_put_dev() in card_free(), which is installed as the snd_card's ->private_free destructor. However, ->private_free is only assigned near the end of init_card(), after several failure points (usb_set_interface(), EP type checks, usb_submit_urb(), the EP1_CMD_GET_DEVICE_INFO exchange, and its timeout). When any of those fail, init_card() returns an error to snd_probe(), which calls snd_card_free(card). Because ->private_free is still NULL, card_free() never runs, the usb_get_dev() reference is not dropped, and the struct usb_device leaks along with its descriptor allocations and device_private. syzbot reproduces this with a malformed UAC3 device whose only valid altsetting is 0; init_card()'s usb_set_interface(usb_dev, 0, 1) call fails with -EIO and triggers the leak. Move the ->private_free assignment into create_card(), immediately after usb_get_dev(), so that every error path reaching snd_card_free() balances the reference. card_free()'s callees (snd_usb_caiaq_input_free, free_urbs, kfree) already tolerate the partially-initialized state because the chip private area is zero-initialized by snd_card_new(). The Linux kernel CVE team has assigned CVE-2026-46048 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6.136 with commit f6634af5de728a46792f674a66d7843570cb68f7 and fixed in 6.6.140 with commit 50c6a1f05973f56d23280c9d7645a7a5734e0907 Issue introduced in 6.12.84 with commit 1d9be95aee6c6246a21752e60c9519902649f482 and fixed in 6.12.86 with commit da3b8fd6a202d94fef11a443abc9171c52426a1c Issue introduced in 6.18.25 with commit 6473ed16df1fe88051140611b3eb9a49be7f429e and fixed in 6.18.27 with commit 6153878c5255bb69b7d0868105ca078ef13cbcf8 Issue introduced in 7.0.2 with commit 59b622a043cffc58b7638cd85ae6c30a0904f8e6 and fixed in 7.0.4 with commit 21ca595aafa40d3ac70eab1f4cb62cc00ca21657 Issue introduced in 7.1-rc1 with commit 80bb50e2d459213cccff3111d5ef98ed4238c0d5 and fixed in 7.1-rc2 with commit 7a5f1cd22d47f8ca4b760b6334378ae42c1bd24b 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-46048 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/usb/caiaq/device.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/50c6a1f05973f56d23280c9d7645a7a5734e0907 https://git.kernel.org/stable/c/da3b8fd6a202d94fef11a443abc9171c52426a1c https://git.kernel.org/stable/c/6153878c5255bb69b7d0868105ca078ef13cbcf8 https://git.kernel.org/stable/c/21ca595aafa40d3ac70eab1f4cb62cc00ca21657 https://git.kernel.org/stable/c/7a5f1cd22d47f8ca4b760b6334378ae42c1bd24b