Bug 2269181 (CVE-2023-52493)

Summary: CVE-2023-52493 kernel: bus: mhi: host: Drop chan lock before queuing buffers
Product: [Other] Security Response Reporter: Marco Benatto <mbenatto>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: acaringi, allarkin, aquini, bhu, chwhite, cye, cyin, dbohanno, debarbos, dfreiber, drow, dvlasenk, esandeen, ezulian, hkrzesin, jarod, jburrell, jdenham, jfaracco, jforbes, jlelli, joe.lawrence, jshortt, jstancek, jwyatt, kcarcia, ldoskova, lgoncalv, lzampier, mleitner, mmilgram, mstowell, nmurray, ptalbert, rparrazo, rrobaina, rvrbovsk, rysulliv, scweaver, sidakwo, sukulkar, tglozar, tyberry, vkumar, wcosta, williams, wmealing, ycote, ykopkova, zhijwang
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel 5.10.210, kernel 5.15.149, kernel 6.1.76, kernel 6.6.15, kernel 6.7.3, kernel 6.8-rc1 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the Linux Kernel. Read and write locks for the channel are taken in succession by dropping the read lock from parse_xfer_event(), such that a callback given to client can potentially queue buffers and acquire the write lock in that process. This can result in multiple locks and a soft lockup, leading to compromised Availability.
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: 2269182    
Bug Blocks: 2269239    

Description Marco Benatto 2024-03-12 15:49:35 UTC
In the Linux kernel, the following vulnerability has been resolved:

bus: mhi: host: Drop chan lock before queuing buffers

The Linux kernel CVE team has assigned CVE-2023-52493 to this issue.

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/20240229155245.1571576-34-lee@kernel.org/T

Comment 1 Marco Benatto 2024-03-12 15:50:14 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2269182]

Comment 2 Justin M. Forbes 2024-03-26 16:47:24 UTC
This was fixed for Fedora with the 6.7.3 stable kernel updates.

Comment 3 Alex 2024-06-09 15:28:32 UTC
The result of automatic check (that is developed by Alexander Larkin) for this CVE-2023-52493 is: CHECK	Maybe valid. Check manually. with impact MODERATE (that is approximation based on flags LOCK SIMPLEFIX  ; these flags parsed automatically based on patche data). Such automatic check happens only for Low/Moderates (and only when not from reporter, but parsing already existing CVE). Highs always checked manually (I check it myself and then we check it again in Remediation team). In rare cases some of the Moderates could be increased to High later.