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

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 14% of CVEs (2026-11-30)
- Published: 2025-07-10T07:42:04.862Z
- Modified: 2026-06-17T09:16:33.400Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 283dcc1b142ebd60786f8f5e3fbbd53a51035739 before 6589bc3699bcb45b35b3095c44a5af7a4d75ef7e; from 283dcc1b142ebd60786f8f5e3fbbd53a51035739 before 31224199316f488c8385c5dcdccf7bd80f675b81; from 283dcc1b142ebd60786f8f5e3fbbd53a51035739 before 42d033cf4b517e91c187ad2fbd7b30fdc6d2d62c; 6.12 (not affected: before 6.12; from 6.12.34 up to 6.12.*; from 6.15.3 up to 6.15.*; from 6.16 up to *)
- linux linux_kernel: from 6.12 before 6.12.34; from 6.13 before 6.15.3

## References

- <https://git.kernel.org/stable/c/6589bc3699bcb45b35b3095c44a5af7a4d75ef7e> (patch)
- <https://git.kernel.org/stable/c/31224199316f488c8385c5dcdccf7bd80f675b81> (patch)
- <https://git.kernel.org/stable/c/42d033cf4b517e91c187ad2fbd7b30fdc6d2d62c> (patch)

## Sources

- CVE List: [CVE-2025-38288](https://www.cve.org/CVERecord?id=CVE-2025-38288), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-38288](https://nvd.nist.gov/vuln/detail/CVE-2025-38288), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-38288 · Whole record: https://cve.day/CVE-2025-38288.json · Rebuilt by cve.day 2026-11-25T22:59:01.056Z
