spi: spi-qcom-qspi: Fix incomplete error handling in runtime PM
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.1.191, 6.12.111, 6.18.53, 6.6.158
- CVEs
- CVE-2026-97512
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 11:36 UTC · Revision 2
Source evidence
spi: spi-qcom-qspi: Fix incomplete error handling in runtime PM
core-osv · Original sourcePublished 24 Sept 2026, 16:05 UTC
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.
osv:CVE-2026-97512
Kernel
Fixed versions: 6.1.191, 6.6.158, 6.12.111, 6.18.53
Complete source record
{
"id": "4bbbd046a7a25958a3f7c6f43fac1dbd642841b473f4895c835808ce24fa30e9",
"url": "https://osv.dev/vulnerability/CVE-2026-97512",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "spi: spi-qcom-qspi: Fix incomplete error handling in runtime PM",
"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 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.",
"evidence": "osv:CVE-2026-97512",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.1.191",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.158",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.111",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.53",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-97512",
"aliases": [
"CVE-2026-97512"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "cff80645d6d3134260d2ef007a7decb1edcfd4a6"
},
{
"fixed": "e2540dfa3e63512300ca7575c42e9183a6677f26"
},
{
"fixed": "d9fa79ccd09204f626d382bdde1b8f5f4c5d03b3"
},
{
"fixed": "62dd3b8d3a92eb4e080b2ae491c2a5341654c1ee"
},
{
"fixed": "bb18a346271f87889bd64a3861c9a656a3509ea6"
},
{
"fixed": "d283d5d4d9f6d081ddb65e371be26fffeb611c42"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-97512.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.9.0"
},
{
"fixed": "6.1.191"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.158"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.111"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.53"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-97512.json"
}
}
],
"modified": "2026-11-01T02:30:43.656258888Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/62dd3b8d3a92eb4e080b2ae491c2a5341654c1ee",
"https://git.kernel.org/stable/c/bb18a346271f87889bd64a3861c9a656a3509ea6",
"https://git.kernel.org/stable/c/d283d5d4d9f6d081ddb65e371be26fffeb611c42",
"https://git.kernel.org/stable/c/d9fa79ccd09204f626d382bdde1b8f5f4c5d03b3",
"https://git.kernel.org/stable/c/e2540dfa3e63512300ca7575c42e9183a6677f26",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97512.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-97512",
"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/2026/97xxx/CVE-2026-97512.json"
}
},
"related_cves": [
{
"value": "CVE-2026-97512",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 495025,
"published_at": "2026-09-24T16:05:09.279+00:00"
}