Skip to content
Heist/ feed
Back to feed
Low

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-3392

A use-after-free flaw was found in the MegaRAID emulator of QEMU. This issue occurs while processing SCSI I/O requests in the case of an error mptsas_free_request() that does not dequeue the request object 'req' from a pending requests queue. This flaw allows a privileged guest user to crash the QEMU process on the host, resulting in a denial of service. Versions between 2.10.0 and 5.2.0 are potentially affected.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-3392
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 06:46 UTC · Revision 1

Source evidence

CVE-2021-3392

core-osv · Original source

Published 23 Mar 2021, 20:15 UTC

A use-after-free flaw was found in the MegaRAID emulator of QEMU. This issue occurs while processing SCSI I/O requests in the case of an error mptsas_free_request() that does not dequeue the request object 'req' from a pending requests queue. This flaw allows a privileged guest user to crash the QEMU process on the host, resulting in a denial of service. Versions between 2.10.0 and 5.2.0 are potentially affected.

osv:CVE-2021-3392
Complete source record
{
  "id": "cc5abf9e600e770e0c6b9072909857d7ce841767eb1927941d30684670667334",
  "url": "https://osv.dev/vulnerability/CVE-2021-3392",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-3392",
    "summary": "A use-after-free flaw was found in the MegaRAID emulator of QEMU. This issue occurs while processing SCSI I/O requests in the case of an error mptsas_free_request() that does not dequeue the request object 'req' from a pending requests queue. This flaw allows a privileged guest user to crash the QEMU process on the host, resulting in a denial of service. Versions between 2.10.0 and 5.2.0 are potentially affected.",
    "evidence": "osv:CVE-2021-3392",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2021-3392",
      "aliases": [
        "CVE-2021-3392"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/qemu/qemu",
              "type": "GIT",
              "events": [
                {
                  "introduced": "1ab5eb4efb91a3d4569b0df6e824cc08ab4bd8ec"
                },
                {
                  "last_affected": "553032db17440f8de011390e5a1cfddd13751b0b"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:qemu:qemu:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.10.0"
                      },
                      {
                        "last_affected": "5.2.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v5.2.0",
            "v5.2.0-rc4",
            "v5.2.0-rc3",
            "v5.2.0-rc2",
            "v5.2.0-rc1",
            "v5.2.0-rc0",
            "v5.0.0",
            "v5.1.0",
            "v5.1.0-rc3",
            "v5.1.0-rc2",
            "v5.1.0-rc1",
            "v5.1.0-rc0",
            "v4.2.0",
            "v5.0.0-rc4",
            "v5.0.0-rc3",
            "v5.0.0-rc2",
            "v5.0.0-rc1",
            "v5.0.0-rc0",
            "v4.2.0-rc5",
            "v4.2.0-rc4",
            "v4.2.0-rc3",
            "v4.2.0-rc2",
            "v4.2.0-rc1",
            "v4.2.0-rc0",
            "v4.1.0",
            "v4.0.0",
            "v4.1.0-rc5",
            "v4.1.0-rc4",
            "v4.1.0-rc3",
            "v4.1.0-rc2",
            "v4.1.0-rc1",
            "v4.1.0-rc0",
            "v4.0.0-rc4",
            "v4.0.0-rc3",
            "v4.0.0-rc2",
            "v4.0.0-rc1",
            "v3.1.0",
            "v4.0.0-rc0",
            "v3.0.0",
            "v3.1.0-rc5",
            "v3.1.0-rc4",
            "v3.1.0-rc3",
            "v3.1.0-rc2",
            "v3.1.0-rc1",
            "v3.1.0-rc0",
            "v3.0.0-rc4",
            "v3.0.0-rc3",
            "v3.0.0-rc2",
            "v3.0.0-rc1",
            "v3.0.0-rc0",
            "v2.12.0",
            "v2.12.0-rc4",
            "v2.12.0-rc3",
            "v2.12.0-rc2",
            "v2.12.0-rc1",
            "v2.12.0-rc0",
            "v2.11.0",
            "v2.11.0-rc5",
            "v2.11.0-rc4",
            "v2.11.0-rc3",
            "v2.11.0-rc2",
            "v2.11.0-rc1",
            "v2.11.0-rc0",
            "v2.10.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3392.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://gitlab.com/qemu-project/qemu",
              "type": "GIT",
              "events": [
                {
                  "introduced": "1ab5eb4efb91a3d4569b0df6e824cc08ab4bd8ec"
                },
                {
                  "last_affected": "553032db17440f8de011390e5a1cfddd13751b0b"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:qemu:qemu:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.10.0"
                      },
                      {
                        "last_affected": "5.2.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v5.2.0",
            "v5.2.0-rc4",
            "v5.2.0-rc3",
            "v5.2.0-rc2",
            "v5.2.0-rc1",
            "v5.2.0-rc0",
            "v5.0.0",
            "v5.1.0",
            "v5.1.0-rc3",
            "v5.1.0-rc2",
            "v5.1.0-rc1",
            "v5.1.0-rc0",
            "v4.2.0",
            "v5.0.0-rc4",
            "v5.0.0-rc3",
            "v5.0.0-rc2",
            "v5.0.0-rc1",
            "v5.0.0-rc0",
            "v4.2.0-rc5",
            "v4.2.0-rc4",
            "v4.2.0-rc3",
            "v4.2.0-rc2",
            "v4.2.0-rc1",
            "v4.2.0-rc0",
            "v4.1.0",
            "v4.0.0",
            "v4.1.0-rc5",
            "v4.1.0-rc4",
            "v4.1.0-rc3",
            "v4.1.0-rc2",
            "v4.1.0-rc1",
            "v4.1.0-rc0",
            "v4.0.0-rc4",
            "v4.0.0-rc3",
            "v4.0.0-rc2",
            "v4.0.0-rc1",
            "v3.1.0",
            "v4.0.0-rc0",
            "v3.0.0",
            "v3.1.0-rc5",
            "v3.1.0-rc4",
            "v3.1.0-rc3",
            "v3.1.0-rc2",
            "v3.1.0-rc1",
            "v3.1.0-rc0",
            "v3.0.0-rc4",
            "v3.0.0-rc3",
            "v3.0.0-rc2",
            "v3.0.0-rc1",
            "v3.0.0-rc0",
            "v2.12.0",
            "v2.12.0-rc4",
            "v2.12.0-rc3",
            "v2.12.0-rc2",
            "v2.12.0-rc1",
            "v2.12.0-rc0",
            "v2.11.0",
            "v2.11.0-rc5",
            "v2.11.0-rc4",
            "v2.11.0-rc3",
            "v2.11.0-rc2",
            "v2.11.0-rc1",
            "v2.11.0-rc0",
            "v2.10.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3392.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:44.365891168Z",
      "provider": "osv",
      "references": [
        "https://lists.debian.org/debian-lts-announce/2021/04/msg00009.html",
        "https://lists.debian.org/debian-lts-announce/2022/09/msg00008.html",
        "https://security.netapp.com/advisory/ntap-20210507-0001/",
        "https://bugzilla.redhat.com/show_bug.cgi?id=1924042",
        "https://bugs.launchpad.net/qemu/+bug/1914236"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "9.0"
                  },
                  {
                    "last_affected": "9.0"
                  },
                  {
                    "introduced": "10.0"
                  },
                  {
                    "last_affected": "10.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "33"
                  },
                  {
                    "last_affected": "33"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-3392",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 435862,
  "published_at": "2021-03-23T20:15:13.44+00:00"
}