All reports
Medium

kernel: drm/xe/pf: Fix use-after-free in migration restore

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-31490

Probability of exploitation in the next 30 days: 0.13%

FIRST EPSS · 2026-11-22

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)

A flaw was found in the Linux kernel's drm/xe/pf component. This vulnerability occurs when an error is returned during a migration restore operation, specifically from the xe_sriov_pf_migration_restore_produce() function, and the associated data pointer is not correctly cleared. This can lead to a use-after-free condition, which may allow an attacker to corrupt memory or cause a system crash, resulting in a denial of service.