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 D4E6A3D1CA8 for ; Wed, 22 Apr 2026 13:56:30 +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=1776866190; cv=none; b=SnsXZap+8WnZx5d/+g3KVPpiTt2gLDJESVKQd5H8Oo0yeULDdB7X+i8H4xPVaU7Exy1bgADMoEITiR7HZANQxEM3e5NFkr4Z3bFcEavPaUiAv9nW3tS/8ONrwjAKkyIipEJRqw3KzaXZ0itTSLKw/KRdzeC7Kcz7nASgWi28DXg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776866190; c=relaxed/simple; bh=Un6m2ND5c+F30Ql1FJuY0o1ccHFQkUZsEQ7I7knmGT4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=gM7zn383mj8Yw9dYRTd/w94KpAUXL8++TZPWwJEfj+nRoM5XPeAKQ3Je/9iozs/YP6jehIVwz+ND/tH4Ct9wQqko+hrt1QKva4QpO+ZRS0IppyH4xZGFDgMU/iB2Dh+SDDGUrpar8qQAVZNYA0MNZp6r86cd9f0+tiP6WbiS/tM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=E/WLqkmY; 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="E/WLqkmY" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6B6B5C19425; Wed, 22 Apr 2026 13:56:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1776866190; bh=Un6m2ND5c+F30Ql1FJuY0o1ccHFQkUZsEQ7I7knmGT4=; h=From:To:Cc:Subject:Date:Reply-To:From; b=E/WLqkmYoURGB0xdJ78Sb1ZZ60RmB+V9XHDR+sYgv8JsZKyhwED2wNgh0Jq3JdyR+ nvCN1VZ3udgT6OmaajMVMq//H32Qd9Ln9wb/qm4rheLUQx5bAcupb9oASQsZwmL4SM pxQOD4Eh779rlaLmK1mgHueCjAXE1KpPHfvkdJ+I= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31490: drm/xe/pf: Fix use-after-free in migration restore Date: Wed, 22 Apr 2026 15:54:36 +0200 Message-ID: <2026042201-CVE-2026-31490-8635@gregkh> X-Mailer: git-send-email 2.54.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=2071; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=SbDHeon+JGFfYkoyLbrHIvYYNES04U44eB0EtHqIJvY=; b=owGbwMvMwCRo6H6F97bub03G02pJDJkvLv005pP6ZW0cYOmxPuKVz7emNasbvsQnsnLJRskrx hyNt/ncEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABNZ0Mww32XjZ1ebV4zJCnxa VTxu/xYdCjG2YFgwKfHX1XzPRYvqJR2+Zj3y9jbSv+IPAA== 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/pf: Fix use-after-free in migration restore When an error is returned from xe_sriov_pf_migration_restore_produce(), the data pointer is not set to NULL, which can trigger use-after-free in subsequent .write() calls. Set the pointer to NULL upon error to fix the problem. (cherry picked from commit 4f53d8c6d23527d734fe3531d08e15cb170a0819) The Linux kernel CVE team has assigned CVE-2026-31490 to this issue. Affected and fixed versions =========================== Issue introduced in 6.19 with commit 1ed30397c0b92b97381dbd11362fdbbf93e046d2 and fixed in 6.19.11 with commit e28552b4ddea5cb4725380dd08237831af835124 Issue introduced in 6.19 with commit 1ed30397c0b92b97381dbd11362fdbbf93e046d2 and fixed in 7.0 with commit 87997b6c6516e049cbaf2fc6810b213d587a06b1 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-31490 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_sriov_packet.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/e28552b4ddea5cb4725380dd08237831af835124 https://git.kernel.org/stable/c/87997b6c6516e049cbaf2fc6810b213d587a06b1