# CVE-2023-54007: vmci\_host: fix a race condition in vmci\_host\_poll() causing GPF

> 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.29% (percentile 14, 2026-11-26)
- **Published:** 2025-12-24T10:55:41.281Z
- **Modified:** 2026-06-17T06:46:31.600Z

## Who should check

- Anyone running Linux \>= 8bf503991f87e32ea42a7bd69b79ba084fddc5d7, \< 2053e93ac15519ed1f1fe6eba79a33a4963be4a3; \>= 8bf503991f87e32ea42a7bd69b79ba084fddc5d7, \< ca0f4ad2b7a36c799213ef0a213eb977a51e03dc; \>= 8bf503991f87e32ea42a7bd69b79ba084fddc5d7, \< 85b4aa4eb2e3a0da111fd0a1cdbf00f986ac6b6b; \>= 8bf503991f87e32ea42a7bd69b79ba084fddc5d7, \< 770d30b1355c6c8879973dd054fca9168def182c; \>= 8bf503991f87e32ea42a7bd69b79ba084fddc5d7, \< d22b2a35729cb1de311cb650cd67518a24e13fc9; \>= 8bf503991f87e32ea42a7bd69b79ba084fddc5d7, \< 67e35824f861a05b44b19d38e16a83f653bd9d92; \>= 8bf503991f87e32ea42a7bd69b79ba084fddc5d7, \< ab64bd32b9fac27ff4737d63711b9db5e5462448; \>= 8bf503991f87e32ea42a7bd69b79ba084fddc5d7, \< ae13381da5ff0e8e084c0323c3cc0a945e43e9c7
- Anyone running Linux 3.9

## Description

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

vmci\_host: fix a race condition in vmci\_host\_poll() causing GPF

During fuzzing, a general protection fault is observed in
vmci\_host\_poll().

