# CVE-2026-97993: vhost-vdpa: don't install the eventfd\_ctx\_fdget() error in config\_ctx

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-09-25T10:23:25.110Z
- **Modified:** 2026-10-19T10:17:50.730Z

## Who should check

- Anyone running Linux \>= 776f395004d829bbbf18c159ed9beb517a208c71, \< e260dc9fbfdae0978e7a8698f977fbb463a657be; \>= 776f395004d829bbbf18c159ed9beb517a208c71, \< 66e73fa18910b39fea0941dea5fe091122240855; \>= 776f395004d829bbbf18c159ed9beb517a208c71, \< 4fde085eb839fbb39c25cbba5d2a091ded394877; \>= 776f395004d829bbbf18c159ed9beb517a208c71, \< 59fc7c1c6b4d325194ca45352180340092d95098; \>= 776f395004d829bbbf18c159ed9beb517a208c71, \< 388c678639a0cebfd936b3e56c64ac6a371efec2; \>= 776f395004d829bbbf18c159ed9beb517a208c71, \< 65faf9eaa00e408e1406fbcf675c8c8d0e27ff2a; \>= 776f395004d829bbbf18c159ed9beb517a208c71, \< 6b20b40f020bde236f6b8a08ff88d8653261ec2b; \>= 776f395004d829bbbf18c159ed9beb517a208c71, \< e74a9fa50749b9940b4fb13199652325e08d3c4a
- Anyone running Linux 5.8

## Description

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

vhost-vdpa: don't install the eventfd\_ctx\_fdget() error in config\_ctx

vhost\_vdpa\_set\_config\_call() swaps the eventfd\_ctx\_fdget() return value
into v-\>config\_ctx before checking it, so on failure the field briefly
holds an ERR\_PTR:

	ctx = fd == VHOST\_FILE\_UNBIND ? NULL : eventfd\_ctx\_fdget(fd);
	swap(ctx, v-\>config\_ctx);

	if (!IS\_ERR\_OR\_NULL(ctx))
		eventfd\_ctx\_put(ctx);

	if (IS\_ERR(v-\>config\_ctx)) {
		long ret = PTR\_ERR(v-\>config\_ctx);

		v-\>config\_ctx = NULL;
		return ret;
	}

