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 F0C0E134CC2 for ; Wed, 10 Apr 2024 19:02:10 +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=1712775731; cv=none; b=i4FP+yKAqLWSA3IzzN4HIaBzFMhAGdLUyBF7rluV09iLzUW/cfNhHxY1XF53G7jc4jeXihMa+ZSMaSryYSldjPRL+h8xFn1VjF3Q3ejD7nrOVEd4KVLAd/PQL52AYXI6dB0hsTrotW0NBbXjhYrKMT0BIhsViMKNvjIgOikHJho= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712775731; c=relaxed/simple; bh=1t6RrkQkVoWMFLe65Okib7Yo2Njlw6/TCTxxdQoqGcs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=JnwUxPglMh80hrrUUtIs/axvchbWzlvKPQy1ENylKTO1JLu8jssmDyjkb9Ug7k/ryKu3mhK+B2rIEIqAkG0MXTO+PYthpaUTvootZSbXqngF8krZm9sRvN6Re8XykCN8an1LsCHppHD4Q20h2Nx+XPKi3IiUrXR4HDX32GvIwL0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=uX1qDk6e; 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="uX1qDk6e" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 75BF2C433C7; Wed, 10 Apr 2024 19:02:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1712775730; bh=1t6RrkQkVoWMFLe65Okib7Yo2Njlw6/TCTxxdQoqGcs=; h=From:To:Cc:Subject:Date:Reply-to:From; b=uX1qDk6e9ODkP7C3LyFqVvkBeRA/upyGkOUN7oG/RCgGC6hHUXj5U0MAGb/pnmZ5o VqK9H6vQPIqOCkXDnMvaOo+0w+R8v2w7CSD+od+5fkj2JOXQ2UEW8R2lEVmTDXS7xH m8SkARr1sJjLD67bt9Uu2KUbt27jCoAVjC8luv+k= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2021-47210: usb: typec: tipd: Remove WARN_ON in tps6598x_block_read Date: Wed, 10 Apr 2024 21:02:03 +0200 Message-ID: <2024041004-CVE-2021-47210-1d37@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=2070; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=1t6RrkQkVoWMFLe65Okib7Yo2Njlw6/TCTxxdQoqGcs=; b=owGbwMvMwCRo6H6F97bub03G02pJDGlij3SWs1hJOmg2n7T9r6VxNcT+a+zrsuD0IrlC95nVm ktfCcd2xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwETuf2GYpxgfMf1gVm0Wx+7m 937MfuIvFjOxMMz3F4l1ElYUvbXDx8BuQ1WH0t6cXlkA 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: usb: typec: tipd: Remove WARN_ON in tps6598x_block_read Calling tps6598x_block_read with a higher than allowed len can be handled by just returning an error. There's no need to crash systems with panic-on-warn enabled. The Linux kernel CVE team has assigned CVE-2021-47210 to this issue. Affected and fixed versions =========================== Fixed in 4.19.218 with commit 2a897d384513 Fixed in 5.4.162 with commit 30dcfcda8992 Fixed in 5.10.82 with commit eff8b7628410 Fixed in 5.15.5 with commit 2c71811c963b Fixed in 5.16 with commit b7a0a63f3fed 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-47210 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: drivers/usb/typec/tipd/core.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/2a897d384513ba7f7ef05611338b9a6ec6aeac00 https://git.kernel.org/stable/c/30dcfcda8992dc42f18e7d35b6a1fa72372d382d https://git.kernel.org/stable/c/eff8b7628410cb2eb562ca0d5d1f12e27063733e https://git.kernel.org/stable/c/2c71811c963b6c310a29455d521d31a7ea6c5b5e https://git.kernel.org/stable/c/b7a0a63f3fed57d413bb857de164ea9c3984bc4e