Bug 2102205 (CVE-2022-34494)

Summary: CVE-2022-34494 kernel: a double free in drivers/rpmsg/virtio_rpmsg_bus.c
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, bskeggs, chwhite, crwood, ddepaula, dhoward, dvlasenk, fhrbata, hdegoede, hkrzesin, hpa, jarod, jarodwilson, jburrell, jfaracco, jferlan, jforbes, jglisse, jlelli, joe.lawrence, jonathan, josef, jshortt, jstancek, jwboyer, jwyatt, kcarcia, kernel-maint, kernel-mgr, lgoncalv, linville, lzampier, masami256, mchehab, nmurray, ptalbert, qzhao, rvrbovsk, scweaver, steved, tyberry, vkumar, walters, williams
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel 5.19-rc1 Doc Type: If docs needed, set a value
Doc Text:
A double free flaw was found in the Linux kernel Remote Processor Messaging (rpmsg) framework. This flaw could allow a local user to crash the system.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-29 10:08:27 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: 2102206    
Bug Blocks: 2102210    

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

Reference:

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

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

Affects: fedora-all [bug 2102206]

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