# CVE-2021-3930: An off-by-one error was found in the SCSI device emulation in QEMU.

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 20% of CVEs (2026-11-30)
- Published: 2022-02-18T17:50:48.000Z
- Modified: 2026-06-17T04:06:00.523Z
- Weaknesses: CWE-193
- Assigned by: redhat

## Description

An off-by-one error was found in the SCSI device emulation in QEMU. It could occur while processing MODE SELECT commands in mode_sense_page() if the 'page' argument was set to MODE_PAGE_ALLS (0x3f). A malicious guest could use this flaw to potentially crash QEMU, resulting in a denial of service condition.

(As written by CVE List.)

## Affected

- QEMU: qemu-kvm 6.2.0-rc0
- qemu qemu: before 6.2.0
- redhat codeready_linux_builder: 8.0
- redhat codeready_linux_builder_for_ibm_z_systems: 8.0
- redhat codeready_linux_builder_for_power_little_endian: 8.0
- redhat openstack: 10; 13
- redhat enterprise_linux: 8.0
- redhat enterprise_linux_advanced_virtualization_eus: 8.4
- redhat enterprise_linux_for_ibm_z_systems: 8.0
- redhat enterprise_linux_for_power_little_endian: 8.0
- debian debian_linux: 9.0; 10.0

## Every score

- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H`
- NVD: CVSS:2.0 2.1 Low `AV:L/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=2020588> (issue-tracking, patch, vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20220225-0007/> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/04/msg00002.html> (mailing-list, third-party-advisory)
- <https://security.gentoo.org/glsa/202208-27> (third-party-advisory, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/09/msg00008.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2021-3930](https://www.cve.org/CVERecord?id=CVE-2021-3930), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-3930](https://nvd.nist.gov/vuln/detail/CVE-2021-3930), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-3930 · Whole record: https://cve.day/CVE-2021-3930.json · Rebuilt by cve.day 2026-11-25T22:58:07.002Z
