CVE-2024-57807 scsi: megaraid_sas: Fix for a potential deadlock

Medium 5.5 Published Updated

A deadlock in the megaraid_sas SCSI driver can cause a system hang, requiring a kernel patch to resolve the circular locking dependency.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-57807?

CVE-2024-57807 is a medium-severity vulnerability in Linux kernel, published on 11 Jan 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In the Linux kernel, the following vulnerability has been resolved:

scsi: megaraid_sas: Fix for a potential deadlock

This fixes a 'possible circular locking dependency detected' warning CPU0 CPU1 ---- ---- lock(&instance->reset_mutex); lock(&shost->scan_mutex); lock(&instance->reset_mutex); lock(&shost->scan_mutex);

Fix this by temporarily releasing the reset_mutex.

Weakness: CWE-667

Which versions are affected by CVE-2024-57807?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-57807?

Apply the vendor's patch.

Is CVE-2024-57807 being exploited?

There is no known exploitation of CVE-2024-57807 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as AZL-55724, AZL-55792, BELL-CVE-2024-57807, DEBIAN-CVE-2024-57807, GHSA-cr25-mcg8-cfvp, UBUNTU-CVE-2024-57807.

Is CVE-2024-57807 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free