Bug 2284310 (CVE-2024-36021)

Summary: CVE-2024-36021 kernel: net: hns3: fix kernel crash when devlink reload during pf initialization
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, dbohanno, debarbos, dfreiber, drow, dvlasenk, esandeen, ezulian, hkrzesin, jarod, jburrell, jfaracco, jlelli, joe.lawrence, jshortt, jstancek, jwyatt, ldoskova, lgoncalv, mleitner, mmilgram, mstowell, nmurray, ptalbert, rhel-process-autobot, rparrazo, rrobaina, rvrbovsk, scweaver, sidakwo, sukulkar, tglozar, trathi, vkumar, watson-tool-maintainers, wcosta, williams, wmealing, ycote, ykopkova
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel 6.1.85, kernel 6.6.26, kernel 6.8.5, kernel 6.9 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the Linux kernel's hns3 network driver. This vulnerability allows a local attacker to cause a kernel crash, leading to a Denial of Service (DoS), when a devlink reload operation is performed during the physical function (PF) initialization process. This occurs because the reload process attempts to access hardware resources before they are fully initialized, disrupting system 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: 2284311    
Bug Blocks: 2284429    

Description ybuenos 2024-06-02 16:43:06 UTC
In the Linux kernel, the following vulnerability has been resolved:

net: hns3: fix kernel crash when devlink reload during pf initialization

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

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024053044-CVE-2024-36021-f196@gregkh/T

Comment 1 ybuenos 2024-06-02 16:43:47 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2284311]

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