Linux Kernel DRM XE PF Use-After-Free in migration restore
CVE-2026-31490 Published on April 22, 2026
drm/xe/pf: Fix use-after-free in migration restore
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)
Products Associated with CVE-2026-31490
Want to know whenever a new CVE is published for Linux Kernel? stack.watch will email you.
Affected Versions
Linux:- Version 1ed30397c0b92b97381dbd11362fdbbf93e046d2 and below e28552b4ddea5cb4725380dd08237831af835124 is affected.
- Version 1ed30397c0b92b97381dbd11362fdbbf93e046d2 and below 87997b6c6516e049cbaf2fc6810b213d587a06b1 is affected.
- Version 6.19 is affected.
- Before 6.19 is unaffected.
- Version 6.19.11, <= 6.19.* is unaffected.
- Version 7.0, <= * is unaffected.