Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-31490

published high CVSS 3.1 · 7.8

drm/xe/pf: Fix use-after-free in migration restore

Published
22 Apr 2026, 13:54:14 UTC
Updated
05 Aug 2026, 12:23:02 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux1ed30397c0b92b97381dbd11362fdbbf93e046d2 to < e28552b4ddea5cb4725380dd08237831af835124 · 1ed30397c0b92b97381dbd11362fdbbf93e046d2 to < 87997b6c6516e049cbaf2fc6810b213d587a06b1 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.19 (affected) · 0 to < 6.19 (unaffected · semver) · 6.19.11 through 6.19.* (unaffected · semver) · 7.0 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

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)

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerable restore write path is reached through local kernel interfaces, primarily the Xe VFIO migration resume data fd and also PF debugfs migration_data, not by network packets. AC:L - An attacker with access to the migration write interface can deliberately write a malformed complete packet, get an error from restore production, and then issue a subsequent write against the stale pending pointer. PR:L - The debugfs path is root-only, but the same helper is exposed through xe-vfio-pci migration to a process with an assigned VFIO device fd, which is commonly delegated to an unprivileged VMM user. UI:N - No victim action is needed once the attacker can operate the local VFIO/debugfs migration interface; the attacker directly performs the state transition and writes restore data. S:U - The bug corrupts host kernel memory from a host kernel driver path, so the impact remains within the same kernel security authority. C:H - This is a kernel use-after-free on a packet object containing attacker-influenced header and buffer pointer state, which can plausibly be shaped into disclosure of kernel memory. I:H - The stale packet pointer is reused on later writes, including copy_from_user through fields from freed/reallocated memory, making arbitrary kernel memory corruption defensible. A:H - At minimum the dangling pointer can be triggered repeatedly to cause kernel oops, panic, or device/host instability.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 1ed30397c0b92b97381dbd11362fdbbf93e046d2 to < e28552b4ddea5cb4725380dd08237831af835124 (affected · git)1ed30397c0b92b97381dbd11362fdbbf93e046d2 to < 87997b6c6516e049cbaf2fc6810b213d587a06b1 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.19 (affected)0 to < 6.19 (unaffected · semver)6.19.11 through 6.19.* (unaffected · semver)7.0 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

2

Provider assertions

1

Linux · cna

drm/xe/pf: Fix use-after-free in migration restore

Provenance

Schema
5.2
Searchable
yes
Content hash
eac7d5784cbe65c35a9f8c27dacccfa09a95f5d700bd731631e8d8e592c14dd1
Ingested
23 Sep 2026, 09:09:24 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected