CVE-2025-38288

scsi: smartpqi: Fix smp_processor_id() call trace for preemptible kernels

State
Published
Severity
Not scored
Published
Jul 10, 2025
Updated
May 11, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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: ...

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 283dcc1b142ebd60786f8f5e3fbbd53a51035739 to before 6589bc3699bcb45b35b3095c44a5af7a4d75ef7eAffected
  • 283dcc1b142ebd60786f8f5e3fbbd53a51035739 to before 31224199316f488c8385c5dcdccf7bd80f675b81Affected
  • 283dcc1b142ebd60786f8f5e3fbbd53a51035739 to before 42d033cf4b517e91c187ad2fbd7b30fdc6d2d62cAffected
LinuxLinux
  • 6.12Affected
  • before 6.12Not affected
  • 6.12.34 through 6.12.*Not affected
  • 6.15.3 through 6.15.*Not affected
  • 6.16 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.