Bug 2262983 (CVE-2024-24855)

Summary: CVE-2024-24855 kernel: Race condition in lpfc_unregister_fcf_rescan() in scsi/lpfc/lpfc_hbadisc.c
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: acaringi, allarkin, aquini, bhu, chwhite, cye, cyin, dbohanno, debarbos, dfreiber, drow, dvlasenk, emilne, ezulian, hkrzesin, jarod, jburrell, jdenham, jfaracco, jforbes, jlelli, joe.lawrence, jshortt, jstancek, jwyatt, kcarcia, ldoskova, lgoncalv, lzampier, mleitner, mmilgram, mrehak, mstowell, nmurray, ptalbert, rogbas, rparrazo, rrobaina, rvrbovsk, rysulliv, scweaver, sukulkar, tglozar, tyberry, vkumar, wcosta, williams, wmealing, ycote, ykopkova, zhijwang
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A race condition vulnerability was found in the Linux kernel's SCSI device driver in the lpfc_unregister_fcf_rescan() function. This issue can result in a NULL pointer dereference issue, possibly leading to a kernel panic or denial of service.
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: 2262985    
Bug Blocks: 2262987    

Description Pedro Sampaio 2024-02-06 12:44:38 UTC
A race condition was found in the Linux kernel's scsi device driver in lpfc_unregister_fcf_rescan() function. This can result in a null pointer dereference issue, possibly leading to a kernel panic or denial of service issue.

References:

https://bugzilla.openanolis.cn/show_bug.cgi?id=8149

Comment 1 Pedro Sampaio 2024-02-06 12:47:15 UTC
No info available from reference (private bug). Fixing commit might be:

https://lkml.org/lkml/2023/8/3/683
https://github.com/torvalds/linux/commit/0e881c0a4b6146b7e856735226208f48251facd8

Comment 2 Pedro Sampaio 2024-02-06 12:49:43 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2262985]