Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792758879; b=4kNxn3qlk59nF4E8zlF91SYWjeDOHp1mtfvqR5UyPLDwwWMQaFLnX5NdhFbfkWwjSIQw n+FLIyi9o3Oq6j4MOzRd5soabXlcf8uHapc7rhFQ5MXahvi9OP+TRdhzJS8mDLVaFQd97 04rg/G7du/0VORliab/cAqxDMRhnXdmzBGXq5EA9xUVSDmPPL2rYUfbAmvkuIB+fSP5sq kb/SB1nER5YXVuL2WfBQ9Eg0vywrrK6nD6zdMjaLJN3hMe7Er8SCgKRgu3WEzg8K66WyJ otXjgNwlYDoAnPugC4xsEnSzxPUAiYmufbLt7daFJ3f4CPxesow43J/qYbgUh1yXaWg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792758879; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=qHfTK8teSvgGZxK16/s2UBPir3IMyLSxDDNRKRmobKY=; b=zfKYyP1TJ+o8kIGebE9oOPiQ/0N+yxgbpYEqI/SfJU2oq8orOE9UpEIVyQ884Z5gf2WW EdVMoPSFeJE2yCrvDP0XMg0Ko+JZlZJONMUxcdc7Ufz6mR4FEGVBddI8r0DiVWdDVK5hU 6Q7a1MyG/I9Yrgul8qRzkUliLyBNSvQUTelbF89pMw8l8uGRJiBazqmJCrP+ASFoCIXVF Z6z8aJj+w/wUuIlPhsDPLP+yRLxmBuT8NOjwyRkXT7KCM7cHWIb0kGmGi6CqqKjqatP5S Ob8La+XUgo3XbBk3LQqDhxgu0a8exLdNFh6sx7Vh+th00ErvQ8SLxOE9V0aMJ/awgSA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=TrU0cgLf; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 21EE9606A31F for ; Fri, 23 Oct 2026 12:34:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=TrU0cgLf Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8163F1F01825; Fri, 23 Oct 2026 12:34:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792758879; bh=qHfTK8teSvgGZxK16/s2UBPir3IMyLSxDDNRKRmobKY=; h=From:To:Cc:Subject:Date:Reply-To; b=TrU0cgLfPPdeLF8C5mUl4C6G6xDlXAhEl2KW3vGPkjpSWEgmAz3ttzl28Yjlwc5sv o+rGyd77eawJJr/n8+meL1ZiXG5YMl8WP2vYAWtJ/R+1QEim0qHqHH3j7Bq7IQocA0 KeKN8syDAYEwiM9dYJbOiBNam00+QEHwJK0VzFs4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99006: drm/i915/gem: Prevent overstepping exec array boundary Date: Fri, 23 Oct 2026 14:20:08 +0200 Message-ID: <2026102318-CVE-2026-99006-379a@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3189; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=FynU67TnVqVEO2apEOfSfqH+jpKHaCuOKHgGuQkS5Z8=; b=owGbwMvMwCRo6H6F97bub03G02pJDFm3A46zNej9bn/atEv7WVbqtot5N3ZqPedu808MmhnR4 bp2apRCRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzE6x3DglnM3KlfpV7VHErX 5ejytmJUiF71jWF+9b/9qs/PGhdkdN0ve7atwMTc/OBDAA== 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/i915/gem: Prevent overstepping exec array boundary It is possible for eb_relocate_parse_slow() to call kvfree() on entries outside the original exec array during following scenario inside eb_relocate_parse_slow(): 1) eb_copy_relocations() allocates as many as eb->buffer_count copies for exec entries; 2) eb_parse() appends up to two VMAs, right after incrementing eb->buffer_count; 3) cleanup under "out" label uses this incremented buffer_count to release relocation pointers from exec array via kvfree(), not from VMA array. To amend this problem, ensure that relocation cleanup uses the original exec object count, excluding the VMAs appended by the command parser. (cherry picked from commit 2a0158925fb943c7ba8f3216e2734952128defc9) The Linux kernel CVE team has assigned CVE-2026-99006 to this issue. Affected and fixed versions =========================== Issue introduced in 5.10 with commit 8e4ba491b0ba6fef69270d3c4e48fc517096ef41 and fixed in 6.6.160 with commit 24c04e80c35ff36947366f6deafddb522eea080c Issue introduced in 5.10 with commit 8e4ba491b0ba6fef69270d3c4e48fc517096ef41 and fixed in 6.12.113 with commit b1c357131fc467c579f65e9a9d1fdc1a6273ae1d Issue introduced in 5.10 with commit 8e4ba491b0ba6fef69270d3c4e48fc517096ef41 and fixed in 6.18.57 with commit 152fb5083b9333a1cb8629572f9e0f276a404ba6 Issue introduced in 5.10 with commit 8e4ba491b0ba6fef69270d3c4e48fc517096ef41 and fixed in 7.2.11 with commit 72d5cbb10d4916a3f8ef9da516c5c0634aca8439 Issue introduced in 5.10 with commit 8e4ba491b0ba6fef69270d3c4e48fc517096ef41 and fixed in 7.3 with commit ebe162db655881a38de43301151ff7ac940602b5 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-99006 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/i915/gem/i915_gem_execbuffer.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/24c04e80c35ff36947366f6deafddb522eea080c https://git.kernel.org/stable/c/b1c357131fc467c579f65e9a9d1fdc1a6273ae1d https://git.kernel.org/stable/c/152fb5083b9333a1cb8629572f9e0f276a404ba6 https://git.kernel.org/stable/c/72d5cbb10d4916a3f8ef9da516c5c0634aca8439 https://git.kernel.org/stable/c/ebe162db655881a38de43301151ff7ac940602b5