---
id: CVE-2025-37981
title: 'scsi: smartpqi: Use is_kdump_kernel() to check for kdump'
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  scsi: smartpqi: Use is_kdump_kernel() to check for kdump

  The smartpqi driver checks the reset_devices variable to determine
  whether special adjustments need to be made…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 058311b72f54890de824b063feb603942269b732 <
    7cc670e8ebaa5241dd99c0ad75eceb8f8f64f607
  - >-
    Linux >= 058311b72f54890de824b063feb603942269b732 <
    ebf673c76ce91e612a882dfaa9a3824962994aae
  - >-
    Linux >= 058311b72f54890de824b063feb603942269b732 <
    a2d5a0072235a69749ceb04c1a26dc75df66a31a
  - Linux 6.12
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-05T20:47:11.486595Z'
published: '2025-05-20'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T20:52:10.582Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2025-37981'
references:
  - url: 'https://git.kernel.org/stable/c/7cc670e8ebaa5241dd99c0ad75eceb8f8f64f607'
  - url: 'https://git.kernel.org/stable/c/ebf673c76ce91e612a882dfaa9a3824962994aae'
  - url: 'https://git.kernel.org/stable/c/a2d5a0072235a69749ceb04c1a26dc75df66a31a'
tags:
  - cve.org
epss: 0.00196
epssPercentile: 0.0931
ingestedAt: '2026-11-05T22:38:31.901Z'
---

## Overview

In the Linux kernel, the following vulnerability has been resolved:

scsi: smartpqi: Use is_kdump_kernel() to check for kdump

The smartpqi driver checks the reset_devices variable to determine
whether special adjustments need to be made for kdump. This has the
effect that after a regular kexec reboot, some driver parameters such as
max_transfer_size are much lower than usual. More importantly, kexec
reboot tests have revealed memory corruption caused by the driver log
being written to system memory after a kexec.

Fix this by testing is_kdump_kernel() rather than reset_devices where
appropriate.

## Affected

- `Linux >= 058311b72f54890de824b063feb603942269b732 < 7cc670e8ebaa5241dd99c0ad75eceb8f8f64f607`
- `Linux >= 058311b72f54890de824b063feb603942269b732 < ebf673c76ce91e612a882dfaa9a3824962994aae`
- `Linux >= 058311b72f54890de824b063feb603942269b732 < a2d5a0072235a69749ceb04c1a26dc75df66a31a`
- `Linux 6.12`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
