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 128422135AA for ; Wed, 26 Feb 2025 02:13:02 +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=1740535982; cv=none; b=Y3WZubtDUp94uYTgoYFIkwBWypT7lea8KMHyU0CHuaLnAjP6Bk6J/2RaPOIfxtsItfwOwxdvu2kIoY1LwUZ2xBFlDVi+CAqpxPq+31d5HgS06xQ26OJLixtsn6BzWJzZZoKHg+Din9SRJBB2VyiZiDZHbfu0c44OTu6dp3pQUPw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740535982; c=relaxed/simple; bh=ysgOtXiTdh9QU9O5yHhjYr0+u9kHKlKjZZuZyPLw+no=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=GbQodET6R92VscICux5f883d2XX/kxUehpN1uEUgXzYuMSwZc0QgpdQA+upQk5Yl7yY6+bUDPQ/rYWFNQzLEsUb691ul0CkVnuUy2LoWnbf1FMwLZp3Ei93XOEkOOG1kzwh90jgtqb2CbK4AHU2+Zzq2AvloMJ3fIG4rCj/6tz8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=TRHzMm6m; 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="TRHzMm6m" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D7748C4CEDD; Wed, 26 Feb 2025 02:13:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740535982; bh=ysgOtXiTdh9QU9O5yHhjYr0+u9kHKlKjZZuZyPLw+no=; h=From:To:Cc:Subject:Date:Reply-to:From; b=TRHzMm6mtvIQGRn30p1CwcPQa3MtW93c0/twNzNYQ0H70yr6c1UvnMCaIKha0Q28z UA/xTwFOzxWPAcDPK6TOw6EzRWIt369JthxAmdJOw/9tnNS9t9o+vzqIFwj5GFBERL d+lH2Ue7FK7GhIaeAtE3CzAljIUxwNRTcGRydCRc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49302: USB: host: isp116x: check return value after calling platform_get_resource() Date: Wed, 26 Feb 2025 03:09:36 +0100 Message-ID: <2025022634-CVE-2022-49302-fd6c@gregkh> X-Mailer: git-send-email 2.48.1 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=2760; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ysgOtXiTdh9QU9O5yHhjYr0+u9kHKlKjZZuZyPLw+no=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7yu+1vPAWb/u83D/Gue2SjT5HTdcPV95HeyZNqI2/3 VrHuterI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACZy4AfDghU+QWq3/yQmPUqz zo+8yNEh9nNBOsNslmlnMjfp83nzNzAd/qvCxsv+ZMVtAA== 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: isp116x: 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-2022-49302 to this issue. Affected and fixed versions =========================== Fixed in 4.9.318 with commit 804de302ada3544699c5f48c5314b249af76faa3 Fixed in 4.14.283 with commit 7bffda1560a6f255fdf504e059fbbdb5d46b9e44 Fixed in 4.19.247 with commit 3825db88d8c704e7992b685618a03f82bffcf2ef Fixed in 5.4.198 with commit c91a74b1f0f2d2d7e728742ae55e3ffe9ba7853d Fixed in 5.10.122 with commit ee105039d3653444de4d3ede642383c92855dc1e Fixed in 5.15.47 with commit 3592cfd8b848bf0c4d7740d78a87a7b8f6e1fa9a Fixed in 5.17.15 with commit aca0cab0e9ed33b6371aafb519a6c38f2850ffc3 Fixed in 5.18.4 with commit 82a101f14943f479fd190b1e5b40d91c77e2ac1b Fixed in 5.19 with commit 134a3408c2d3f7e23eb0e4556e0a2d9f36c2614e 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-2022-49302 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/isp116x-hcd.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/804de302ada3544699c5f48c5314b249af76faa3 https://git.kernel.org/stable/c/7bffda1560a6f255fdf504e059fbbdb5d46b9e44 https://git.kernel.org/stable/c/3825db88d8c704e7992b685618a03f82bffcf2ef https://git.kernel.org/stable/c/c91a74b1f0f2d2d7e728742ae55e3ffe9ba7853d https://git.kernel.org/stable/c/ee105039d3653444de4d3ede642383c92855dc1e https://git.kernel.org/stable/c/3592cfd8b848bf0c4d7740d78a87a7b8f6e1fa9a https://git.kernel.org/stable/c/aca0cab0e9ed33b6371aafb519a6c38f2850ffc3 https://git.kernel.org/stable/c/82a101f14943f479fd190b1e5b40d91c77e2ac1b https://git.kernel.org/stable/c/134a3408c2d3f7e23eb0e4556e0a2d9f36c2614e