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 566FA1D5151 for ; Thu, 1 May 2025 14:15:04 +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=1746108904; cv=none; b=iYa7lRvYurJsC1HoV+0B2zMWtd8nW5WPm2SNwu7NEHnvvWdmqKgfbV7Z7/hr+ZLYTeyBSAvAR8911Oj3bakPWjKqsmBb4lbtJeXBfvyPTvXMgOlG9u3XM+ENTvCXZsY8uUuNs068lakauBQDd2ad/Ppdqz7dy82Rv6VXE3zST4M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746108904; c=relaxed/simple; bh=74FhrJh/PVR7GJ71RoyC0LIfdgNWhRpF0kK6l8m3OCM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=P055H6aA1CuVA2KGodTpPrxEPUFC4IKmJ/50n9Qwq5CvLMIMqIdXjFFq6s+1ZWeX5YWaFk4lYVnuBrpOsaaG6/neAFsqlS+suTvGv6lx6og1qnWtaiYLLKvBNXTQSxp03ORat61vxmTG4lBz3/SkOJDj5b3J/kFDmodcHTGDF1A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=EjKtA/vn; 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="EjKtA/vn" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D4251C4CEE3; Thu, 1 May 2025 14:15:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1746108904; bh=74FhrJh/PVR7GJ71RoyC0LIfdgNWhRpF0kK6l8m3OCM=; h=From:To:Cc:Subject:Date:Reply-to:From; b=EjKtA/vnpOOQ4NvLplmvf1Iz28mO293QAudk20fb6Dgoioz2z5FtL/TP0TTwEKMiX tjDujxOfDP3hUe2OqBU/dkFVtt7OgFqpSOvJL66woVWmbpElJcTiLZG2Dr7qjZno+g NS+YJHnrGmF5Fgyi4gDTZzR7vO6UO04mYuSV36Ns= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49848: phy: qcom-qmp-combo: fix NULL-deref on runtime resume Date: Thu, 1 May 2025 16:10:38 +0200 Message-ID: <2025050143-CVE-2022-49848-0e49@gregkh> X-Mailer: git-send-email 2.49.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=2171; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ai9oOMexgArX1dDcocSesqlwk9pLDcXIE3K/Q0zJBpY=; b=owGbwMvMwCRo6H6F97bub03G02pJDBnCDcsLvh+pM9lkZT9l4tG5G0xudd4ObGhsdzJjZ1l7R sFO4efyjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhI4QmGBSsmd2xKCjydX1D5 sOxLdlrNA5aVmxhms56aZHTMYumXgj2tjco8Xukf/zmWAwA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: phy: qcom-qmp-combo: fix NULL-deref on runtime resume Commit fc64623637da ("phy: qcom-qmp-combo,usb: add support for separate PCS_USB region") started treating the PCS_USB registers as potentially separate from the PCS registers but used the wrong base when no PCS_USB offset has been provided. Fix the PCS_USB base used at runtime resume to prevent dereferencing a NULL pointer on platforms that do not provide a PCS_USB offset (e.g. SC7180). The Linux kernel CVE team has assigned CVE-2022-49848 to this issue. Affected and fixed versions =========================== Issue introduced in 6.0 with commit fc64623637da5e964566628bc0e660e93dc7a395 and fixed in 6.0.9 with commit c559a8b5cfa3db196ced0257b288f17027621348 Issue introduced in 6.0 with commit fc64623637da5e964566628bc0e660e93dc7a395 and fixed in 6.1 with commit 04948e757148f870a31f4887ea2239403f516c3c 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-49848 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/phy/qualcomm/phy-qcom-qmp-combo.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/c559a8b5cfa3db196ced0257b288f17027621348 https://git.kernel.org/stable/c/04948e757148f870a31f4887ea2239403f516c3c