Bug 1189236 - (CVE-2021-3392) VUL-1: CVE-2021-3392: qemu,kvm: scsi mptsas, use-after-free while processing io requests
(CVE-2021-3392)
VUL-1: CVE-2021-3392: qemu,kvm: scsi mptsas, use-after-free while processing ...
Status: RESOLVED FIXED
Classification: Novell Products
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents
unspecified
Other Other
: P4 - Low : Minor
: ---
Assigned To: Security Team bot
Security Team bot
https://smash.suse.de/issue/276974/
CVSSv3.1:SUSE:CVE-2021-3392:3.2:(AV:L...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-08-09 15:43 UTC by Gianluca Gabrielli
Modified: 2022-01-10 15:15 UTC (History)
2 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gianluca Gabrielli 2021-08-09 15:43:22 UTC
A use-after-free issue was found in the Megaraid emulator of the QEMU. It occurs while processing SCSI i/o requests because in case of an error mptsas_free_request() does not dequeue request object 'req' from a pending requests' queue. Which later gets processed resulting in the said use-after-free issue. A privileged guest user may use this flaw to crash the QEMU process on the host resulting in DoS scenario.

Upstream patch:
---------------
  -> https://lists.gnu.org/archive/html/qemu-devel/2021-02/msg00488.html

References:
https://bugzilla.redhat.com/show_bug.cgi?id=1924042
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-3392
http://seclists.org/oss-sec/2021/q1/109
https://access.redhat.com/security/cve/CVE-2021-3392
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3392
https://lists.debian.org/debian-lts-announce/2021/04/msg00009.html
https://lists.gnu.org/archive/html/qemu-devel/2021-02/msg00488.html
https://bugs.launchpad.net/qemu/+bug/1914236
Comment 1 Gianluca Gabrielli 2021-08-09 15:43:53 UTC
Affected package:
 - SUSE:SLE-15-SP3:Update/qemu
Comment 2 Li Zhang 2022-01-10 15:14:40 UTC
This patch has been in SLE15-SP3. It should be fixed.