Bug 2281206 (CVE-2024-35815)

Summary: CVE-2024-35815 kernel: fs/aio: Check IOCB_AIO_RW before the struct aio_kiocb conversion
Product: [Other] Security Response Reporter: Zack Miele <zmiele>
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, mleitner, mmilgram, mstowell, nmurray, ptalbert, rparrazo, rrobaina, rvrbovsk, scweaver, sidakwo, sukulkar, tglozar, vkumar, vsroka, wcosta, williams, wmealing, ycote, ykopkova, zhijwang
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel 4.19.312, kernel 5.4.274, kernel 5.10.215, kernel 5.15.154, kernel 6.1.84, kernel 6.6.24, kernel 6.7.12 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the Linux kernel's Asynchronous I/O (AIO) subsystem. This issue occurs when handling I/O control blocks (IOCBs), where the kernel fails to properly check the `IOCB_AIO_RW` flag before converting the `aio_kiocb` structure. This oversight could lead to incorrect handling of I/O requests, resulting in unintended behavior or memory corruption.
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: 2281794    

Description Zack Miele 2024-05-17 23:32:04 UTC
In the Linux kernel, the following vulnerability has been resolved:

fs/aio: Check IOCB_AIO_RW before the struct aio_kiocb conversion

The Linux kernel CVE team has assigned CVE-2024-35815 to this issue.

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024051742-CVE-2024-35815-c819@gregkh/T