Bug 2144991 (CVE-2022-4095)

Summary: CVE-2022-4095 kernel: Use-after-Free/Double-Free bug in read_bbreg_hdl in drivers/staging/rtl8712/rtl8712_cmd.c
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: acaringi, bhu, brdeoliv, chwhite, crwood, ddepaula, debarbos, dhoward, dvlasenk, ezulian, fhrbata, hkrzesin, jarod, jburrell, jfaracco, jferlan, jforbes, jlelli, joe.lawrence, jshortt, jstancek, jwyatt, kcarcia, kernel-mgr, lgoncalv, lleshchi, lzampier, nmurray, ptalbert, qzhao, rvrbovsk, scweaver, tyberry, vkumar, walters, williams
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel 6.0 rc4 Doc Type: If docs needed, set a value
Doc Text:
A use-after-free flaw was found in Linux kernel before 5.19.2. This issue occurs in cmd_hdl_filter in drivers/staging/rtl8712/rtl8712_cmd.c, allowing an attacker to launch a local denial of service attack and gain escalation of privileges.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-12-07 23:33:08 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: 2144992    
Bug Blocks: 2144993    

Description Pedro Sampaio 2022-11-22 20:34:49 UTC
A use after free issue was found in linux kernel before 5.19.2, in cmd_hdl_filter in drivers/staging/rtl8712/rtl8712_cmd.c that allows an attacker to launch a local denial of service attack and gain escalation of privileges.

References:

https://seclists.org/oss-sec/2022/q4/149
https://lore.kernel.org/all/20220906132823.157986856
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c53b3dcb9942b8ed7f81ee3921c4085d87070c73

Comment 1 Pedro Sampaio 2022-11-22 20:35:14 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2144992]

Comment 3 Justin M. Forbes 2022-11-30 19:59:38 UTC
This was fixed for Fedora with the 5.19.8 stable kernel updates.

Comment 4 Product Security DevOps Team 2022-12-07 23:33:05 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-4095