CVE-2025-38288 scsi: smartpqi: Fix smp_processor_id() call trace for preemptible kernels

High 7.8 Published Updated

A bug in the smartpqi SCSI driver causes kernel call traces and potential instability on preemptible kernels, requiring a patch to fix.

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-2025-38288?

CVE-2025-38288 is a high-severity denial of service vulnerability in Linux kernel, published on 10 Jul 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: smartpqi: Fix smp_processor_id() call trace for preemptible kernels

Correct kernel call trace when calling smp_processor_id() when called in preemptible kernels by using raw_smp_processor_id().

smp_processor_id() checks to see if preemption is disabled and if not, issue an error message followed by a call to dump_stack().

Brief example of call trace: kernel: check_preemption_disabled: 436 callbacks suppressed kernel: BUG: using smp_processor_id() in preemptible [00000000] code: kworker/u1025:0/2354 kernel: caller is pqi_scsi_queue_command+0x183/0x310 [smartpqi] kernel: CPU: 129 PID: 2354 Comm: kworker/u1025:0 kernel: ... kernel: Workqueue: writeback wb_workfn (flush-253:0) kernel: Call Trace: kernel: <TASK> kernel: dump_stack_lvl+0x34/0x48 kernel: check_preemption_disabled+0xdd/0xe0 kernel: pqi_scsi_queue_command+0x183/0x310 [smartpqi] kernel: ...

Which versions are affected by CVE-2025-38288?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2025-38288?

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-2025-38288 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2025-38288, DEBIAN-CVE-2025-38288, GHSA-35h8-mcvx-mrm6, UBUNTU-CVE-2025-38288.

Is CVE-2025-38288 in your software?

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

Check your SBOMs for free