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 E5827218821 for ; Wed, 26 Feb 2025 02: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=1740536105; cv=none; b=B1YfH+1PpUiYGO0kSKcRmkcqplkz0n54CjucjzjTx1pxEZrcWj7hRjuvCoeloEpEO0W92m13xemBygTV1k3yTqkzNKlFHhBXm6jqcAVu1XPZAYcwRZcVmrA+KeAC3yhLP2gwKLxvC6UPmBq2CzxkjY9a+VqU+3D8YhLhHxkO6XQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740536105; c=relaxed/simple; bh=fU+n/+ewrnZOj6Uwv1ahFlN2qAESpdpulK6Rid4dbH4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=TeIf4TQvoYDYWfzDYh4EyMMElTiD52RfnQxp+Gczcs0uKQ6ZzeaFPvLCfFXo0p4rpoZR5wLaSul9ElpPIKqJdS7rTw9sdqqFMeWYl5L876D18gOar9Oxb8NAG/HQRUDSj4AOPVl8vN8MLIYW0sakEGvqaTH1jtbfmK7g3vnp1Gs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=wf/Z/tI7; 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="wf/Z/tI7" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B9D3BC4CEDD; Wed, 26 Feb 2025 02:15:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740536104; bh=fU+n/+ewrnZOj6Uwv1ahFlN2qAESpdpulK6Rid4dbH4=; h=From:To:Cc:Subject:Date:Reply-to:From; b=wf/Z/tI7+Y8tAsdC6ebGJruttXMlyW5Z8MX6KTV89rWHeUAHI5f9yHVquESDuOC6k bhQ4flLPFUlc7/aNyQOstQhRNRhRTuYk231CIZNTnsbU5CHoWwoZk/EZSJ16JztXQS GRMM8iTS6UBl4cpMusRrMktEZFB5xZ3UbBv5BlG8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49499: drm/msm: Fix null pointer dereferences without iommu Date: Wed, 26 Feb 2025 03:12:53 +0100 Message-ID: <2025022607-CVE-2022-49499-8617@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=1904; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=fU+n/+ewrnZOj6Uwv1ahFlN2qAESpdpulK6Rid4dbH4=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7yv+naAtIZPyQq/j/dcGhuR9nTPv2qTNgjvbjuh+TJ O9eyDDX7YhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJuDkxLLipxnLH5eZOPtU5 ea5HX4Uk626JUmWYn2FR73P9oNXiiq8/QjcX7JbKlyyQAgA= 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: drm/msm: Fix null pointer dereferences without iommu Check if 'aspace' is set before using it as it will stay null without IOMMU, such as on msm8974. The Linux kernel CVE team has assigned CVE-2022-49499 to this issue. Affected and fixed versions =========================== Issue introduced in 5.18 with commit bc2112583a0b473f5c4ba87c00da84abd5d0b3fd and fixed in 5.18.3 with commit f09937e80f9bc792965476c9a528f26c8fdc9179 Issue introduced in 5.18 with commit bc2112583a0b473f5c4ba87c00da84abd5d0b3fd and fixed in 5.19 with commit 36a1d1bda77e1851bddfa9cf4e8ada94476dbaff 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-49499 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/gpu/drm/msm/adreno/adreno_gpu.c drivers/gpu/drm/msm/msm_gpu.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/f09937e80f9bc792965476c9a528f26c8fdc9179 https://git.kernel.org/stable/c/36a1d1bda77e1851bddfa9cf4e8ada94476dbaff