CVE-2025-40346
publishedarch_topology: Fix incorrect error check in topology_parse_cpu_capacity()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxb8fe128dad8f97cc9af7c55a264d1fc5ab677195 to < 64da320252e43456cc9ec3055ff567f168467b37 · b8fe128dad8f97cc9af7c55a264d1fc5ab677195 to < 02fbea0864fd4a863671f5d418129258d7159f68 · b8fe128dad8f97cc9af7c55a264d1fc5ab677195 to < a77f8434954cb1e9c42c3854e40855fdcf5ab235 · b8fe128dad8f97cc9af7c55a264d1fc5ab677195 to < 3373f263bb647fcc3b5237cfaef757633b9ee25e · b8fe128dad8f97cc9af7c55a264d1fc5ab677195 to < 45379303124487db3a81219af7565d41f498167f · b8fe128dad8f97cc9af7c55a264d1fc5ab677195 to < 3a01b2614e84361aa222f67bc628593987e5cdb2 · b8fe128dad8f97cc9af7c55a264d1fc5ab677195 to < 2eead19334516c8e9927c11b448fbe512b1f18a1 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.7 (affected) · 0 to < 5.7 (unaffected · semver) · 5.10.246 through 5.10.* (unaffected · semver) · 5.15.196 through 5.15.* (unaffected · semver) · 6.1.158 through 6.1.* (unaffected · semver) · 6.6.115 through 6.6.* (unaffected · semver) · 6.12.56 through 6.12.* (unaffected · semver) · 6.17.6 through 6.17.* (unaffected · semver) · 6.18 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2026-112 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2025-094 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1297 | Fixed | Not stated | Amazon Linux assessment |
| Oracle Linux | 10 | kernel-uekaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uekx86_64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
Show 99 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1495 | Fixed | Not stated | Amazon Linux assessment |
| Oracle Linux | 10 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-modules-extraaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-modules-extrax86_64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-modules-usbaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-modules-usbx86_64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessx86_64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-toolsaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-toolsx86_64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek64kaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek64k-coreaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek64k-develaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek64k-modulesaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek64k-modules-coreaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek64k-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek64k-modules-desktopaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek64k-modules-extraaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek64k-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek64k-modules-usbaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek64k-modules-wirelessaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el9uek | ELSA-2026-50006 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:6.12.0-107.59.3.2.el9uek | ELSA-2026-50006 |
| Oracle Linux | 9 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el9uek | ELSA-2026-50006 |
| Oracle Linux | 9 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-107.59.3.2.el9uek | ELSA-2026-50006 |
| Oracle Linux | 9 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el9uek | ELSA-2026-50006 |
| Oracle Linux | 9 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-107.59.3.2.el9uek | ELSA-2026-50006 |
| Oracle Linux | 9 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el9uek | ELSA-2026-50006 |
| Oracle Linux | 9 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-107.59.3.2.el9uek | ELSA-2026-50006 |
| Oracle Linux | 9 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el9uek | ELSA-2026-50006 |
| Oracle Linux | 9 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-107.59.3.2.el9uek | ELSA-2026-50006 |
| Oracle Linux | 9 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el9uek | ELSA-2026-50006 |
| Oracle Linux | 9 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-107.59.3.2.el9uek | ELSA-2026-50006 |
| Oracle Linux | 9 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el9uek | ELSA-2026-50006 |
| Oracle Linux | 9 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-107.59.3.2.el9uek | ELSA-2026-50006 |
| Oracle Linux | 9 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el9uek | ELSA-2026-50006 |
| Oracle Linux | 9 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-107.59.3.2.el9uek | ELSA-2026-50006 |
| Oracle Linux | 9 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el9uek | ELSA-2026-50006 |
| Oracle Linux | 9 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-107.59.3.2.el9uek | ELSA-2026-50006 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el9uek | ELSA-2026-50006 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-107.59.3.2.el9uek | ELSA-2026-50006 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-107.59.3.2.el9uek | ELSA-2026-50006 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-107.59.3.2.el9uek | ELSA-2026-50006 |
| Oracle Linux | 9 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el9uek | ELSA-2026-50006 |
| Oracle Linux | 9 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-107.59.3.2.el9uek | ELSA-2026-50006 |
| Oracle Linux | 9 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el9uek | ELSA-2026-50006 |
| Oracle Linux | 9 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-107.59.3.2.el9uek | ELSA-2026-50006 |
| Oracle Linux | 9 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el9uek | ELSA-2026-50006 |
| Oracle Linux | 9 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-107.59.3.2.el9uek | ELSA-2026-50006 |
| Oracle Linux | 9 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-107.59.3.2.el9uek | ELSA-2026-50006 |
| Oracle Linux | 9 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el9uek | ELSA-2026-50006 |
| Oracle Linux | 9 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-107.59.3.2.el9uek | ELSA-2026-50006 |
| Oracle Linux | 9 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el9uek | ELSA-2026-50006 |
| Oracle Linux | 9 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-107.59.3.2.el9uek | ELSA-2026-50006 |
| Oracle Linux | 9 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el9uek | ELSA-2026-50006 |
| Oracle Linux | 9 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-107.59.3.2.el9uek | ELSA-2026-50006 |
| Oracle Linux | 9 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el9uek | ELSA-2026-50006 |
| Oracle Linux | 9 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-107.59.3.2.el9uek | ELSA-2026-50006 |
| Oracle Linux | 9 | kernel-uek-modules-extraaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el9uek | ELSA-2026-50006 |
| Oracle Linux | 9 | kernel-uek-modules-extrax86_64 | Advisory build | 0:6.12.0-107.59.3.2.el9uek | ELSA-2026-50006 |
| Oracle Linux | 9 | kernel-uek-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-107.59.3.2.el9uek | ELSA-2026-50006 |
| Oracle Linux | 9 | kernel-uek-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-107.59.3.2.el9uek | ELSA-2026-50006 |
| Oracle Linux | 9 | kernel-uek-modules-usbaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el9uek | ELSA-2026-50006 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: arch_topology: Fix incorrect error check in topology_parse_cpu_capacity() Fix incorrect use of PTR_ERR_OR_ZERO() in topology_parse_cpu_capacity() which causes the code to proceed with NULL clock pointers. The current logic uses !PTR_ERR_OR_ZERO(cpu_clk) which evaluates to true for both valid pointers and NULL, leading to potential NULL pointer dereference in clk_get_rate(). Per include/linux/err.h documentation, PTR_ERR_OR_ZERO(ptr) returns: "The error code within @ptr if it is an error pointer; 0 otherwise." This means PTR_ERR_OR_ZERO() returns 0 for both valid pointers AND NULL pointers. Therefore !PTR_ERR_OR_ZERO(cpu_clk) evaluates to true (proceed) when cpu_clk is either valid or NULL, causing clk_get_rate(NULL) to be called when of_clk_get() returns NULL. Replace with !IS_ERR_OR_NULL(cpu_clk) which only proceeds for valid pointers, preventing potential NULL pointer dereference in clk_get_rate().
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | b8fe128dad8f97cc9af7c55a264d1fc5ab677195 to < 64da320252e43456cc9ec3055ff567f168467b37 (affected · git)b8fe128dad8f97cc9af7c55a264d1fc5ab677195 to < 02fbea0864fd4a863671f5d418129258d7159f68 (affected · git)b8fe128dad8f97cc9af7c55a264d1fc5ab677195 to < a77f8434954cb1e9c42c3854e40855fdcf5ab235 (affected · git)b8fe128dad8f97cc9af7c55a264d1fc5ab677195 to < 3373f263bb647fcc3b5237cfaef757633b9ee25e (affected · git)b8fe128dad8f97cc9af7c55a264d1fc5ab677195 to < 45379303124487db3a81219af7565d41f498167f (affected · git)b8fe128dad8f97cc9af7c55a264d1fc5ab677195 to < 3a01b2614e84361aa222f67bc628593987e5cdb2 (affected · git)b8fe128dad8f97cc9af7c55a264d1fc5ab677195 to < 2eead19334516c8e9927c11b448fbe512b1f18a1 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.7 (affected)0 to < 5.7 (unaffected · semver)5.10.246 through 5.10.* (unaffected · semver)5.15.196 through 5.15.* (unaffected · semver)6.1.158 through 6.1.* (unaffected · semver)6.6.115 through 6.6.* (unaffected · semver)6.12.56 through 6.12.* (unaffected · semver)6.17.6 through 6.17.* (unaffected · semver)6.18 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
7- https://git.kernel.org/stable/c/02fbea0864fd4a863671f5d418129258d7159f68
- https://git.kernel.org/stable/c/2eead19334516c8e9927c11b448fbe512b1f18a1
- https://git.kernel.org/stable/c/3373f263bb647fcc3b5237cfaef757633b9ee25e
- https://git.kernel.org/stable/c/3a01b2614e84361aa222f67bc628593987e5cdb2
- https://git.kernel.org/stable/c/45379303124487db3a81219af7565d41f498167f
- https://git.kernel.org/stable/c/64da320252e43456cc9ec3055ff567f168467b37
- https://git.kernel.org/stable/c/a77f8434954cb1e9c42c3854e40855fdcf5ab235
Provider assertions
1Linux · cna
arch_topology: Fix incorrect error check in topology_parse_cpu_capacity()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d48b8917577faef50fe8aabc9cb41f74b9d4e47f0d69580118fc8b272cf6924b
- Ingested
- 23 Sep 2026, 08:48:04 UTC
- Source record
- Official CVE record