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 42337405C23 for ; Wed, 27 May 2026 13:01:32 +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=1779886893; cv=none; b=ri5TvRB6iPrZ++LKxLKfnxvgwC3MZFzwfkW4Tbeb67yfJtZo9r0/pcgljUCoarRpvWBaOSstUoDkldppw6eDs9hCJ9nA6+qgnp/aOzwjbiIEpF5Ir5QgQuzhjSeuHqRG9fcROSqKFs13Pcr/wpnjWYr5QX5wAjpFIBfmwCcUsfs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779886893; c=relaxed/simple; bh=miLBP1r0GUrUL3q5luscHTAsgABU8RtHcJH0j21afJ8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=CWKD02zLHc/o5sXSEceYgEuA1tidZKc6w+LFxD7uRmdjCa5SP+d5N0yyyf9MOqanMXF6aNGTbBszrRswftYAUfuJiJvrI6UutKweBp8+vVEOfvEUo3Mp8fdTUorbQF0Yzp82CNxF51SWSjc+wAmA7anvjutaYHsu4be5WTpO7RM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=1lajJ5UZ; 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="1lajJ5UZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8EF4C1F000E9; Wed, 27 May 2026 13:01:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779886892; bh=uLDMvS7Riorooz5uNlL58o+sMkq4hw4qu8wXENwakZI=; h=From:To:Cc:Subject:Date:Reply-To; b=1lajJ5UZTw2u4tzCYM831ugZurHJfjqyGv6SfJPUoftGC97WMJRzf5YzZVHoC2JtL UtBwQZZM1+qjnf6cO+FmywuS5F2V2+7aLaJVYCq8a1RDzUXiAG5InlupTZlROi1nNa Xgk/QNpTDvfgClGhJpLFjfveg3gb1VnMRGua58V0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46018: ALSA: usb-audio: stop parsing UAC2 rates at MAX_NR_RATES Date: Wed, 27 May 2026 14:59:09 +0200 Message-ID: <2026052746-CVE-2026-46018-ac95@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=3022; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Peu8z1DaWn3eVe1Pth+Ifku9mIve1OITgYmojx/pzmY=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlir9o+TGU3cFuabvhdsnKRzm+bQ/bL5nLUOsvX75SWP c38qya2I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACbySZlhfvra/oeJfcp3fEv1 mZ3vtx+OVTjLyTCHI3PH7b4J/+9+9u9duPf1hIV78rM/AgA= 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: usb-audio: stop parsing UAC2 rates at MAX_NR_RATES parse_uac2_sample_rate_range() caps the number of enumerated rates at MAX_NR_RATES, but it only breaks out of the current rate loop. A malformed UAC2 RANGE response with additional triplets continues parsing the remaining triplets and repeatedly prints "invalid uac2 rates" while probe still holds register_mutex. Stop the whole parse once the cap is reached and return the number of rates collected so far. The Linux kernel CVE team has assigned CVE-2026-46018 to this issue. Affected and fixed versions =========================== Issue introduced in 3.3 with commit 4fa0e81b83503900be277e6273a79651b375e288 and fixed in 6.6.140 with commit ab5ba9fd138758ddc50222264ff246b31e397abf Issue introduced in 3.3 with commit 4fa0e81b83503900be277e6273a79651b375e288 and fixed in 6.12.86 with commit ba036305323814ec1f8655313b2fa6a0f7048716 Issue introduced in 3.3 with commit 4fa0e81b83503900be277e6273a79651b375e288 and fixed in 6.18.27 with commit 4d7893a137eadb6163ea4298bf67d74b811d76ef Issue introduced in 3.3 with commit 4fa0e81b83503900be277e6273a79651b375e288 and fixed in 7.0.4 with commit a0b78639ef09b2e77974a3de3b1c07f6de3c5e56 Issue introduced in 3.3 with commit 4fa0e81b83503900be277e6273a79651b375e288 and fixed in 7.1-rc1 with commit 3c318f97dcc50b2e0556a1813bd6958678e881fd Issue introduced in 3.0.81 with commit 44f059fb742aac78cffdab5e0d8fe0c9910c1ded Issue introduced in 3.2.47 with commit c25a53781f61c78bf2a2fa308bbd35b42ba346f6 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-46018 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/format.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/ab5ba9fd138758ddc50222264ff246b31e397abf https://git.kernel.org/stable/c/ba036305323814ec1f8655313b2fa6a0f7048716 https://git.kernel.org/stable/c/4d7893a137eadb6163ea4298bf67d74b811d76ef https://git.kernel.org/stable/c/a0b78639ef09b2e77974a3de3b1c07f6de3c5e56 https://git.kernel.org/stable/c/3c318f97dcc50b2e0556a1813bd6958678e881fd