A flaw was found in vDPA with VDUSE backend. There are currently no checks in VDUSE kernel driver to ensure the size of the device config space is in line with the features advertised by the VDUSE userspace application. In case of a mismatch, Virtio drivers config read helpers do not initialize the memory indirectly passed to vduse_vdpa_get_config() returning uninitialized memory from the stack. This could cause undefined behavior or data leaks in Virtio drivers.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published: 2022-09-01T20:01:28

Updated: 2024-08-03T00:32:09.598Z

Reserved: 2022-07-05T00:00:00

Link: CVE-2022-2308

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2022-09-01T21:15:09.340

Modified: 2022-09-13T19:47:46.690

Link: CVE-2022-2308

cve-icon Redhat

Severity : Moderate

Publid Date: 2022-08-19T00:00:00Z

Links: CVE-2022-2308 - Bugzilla