Bug 2212938 (CVE-2023-31082)

Summary: CVE-2023-31082 kernel: sleeping function called from an invalid context in gsmld_write
Product: [Other] Security Response Reporter: Alex <allarkin>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: acaringi, allarkin, bhu, chwhite, crwood, dbohanno, ddepaula, debarbos, dfreiber, dvlasenk, ezulian, hkrzesin, jarod, jburrell, jdenham, jfaracco, jferlan, jforbes, jlelli, joe.lawrence, jshortt, jstancek, jwyatt, kcarcia, kernel-mgr, ldoskova, lgoncalv, linville, lzampier, nmurray, ptalbert, qzhao, rogbas, rrobaina, rvrbovsk, rysulliv, scweaver, steve.beattie, tyberry, vkumar, walters, wcosta, williams, wmealing, ycote
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 flaw was found when calling sleeping functions from the atomic context in the Linux kernel’s GSM MUX protocol. This flaw allows a local user to crash the system.
Story Points: ---
Clone Of: Environment:
Last Closed: 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: 2212939, 2212940, 2212941, 2212942, 2212943    
Bug Blocks: 2189448    

Description Alex 2023-06-06 16:28:36 UTC
A flaw in the Linux Kernel found in drivers/tty/n_gsm.c. If sleeping function called from an invalid context in gsmld_write, this can lead to kernel crash.

Reference:
https://lore.kernel.org/all/CA+UBctCZok5FSQ=LPRA+A-jocW=L8FuMVZ_7MNqhh483P5yN8A@mail.gmail.com/

Patch not available yet, and previous attempt to fix was:
https://lore.kernel.org/all/20221205190806.179857803@linuxfoundation.org/

Comment 1 Alex 2023-06-06 16:29:07 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2212939]