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 E488A134CC2 for ; Wed, 10 Apr 2024 19:02:21 +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=1712775742; cv=none; b=u/dIJ5n7aq/ks8QBYsUHiuP/m0IMI8762R2BBYRLESpeBsBatDAix8bqe48jgpQ3Od3a4oP8jVUggo4Ej+O371xjERd+/alZJ8+hXZ8T8Du7rDAW2o0LJUJRYw+yHT86Sjfd568BezK5LuNsOXuiFq23bCzYTFDd/5H2q1nzj68= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712775742; c=relaxed/simple; bh=get3mWZB5xgy2tW2sdpNu4X9nPFIp/4FMkJx6D6fyaE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=DBTGapeGGCc4Q10+GPJsxdps/faJ19o4bUiqEwWkyDAdvXOBX70VHJwhjTDHgGfk3noNzjmXU4JL4DtND154CirwGGp3e3frp8jC0WvK4dzCa6qNTBB758LnTPuE/R+KBJM37c9GWw6J8o7TXAg9KCsqeNlDBTxtLmMiTRMEr1E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=a2f5TOxN; 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="a2f5TOxN" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 682BFC433C7; Wed, 10 Apr 2024 19:02:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1712775741; bh=get3mWZB5xgy2tW2sdpNu4X9nPFIp/4FMkJx6D6fyaE=; h=From:To:Cc:Subject:Date:Reply-to:From; b=a2f5TOxNZun4IdmVXkSlSdsYbXCBGeSZRpI6kb84I9sLCWwirDlpqCaTKaa5hnHCu n+kEuE6kCRjIqBjFeA4xUgxsh39D8OHWSZvKF+iOs8RzLx80FZtnrvVT2owI7qd1Vm qogtcsCUFPUrG/0BzjL2xCetG0BkppzbAQNZndcg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2021-47211: ALSA: usb-audio: fix null pointer dereference on pointer cs_desc Date: Wed, 10 Apr 2024 21:02:04 +0200 Message-ID: <2024041004-CVE-2021-47211-cde3@gregkh> X-Mailer: git-send-email 2.44.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=1727; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=get3mWZB5xgy2tW2sdpNu4X9nPFIp/4FMkJx6D6fyaE=; b=owGbwMvMwCRo6H6F97bub03G02pJDGlij3T4vT5oXz8418E6ZWrzVGH9fsbJLw6eWr8qPHj+g W9cjrlHO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAif5MY5rs9Cyw/+k/LQyVn 26R95iotK7zWXmFYML1ILnEN596A7kYlt53/85TS9hx7DgA= 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 null pointer dereference on pointer cs_desc The pointer cs_desc return from snd_usb_find_clock_source could be null, so there is a potential null pointer dereference issue. Fix this by adding a null check before dereference. The Linux kernel CVE team has assigned CVE-2021-47211 to this issue. Affected and fixed versions =========================== Fixed in 5.15.5 with commit 58fa50de595f Fixed in 5.16 with commit b97053df0f04 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-2021-47211 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/clock.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/58fa50de595f152900594c28ec9915c169643739 https://git.kernel.org/stable/c/b97053df0f04747c3c1e021ecbe99db675342954