Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 5F26730DEB0 for ; Sat, 14 Feb 2026 16:05:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771085126; cv=none; b=hgG8Wl86CRnoMUte0jzE5vHlhzTS0Sp3lQLdNVOmq5TD3jHQDj5fQDK+mfFuTC0IjIy33YFhEIxwTjwdzk/GijtHizGUP/J1L1nakCbLj+CKWFtZqSY6Oghs+JW4lQnx+tAacv8nrTfz5ZoZce9qPkggWnErHapiRntjwjUP/qU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771085126; c=relaxed/simple; bh=bf65f9YRjSoEFpVZ3xCYq4SPVLV2+UQdizu2uGoLoGI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=t+p/lKZRfCgWr97rB7XA3tDkKRtD4jI8QhnMjxBEksd8HoiXzkdSFFhgJ6hxM5d9Xo96/cvCaBpu1tj3KwWAwHObLLV1l1LpY4mCsHKYrxo/9VgQAHgK5g98ZmF8jg7ieiaXTcwCbAgIbxr5J/rK99DA83wpRDGNStXL6M09FDU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=pBkNvaxH; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="pBkNvaxH" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A807CC16AAE; Sat, 14 Feb 2026 16:05:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1771085126; bh=bf65f9YRjSoEFpVZ3xCYq4SPVLV2+UQdizu2uGoLoGI=; h=From:To:Cc:Subject:Date:Reply-To:From; b=pBkNvaxH/2/OGDhB8wNZ+9DzQu/HilpDTUYeWNYw8h9GeONquxzIeXQpZEu9yBvH9 G5KyXY4t9uh346Ta78GF/0q3tvDBMEMU2e+wja4qjm+StJ7V9Izls1Yb/jUiUo08en nGCBrxlINm75pymL6JiX0ZqljNf6wWinJv4d9TXo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23162: drm/xe/nvm: Fix double-free on aux add failure Date: Sat, 14 Feb 2026 17:04:28 +0100 Message-ID: <2026021418-CVE-2026-23162-da25@gregkh> X-Mailer: git-send-email 2.53.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=2953; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=NVhtCOq6X7k1tX/U2Dl03wpwfvv1bHHb2cxU1RanBYM=; b=owGbwMvMwCRo6H6F97bub03G02pJDJkT5jKt/Bpy5IPV0eLbpsqTor5w398aLfGnqnuG8PcbS 448/vmJoyOWhUGQiUFWTJHlyzaeo/srDil6GdqehpnDygQyhIGLUwAmoszEsKCpqfPMVmWlai9O y7hmT9YDGtXfjRjm172yDViTa33MROCx2tbsmz0L5NJuAQA= 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/nvm: Fix double-free on aux add failure After a successful auxiliary_device_init(), aux_dev->dev.release (xe_nvm_release_dev()) is responsible for the kfree(nvm). When there is failure with auxiliary_device_add(), driver will call auxiliary_device_uninit(), which call put_device(). So that the .release callback will be triggered to free the memory associated with the auxiliary_device. Move the kfree(nvm) into the auxiliary_device_init() failure path and remove the err goto path to fix below error. " [ 13.232905] ================================================================== [ 13.232911] BUG: KASAN: double-free in xe_nvm_init+0x751/0xf10 [xe] [ 13.233112] Free of addr ffff888120635000 by task systemd-udevd/273 [ 13.233120] CPU: 8 UID: 0 PID: 273 Comm: systemd-udevd Not tainted 6.19.0-rc2-lgci-xe-kernel+ #225 PREEMPT(voluntary) ... [ 13.233125] Call Trace: [ 13.233126] [ 13.233127] dump_stack_lvl+0x7f/0xc0 [ 13.233132] print_report+0xce/0x610 [ 13.233136] ? kasan_complete_mode_report_info+0x5d/0x1e0 [ 13.233139] ? xe_nvm_init+0x751/0xf10 [xe] ... " v2: drop err goto path. (Alexander) (cherry picked from commit a3187c0c2bbd947ffff97f90d077ac88f9c2a215) The Linux kernel CVE team has assigned CVE-2026-23162 to this issue. Affected and fixed versions =========================== Issue introduced in 6.17 with commit 7926ba2143d8fef40bb940232818c7363e33598c and fixed in 6.18.9 with commit 32887d8e4bc0696b3cb6c5915a42b39cfd3434f4 Issue introduced in 6.17 with commit 7926ba2143d8fef40bb940232818c7363e33598c and fixed in 6.19 with commit 8a44241b0b83a6047c5448da1fff03fcc29496b5 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-23162 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_nvm.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/32887d8e4bc0696b3cb6c5915a42b39cfd3434f4 https://git.kernel.org/stable/c/8a44241b0b83a6047c5448da1fff03fcc29496b5