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 7FBD62D73A1 for ; Tue, 7 Oct 2025 15:20:12 +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=1759850412; cv=none; b=EJd2IBp6GiJcgwnxeFISqqNDZgVKZhFq1IyePVNATs+5u4oKrx04UxdLjUTHf/Z4FevFFElKWd01pep05yFyC6O1PIjMTKpwR6WjTE2gjOb45liC+sWJa/YafYiJ5+0lBFfFGMTEr32uMhl/msVpuunz9ILzf/XxuE2YAWO2/to= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759850412; c=relaxed/simple; bh=5Dg7txVg3dEPCI2cCUNGl9YoPWXWfprHO0iGIIg9glE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=lofUV6AgF0LAfpk8XePPmypZJTeOV5LxbhBL5mJdqKNExH5YARqzctZdyZrSTjdY7QJM7SyMmLpdV1ESc+DEhB3bQ1ZCJRtXyXdHIpoHZ2WrgE36oHf9T6KCz4TjAlP1Tt/FO1SxJ65OEKjy8xR3jLFo1FMF31c9xCQMLXA6BO0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=SaxDdXRl; 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="SaxDdXRl" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B5ABBC4CEF1; Tue, 7 Oct 2025 15:20:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1759850412; bh=5Dg7txVg3dEPCI2cCUNGl9YoPWXWfprHO0iGIIg9glE=; h=From:To:Cc:Subject:Date:Reply-to:From; b=SaxDdXRlG5sMBR1ssdyu+IGNx8kf6688qcrtx2kcSPTxvAbE5Sb39ssrM31Im42Kr +YszpbSlLNu2tunkGYIUI5pVe60SCSrRCqzXAUhU39YVeeyRXAqhxUWteqEqmyfDg1 TyjrNi1aC8E92zJ+MC3I+sZ0RHL9wtCBt+WpMgHs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50528: drm/amdkfd: Fix memory leakage Date: Tue, 7 Oct 2025 17:19:15 +0200 Message-ID: <2025100706-CVE-2022-50528-1d20@gregkh> X-Mailer: git-send-email 2.51.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=2309; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=DuVku8BytCO5U32m0Ip9fsvBJQmzVcUxlGbcnQFbMQ8=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlP9bOstftEHtY8XLrCjX3Rugl38ux4axruK3k67Vk2U 2VJhYRgRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEyE9zjD/JoO1t75q4qXJ6/1 616jsSLt3IW4Aob5IQtcfD9bqP6R4P93kP2S3eYs565dAA== 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 memory leakage This patch fixes potential memory leakage and seg fault in _gpuvm_import_dmabuf() function The Linux kernel CVE team has assigned CVE-2022-50528 to this issue. Affected and fixed versions =========================== Issue introduced in 5.14 with commit d4ec4bdc0bd5ad352854473ba4dcbdb39fd5bfdd and fixed in 5.15.86 with commit 8876793e56ec69b3be2a883b4bc440df3dbb1865 Issue introduced in 5.14 with commit d4ec4bdc0bd5ad352854473ba4dcbdb39fd5bfdd and fixed in 6.0.16 with commit 7356d8e367d0e025a568e369c4cf575722cac60f Issue introduced in 5.14 with commit d4ec4bdc0bd5ad352854473ba4dcbdb39fd5bfdd and fixed in 6.1.2 with commit c65564790048fa416ccd26a8945c7ec0cf9ef0b7 Issue introduced in 5.14 with commit d4ec4bdc0bd5ad352854473ba4dcbdb39fd5bfdd and fixed in 6.2 with commit 75818afff631e1ea785a82c3e8bb82eb0dee539c 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-50528 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/amdgpu/amdgpu_amdkfd_gpuvm.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/8876793e56ec69b3be2a883b4bc440df3dbb1865 https://git.kernel.org/stable/c/7356d8e367d0e025a568e369c4cf575722cac60f https://git.kernel.org/stable/c/c65564790048fa416ccd26a8945c7ec0cf9ef0b7 https://git.kernel.org/stable/c/75818afff631e1ea785a82c3e8bb82eb0dee539c