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 D3C1E381EAE for ; Sat, 25 Jul 2026 09:19:34 +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=1784971176; cv=none; b=Db79XNYq5MGen0VDYeDwyKoFLkz8eALYjjGKGsxzdTDxzCCRchorefwRRO6JNo1iCzAVi8A7iUTWXOXtuOeAOPgF9iw3qBT+UL0IOst5FxNhEVbmjzeGDumM+fKMOyVe248DWwjbQ2TLAZSc2dT4AEMrJBeLJkPqtS1MWp6Ucz4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784971176; c=relaxed/simple; bh=hwR5Ni2/kd7RH7aD/nW9+txYKgLMzEe7S0m5bYNWhcI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=fJStPIr/bnWpkNLcz0b7OxMbtkJJJjzbmrmySyo9yFN0KxM4ZwOShN+xe2GuyKWAYx28outzVIBNwmM6G8EPpkMeMOK3j7fAm00JLaiL/zHMZT4JTSO89uFAUXtTP9CV6x+Z4hx8ckaOBG6vihPKw00orjdXH23RGrlvjPgMipo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=U6ImXo5O; 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="U6ImXo5O" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D0B241F000E9; Sat, 25 Jul 2026 09:19:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784971174; bh=Tde+TmQmklIEJxYHolIW/J5bI8UDqyquqeo0RVJMuEI=; h=From:To:Cc:Subject:Date:Reply-To; b=U6ImXo5OLgXmDgEa+ABhrbeAuSu1hTnTJrYhA2rb2Rx2T4pW3HEGrAW0B0BurYbSc yyM/QNmtpIo/JndsV/lRrWr+zni6w4plGKA2xPemMQwO5w8Z2lRGm9xWLkqN8G00WE 6azWdSlvHqfieP+MLD0PDQskRKQFlzLYlHw0jz+c= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-64517: drm/xe/gsc: Fix double-free of managed BO in error path Date: Sat, 25 Jul 2026 11:13:38 +0200 Message-ID: <2026072537-CVE-2026-64517-444d@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=2693; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=KD/Bq/cEvF2JhMy1TceSxzj2xGCDpIRav0GVHyac6Fg=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkpdY7TZtalHvh8v44/QIojUShpXubaf/Ma2O59dvxzP Ut5irBURywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEwkiIVhwfLtXvHvz/4S0L0V czWmwbmXwW6BLMNcuXCBuO737E8OCcRKCe1b/ujmzktnAA== 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/xe/gsc: Fix double-free of managed BO in error path The error path in xe_gsc_init_post_hwconfig() explicitly frees a BO allocated with xe_managed_bo_create_pin_map() via xe_bo_unpin_map_no_vm(). Since the managed BO already has a devm cleanup action registered, this causes a double-free when devm unwinds during probe failure. Remove the explicit free and let devm handle it, consistent with all other xe_managed_bo_create_pin_map() callers. (cherry picked from commit 71d61e3e299a17139e47f980a4d6f425b2c59bf7) The Linux kernel CVE team has assigned CVE-2026-64517 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12 with commit 2e5d47fe7839298fa096970e184aac9bf82c3bd3 and fixed in 6.12.92 with commit 7cb975fcd4777e7bad688f66aa0c10c16dd8276b Issue introduced in 6.12 with commit 2e5d47fe7839298fa096970e184aac9bf82c3bd3 and fixed in 6.18.34 with commit 2c890e71ae26fa32f5a96c3694b71a2c310940e7 Issue introduced in 6.12 with commit 2e5d47fe7839298fa096970e184aac9bf82c3bd3 and fixed in 7.0.11 with commit 889f70de2b51a877339e1979aab95111b41bed75 Issue introduced in 6.12 with commit 2e5d47fe7839298fa096970e184aac9bf82c3bd3 and fixed in 7.1 with commit d3ded53fab90996e7d94a39049e11962dd066725 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-64517 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/xe/xe_gsc.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/7cb975fcd4777e7bad688f66aa0c10c16dd8276b https://git.kernel.org/stable/c/2c890e71ae26fa32f5a96c3694b71a2c310940e7 https://git.kernel.org/stable/c/889f70de2b51a877339e1979aab95111b41bed75 https://git.kernel.org/stable/c/d3ded53fab90996e7d94a39049e11962dd066725