Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 B10CB3793C3 for ; Thu, 24 Sep 2026 16:22:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790266928; cv=none; b=uAuQ/t6MmGwGm9TMz/ykZuiMKfdOFJzznj3d7iWhdQ//JrBewy+34pA9CxhzuDOzFdURFgs7Ei+1pYmRLi9aCyOjPswshfbWSOm/cWuv4sYF94sfI2kF9PeM9vk/rTtAoor8ZSX2a5HB7rM7t6TlkqhryGCS7ml6ASi4/MIF/c4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790266928; c=relaxed/simple; bh=IeHKi53XySk5hAKa7ycsPQudw/iHYrXDjQ5U/Nt2KIE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=VqXPH9b0QRTxReyBiUIeRHysVsyOH3iBTLKNuPn1ZaG8B/nUCHibk+qJpSgReVAH9ghOB4EkiN4oelbb8YPCWix8549hw8MO70HHjE7gQsOPm5hky7px4U/QbXWPmyGSGS3+Dz7GMCIABx8ngugMVa17DgXIbRJREm3vN9gX9+k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=IbhlVIym; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="IbhlVIym" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CFF4B1F000FF; Thu, 24 Sep 2026 16:22:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790266927; bh=LM0HzSQDZBUXAO9wlW6tDCUyXF5buPyzyDUziGBacXo=; h=From:To:Cc:Subject:Date:Reply-To; b=IbhlVIymVtz2Q6dfKFaMKLi1v2owhLv68f3ZyGZZRNnftumfVTwNApvfXB7vd37zE hA4UnMhxpZ0cv5F3VgidF59fSBzpVuCnHzJBYX+NNmbBx4ii1G/H4vwm0QAZ/7+mBE l+MhtGVd5dSmc88AQUndRxYWE+XK0lWP3PS752cY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-97497: drm/amdkfd: Check bounds for allocate_sdma_queue restore_sdma_id Date: Thu, 24 Sep 2026 18:04:22 +0200 Message-ID: <2026092440-CVE-2026-97497-4629@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1972; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=1KgTwW0HMzCqp1w/GUwvuCQWo/1K2N29aKZBwDEXihM=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlbPRfEnTgxf6rqPt7JG3785G4/pRRfwBagnrvxz99VY su81DUXd8SyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBE/ksyzBWdu7L3ZlN1UaGV fyXX721t3ZIiPxnm8L6P3Dt5Dv/FpI7E28ntU564Nk3iBwA= 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: Check bounds for allocate_sdma_queue restore_sdma_id allocate_sdma_queue has an option where the sdma queue id can be specified (used by CRIU). We weren't bounds-checking that value. Confirm it's less than the maximum number of queues. The Linux kernel CVE team has assigned CVE-2026-97497 to this issue. Affected and fixed versions =========================== Fixed in 6.12.111 with commit 42f2bd50236b61ad0aeb2c233c990ee0d615fdad Fixed in 6.18.53 with commit dd2870ca036e1d51baa59f942007b36a595b5890 Fixed in 7.2 with commit bfe9a7545b2a7be1c543f1741e16f2d5ec4116ae 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-2026-97497 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_queue_manager.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/42f2bd50236b61ad0aeb2c233c990ee0d615fdad https://git.kernel.org/stable/c/dd2870ca036e1d51baa59f942007b36a595b5890 https://git.kernel.org/stable/c/bfe9a7545b2a7be1c543f1741e16f2d5ec4116ae