Qemu: virtio-net: stack buffer overflow in virtio_net_flush_tx()

Summary

CVECVE-2023-6693
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2024-01-02 10:15:08 UTC
Updated2026-11-05 12:17:38 UTC
DescriptionA stack based buffer overflow was found in the virtio-net device of QEMU. This issue occurs when flushing TX in the virtio_net_flush_tx function if guest features VIRTIO_NET_F_HASH_REPORT, VIRTIO_F_VERSION_1 and VIRTIO_NET_F_MRG_RXBUF are enabled. This could allow a malicious user to overwrite local variables allocated on the stack. Specifically, the `out_sg` variable could be used to read a part of process memory and send it to the wire, causing an information leak.

Risk And Classification

Primary CVSS: v3.1 5.3 MEDIUM from [email protected]

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Problem Types: CWE-121 | CWE-787 | CWE-121 Stack-based Buffer Overflow


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary5.3MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
3.1[email protected]Secondary4.9MEDIUMCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
3.1CNACVSS4.9MEDIUMCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Fedoraproject Fedora 39 All All All
Application Qemu Qemu All All All All
Operating System Redhat Enterprise Linux 8.0 All All All
Operating System Redhat Enterprise Linux 8.0 All All All
Operating System Redhat Enterprise Linux 9.0 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Red Hat Red Hat Enterprise Linux 8 unaffected 8100020240314161907.e155f54d * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8 unaffected 8100020240314161907.e155f54d * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9 unaffected 17:9.0.0-10.el9_5.3 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 6 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 7 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 7 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 8 Advanced Virtualization Not specified Not specified

References

ReferenceSourceLinkTags
access.redhat.com/security/cve/CVE-2023-6693 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Third Party Advisory
lists.fedoraproject.org/archives/list/[email protected]/messag... af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
bugzilla.redhat.com/show_bug.cgi af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com Issue Tracking, Patch
access.redhat.com/errata/RHSA-2024:2962 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
lists.debian.org/debian-lts-announce/2025/04/msg00042.html af854a3a-2127-422b-91ae-364da2661108 lists.debian.org
access.redhat.com/errata/RHSA-2025:4492 [email protected] access.redhat.com
security.netapp.com/advisory/ntap-20240208-0004 af854a3a-2127-422b-91ae-364da2661108 security.netapp.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Red Hat would like to thank Xiao Lei (Zhejiang University) for reporting this issue. (en)

Additional Advisory Data

SourceTimeEvent
CNA2023-12-11T00:00:00.000ZReported to Red Hat.
CNA2024-01-02T00:00:00.000ZMade public.

Workarounds

CNA: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Legacy QID Mappings

  • 161478 Oracle Enterprise Linux Security Update for virt:kvm_utils3 (ELSA-2024-12276)
  • 284978 Fedora Security Update for qemu (FEDORA-2024-c601293124)
  • 756072 SUSE Enterprise Linux Security Update for qemu (SUSE-SU-2024:1103-1)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report