# CVE-2022-49788: misc/vmw\_vmci: fix an infoleak in vmci\_host\_do\_receive\_datagram()

> 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.29% (percentile 14, 2026-11-26)
- **CWE:** CWE-908
- **Published:** 2025-05-01T14:09:20.506Z
- **Modified:** 2026-11-05T20:17:11.590Z

## Who should check

- Anyone running Linux \>= 06164d2b72aa752ce4633184b3e0d97601017135, \< 7ccf7229b96fadc3a185d1391f814a604c7ef609; \>= 06164d2b72aa752ce4633184b3e0d97601017135, \< f04586c2315cfd03d72ad0395705435e7ed07b1a; \>= 06164d2b72aa752ce4633184b3e0d97601017135, \< 5a275528025ae4bc7e2232866856dfebf84b2fad; \>= 06164d2b72aa752ce4633184b3e0d97601017135, \< e7061dd1fef2dfb6458cd521aef27aa66f510d31; \>= 06164d2b72aa752ce4633184b3e0d97601017135, \< 62634b43d3c4e1bf62fd540196f7081bf0885c0a; \>= 06164d2b72aa752ce4633184b3e0d97601017135, \< 8e2f33c598370bcf828bab4d667d1d38bcd3c57d; \>= 06164d2b72aa752ce4633184b3e0d97601017135, \< 76c50d77b928a33e5290aaa9fdc10e88254ff8c7; \>= 06164d2b72aa752ce4633184b3e0d97601017135, \< e5b0d06d9b10f5f43101bd6598b076c347f9295f
- Anyone running Linux 3.9

## Description

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

misc/vmw\_vmci: fix an infoleak in vmci\_host\_do\_receive\_datagram()

