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)
https://git.kernel.org/stable/c/e28552b4ddea5cb4725380dd08237831af835124
https://git.kernel.org/stable/c/87997b6c6516e049cbaf2fc6810b213d587a06b1