---
id: CVE-2026-97512
title: |-
  In the Linux kernel, the following vulnerability has been resolved:

  spi: spi-qcom-qspi: Fix incomplete error handling in runtime PM

  The runtime PM functions had incomplete error handling that could leave the
  system in an inconsistent s…
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  spi: spi-qcom-qspi: Fix incomplete error handling in runtime PM

  The runtime PM functions had incomplete error handling that could leave the
  system in an inconsistent s…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-252
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= cff80645d6d3134260d2ef007a7decb1edcfd4a6 <
    d9fa79ccd09204f626d382bdde1b8f5f4c5d03b3
  - >-
    Linux >= cff80645d6d3134260d2ef007a7decb1edcfd4a6 <
    62dd3b8d3a92eb4e080b2ae491c2a5341654c1ee
  - >-
    Linux >= cff80645d6d3134260d2ef007a7decb1edcfd4a6 <
    bb18a346271f87889bd64a3861c9a656a3509ea6
  - >-
    Linux >= cff80645d6d3134260d2ef007a7decb1edcfd4a6 <
    d283d5d4d9f6d081ddb65e371be26fffeb611c42
  - Linux 5.9
published: '2026-09-24'
updated: '2026-10-03'
sourceUpdated: '2026-10-03T11:18:00.740'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-97512'
references:
  - url: 'https://git.kernel.org/stable/c/62dd3b8d3a92eb4e080b2ae491c2a5341654c1ee'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/bb18a346271f87889bd64a3861c9a656a3509ea6'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/d283d5d4d9f6d081ddb65e371be26fffeb611c42'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/d9fa79ccd09204f626d382bdde1b8f5f4c5d03b3'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-97512.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-97512'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2540515'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-97512'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-97512'
  - url: >-
      https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-97512.mbox
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
epss: 0.00156
epssPercentile: 0.04727
cvssSource: vendor
ingestedAt: '2026-09-24T16:47:15.862Z'
---

## Overview

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

spi: spi-qcom-qspi: Fix incomplete error handling in runtime PM

The runtime PM functions had incomplete error handling that could leave the
system in an inconsistent state. If any operation failed midway through
suspend or resume, some resources would be left in the wrong state while
others were already changed, leading to potential clock/power imbalances.

Reorder the suspend/resume sequences to avoid brownout risk by ensuring the
performance state is set appropriately before clocks are enabled and clocks
are disabled before dropping the performance state.

Fix by adding proper error checking for all operations and using goto-based
cleanup to ensure all successfully acquired resources are properly released
on any error.

## Remediation

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

## Vendor advisories

- **Red Hat VEX** · Moderate · updated 2026-09-29 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-97512.json)
