From mboxrd@z Thu Jan 1 00:00:00 1970 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 D9FC426B2D8 for ; Fri, 9 May 2025 06:42:55 +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=1746772975; cv=none; b=KOF1F+YJe4iWy6FP30kIUSq6No+wpcgoXVCVsAMgiyNrvZ8PSbwZv5249TrO+YpJDNde7N/KZK05xUuVgjgwiS5NMLmosRwlSmTWcB1ja8DpvRSK/DRJdpODrYlwtJonaDq+/pGq5S3c4Jf/uYs0TfGgTJkePENGliL74ZQaa9I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746772975; c=relaxed/simple; bh=0U0lM+hmO7Psat04WupsPNrWvZM6al4aP6ZQ/0SJeiU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=HGYgNadTlv3GMDrMwoMfnOM+3iJJ9DxwKhN31Z9CfyKbmx+AFvMGLhlHWwT9E+RSMWKFaKNTC00DIv7ApQceV+dxa59gdoBm5ZO/Wkdc58wiPaGElS9XodtveSjpjGU3pt0j7cQrEwQe1xex75sMLNk4kXiPNWdNU3AWCw5qLN4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=kVD7ptrw; 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="kVD7ptrw" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0A6D3C4CEE4; Fri, 9 May 2025 06:42:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1746772975; bh=0U0lM+hmO7Psat04WupsPNrWvZM6al4aP6ZQ/0SJeiU=; h=From:To:Cc:Subject:Date:Reply-to:From; b=kVD7ptrwo+HOWX/277AyQTFv3njLHHayoUP85g4ATSAyBw4ZkoALSSs2/n8dFo6Mh DONGSOcoHh5oDd9r8tMsEPnTPB5W8zQJlbpkZMqU0DTxRiGfDGSvWkBU9UrwaSDF4A Z8lLh62Ddp2tz5+cv/xy9cGN3JiZ15t8Tk8JPD/g= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-37853: drm/amdkfd: debugfs hang_hws skip GPU with MES Date: Fri, 9 May 2025 08:42:31 +0200 Message-ID: <2025050920-CVE-2025-37853-e9f7@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=2296; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=CJHto9oV8nIKjYuDtSWT+IiL2k95yJR1KZRbIXVMm5U=; b=owGbwMvMwCRo6H6F97bub03G02pJDBmyi8/4Bxd/zHkcq6lt8O+Z8+I7rNviE76f9jl28FGI+ VHTFXstO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiIg8Z5vs+qnt06/z7N26P w3a7qT7x9n75io1hwbWlJltOmmiEvTONtl74XPm67oXUdQA= 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: debugfs hang_hws skip GPU with MES debugfs hang_hws is used by GPU reset test with HWS, for MES this crash the kernel with NULL pointer access because dqm->packet_mgr is not setup for MES path. Skip GPU with MES for now, MES hang_hws debugfs interface will be supported later. The Linux kernel CVE team has assigned CVE-2025-37853 to this issue. Affected and fixed versions =========================== Fixed in 6.6.88 with commit a36f8d544522a19ef06ed9e84667d154dcb6be52 Fixed in 6.12.24 with commit 1a322b330dc0b775d1d7a84e55c752d9451bfe7d Fixed in 6.13.12 with commit f84c57906f0fd2185e557d2552b20aa8430a4677 Fixed in 6.14.3 with commit 24b9e0e2e6147314c22d821f0542c4dd9a320c40 Fixed in 6.15-rc1 with commit fe9d0061c413f8fb8c529b18b592b04170850ded 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-2025-37853 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_device.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/a36f8d544522a19ef06ed9e84667d154dcb6be52 https://git.kernel.org/stable/c/1a322b330dc0b775d1d7a84e55c752d9451bfe7d https://git.kernel.org/stable/c/f84c57906f0fd2185e557d2552b20aa8430a4677 https://git.kernel.org/stable/c/24b9e0e2e6147314c22d821f0542c4dd9a320c40 https://git.kernel.org/stable/c/fe9d0061c413f8fb8c529b18b592b04170850ded