CVE-2024-24855
Linux Kernel vulnerability analysis and mitigation

Overview

A race condition vulnerability (CVE-2024-24855) was discovered in the Linux kernel's SCSI device driver, specifically in the lpfc_unregister_fcf_rescan() function of the Emulex LightPulse Fibre Channel driver. The vulnerability was reported on February 1, 2024, and affects Linux kernel versions up to 2.6.33.20 and from version 6.0 up to 6.4.16 (NVD, Ubuntu Security).

Technical details

The vulnerability stems from an unprotected write operation to phba->fcf.fcf_flag in the lpfc_unregister_fcf_rescan function. While the fcf_flag write operation requires spinlock phba->hbalock protection, the function lacks the necessary spinlock protection, leading to potential data race conditions. The vulnerability has been assigned a CVSS v3.1 base score of 4.7 (Medium) with the vector string CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

When triggered, the vulnerability can cause the phba->fcf.fcf_flag zero operation to be overwritten. Since fcf_flag is a core variable in the lpfc module that determines driver function behavior, this can lead to errors in functions like lpfc_linkdown and lpfc_work_done. The impact can range from lpfc functionality abnormalities to kernel panic or denial of service conditions, with potential for serious memory issues including double-free vulnerabilities (OpenAnolis Bug).

Mitigation and workarounds

A fix has been implemented by adding appropriate spin_lock protection around the phba->fcf.fcf_flag |= FCF_INIT_DISC statement in the lpfc_unregister_fcf_rescan function. The patch has been accepted into the Linux kernel and is available at commit 0e881c0a4b6146b7e856735226208f48251facd8. Various Linux distributions have released patched versions, including Ubuntu which has fixed versions available for multiple releases (OpenAnolis Bug, Ubuntu Security).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-71142N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel-matched
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • linux-gcp
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-core
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-uki-virt
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-modules-extra
NoYesJan 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management