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 AC03E1E9B37 for ; Thu, 1 May 2025 14:16:00 +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=1746108960; cv=none; b=rJqLT7QJ+GEs1n1p3OZFg9GRDwczlKlL7KzT/xLwYQaztIzb2Vstag4BRpw3vtXWs71rACG4LYc39k0xQMkcFF0odQGJPFAwvCGYKw58vikbdgjgbFxa4rwNVvDc2UsshabrdXLxnE8Dcrwa06DTOLtHBTdV9+J2ouB7a86NsTI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746108960; c=relaxed/simple; bh=nWHtw1skevrCr3lfUPqDO3eWFfUWdyqe2I0CjzzW+R0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=gWsNaDB9nB5WNp7qt3vkFxIQXleAl7Lzq6FkLERoajwsyQ7rsBypO1Umpyb9oOsnBLztcre55WkXwaKMFr31ljTU0JrDfda4EJ2rV8p3h0TSqEfwYCC3NbdIS/7eHufRh8f+4iKN1TREvVgeEnxkmaYYfER2PeX5Vv1qOrv8PNI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=zyy8L5Vn; 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="zyy8L5Vn" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 34DBDC4CEE3; Thu, 1 May 2025 14:15:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1746108960; bh=nWHtw1skevrCr3lfUPqDO3eWFfUWdyqe2I0CjzzW+R0=; h=From:To:Cc:Subject:Date:Reply-to:From; b=zyy8L5VnZdzUeQphhGtGu0E2ajBEO7vodKWqhuVK3J+rgg/BX9/dhhQhes9xPJ8e1 lTtjcnQWj+4MxK8oNobYcl8BOgAnm040VGTIBl8K8+IiMADc/1Ve0mN9XWusqkVjzD m93R7wvzymSkejnCrSub4Rni25yt6M24lecAOzSE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49864: drm/amdkfd: Fix NULL pointer dereference in svm_migrate_to_ram() Date: Thu, 1 May 2025 16:10:54 +0200 Message-ID: <2025050148-CVE-2022-49864-a6b3@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=1857; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=46UDYmJF8qGm2t1BcJMgApbv+F1RtPUk8W4d+JO9Jp4=; b=owGbwMvMwCRo6H6F97bub03G02pJDBnCDWt8DvQpnOY9uLk3sPuAtqSQasl0k0+3ZO8f62vZN UNq6t9JHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRaQcZ5jultH/fE9Mqz5X+ 5+JB4dRX6lPOPGVYcLNSub/YSTHU+Mddfamnuq8fyTpeAAA= 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: drm/amdkfd: Fix NULL pointer dereference in svm_migrate_to_ram() ./drivers/gpu/drm/amd/amdkfd/kfd_migrate.c:985:58-62: ERROR: p is NULL but dereferenced. The Linux kernel CVE team has assigned CVE-2022-49864 to this issue. Affected and fixed versions =========================== Fixed in 5.15.79 with commit 3c1bb6187e566143f15dbf0367ae671584aead5b Fixed in 6.0.9 with commit 613d5a9a440828970f1543b962779401ac2c9c62 Fixed in 6.1 with commit 5b994354af3cab770bf13386469c5725713679af 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-49864 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/amd/amdkfd/kfd_migrate.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/3c1bb6187e566143f15dbf0367ae671584aead5b https://git.kernel.org/stable/c/613d5a9a440828970f1543b962779401ac2c9c62 https://git.kernel.org/stable/c/5b994354af3cab770bf13386469c5725713679af