Use After Free in Linux

CVE-2026-31490

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)

Vulnerability class: Use-After-Free

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS 0.001, 1.9th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions 1ed30397c0b92b97381dbd11362fdbbf93e046d2, 6.19, 0
  • Linux Kernel — versions 6.19, 7.0

Weakness classification (CWE)

References