Bug 2281895 (CVE-2024-35971)

Summary: CVE-2024-35971 kernel: net: ks8851: Handle softirqs at the end of IRQ thread to fix hang
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 6.1.87, kernel 6.6.28, kernel 6.8.7, kernel 6.9 Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in the Linux kernel's `ks8851` network driver, that causes a system hang due to a deadlock in the IRQ handling process. The issue occurs when the `ks8851_irq()` function, which handles network packets, triggers a softirq (`net_rx_action`) while holding a spinlock (`ks8851_lock_par()`). This results in a deadlock when the driver tries to acquire the same spinlock again during packet transmission.
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: 2281896    
Bug Blocks: 2282028    

Description Robb Gatica 2024-05-20 16:34:49 UTC
In the Linux kernel, the following vulnerability has been resolved:

net: ks8851: Handle softirqs at the end of IRQ thread to fix hang

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

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024052023-CVE-2024-35971-fb84@gregkh/T

Comment 1 Robb Gatica 2024-05-20 16:35:29 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2281896]

Comment 2 Alex 2024-06-09 14:02:30 UTC
The result of automatic check (that is developed by Alexander Larkin) for this CVE-2024-35971 is: 	SKIP	No affected files built, so skip this CVE	NO			-	-	unknown	 (where first YES/NO value means if related sources built).