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
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.19.11
- CVEs
- CVE-2026-31490
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 11:36 UTC · Revision 1
Source evidence
drm/xe/pf: Fix use-after-free in migration restore
core-osv · Original sourcePublished 22 Apr 2026, 13:54 UTC
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)
osv:CVE-2026-31490
Kernel
Fixed versions: 6.19.11
Complete source record
{
"id": "6f1e2cfb77b25126b87d70d446be5c8ec246e8ea82917e2bca018e94fff0cd6c",
"url": "https://osv.dev/vulnerability/CVE-2026-31490",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "drm/xe/pf: Fix use-after-free in migration restore",
"summary": "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)",
"evidence": "osv:CVE-2026-31490",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.19.11",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2026-31490",
"aliases": [
"CVE-2026-31490"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "1ed30397c0b92b97381dbd11362fdbbf93e046d2"
},
{
"fixed": "e28552b4ddea5cb4725380dd08237831af835124"
},
{
"fixed": "87997b6c6516e049cbaf2fc6810b213d587a06b1"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31490.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "6.19.11"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31490.json"
}
}
],
"modified": "2026-10-28T02:30:28.581007053Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/87997b6c6516e049cbaf2fc6810b213d587a06b1",
"https://git.kernel.org/stable/c/e28552b4ddea5cb4725380dd08237831af835124",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31490.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-31490",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31490.json"
}
},
"related_cves": [
{
"value": "CVE-2026-31490",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 495028,
"published_at": "2026-04-22T13:54:14.241+00:00"
}