CVE-2024-36025 scsi: qla2xxx: Fix off by one in qla_edif_app_getstats()

Medium 5.5 Published Updated

An off-by-one error in the qla2xxx SCSI driver allows memory corruption, potentially leading to code execution or privilege escalation.

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-36025?

CVE-2024-36025 is a medium-severity vulnerability in Linux kernel, published on 30 May 2024. 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: qla2xxx: Fix off by one in qla_edif_app_getstats()

The app_reply->elem[] array is allocated earlier in this function and it has app_req.num_ports elements. Thus this > comparison needs to be >= to prevent memory corruption.

Weakness: CWE-193

Which versions are affected by CVE-2024-36025?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-36025?

Apply the vendor's patch.

Is CVE-2024-36025 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-36025, DEBIAN-CVE-2024-36025, UBUNTU-CVE-2024-36025.

Is CVE-2024-36025 in your software?

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

Check your SBOMs for free