\`struct vmci\_event\_qp\` allocated by qp\_notify\_peer() contains padding,
which may carry uninitialized data to the userspace, as observed by
KMSAN:

  BUG: KMSAN: kernel-infoleak in instrument\_copy\_to\_user ./include/linux/instrumented.h:121
   instrument\_copy\_to\_user ./include/linux/instrumented.h:121
   \_copy\_to\_user+0x5f/0xb0 lib/usercopy.c:33
   copy\_to\_user ./include/linux/uaccess.h:169
   vmci\_host\_do\_receive\_datagram drivers/misc/vmw\_vmci/vmci\_host.c:431
   vmci\_host\_unlocked\_ioctl+0x33d/0x43d0 drivers/misc/vmw\_vmci/vmci\_host.c:925
   vfs\_ioctl fs/ioctl.c:51
  ...

  Uninit was stored to memory at:
   kmemdup+0x74/0xb0 mm/util.c:131
   dg\_dispatch\_as\_host drivers/misc/vmw\_vmci/vmci\_datagram.c:271
   vmci\_datagram\_dispatch+0x4f8/0xfc0 drivers/misc/vmw\_vmci/vmci\_datagram.c:339
   qp\_notify\_peer+0x19a/0x290 drivers/misc/vmw\_vmci/vmci\_queue\_pair.c:1479
   qp\_broker\_attach drivers/misc/vmw\_vmci/vmci\_queue\_pair.c:1662
   qp\_broker\_alloc+0x2977/0x2f30 drivers/misc/vmw\_vmci/vmci\_queue\_pair.c:1750
   vmci\_qp\_broker\_alloc+0x96/0xd0 drivers/misc/vmw\_vmci/vmci\_queue\_pair.c:1940
   vmci\_host\_do\_alloc\_queuepair drivers/misc/vmw\_vmci/vmci\_host.c:488
   vmci\_host\_unlocked\_ioctl+0x24fd/0x43d0 drivers/misc/vmw\_vmci/vmci\_host.c:927
  ...

  Local variable ev created at:
   qp\_notify\_peer+0x54/0x290 drivers/misc/vmw\_vmci/vmci\_queue\_pair.c:1456
   qp\_broker\_attach drivers/misc/vmw\_vmci/vmci\_queue\_pair.c:1662
   qp\_broker\_alloc+0x2977/0x2f30 drivers/misc/vmw\_vmci/vmci\_queue\_pair.c:1750

  Bytes 28-31 of 48 are uninitialized
  Memory access of size 48 starts at ffff888035155e00
  Data copied to user address 0000000020000100

Use memset() to prevent the infoleaks.

Also speculatively fix qp\_notify\_peer\_local(), which may suffer from the
same problem.

## Affected and fixed versions

- Linux: \>= 06164d2b72aa752ce4633184b3e0d97601017135, \< 7ccf7229b96fadc3a185d1391f814a604c7ef609; \>= 06164d2b72aa752ce4633184b3e0d97601017135, \< f04586c2315cfd03d72ad0395705435e7ed07b1a; \>= 06164d2b72aa752ce4633184b3e0d97601017135, \< 5a275528025ae4bc7e2232866856dfebf84b2fad; \>= 06164d2b72aa752ce4633184b3e0d97601017135, \< e7061dd1fef2dfb6458cd521aef27aa66f510d31; \>= 06164d2b72aa752ce4633184b3e0d97601017135, \< 62634b43d3c4e1bf62fd540196f7081bf0885c0a; \>= 06164d2b72aa752ce4633184b3e0d97601017135, \< 8e2f33c598370bcf828bab4d667d1d38bcd3c57d; \>= 06164d2b72aa752ce4633184b3e0d97601017135, \< 76c50d77b928a33e5290aaa9fdc10e88254ff8c7; \>= 06164d2b72aa752ce4633184b3e0d97601017135, \< e5b0d06d9b10f5f43101bd6598b076c347f9295f (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-2022-49788. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-49788.md
Affected: Linux >= 06164d2b72aa752ce4633184b3e0d97601017135, < 7ccf7229b96fadc3a185d1391f814a604c7ef609; >= 06164d2b72aa752ce4633184b3e0d97601017135, < f04586c2315cfd03d72ad0395705435e7ed07b1a; >= 06164d2b72aa752ce4633184b3e0d97601017135, < 5a275528025ae4bc7e2232866856dfebf84b2fad; >= 06164d2b72aa752ce463318…
Fixed in: Linux 7ccf7229b96fadc3a185d1391f814a604c7ef609, Linux 5a275528025ae4bc7e2232866856dfebf84b2fad, Linux 62634b43d3c4e1bf62fd540196f7081bf0885c0a, Linux 8e2f33c598370bcf828bab4d667d1d38bcd3c57d, Linux 76c50d77b928a33e5290aaa9fdc10e88254ff8c7

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-2022-49788 being exploited?

There is no confirmed exploitation: CVE-2022-49788 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-2022-49788?

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

### Which versions are affected by CVE-2022-49788?

Linux \>= 06164d2b72aa752ce4633184b3e0d97601017135, \< 7ccf7229b96fadc3a185d1391f814a604c7ef609; \>= 06164d2b72aa752ce4633184b3e0d97601017135, \< f04586c2315cfd03d72ad0395705435e7ed07b1a; \>= 06164d2b72aa752ce4633184b3e0d97601017135, \< 5a275528025ae4bc7e2232866856dfebf84b2fad; \>= 06164d2b72aa752ce4633184b3e0d97601017135, \< e7061dd1fef2dfb6458cd521aef27aa66f510d31; \>= 06164d2b72aa752ce4633184b3e0d97601017135, \< 62634b43d3c4e1bf62fd540196f7081bf0885c0a; \>= 06164d2b72aa752ce4633184b3e0d97601017135, \< 8e2f33c598370bcf828bab4d667d1d38bcd3c57d; \>= 06164d2b72aa752ce4633184b3e0d97601017135, \< 76c50d77b928a33e5290aaa9fdc10e88254ff8c7; \>= 06164d2b72aa752ce4633184b3e0d97601017135, \< e5b0d06d9b10f5f43101bd6598b076c347f9295f; Linux 3.9.

### Is there a fix for CVE-2022-49788?

Yes. Fixed in Linux 7ccf7229b96fadc3a185d1391f814a604c7ef609, Linux 5a275528025ae4bc7e2232866856dfebf84b2fad, Linux 62634b43d3c4e1bf62fd540196f7081bf0885c0a, Linux 8e2f33c598370bcf828bab4d667d1d38bcd3c57d, Linux 76c50d77b928a33e5290aaa9fdc10e88254ff8c7. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2022-49788?

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/7ccf7229b96fadc3a185d1391f814a604c7ef609>
- patch: <https://git.kernel.org/stable/c/f04586c2315cfd03d72ad0395705435e7ed07b1a>
- patch: <https://git.kernel.org/stable/c/5a275528025ae4bc7e2232866856dfebf84b2fad>
- patch: <https://git.kernel.org/stable/c/e7061dd1fef2dfb6458cd521aef27aa66f510d31>
- patch: <https://git.kernel.org/stable/c/62634b43d3c4e1bf62fd540196f7081bf0885c0a>
- patch: <https://git.kernel.org/stable/c/8e2f33c598370bcf828bab4d667d1d38bcd3c57d>
- patch: <https://git.kernel.org/stable/c/76c50d77b928a33e5290aaa9fdc10e88254ff8c7>
- patch: <https://git.kernel.org/stable/c/e5b0d06d9b10f5f43101bd6598b076c347f9295f>

## 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-2022-49788>

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