CVE-2022-2308

Summary

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.

Affected Software

VendorProductVersion RangeStatus
n/aLinux kerneluknownaffected

Weaknesses

  • CWE-457: CWE-457

ADP Enrichment

CVE Program Container

Additional References

References