Bug 2174866 (CVE-2023-23039)

Summary: CVE-2023-23039 kernel: tty: vcc: race condition leading to use-after-free in vcc_open()
Product: [Other] Security Response Reporter: Mauro Matteo Cascella <mcascell>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: acaringi, bhu, chwhite, crwood, ddepaula, debarbos, dfreiber, 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, rogbas, rvrbovsk, scweaver, tyberry, vkumar, walters, williams
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A race condition leading to a use-after-free vulnerability was found in the Linux kernel's Sun Virtual Console Concentrator (VCC). This issue can result in a system crash or potential code execution if a physically proximate attacker removes a VCC device while calling open().
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-03-02 14:20:31 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: 2174867    
Bug Blocks: 2172634    

Description Mauro Matteo Cascella 2023-03-02 14:18:31 UTC
A race condition leading to use-after-free may occur if the user physically removes the vcc device while calling open().

Upstream patch (not yet merged upstream):
https://lore.kernel.org/lkml/20230102010528.2868403-1-yoochan1026@gmail.com/

Comment 1 Mauro Matteo Cascella 2023-03-02 14:18:58 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2174867]

Comment 2 Justin M. Forbes 2023-03-14 19:00:08 UTC
This is not enabled on Fedora kernels.