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 338463769EF for ; Sat, 15 Aug 2026 06:24:28 +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=1786775069; cv=none; b=Mutgy7FuWyTkBBgChU92LLm/463ZhjVvd8j5kcgAubkMiPnp0dOnayEGQ7gekU7NBsq20fcE4M+yNsP0u2yjPln/6oPpKpW1t1W/zOe9Jwn7A5dhuwnGzvDuqTPs+4o4j7fj68rUNsRZt0v4YcvBDzKAWH3fjjGLYh1YdtsEELE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775069; c=relaxed/simple; bh=0oMH/v5C4Tzu5boSGNsUynxt15smpdy1D+3cseQkyD8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=giwhu5i1S+++a2OIKgofJKJZbSv5I1K4Klrk6HMbSF934hoLNUcAS+PgIq0IihyPzVWDFVlPY5JQtcpmv90aS+J+NCE7mn60n/gt5+nnfcFeX5jdz39Lb/OZpbADDUYj+TJZ1NTo5uXK9uPY4mA1ub4PzSrj6SZ7T0MD1II36Ps= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=fkc+WbVn; 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="fkc+WbVn" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 706E61F000E9; Sat, 15 Aug 2026 06:24:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786775068; bh=6uz4XhJQXLEcsSCjTvh6l7HvTcdnUSB29EnlPL1cF9E=; h=From:To:Cc:Subject:Date:Reply-To; b=fkc+WbVnSAJ0e/UfWTmC3WW3EM1gNB9R73LwcQ0ELh0Y49mNsUKgSLeKXJ2MNhtkT YWKQXh0hmXmrOtrn+DO3diB9T82U/gAMUHnSYH8DXkHf4icoMCTZiVzwybmx7DppWb /vJpPrAoTQJYOCwABL68UW7tVJoNjANp4k77M7Ow= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72361: drm/xe/hw_engine: Fix double-free of managed BO in error path Date: Sat, 15 Aug 2026 15:07:20 +0900 Message-ID: <2026081514-CVE-2026-72361-8a35@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=2692; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=sZJDECli2R0utG82OTfI9gfYG4TCgCyjnvnLiZ4TPM4=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDM/2z8q7UsFi/HOKQW6/UU2dWzLf8ltsxflxIufOb tbTYv7cEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABPR7maYw109ZdLGt7IHjE6w b/qx+uLVzPzZtQzzfVd4n7LpuFC10H/yX+s1d9bH7tVeCgA= 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/hw_engine: Fix double-free of managed BO in error path The error path in hw_engine_init() 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 e459a3bdeb117be496d7f229e2ea1f6c9fe4080b) The Linux kernel CVE team has assigned CVE-2026-72361 to this issue. Affected and fixed versions =========================== Issue introduced in 6.8 with commit 0e1a47fcabc8ffa6f460c60c2caa04e51170fa22 and fixed in 6.12.97 with commit 1f6b44d555ecce61e249220f2ca4d75cdb90caf6 Issue introduced in 6.8 with commit 0e1a47fcabc8ffa6f460c60c2caa04e51170fa22 and fixed in 6.18.40 with commit a0a56b4480a0dc921a42cd70e9fc081a12ab8359 Issue introduced in 6.8 with commit 0e1a47fcabc8ffa6f460c60c2caa04e51170fa22 and fixed in 7.1.5 with commit 23ee91355e31947595b86ebb9ef4664f20fd926d Issue introduced in 6.8 with commit 0e1a47fcabc8ffa6f460c60c2caa04e51170fa22 and fixed in 7.2-rc2 with commit 7ac3cae7a251d28e9079de07a991bd4eb2bb7fd8 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-72361 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_hw_engine.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/1f6b44d555ecce61e249220f2ca4d75cdb90caf6 https://git.kernel.org/stable/c/a0a56b4480a0dc921a42cd70e9fc081a12ab8359 https://git.kernel.org/stable/c/23ee91355e31947595b86ebb9ef4664f20fd926d https://git.kernel.org/stable/c/7ac3cae7a251d28e9079de07a991bd4eb2bb7fd8