Bug 2281731 (CVE-2024-35874)

Summary: CVE-2024-35874 kernel: aio: Fix null ptr deref in aio_complete() wakeup
Product: [Other] Security Response Reporter: ybuenos
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 6.8.5, kernel 6.9 Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in the Linux kernel that causes a NULL pointer dereference in the `aio_complete()` function during a wakeup operation. The issue arises because `finish_wait()` may skip locking if it encounters an empty list head. This leads to a NULL pointer dereference when attempting a wakeup after the task structure pointer is overwritten.
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: 2281732    
Bug Blocks: 2281792    

Description ybuenos 2024-05-20 13:10:36 UTC
In the Linux kernel, the following vulnerability has been resolved:

aio: Fix null ptr deref in aio_complete() wakeup

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

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024051942-CVE-2024-35874-c494@gregkh/T

Comment 1 ybuenos 2024-05-20 13:11:16 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2281732]

Comment 2 Alex 2024-06-09 14:28:44 UTC
The result of automatic check (that is developed by Alexander Larkin) for this CVE-2024-35874 is: 	SKIP	The Fixes patch not applied yet, so unlikely that actual: 71eb6b6b0ba93b1467bccff57b5de746b09113d2	YES			NO	NO	unknown	 (where first YES/NO value means if related sources built).