# CVE-2026-74517: KVM: x86: Cancel delayed I/O APIC EOI handling before destroying vCPUs

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

- **Severity:** CRITICAL 9.3
- **CVSS:** 9.3 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; 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.19% (percentile 5, 2026-11-28)
- **Published:** 2026-08-15T12:27:36.842Z
- **Modified:** 2026-10-16T20:17:34.317Z

## Who should check

- Anyone running Linux \>= c60f5156e62d0be6c53373b623f16a9e37e2208e, \< 69d040448067cebdd5598684db36ce7d8fb2f43e; \>= 17bcd714426386fda741a4bccd96a2870179344b, \< 5f0a99ea721203a4063618aafcca32abf573cb96; \>= 17bcd714426386fda741a4bccd96a2870179344b, \< ed56a6b58222f9c1f4115a0bd2788dd6ed6022e2; \>= 17bcd714426386fda741a4bccd96a2870179344b, \< 9910e835580fef3bef53b70241dd00c4bffad693; \>= 6.12.41, \< 6.12.105
- Anyone running Linux 6.14

## Description

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

KVM: x86: Cancel delayed I/O APIC EOI handling before destroying vCPUs

Cancel (and flush) the I/O APIC's delayed EOI handling work during the
"pre VM destroy" phase, before vCPUs are destroyed, as processing the EOI
broadcast will inject another IRQ if the line is asserted, i.e. will try
to deliver an IRQ to the target vCPU(s).  Canceling the work after vCPUs
are destroyed leads to UAF if the delayed work is processed after vCPUs are
destroyed.

  BUG: KASAN: slab-use-after-free in \_\_kvm\_irq\_delivery\_to\_apic\_fast+0x9bf/0xa20 arch/x86/kvm/lapic.c:1250
  Read of size 8 at addr ffff8880499abea0 by task kworker/1:2/1218

  CPU: 1 UID: 0 PID: 1218 Comm: kworker/1:2 Not tainted 7.1.0-rc7 \#5 PREEMPT(lazy)
  Hardware name: QEMU Ubuntu 25.10 PC v2 (i440FX + PIIX, + 10.1 machine, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
  Workqueue: events kvm\_ioapic\_eoi\_inject\_work
  Call Trace:
   \<TASK\>
   \_\_dump\_stack lib/dump\_stack.c:94
   dump\_stack\_lvl+0x100/0x190 lib/dump\_stack.c:120
   print\_address\_description mm/kasan/report.c:378
   print\_report+0x139/0x4ad mm/kasan/report.c:482
   kasan\_report+0xe4/0x1d0 mm/kasan/report.c:595
   \_\_kvm\_irq\_delivery\_to\_apic\_fast+0x9bf/0xa20 arch/x86/kvm/lapic.c:1250
   \_\_kvm\_irq\_delivery\_to\_apic+0xd8/0xbf0 arch/x86/kvm/lapic.c:1345
   kvm\_irq\_delivery\_to\_apic arch/x86/kvm/lapic.h:129
   ioapic\_service+0x308/0x590 arch/x86/kvm/ioapic.c:492
   kvm\_ioapic\_eoi\_inject\_work+0x13c/0x190 arch/x86/kvm/ioapic.c:532
   process\_one\_work+0xa59/0x19a0 kernel/workqueue.c:3314
   process\_scheduled\_works kernel/workqueue.c:3397
   worker\_thread+0x5eb/0xe50 kernel/workqueue.c:3478
   kthread+0x370/0x450 kernel/kthread.c:436
   ret\_from\_fork+0x72b/0xd30 arch/x86/kernel/process.c:158
   ret\_from\_fork\_asm+0x1a/0x30 arch/x86/entry/entry\_64.S:245
   \</TASK\>

Note, the VM is unreachable once kvm\_destroy\_vm() starts, and scheduling
new work via kvm\_ioapic\_send\_eoi() can only be done via KVM\_RUN, i.e.
requires a live vCPU.

Alternatively, KVM could simply destroy the I/O APIC during the "pre" phase
of VM destruction, but that gets more than a bit sketchy as KVM expects the
I/O APIC to exist if ioapic\_in\_kernel() is true, and nested virtualization
in particular has a bad habit of touching VM-scope state during vCPU
destruction.  E.g. attempting to free the PIC during the pre phase would
lead to a NULL pointer dereference in kvm\_cpu\_has\_extint(), and it's not
hard to imagine the I/O APIC having a similar flaw.

## Affected and fixed versions

- Linux: \>= c60f5156e62d0be6c53373b623f16a9e37e2208e, \< 69d040448067cebdd5598684db36ce7d8fb2f43e; \>= 17bcd714426386fda741a4bccd96a2870179344b, \< 5f0a99ea721203a4063618aafcca32abf573cb96; \>= 17bcd714426386fda741a4bccd96a2870179344b, \< ed56a6b58222f9c1f4115a0bd2788dd6ed6022e2; \>= 17bcd714426386fda741a4bccd96a2870179344b, \< 9910e835580fef3bef53b70241dd00c4bffad693; \>= 6.12.41, \< 6.12.105 (cvelist)
- Linux: 6.14 (cvelist)

## Mitigation

- Upgrade Linux to 6.12.105 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-74517. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-74517.md
Affected: Linux >= c60f5156e62d0be6c53373b623f16a9e37e2208e, < 69d040448067cebdd5598684db36ce7d8fb2f43e; >= 17bcd714426386fda741a4bccd96a2870179344b, < 5f0a99ea721203a4063618aafcca32abf573cb96; >= 17bcd714426386fda741a4bccd96a2870179344b, < ed56a6b58222f9c1f4115a0bd2788dd6ed6022e2; >= 17bcd714426386fda741a4b…
Fixed in: Linux 69d040448067cebdd5598684db36ce7d8fb2f43e, Linux 5f0a99ea721203a4063618aafcca32abf573cb96, Linux 9910e835580fef3bef53b70241dd00c4bffad693, Linux 6.12.105

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-74517 being exploited?

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

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

Critical: CVSS 9.3 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= c60f5156e62d0be6c53373b623f16a9e37e2208e, \< 69d040448067cebdd5598684db36ce7d8fb2f43e; \>= 17bcd714426386fda741a4bccd96a2870179344b, \< 5f0a99ea721203a4063618aafcca32abf573cb96; \>= 17bcd714426386fda741a4bccd96a2870179344b, \< ed56a6b58222f9c1f4115a0bd2788dd6ed6022e2; \>= 17bcd714426386fda741a4bccd96a2870179344b, \< 9910e835580fef3bef53b70241dd00c4bffad693; \>= 6.12.41, \< 6.12.105; Linux 6.14.

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

Yes. Fixed in Linux 69d040448067cebdd5598684db36ce7d8fb2f43e, Linux 5f0a99ea721203a4063618aafcca32abf573cb96, Linux 9910e835580fef3bef53b70241dd00c4bffad693, Linux 6.12.105. Upgrade Linux to 6.12.105 or later.

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

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

- other: <https://git.kernel.org/stable/c/69d040448067cebdd5598684db36ce7d8fb2f43e>
- other: <https://git.kernel.org/stable/c/5f0a99ea721203a4063618aafcca32abf573cb96>
- other: <https://git.kernel.org/stable/c/ed56a6b58222f9c1f4115a0bd2788dd6ed6022e2>
- other: <https://git.kernel.org/stable/c/9910e835580fef3bef53b70241dd00c4bffad693>

## 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-74517>

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