Bug 2102218 (CVE-2022-34495)

Summary: CVE-2022-34495 kernel: a double free in drivers/rpmsg/virtio_rpmsg_bus.c may lead to crash
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: acaringi, adscvr, airlied, alciregi, bdettelb, bhu, brdeoliv, bskeggs, caswilli, chwhite, crwood, ddepaula, dffrench, dhoward, dvlasenk, fhrbata, fjansen, gzaronik, hdegoede, hkrzesin, hpa, jarod, jarodwilson, jburrell, jfaracco, jferlan, jforbes, jglisse, jlelli, joe.lawrence, jonathan, josef, jshortt, jstancek, jwboyer, jwong, jwyatt, kaycoth, kcarcia, kernel-maint, kernel-mgr, kshier, lgoncalv, linville, lzampier, masami256, mchehab, micjohns, ngough, nmurray, ptalbert, qzhao, rgodfrey, rvrbovsk, scweaver, steved, sthirugn, tyberry, vkumar, walters, williams
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel 5.18.4 Doc Type: If docs needed, set a value
Doc Text:
A double free flaw was found in the Linux kernel’s virtio-based messaging bus functionality. This flaw allows a local user to crash the system.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-07-05 17:23:03 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: 2102219    
Bug Blocks: 2102220    

Description Marian Rehak 2022-06-29 13:29:25 UTC
A double free in rpmsg_probe in drivers/rpmsg/virtio_rpmsg_bus.c may lead to a crash.

Reference:

https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.18.4 	
https://github.com/torvalds/linux/commit/c2eecefec5df1306eafce28ccdf1ca159a552ecc

Comment 1 Marian Rehak 2022-06-29 13:29:49 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2102219]

Comment 2 Justin M. Forbes 2022-06-29 16:08:39 UTC
This was fixed for Fedora with the 5.18.4 stable kernel rebases.

Comment 4 Product Security DevOps Team 2022-07-05 17:22:58 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-34495