# CVE-2026-31490: drm/xe/pf: Fix use-after-free in migration restore

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-04-22T13:54:14.241Z
- Modified: 2026-11-11T23:10:00.263Z
- Weaknesses: CWE-416
- Assigned by: Linux

## 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)

(As written by CVE List.)

## Affected

- Linux Linux: from 1ed30397c0b92b97381dbd11362fdbbf93e046d2 before e28552b4ddea5cb4725380dd08237831af835124; from 1ed30397c0b92b97381dbd11362fdbbf93e046d2 before 87997b6c6516e049cbaf2fc6810b213d587a06b1; 6.19 (not affected: before 6.19; from 6.19.11 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 6.19.1 before 6.19.11; 6.19; 7.0

## References

- <https://git.kernel.org/stable/c/e28552b4ddea5cb4725380dd08237831af835124> (patch)
- <https://git.kernel.org/stable/c/87997b6c6516e049cbaf2fc6810b213d587a06b1> (patch)

## Sources

- CVE List: [CVE-2026-31490](https://www.cve.org/CVERecord?id=CVE-2026-31490), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2026-31490](https://nvd.nist.gov/vuln/detail/CVE-2026-31490), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-31490 · Whole record: https://cve.day/CVE-2026-31490.json · Rebuilt by cve.day 2026-11-25T22:59:19.290Z