general protection fault, probably for non-canonical address 0xdffffc0000000019: 0000 \[\#1\] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range \[0x00000000000000c8-0x00000000000000cf\]
RIP: 0010:\_\_lock\_acquire+0xf3/0x5e00 kernel/locking/lockdep.c:4926
\<- omitting registers -\>
Call Trace:
 \<TASK\>
 lock\_acquire+0x1a4/0x4a0 kernel/locking/lockdep.c:5672
 \_\_raw\_spin\_lock\_irqsave include/linux/spinlock\_api\_smp.h:110 \[inline\]
 \_raw\_spin\_lock\_irqsave+0xb3/0x100 kernel/locking/spinlock.c:162
 add\_wait\_queue+0x3d/0x260 kernel/sched/wait.c:22
 poll\_wait include/linux/poll.h:49 \[inline\]
 vmci\_host\_poll+0xf8/0x2b0 drivers/misc/vmw\_vmci/vmci\_host.c:174
 vfs\_poll include/linux/poll.h:88 \[inline\]
 do\_pollfd fs/select.c:873 \[inline\]
 do\_poll fs/select.c:921 \[inline\]
 do\_sys\_poll+0xc7c/0x1aa0 fs/select.c:1015
 \_\_do\_sys\_ppoll fs/select.c:1121 \[inline\]
 \_\_se\_sys\_ppoll+0x2cc/0x330 fs/select.c:1101
 do\_syscall\_x64 arch/x86/entry/common.c:51 \[inline\]
 do\_syscall\_64+0x4e/0xa0 arch/x86/entry/common.c:82
 entry\_SYSCALL\_64\_after\_hwframe+0x46/0xb0

Example thread interleaving that causes the general protection fault
is as follows:

CPU1 (vmci\_host\_poll)               CPU2 (vmci\_host\_do\_init\_context)
-----                               -----
// Read uninitialized context
context = vmci\_host\_dev-\>context;
                                    // Initialize context
                                    vmci\_host\_dev-\>context = vmci\_ctx\_create();
                                    vmci\_host\_dev-\>ct\_type = VMCIOBJ\_CONTEXT;

if (vmci\_host\_dev-\>ct\_type == VMCIOBJ\_CONTEXT) {
    // Dereferencing the wrong pointer
    poll\_wait(..., &context-\>host\_context);
}

In this scenario, vmci\_host\_poll() reads vmci\_host\_dev-\>context first,
and then reads vmci\_host\_dev-\>ct\_type to check that
vmci\_host\_dev-\>context is initialized. However, since these two reads
are not atomically executed, there is a chance of a race condition as
described above.

To fix this race condition, read vmci\_host\_dev-\>context after checking
the value of vmci\_host\_dev-\>ct\_type so that vmci\_host\_poll() always
reads an initialized context.

## Affected and fixed versions

- Linux: \>= 8bf503991f87e32ea42a7bd69b79ba084fddc5d7, \< 2053e93ac15519ed1f1fe6eba79a33a4963be4a3; \>= 8bf503991f87e32ea42a7bd69b79ba084fddc5d7, \< ca0f4ad2b7a36c799213ef0a213eb977a51e03dc; \>= 8bf503991f87e32ea42a7bd69b79ba084fddc5d7, \< 85b4aa4eb2e3a0da111fd0a1cdbf00f986ac6b6b; \>= 8bf503991f87e32ea42a7bd69b79ba084fddc5d7, \< 770d30b1355c6c8879973dd054fca9168def182c; \>= 8bf503991f87e32ea42a7bd69b79ba084fddc5d7, \< d22b2a35729cb1de311cb650cd67518a24e13fc9; \>= 8bf503991f87e32ea42a7bd69b79ba084fddc5d7, \< 67e35824f861a05b44b19d38e16a83f653bd9d92; \>= 8bf503991f87e32ea42a7bd69b79ba084fddc5d7, \< ab64bd32b9fac27ff4737d63711b9db5e5462448; \>= 8bf503991f87e32ea42a7bd69b79ba084fddc5d7, \< ae13381da5ff0e8e084c0323c3cc0a945e43e9c7 (cvelist)
- Linux: 3.9 (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-2023-54007. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-54007.md
Affected: Linux >= 8bf503991f87e32ea42a7bd69b79ba084fddc5d7, < 2053e93ac15519ed1f1fe6eba79a33a4963be4a3; >= 8bf503991f87e32ea42a7bd69b79ba084fddc5d7, < ca0f4ad2b7a36c799213ef0a213eb977a51e03dc; >= 8bf503991f87e32ea42a7bd69b79ba084fddc5d7, < 85b4aa4eb2e3a0da111fd0a1cdbf00f986ac6b6b; >= 8bf503991f87e32ea42a7bd…
Fixed in: Linux 2053e93ac15519ed1f1fe6eba79a33a4963be4a3, Linux 85b4aa4eb2e3a0da111fd0a1cdbf00f986ac6b6b, Linux 770d30b1355c6c8879973dd054fca9168def182c, Linux 67e35824f861a05b44b19d38e16a83f653bd9d92

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-2023-54007 being exploited?

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

### How serious is CVE-2023-54007?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2023-54007?

Linux \>= 8bf503991f87e32ea42a7bd69b79ba084fddc5d7, \< 2053e93ac15519ed1f1fe6eba79a33a4963be4a3; \>= 8bf503991f87e32ea42a7bd69b79ba084fddc5d7, \< ca0f4ad2b7a36c799213ef0a213eb977a51e03dc; \>= 8bf503991f87e32ea42a7bd69b79ba084fddc5d7, \< 85b4aa4eb2e3a0da111fd0a1cdbf00f986ac6b6b; \>= 8bf503991f87e32ea42a7bd69b79ba084fddc5d7, \< 770d30b1355c6c8879973dd054fca9168def182c; \>= 8bf503991f87e32ea42a7bd69b79ba084fddc5d7, \< d22b2a35729cb1de311cb650cd67518a24e13fc9; \>= 8bf503991f87e32ea42a7bd69b79ba084fddc5d7, \< 67e35824f861a05b44b19d38e16a83f653bd9d92; \>= 8bf503991f87e32ea42a7bd69b79ba084fddc5d7, \< ab64bd32b9fac27ff4737d63711b9db5e5462448; \>= 8bf503991f87e32ea42a7bd69b79ba084fddc5d7, \< ae13381da5ff0e8e084c0323c3cc0a945e43e9c7; Linux 3.9.

### Is there a fix for CVE-2023-54007?

Yes. Fixed in Linux 2053e93ac15519ed1f1fe6eba79a33a4963be4a3, Linux 85b4aa4eb2e3a0da111fd0a1cdbf00f986ac6b6b, Linux 770d30b1355c6c8879973dd054fca9168def182c, Linux 67e35824f861a05b44b19d38e16a83f653bd9d92. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-54007?

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/2053e93ac15519ed1f1fe6eba79a33a4963be4a3>
- other: <https://git.kernel.org/stable/c/ca0f4ad2b7a36c799213ef0a213eb977a51e03dc>
- other: <https://git.kernel.org/stable/c/85b4aa4eb2e3a0da111fd0a1cdbf00f986ac6b6b>
- other: <https://git.kernel.org/stable/c/770d30b1355c6c8879973dd054fca9168def182c>
- other: <https://git.kernel.org/stable/c/d22b2a35729cb1de311cb650cd67518a24e13fc9>
- other: <https://git.kernel.org/stable/c/67e35824f861a05b44b19d38e16a83f653bd9d92>
- other: <https://git.kernel.org/stable/c/ab64bd32b9fac27ff4737d63711b9db5e5462448>
- other: <https://git.kernel.org/stable/c/ae13381da5ff0e8e084c0323c3cc0a945e43e9c7>

## 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-2023-54007>

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