Skip to content
Heist/ feed
Back to feed
UnratedFix available

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

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.12.25, 6.14.4
CVEs
CVE-2025-37981
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 17:53 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 20 May 2025, 16:58 UTC

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.

osv:CVE-2025-37981

Kernel

Fixed versions: 6.12.25, 6.14.4

Complete source record
{
  "id": "a11669b768bf9b7a6abb6ddaabea53b7a78bc29037cb8ec72227e97b72143d8d",
  "url": "https://osv.dev/vulnerability/CVE-2025-37981",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "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 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.",
    "evidence": "osv:CVE-2025-37981",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.12.25",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.14.4",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2025-37981",
      "aliases": [
        "CVE-2025-37981"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "058311b72f54890de824b063feb603942269b732"
                },
                {
                  "fixed": "7cc670e8ebaa5241dd99c0ad75eceb8f8f64f607"
                },
                {
                  "fixed": "ebf673c76ce91e612a882dfaa9a3824962994aae"
                },
                {
                  "fixed": "a2d5a0072235a69749ceb04c1a26dc75df66a31a"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-37981.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.12.0"
                },
                {
                  "fixed": "6.12.25"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.14.4"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-37981.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:38.334108525Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/7cc670e8ebaa5241dd99c0ad75eceb8f8f64f607",
        "https://git.kernel.org/stable/c/a2d5a0072235a69749ceb04c1a26dc75df66a31a",
        "https://git.kernel.org/stable/c/ebf673c76ce91e612a882dfaa9a3824962994aae",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37981.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-37981",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37981.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-37981",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 505481,
  "published_at": "2025-05-20T16:58:23.299+00:00"
}