CVEvulnerability

CVE-2022-2308

6.5 MEDIUM Published 2022-09-01 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2022-09-01
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
6.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Weaknesses
CWE-457, CWE-908

Description

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 configurations

• linux linux kernel

Related

Weakness · CWE (2)

  • CWE-457 Use of Uninitialized Variable weakness
  • CWE-908 Use of Uninitialized Resource weakness

References