CVE-2024-42124 scsi: qedf: Make qedf_execute_tmf() non-preemptible
A bug in the Linux kernel's qedf driver causes a system crash when running a real-time kernel due to improper preemption handling.
- 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-42124?
CVE-2024-42124 is a medium-severity denial of service vulnerability in Linux kernel, published on 30 Jul 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: qedf: Make qedf_execute_tmf() non-preemptible
Stop calling smp_processor_id() from preemptible code in qedf_execute_tmf90. This results in BUG_ON() when running an RT kernel.
[ 659.343280] BUG: using smp_processor_id() in preemptible [00000000] code: sg_reset/3646 [ 659.343282] caller is qedf_execute_tmf+0x8b/0x360 [qedf]
Which versions are affected by CVE-2024-42124?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-42124?
Apply the vendor's patch.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2024-42124 being exploited?
There is no known exploitation of CVE-2024-42124 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-42124, DEBIAN-CVE-2024-42124, GHSA-j3vc-53vj-555f, UBUNTU-CVE-2024-42124.