Commit 0bde59c1723a ("vhost-vdpa: set v-\>config\_ctx to NULL if
eventfd\_ctx\_fdget() fails") added that clearing, and spelled out the
invariant the rest of the file relies on: "we consider 'v-\>config\_ctx'
valid if it is not NULL".  The window between the swap and the clearing
still breaks it.  vhost\_vdpa\_config\_cb() only tests for NULL, so a config
interrupt delivered inside the window hands the ERR\_PTR to
eventfd\_signal().

Check the fd before installing it instead.  That closes the window and
matches how vhost\_vring\_ioctl() handles the same failure for the vq call
fd.

It also stops a rejected fd from tearing down a config interrupt that was
working: until now the swap replaced the live context and put it, so
after an EBADF the device silently stopped delivering config interrupts
until userspace installed a new fd.

## Affected and fixed versions

- Linux: \>= 776f395004d829bbbf18c159ed9beb517a208c71, \< e260dc9fbfdae0978e7a8698f977fbb463a657be; \>= 776f395004d829bbbf18c159ed9beb517a208c71, \< 66e73fa18910b39fea0941dea5fe091122240855; \>= 776f395004d829bbbf18c159ed9beb517a208c71, \< 4fde085eb839fbb39c25cbba5d2a091ded394877; \>= 776f395004d829bbbf18c159ed9beb517a208c71, \< 59fc7c1c6b4d325194ca45352180340092d95098; \>= 776f395004d829bbbf18c159ed9beb517a208c71, \< 388c678639a0cebfd936b3e56c64ac6a371efec2; \>= 776f395004d829bbbf18c159ed9beb517a208c71, \< 65faf9eaa00e408e1406fbcf675c8c8d0e27ff2a; \>= 776f395004d829bbbf18c159ed9beb517a208c71, \< 6b20b40f020bde236f6b8a08ff88d8653261ec2b; \>= 776f395004d829bbbf18c159ed9beb517a208c71, \< e74a9fa50749b9940b4fb13199652325e08d3c4a (cvelist)
- Linux: 5.8 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-97993.md
Affected: Linux >= 776f395004d829bbbf18c159ed9beb517a208c71, < e260dc9fbfdae0978e7a8698f977fbb463a657be; >= 776f395004d829bbbf18c159ed9beb517a208c71, < 66e73fa18910b39fea0941dea5fe091122240855; >= 776f395004d829bbbf18c159ed9beb517a208c71, < 4fde085eb839fbb39c25cbba5d2a091ded394877; >= 776f395004d829bbbf18c15…
Fixed in: Linux 66e73fa18910b39fea0941dea5fe091122240855, Linux 4fde085eb839fbb39c25cbba5d2a091ded394877, Linux 59fc7c1c6b4d325194ca45352180340092d95098, Linux 388c678639a0cebfd936b3e56c64ac6a371efec2, Linux 65faf9eaa00e408e1406fbcf675c8c8d0e27ff2a, Linux 6b20b40f020bde236f6b8a08ff88d8653261ec2b

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

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 776f395004d829bbbf18c159ed9beb517a208c71, \< e260dc9fbfdae0978e7a8698f977fbb463a657be; \>= 776f395004d829bbbf18c159ed9beb517a208c71, \< 66e73fa18910b39fea0941dea5fe091122240855; \>= 776f395004d829bbbf18c159ed9beb517a208c71, \< 4fde085eb839fbb39c25cbba5d2a091ded394877; \>= 776f395004d829bbbf18c159ed9beb517a208c71, \< 59fc7c1c6b4d325194ca45352180340092d95098; \>= 776f395004d829bbbf18c159ed9beb517a208c71, \< 388c678639a0cebfd936b3e56c64ac6a371efec2; \>= 776f395004d829bbbf18c159ed9beb517a208c71, \< 65faf9eaa00e408e1406fbcf675c8c8d0e27ff2a; \>= 776f395004d829bbbf18c159ed9beb517a208c71, \< 6b20b40f020bde236f6b8a08ff88d8653261ec2b; \>= 776f395004d829bbbf18c159ed9beb517a208c71, \< e74a9fa50749b9940b4fb13199652325e08d3c4a; Linux 5.8.

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

Yes. Fixed in Linux 66e73fa18910b39fea0941dea5fe091122240855, Linux 4fde085eb839fbb39c25cbba5d2a091ded394877, Linux 59fc7c1c6b4d325194ca45352180340092d95098, Linux 388c678639a0cebfd936b3e56c64ac6a371efec2, Linux 65faf9eaa00e408e1406fbcf675c8c8d0e27ff2a, Linux 6b20b40f020bde236f6b8a08ff88d8653261ec2b. No fix listed yet: follow the vendor advisory.

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

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/e260dc9fbfdae0978e7a8698f977fbb463a657be>
- other: <https://git.kernel.org/stable/c/66e73fa18910b39fea0941dea5fe091122240855>
- other: <https://git.kernel.org/stable/c/4fde085eb839fbb39c25cbba5d2a091ded394877>
- other: <https://git.kernel.org/stable/c/59fc7c1c6b4d325194ca45352180340092d95098>
- other: <https://git.kernel.org/stable/c/388c678639a0cebfd936b3e56c64ac6a371efec2>
- other: <https://git.kernel.org/stable/c/65faf9eaa00e408e1406fbcf675c8c8d0e27ff2a>
- other: <https://git.kernel.org/stable/c/6b20b40f020bde236f6b8a08ff88d8653261ec2b>
- other: <https://git.kernel.org/stable/c/e74a9fa50749b9940b4fb13199652325e08d3c4a>

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

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