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 6EFB41802C3 for ; Wed, 10 Apr 2024 18:58:33 +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=1712775513; cv=none; b=P7EzxgWH7IiKMfcUpR4Dzip6jppEC03+xzlTJq4IouR4Gvfz16OFk7r64mmE0BgO4hUi9g9XPeD3xFQj0iECbshudMO2ph3yJnx2JH458kL2QsR56uyMy8ugHuocpWp8et+dWGrKSSZ6w9jOusYpP0Iygpyx+sk05Ur8oDx9gg4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712775513; c=relaxed/simple; bh=YIr4IEXK+MqUoceL999u9h+fDI+4jcIv2ahkf4jkPB8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Dk/z81Yxli+tXNEto8tnd9g64nwVFVvE+O6fqpVQEp+B1dtr4nHXFR8N5k9lQCbmM1HM9iwyxXsYQTlnzFPEQz/3kpF94+GrpDrSW8cJgat61BvM7cR+Gf295vXcGcNxKkFO0VvFSLplFGQJkYDRYIPoiwUgET9Jkl73Ay9mnN8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=MWB6cUhf; 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="MWB6cUhf" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E5E45C433F1; Wed, 10 Apr 2024 18:58:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1712775513; bh=YIr4IEXK+MqUoceL999u9h+fDI+4jcIv2ahkf4jkPB8=; h=From:To:Cc:Subject:Date:Reply-to:From; b=MWB6cUhfI+E622CNxrNp3o+ElRSZtm+O7PX0WCfoK4hEcXmCVrB7THxd3w1rw21kp CGpnRdALspKsLx/mz3fNXZ0JIg7mM+3BL3qrF/ljoRPV9YX/E6Z8WnjpIvboBhSYBZ IPoWs5Pc+OA944d42+PUBwaXRoI+DUiT5mpl+8Zg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2021-47206: usb: host: ohci-tmio: check return value after calling platform_get_resource() Date: Wed, 10 Apr 2024 20:57:55 +0200 Message-ID: <2024041038-CVE-2021-47206-fe4c@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=2388; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=YIr4IEXK+MqUoceL999u9h+fDI+4jcIv2ahkf4jkPB8=; b=owGbwMvMwCRo6H6F97bub03G02pJDGliD5VimzxE9OWvMP/zi3xl4Prp+7l/Rjtj9zeV+nm4N b64bxDQEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABPZbckwz8rGRtBPYGmGRbvu jqcy96fc/r0ql2F+zJWahp0XppmHzWq7UT8j95Xhk9PiAA== 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: host: ohci-tmio: check return value after calling platform_get_resource() It will cause null-ptr-deref if platform_get_resource() returns NULL, we need check the return value. The Linux kernel CVE team has assigned CVE-2021-47206 to this issue. Affected and fixed versions =========================== Fixed in 4.4.293 with commit 28e016e02118 Fixed in 4.9.291 with commit 2f18f97a1a78 Fixed in 4.14.256 with commit bb6ed2e05eb6 Fixed in 4.19.218 with commit 951b8239fd24 Fixed in 5.4.162 with commit f98986b7acb4 Fixed in 5.10.82 with commit 2474eb7fc3bf Fixed in 5.15.5 with commit 065334f6640d Fixed in 5.16 with commit 9eff2b2e59fd 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-47206 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/host/ohci-tmio.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/28e016e02118917e50a667bc72fb80098cf2b460 https://git.kernel.org/stable/c/2f18f97a1a787154a372c0738f1576f14b693d91 https://git.kernel.org/stable/c/bb6ed2e05eb6e8619b30fa854f9becd50c11723f https://git.kernel.org/stable/c/951b8239fd24678b56c995c5c0456ab12e059d19 https://git.kernel.org/stable/c/f98986b7acb4219f95789095eced93ed69d81d35 https://git.kernel.org/stable/c/2474eb7fc3bfbce10f7b8ea431fcffe5dd5f5100 https://git.kernel.org/stable/c/065334f6640d074a1caec2f8b0091467a22f9483 https://git.kernel.org/stable/c/9eff2b2e59fda25051ab36cd1cb5014661df657b