# CVE-2026-31601: vfio/xe: Reorganize the init to decouple migration from reset

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 3, 2026-11-26)
- **Published:** 2026-04-24T14:42:25.287Z
- **Modified:** 2026-11-11T23:10:00.263Z

## Who should check

- Anyone running Linux \>= 1f5556ec8b9efbb784aeb3536e147182dee73d0f, \< 8fa4113fc65b8b29a30fbbca5fd82221dc6e146e; \>= 1f5556ec8b9efbb784aeb3536e147182dee73d0f, \< 73e53ff144a538f1843b3dea1e2740a755031cdc; \>= 1f5556ec8b9efbb784aeb3536e147182dee73d0f, \< 1b81ed612e12ea9df8c5cb6f0ddd4419fd0b8ac8
- Anyone running Linux 6.19

## Description

In the Linux kernel, the following vulnerability has been resolved:

vfio/xe: Reorganize the init to decouple migration from reset

Attempting to issue reset on VF devices that don't support migration
leads to the following:

  BUG: unable to handle page fault for address: 00000000000011f8
  \#PF: supervisor read access in kernel mode
  \#PF: error\_code(0x0000) - not-present page
  PGD 0 P4D 0
  Oops: Oops: 0000 \[\#1\] SMP NOPTI
  CPU: 2 UID: 0 PID: 7443 Comm: xe\_sriov\_flr Tainted: G S   U              7.0.0-rc1-lgci-xe-xe-4588-cec43d5c2696af219-nodebug+ \#1 PREEMPT(lazy)
  Tainted: \[S\]=CPU\_OUT\_OF\_SPEC, \[U\]=USER
  Hardware name: Intel Corporation Alder Lake Client Platform/AlderLake-P DDR4 RVP, BIOS RPLPFWI1.R00.4035.A00.2301200723 01/20/2023
  RIP: 0010:xe\_sriov\_vfio\_wait\_flr\_done+0xc/0x80 \[xe\]
  Code: ff c3 cc cc cc cc 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f 44 00 00 55 48 89 e5 41 54 53 \<83\> bf f8 11 00 00 02 75 61 41 89 f4 85 f6 74 52 48 8b 47 08 48 89
  RSP: 0018:ffffc9000f7c39b8 EFLAGS: 00010202
  RAX: ffffffffa04d8660 RBX: ffff88813e3e4000 RCX: 0000000000000000
  RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
  RBP: ffffc9000f7c39c8 R08: 0000000000000000 R09: 0000000000000000
  R10: 0000000000000000 R11: 0000000000000000 R12: ffff888101a48800
  R13: ffff88813e3e4150 R14: ffff888130d0d008 R15: ffff88813e3e40d0
  FS:  00007877d3d0d940(0000) GS:ffff88890b6d3000(0000) knlGS:0000000000000000
  CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
  CR2: 00000000000011f8 CR3: 000000015a762000 CR4: 0000000000f52ef0
  PKRU: 55555554
  Call Trace:
   \<TASK\>
   xe\_vfio\_pci\_reset\_done+0x49/0x120 \[xe\_vfio\_pci\]
   pci\_dev\_restore+0x3b/0x80
   pci\_reset\_function+0x109/0x140
   reset\_store+0x5c/0xb0
   dev\_attr\_store+0x17/0x40
   sysfs\_kf\_write+0x72/0x90
   kernfs\_fop\_write\_iter+0x161/0x1f0
   vfs\_write+0x261/0x440
   ksys\_write+0x69/0xf0
   \_\_x64\_sys\_write+0x19/0x30
   x64\_sys\_call+0x259/0x26e0
   do\_syscall\_64+0xcb/0x1500
   ? \_\_fput+0x1a2/0x2d0
   ? fput\_close\_sync+0x3d/0xa0
   ? \_\_x64\_sys\_close+0x3e/0x90
   ? x64\_sys\_call+0x1b7c/0x26e0
   ? do\_syscall\_64+0x109/0x1500
   ? \_\_task\_pid\_nr\_ns+0x68/0x100
   ? \_\_do\_sys\_getpid+0x1d/0x30
   ? x64\_sys\_call+0x10b5/0x26e0
   ? do\_syscall\_64+0x109/0x1500
   ? putname+0x41/0x90
   ? do\_faccessat+0x1e8/0x300
   ? \_\_x64\_sys\_access+0x1c/0x30
   ? x64\_sys\_call+0x1822/0x26e0
   ? do\_syscall\_64+0x109/0x1500
   ? tick\_program\_event+0x43/0xa0
   ? hrtimer\_interrupt+0x126/0x260
   ? irqentry\_exit+0xb2/0x710
   entry\_SYSCALL\_64\_after\_hwframe+0x76/0x7e
  RIP: 0033:0x7877d5f1c5a4
  Code: c7 00 16 00 00 00 b8 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 80 3d a5 ea 0e 00 00 74 13 b8 01 00 00 00 0f 05 \<48\> 3d 00 f0 ff ff 77 54 c3 0f 1f 00 55 48 89 e5 48 83 ec 20 48 89
  RSP: 002b:00007fff48e5f908 EFLAGS: 00000202 ORIG\_RAX: 0000000000000001
  RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007877d5f1c5a4
  RDX: 0000000000000001 RSI: 00007877d621b0c9 RDI: 0000000000000009
  RBP: 0000000000000001 R08: 00005fb49113b010 R09: 0000000000000007
  R10: 0000000000000000 R11: 0000000000000202 R12: 00007877d621b0c9
  R13: 0000000000000009 R14: 00007fff48e5fac0 R15: 00007fff48e5fac0
   \</TASK\>

This is caused by the fact that some of the xe\_vfio\_pci\_core\_device
members needed for handling reset are only initialized as part of
migration init.

Fix the problem by reorganizing the code to decouple VF init from
migration init.

## Affected and fixed versions

- Linux: \>= 1f5556ec8b9efbb784aeb3536e147182dee73d0f, \< 8fa4113fc65b8b29a30fbbca5fd82221dc6e146e; \>= 1f5556ec8b9efbb784aeb3536e147182dee73d0f, \< 73e53ff144a538f1843b3dea1e2740a755031cdc; \>= 1f5556ec8b9efbb784aeb3536e147182dee73d0f, \< 1b81ed612e12ea9df8c5cb6f0ddd4419fd0b8ac8 (cvelist)
- Linux: 6.19 (cvelist)

## Mitigation

- Upgrade Linux to 1b81ed612e12ea9df8c5cb6f0ddd4419fd0b8ac8 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-31601. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-31601.md
Affected: Linux >= 1f5556ec8b9efbb784aeb3536e147182dee73d0f, < 8fa4113fc65b8b29a30fbbca5fd82221dc6e146e; >= 1f5556ec8b9efbb784aeb3536e147182dee73d0f, < 73e53ff144a538f1843b3dea1e2740a755031cdc; >= 1f5556ec8b9efbb784aeb3536e147182dee73d0f, < 1b81ed612e12ea9df8c5cb6f0ddd4419fd0b8ac8; Linux 6.19
Fixed in: Linux 8fa4113fc65b8b29a30fbbca5fd82221dc6e146e, Linux 73e53ff144a538f1843b3dea1e2740a755031cdc, Linux 1b81ed612e12ea9df8c5cb6f0ddd4419fd0b8ac8

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-31601 being exploited?

There is no confirmed exploitation: CVE-2026-31601 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-31601?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-31601?

Linux \>= 1f5556ec8b9efbb784aeb3536e147182dee73d0f, \< 8fa4113fc65b8b29a30fbbca5fd82221dc6e146e; \>= 1f5556ec8b9efbb784aeb3536e147182dee73d0f, \< 73e53ff144a538f1843b3dea1e2740a755031cdc; \>= 1f5556ec8b9efbb784aeb3536e147182dee73d0f, \< 1b81ed612e12ea9df8c5cb6f0ddd4419fd0b8ac8; Linux 6.19.

### Is there a fix for CVE-2026-31601?

Yes. Fixed in Linux 8fa4113fc65b8b29a30fbbca5fd82221dc6e146e, Linux 73e53ff144a538f1843b3dea1e2740a755031cdc, Linux 1b81ed612e12ea9df8c5cb6f0ddd4419fd0b8ac8. Upgrade Linux to 1b81ed612e12ea9df8c5cb6f0ddd4419fd0b8ac8 or later.

### How do I check if I'm affected by CVE-2026-31601?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/8fa4113fc65b8b29a30fbbca5fd82221dc6e146e>
- patch: <https://git.kernel.org/stable/c/73e53ff144a538f1843b3dea1e2740a755031cdc>
- patch: <https://git.kernel.org/stable/c/1b81ed612e12ea9df8c5cb6f0ddd4419fd0b8ac8>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-31601>

HTML: <https://flawdb.com/CVE-2026-31601> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-31601>
