# CVE-2025-38288: scsi: smartpqi: Fix smp\_processor\_id() call trace for preemptible kernels

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **Published:** 2025-07-10T07:42:04.862Z
- **Modified:** 2026-06-17T09:16:33.400Z

## Who should check

- Anyone running Linux \>= 283dcc1b142ebd60786f8f5e3fbbd53a51035739, \< 6589bc3699bcb45b35b3095c44a5af7a4d75ef7e; \>= 283dcc1b142ebd60786f8f5e3fbbd53a51035739, \< 31224199316f488c8385c5dcdccf7bd80f675b81; \>= 283dcc1b142ebd60786f8f5e3fbbd53a51035739, \< 42d033cf4b517e91c187ad2fbd7b30fdc6d2d62c
- Anyone running Linux 6.12

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

## Affected and fixed versions

- Linux: \>= 283dcc1b142ebd60786f8f5e3fbbd53a51035739, \< 6589bc3699bcb45b35b3095c44a5af7a4d75ef7e; \>= 283dcc1b142ebd60786f8f5e3fbbd53a51035739, \< 31224199316f488c8385c5dcdccf7bd80f675b81; \>= 283dcc1b142ebd60786f8f5e3fbbd53a51035739, \< 42d033cf4b517e91c187ad2fbd7b30fdc6d2d62c (cvelist)
- Linux: 6.12 (cvelist)

## Mitigation

- Upgrade Linux to 42d033cf4b517e91c187ad2fbd7b30fdc6d2d62c or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-38288. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38288.md
Affected: Linux >= 283dcc1b142ebd60786f8f5e3fbbd53a51035739, < 6589bc3699bcb45b35b3095c44a5af7a4d75ef7e; >= 283dcc1b142ebd60786f8f5e3fbbd53a51035739, < 31224199316f488c8385c5dcdccf7bd80f675b81; >= 283dcc1b142ebd60786f8f5e3fbbd53a51035739, < 42d033cf4b517e91c187ad2fbd7b30fdc6d2d62c; Linux 6.12
Fixed in: Linux 6589bc3699bcb45b35b3095c44a5af7a4d75ef7e, Linux 31224199316f488c8385c5dcdccf7bd80f675b81, Linux 42d033cf4b517e91c187ad2fbd7b30fdc6d2d62c

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-38288 being exploited?

There is no confirmed exploitation: CVE-2025-38288 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-38288?

High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-38288?

Linux \>= 283dcc1b142ebd60786f8f5e3fbbd53a51035739, \< 6589bc3699bcb45b35b3095c44a5af7a4d75ef7e; \>= 283dcc1b142ebd60786f8f5e3fbbd53a51035739, \< 31224199316f488c8385c5dcdccf7bd80f675b81; \>= 283dcc1b142ebd60786f8f5e3fbbd53a51035739, \< 42d033cf4b517e91c187ad2fbd7b30fdc6d2d62c; Linux 6.12.

### Is there a fix for CVE-2025-38288?

Yes. Fixed in Linux 6589bc3699bcb45b35b3095c44a5af7a4d75ef7e, Linux 31224199316f488c8385c5dcdccf7bd80f675b81, Linux 42d033cf4b517e91c187ad2fbd7b30fdc6d2d62c. Upgrade Linux to 42d033cf4b517e91c187ad2fbd7b30fdc6d2d62c or later.

### How do I check if I'm affected by CVE-2025-38288?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-38288>

HTML: <https://flawdb.com/CVE-2025-38288> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-38288>
