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 04C9E16D324 for ; Wed, 21 Aug 2024 06:13:19 +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=1724220799; cv=none; b=ZADE3HTNnpurhAY2N7gQcX96VSC2ndu9Cl4mK/702or80o3+II0uHN0oz4FBeSizyDfIpokNisb3YFHSHbJLal+x13IyJY3mIj/WxhaPurUR75FLjHNCLY+0r9bDXWnngv7QNmEAx/WdKrjcx3y5TSOsotWAaC2f1JURsPhe/lo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724220799; c=relaxed/simple; bh=i85DTwVhrEhe+eLQ2vWbBqyNkCPzeAxI8Trj3hAQ6+E=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Z1ockQydXjeOS8NArdAIB7XVRrRs6KiM/dr9xMPpzxOCNQDQVrpVDNU41H9SVc5AAsmqvsGy37k2kFwGHdspDMSGaACDnIMFRz4rt4YAWmkycztu0EVd9jpwGIZIixO8yTkZTf0r/c5l4jVfO4qqWUhg7oREngVJdyj9223TkTI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=o9IhWP+R; 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="o9IhWP+R" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8B036C32782; Wed, 21 Aug 2024 06:13:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1724220798; bh=i85DTwVhrEhe+eLQ2vWbBqyNkCPzeAxI8Trj3hAQ6+E=; h=From:To:Cc:Subject:Date:Reply-to:From; b=o9IhWP+RsNulqNbB6tVaTpRqun5azuUKvs/+9xHsVTkVeIXgHHDtbQeA3dhPNuz+n MvnMyRn6LQjN2eEfPN9RrgphI/sqpRwWhyGwUGMlM/O8Wia8Vv4vErVQhaAgMNawrF pDXQrnahCUomq7vWXQylzsEOueYhjRaeLeljDtsI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-52904: ALSA: usb-audio: Fix possible NULL pointer dereference in snd_usb_pcm_has_fixed_rate() Date: Wed, 21 Aug 2024 14:11:45 +0800 Message-ID: <2024082113-CVE-2023-52904-b85a@gregkh> X-Mailer: git-send-email 2.46.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=1616; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=i85DTwVhrEhe+eLQ2vWbBqyNkCPzeAxI8Trj3hAQ6+E=; b=owGbwMvMwCRo6H6F97bub03G02pJDGlHWxndHPd8i9plJ32zMc4mTzFn53PXhd2vN5o4RsxiM 5ka9ii2I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACZSdphhfsinPatftDBxdUQk 65t+EPk/93BRD8OCy/O/B/w+Oe+6vIZko88mScOfZjdlAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: ALSA: usb-audio: Fix possible NULL pointer dereference in snd_usb_pcm_has_fixed_rate() The subs function argument may be NULL, so do not use it before the NULL check. The Linux kernel CVE team has assigned CVE-2023-52904 to this issue. Affected and fixed versions =========================== Issue introduced in 5.15.152 with commit bfd36b1d1869 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-2023-52904 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/pcm.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/a474d4ad59cd4642d1b7e3a6c08cef9eca0992c8 https://git.kernel.org/stable/c/92a9c0ad86d47ff4cce899012e355c400f02cfb8