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 59E403CD8C5 for ; Mon, 10 Aug 2026 12:07:59 +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=1786363680; cv=none; b=rscWxb58zNGC1M9uLt/Hqrf7u+Wh3jpeiWI/IljLqCEceD6BMN9RQSdXMh4+r+yNSLbY8khpGldlRIJySxvP1A9jqm+uHvnfJlpWH+3O5zID2zA89LFj6mvge2/f8VjSI7rTGyCuTsjEGPMpVrmlKRcxeP6P0WXBBsaTiw16Oa4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786363680; c=relaxed/simple; bh=91DTi0ujPdr+dOZ/0rGOkjPVeWirsqZf6aSSrqtcs5g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=AzmLwtXihyD2DK7LNqxpnhuodTPIumH7P9E6S+wI3IYMo51DeU6oSx87g9ir3laaZ/gVCHH1r3/0M6DYd2A3CYe1DOBAfGCp0VbLKEmsH1c9l0LueYx2D9o89xeXXR/M8dGz2V4dymoygo2FRRpO9UERM32anfYeyUQsjFqYxXo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=FXz0AjlF; 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="FXz0AjlF" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 802BE1F000E9; Mon, 10 Aug 2026 12:07:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786363678; bh=wqJIUhHYyPBUKl1avFBzo6BvwwlmNq3v84bi2ZatbtU=; h=From:To:Cc:Subject:Date:Reply-To; b=FXz0AjlFxJhww0ecteKWIU9KU5QJSZ6TswuAa3RxDcRJYBmkBUTjalT3LyjBqC6bX 9AmeyryS1nOOwT5f9Hx9oux2Ad0OfbwYO4g3/Y31HBbl0kSjPjp7anFIzoyLjOVPLF 8/rqCMsWe+f34qzEEEkvKsASMShxwnPWAUphsTns= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-68259: drm/amdkfd: Check bounds in allocate_event_notification_slot Date: Mon, 10 Aug 2026 13:59:36 +0200 Message-ID: <2026081022-CVE-2026-68259-2539@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=2559; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=feH1xRPztoFu/VZlRSgad/CsjvpVQHQNNRaFonIKLkQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmVexa5mXJ9zru+3eL0DMHHDzLebtu3Zt1igTY1xs29P WvtK2eodcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEdN8wLDjPt7ju8eobcTf7 o6QVzke4Nj3q6WSY71fk0LeOJydx0WnVywwtbgwPJZZsAQA= 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 in allocate_event_notification_slot The valid event ids go from 0 to KFD_SIGNAL_EVENT_LIMIT allocate_event_notification_slot has an option to specify an event id to allocate at, used by CRIU. We weren't checking the bounds on that value. Check them. v2: Lower bounds check is unecessary because of idr_alloc already rejecting negative numbers. Upper bounds check should be KFD_SIGNAL_EVENT_LIMIT since the signal mode mappings might not yet exist (cherry picked from commit 6853f1f6cbbeb3f53ebbbd7286536aeb2c5d5f50) The Linux kernel CVE team has assigned CVE-2026-68259 to this issue. Affected and fixed versions =========================== Fixed in 6.6.148 with commit 85eedff5f0c4aba5a66bc37a1bd6bcecd0d77b53 Fixed in 6.12.101 with commit 4622214f0542f64b02c250db0f9c677eeb032d9b Fixed in 6.18.42 with commit 50319efb865f72db45f191c8709511746d58ee0a Fixed in 7.1.6 with commit abeeb1947d81610c65349db4d89c6151f270e136 Fixed in 7.2-rc3 with commit bb52249fbbe948875155ccd45cd8d74bf4ae747b 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-68259 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_events.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/85eedff5f0c4aba5a66bc37a1bd6bcecd0d77b53 https://git.kernel.org/stable/c/4622214f0542f64b02c250db0f9c677eeb032d9b https://git.kernel.org/stable/c/50319efb865f72db45f191c8709511746d58ee0a https://git.kernel.org/stable/c/abeeb1947d81610c65349db4d89c6151f270e136 https://git.kernel.org/stable/c/bb52249fbbe948875155ccd45cd8d74bf4ae747b