Bug 2280458 (CVE-2023-52654)

Summary: CVE-2023-52654 kernel: io_uring/af_unix: disable sending io_uring over sockets
Product: [Other] Security Response Reporter: Robb Gatica <rgatica>
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, 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.4.264, kernel 5.10.204, kernel 5.15.143, kernel 6.1.68, kernel 6.6.7, kernel 6.7 Doc Type: If docs needed, set a value
Doc Text:
A security vulnerability was identified in the Linux kernel's io_uring subsystem, specifically related to the handling of file descriptors over UNIX domain sockets. The issue arises from the potential for file reference cycles when io_uring file descriptors are transmitted over sockets using the SCM_RIGHTS mechanism. These cycles can lead to resource leaks and race conditions, particularly with the unix_stream_read_generic() function.
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:    
Bug Blocks: 2280439    

Description Robb Gatica 2024-05-14 23:41:01 UTC
In the Linux kernel, the following vulnerability has been resolved:

io_uring/af_unix: disable sending io_uring over sockets

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

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024050833-CVE-2023-52654-1ae1@gregkh/T

Comment 2 Alex 2024-06-09 15:20:46 UTC
The result of automatic check (that is developed by Alexander Larkin) for this CVE-2023-52654 is: CHECK	Maybe valid. Check manually. with impact MODERATE (that is approximation based on flags LOCK DISK INIT NOMEMCHK RACE SKB  ; 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.