# CVE-2024-55916: Drivers: hv: util: Avoid accessing a ringbuffer not initialized yet

> 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, CNA) `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.31% (percentile 16, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2025-01-11T12:35:44.800Z
- **Modified:** 2026-06-17T08:11:26.560Z

## Who should check

- Anyone running Linux \>= e0fa3e5e7df61eb2c339c9f0067c202c0cdeec2c, \< f091a224a2c82f1e302b1768d73bb6332f687321; \>= e0fa3e5e7df61eb2c339c9f0067c202c0cdeec2c, \< d81f4e73aff9b861671df60e5100ad25cc16fbf8; \>= e0fa3e5e7df61eb2c339c9f0067c202c0cdeec2c, \< 042253c57be901bfd19f15b68267442b70f510d5; \>= e0fa3e5e7df61eb2c339c9f0067c202c0cdeec2c, \< 718fe694a334be9d1a89eed22602369ac18d6583; \>= e0fa3e5e7df61eb2c339c9f0067c202c0cdeec2c, \< 89fcec5e466b3ac9b376e0d621c71effa1a7983f; \>= e0fa3e5e7df61eb2c339c9f0067c202c0cdeec2c, \< 3dd7a30c6d7f90afcf19e9b072f572ba524d7ec6; \>= e0fa3e5e7df61eb2c339c9f0067c202c0cdeec2c, \< 07a756a49f4b4290b49ea46e089cbe6f79ff8d26
- Anyone running Linux 4.9

## Description

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

Drivers: hv: util: Avoid accessing a ringbuffer not initialized yet

If the KVP (or VSS) daemon starts before the VMBus channel's ringbuffer is
fully initialized, we can hit the panic below:

hv\_utils: Registering HyperV Utility Driver
hv\_vmbus: registering driver hv\_utils
...
BUG: kernel NULL pointer dereference, address: 0000000000000000
CPU: 44 UID: 0 PID: 2552 Comm: hv\_kvp\_daemon Tainted: G E 6.11.0-rc3+ \#1
RIP: 0010:hv\_pkt\_iter\_first+0x12/0xd0
Call Trace:
...
 vmbus\_recvpacket
 hv\_kvp\_onchannelcallback
 vmbus\_on\_event
 tasklet\_action\_common
 tasklet\_action
 handle\_softirqs
 irq\_exit\_rcu
 sysvec\_hyperv\_stimer0
 \</IRQ\>
 \<TASK\>
 asm\_sysvec\_hyperv\_stimer0
...
 kvp\_register\_done
 hvt\_op\_read
 vfs\_read
 ksys\_read
 \_\_x64\_sys\_read

This can happen because the KVP/VSS channel callback can be invoked
even before the channel is fully opened:
1) as soon as hv\_kvp\_init() -\> hvutil\_transport\_init() creates
/dev/vmbus/hv\_kvp, the kvp daemon can open the device file immediately and
register itself to the driver by writing a message KVP\_OP\_REGISTER1 to the
file (which is handled by kvp\_on\_msg() -\>kvp\_handle\_handshake()) and
reading the file for the driver's response, which is handled by
hvt\_op\_read(), which calls hvt-\>on\_read(), i.e. kvp\_register\_done().

2) the problem with kvp\_register\_done() is that it can cause the
channel callback to be called even before the channel is fully opened,
and when the channel callback is starting to run, util\_probe()-\>
vmbus\_open() may have not initialized the ringbuffer yet, so the
callback can hit the panic of NULL pointer dereference.

To reproduce the panic consistently, we can add a "ssleep(10)" for KVP in
\_\_vmbus\_open(), just before the first hv\_ringbuffer\_init(), and then we
unload and reload the driver hv\_utils, and run the daemon manually within
the 10 seconds.

Fix the panic by reordering the steps in util\_probe() so the char dev
entry used by the KVP or VSS daemon is not created until after
vmbus\_open() has completed. This reordering prevents the race condition
from happening.

## Affected and fixed versions

- Linux: \>= e0fa3e5e7df61eb2c339c9f0067c202c0cdeec2c, \< f091a224a2c82f1e302b1768d73bb6332f687321; \>= e0fa3e5e7df61eb2c339c9f0067c202c0cdeec2c, \< d81f4e73aff9b861671df60e5100ad25cc16fbf8; \>= e0fa3e5e7df61eb2c339c9f0067c202c0cdeec2c, \< 042253c57be901bfd19f15b68267442b70f510d5; \>= e0fa3e5e7df61eb2c339c9f0067c202c0cdeec2c, \< 718fe694a334be9d1a89eed22602369ac18d6583; \>= e0fa3e5e7df61eb2c339c9f0067c202c0cdeec2c, \< 89fcec5e466b3ac9b376e0d621c71effa1a7983f; \>= e0fa3e5e7df61eb2c339c9f0067c202c0cdeec2c, \< 3dd7a30c6d7f90afcf19e9b072f572ba524d7ec6; \>= e0fa3e5e7df61eb2c339c9f0067c202c0cdeec2c, \< 07a756a49f4b4290b49ea46e089cbe6f79ff8d26 (cvelist)
- Linux: 4.9 (cvelist)

## Mitigation

- Upgrade Linux to 07a756a49f4b4290b49ea46e089cbe6f79ff8d26 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-55916.md
Affected: Linux >= e0fa3e5e7df61eb2c339c9f0067c202c0cdeec2c, < f091a224a2c82f1e302b1768d73bb6332f687321; >= e0fa3e5e7df61eb2c339c9f0067c202c0cdeec2c, < d81f4e73aff9b861671df60e5100ad25cc16fbf8; >= e0fa3e5e7df61eb2c339c9f0067c202c0cdeec2c, < 042253c57be901bfd19f15b68267442b70f510d5; >= e0fa3e5e7df61eb2c339c9f…
Fixed in: Linux 042253c57be901bfd19f15b68267442b70f510d5, Linux 718fe694a334be9d1a89eed22602369ac18d6583, Linux 89fcec5e466b3ac9b376e0d621c71effa1a7983f, Linux 3dd7a30c6d7f90afcf19e9b072f572ba524d7ec6, Linux 07a756a49f4b4290b49ea46e089cbe6f79ff8d26

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-2024-55916 being exploited?

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

### How serious is CVE-2024-55916?

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

### Which versions are affected by CVE-2024-55916?

Linux \>= e0fa3e5e7df61eb2c339c9f0067c202c0cdeec2c, \< f091a224a2c82f1e302b1768d73bb6332f687321; \>= e0fa3e5e7df61eb2c339c9f0067c202c0cdeec2c, \< d81f4e73aff9b861671df60e5100ad25cc16fbf8; \>= e0fa3e5e7df61eb2c339c9f0067c202c0cdeec2c, \< 042253c57be901bfd19f15b68267442b70f510d5; \>= e0fa3e5e7df61eb2c339c9f0067c202c0cdeec2c, \< 718fe694a334be9d1a89eed22602369ac18d6583; \>= e0fa3e5e7df61eb2c339c9f0067c202c0cdeec2c, \< 89fcec5e466b3ac9b376e0d621c71effa1a7983f; \>= e0fa3e5e7df61eb2c339c9f0067c202c0cdeec2c, \< 3dd7a30c6d7f90afcf19e9b072f572ba524d7ec6; \>= e0fa3e5e7df61eb2c339c9f0067c202c0cdeec2c, \< 07a756a49f4b4290b49ea46e089cbe6f79ff8d26; Linux 4.9.

### Is there a fix for CVE-2024-55916?

Yes. Fixed in Linux 042253c57be901bfd19f15b68267442b70f510d5, Linux 718fe694a334be9d1a89eed22602369ac18d6583, Linux 89fcec5e466b3ac9b376e0d621c71effa1a7983f, Linux 3dd7a30c6d7f90afcf19e9b072f572ba524d7ec6, Linux 07a756a49f4b4290b49ea46e089cbe6f79ff8d26. Upgrade Linux to 07a756a49f4b4290b49ea46e089cbe6f79ff8d26 or later.

### How do I check if I'm affected by CVE-2024-55916?

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/f091a224a2c82f1e302b1768d73bb6332f687321>
- patch: <https://git.kernel.org/stable/c/d81f4e73aff9b861671df60e5100ad25cc16fbf8>
- patch: <https://git.kernel.org/stable/c/042253c57be901bfd19f15b68267442b70f510d5>
- patch: <https://git.kernel.org/stable/c/718fe694a334be9d1a89eed22602369ac18d6583>
- patch: <https://git.kernel.org/stable/c/89fcec5e466b3ac9b376e0d621c71effa1a7983f>
- patch: <https://git.kernel.org/stable/c/3dd7a30c6d7f90afcf19e9b072f572ba524d7ec6>
- patch: <https://git.kernel.org/stable/c/07a756a49f4b4290b49ea46e089cbe6f79ff8d26>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>

## 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-2024-55916>

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