title: Race condition vulnerability in Linux kernel scsi device driver lpfc_unregister_fcf_rescan()
description: 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.
problem types: CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
affected:
{
collectionURL: https://kernel.org/
defaultStatus: unaffected
modules: scsi
packageName: kernel
platforms: [Linux, x86, ARM]
product: Linux kernel
programFiles: https://gitee.com/anolis/cloud-kernel/blob/devel-5.10/drivers/scsi/lpfc/lpfc_hbadisc.c
repo: https://gitee.com/anolis/cloud-kernel.git
vendor: Linux
versions:
lessThan: v6.5-rc2, status: affected, version: v2.6.34-rc2, versionType: custom
}
metrics:
cvssV3_1: [
attackComplexity: HIGH
attackVector: LOCAL
availabilityImpact: HIGH
baseScore: 5
baseSeverity: MEDIUM
confidentialityImpact: NONE
integrityImpact: LOW
privilegesRequired: LOW
scope: UNCHANGED
userInteraction: REQUIRED
vectorString: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:H
version: 3.1
]
format: CVSS
scenarios: GENERAL
solutions:  https://github.com/torvalds/linux/commit/0e881c0a4b614 https://github.com/torvalds/linux/commit/0e881c0a4b614