Bug 2069625 (CVE-2022-1050)

Summary: CVE-2022-1050 QEMU: pvrdma: use-after-free issue in pvrdma_exec_cmd()
Product: [Other] Security Response Reporter: Mauro Matteo Cascella <mcascell>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: berrange, beuc, cfergeau, crobinso, eglynn, jen, jferlan, jforbes, jjoyce, jmaloy, knoel, lhh, lkundrak, m.a.young, mburns, mkenneth, mrezanin, mst, ondrejj, pbonzini, philmd, ribarry, rjones, spower, virt-maint, virt-maint
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: qemu 8.0.0 Doc Type: ---
Doc Text:
A flaw was found in the QEMU implementation of VMWare's paravirtual RDMA device. This flaw allows a crafted guest driver to execute HW commands when shared buffers are not yet allocated, potentially leading to a use-after-free condition.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-29 14:31:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2069627    
Bug Blocks: 2066710, 2069629    

Description Mauro Matteo Cascella 2022-03-29 09:45:38 UTC
Guest driver might execute HW commands when shared buffers are not yet allocated, potentially leading to a use-after-free condition.

Upstream patch:
https://lists.nongnu.org/archive/html/qemu-devel/2022-04/msg00273.html

Comment 1 Mauro Matteo Cascella 2022-03-29 09:58:04 UTC
Created qemu tracking bugs for this issue:

Affects: fedora-all [bug 2069627]

Comment 2 Product Security DevOps Team 2022-03-29 14:31:11 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2022-1050

Comment 3 Mauro Matteo Cascella 2023-01-02 11:21:08 UTC
This is yet to be merged upstream:
https://lists.nongnu.org/archive/html/qemu-devel/2022-12/msg00943.html

Comment 4 Sylvain Beucler 2023-03-09 15:52:08 UTC
Hi. This appears to have been merged a few days later :)
https://gitlab.com/qemu-project/qemu/-/commit/31c4b6fb0293e359f9ef8a61892667e76eea4c99