CVE-2024-36924
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-36924 affects the Linux kernel's SCSI lpfc driver. The vulnerability was discovered in the handling of the hbalock mutex, where lpfcworkerwake_up() was being called while holding the lock. This issue was disclosed on May 30, 2024, and affects Linux kernel versions up to (excluding) 6.1.91, versions from 6.2 up to (excluding) 6.6.31, versions from 6.7 up to (excluding) 6.8.10, and version 6.9-rc1 (NVD).

Technical details

The vulnerability stems from a locking issue in the Linux kernel's SCSI lpfc driver where lpfcworkerwakeup() calls the lpfcworkdone() routine while holding the hbalock. Since lpfcwork_done() also attempts to take the hbalock, this creates a potential deadlock condition. The issue has been assigned a CVSS v3.1 base score of 5.5 (Medium) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H and is classified as CWE-667 (Improper Locking) (NVD).

Impact

The vulnerability can lead to a potential deadlock in the Linux kernel's SCSI subsystem, specifically affecting systems using the lpfc driver. This could result in system availability issues, though there are no impacts to confidentiality or integrity (NVD).

Mitigation and workarounds

The vulnerability has been fixed by releasing the hbalock before calling lpfcworkerwake_up(). The fix involves restructuring the code to ensure proper lock handling and reference counting. Patches have been released for affected kernel versions (Kernel Patch).

Additional resources


SourceThis report was generated using AI

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