CVE-2025-40130: scsi: ufs: core: Fix data race in CPU latency PM QoS request handling
Vulnerability summary
CVE-2025-40130 is a vulnerability in linux with no CVSS score yet. EPSS estimates a 0.24% chance of exploitation in the next 30 days, higher than 14.9% of scored vulnerabilities.
No CVSS vector published; no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 12 · Related 12Timeline
- 12-11-2025PublishedVulnerability first disclosed.
- 21-10-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: scsi: ufs: core: Fix data race in CPU latency PM QoS request handling The cpu_latency_qos_add/remove/update_request interfaces lack internal synchronization by design, requiring the caller to ensure thread safety. The current implementation relies on the 'pm_qos_enabled' flag, which is insufficient to prevent concurrent access and cannot serve as a proper synchronization mechanism. This has led to data races and list corruption issues. A typical race condition call trace is: [Thread A] ufshcd_pm_qos_exit() --> cpu_latency_qos_remove_request() --> cpu_latency_qos_apply(); --> pm_qos_update_target() --> plist_del <--(1) delete plist node --> memset(req, 0, sizeof(*req)); --> hba->pm_qos_enabled = false; [Thread B] ufshcd_devfreq_target --> ufshcd_devfreq_scale --> ufshcd_scale_clks --> ufshcd_pm_qos_update <--(2) pm_qos_enabled is true --> cpu_latency_qos_update_request --> pm_qos_update_target --> plist_del <--(3) plist node use-after-free Introduces a dedicated mutex to serialize PM QoS operations, preventing data races and ensuring safe access to PM QoS resources, including sysfs interface reads.
CVSS metrics
Risk metrics not yet published.
EPSS trend
Probability
0.24%
Chance of exploitation in the next 30 days
Percentile
15%
Versus all other CVEs
30-day change
Increase +0.05 pp
From 0.19% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: not stated in public data.
Ubuntu104 products
- linux< 6.17.0-14.14
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 6.17.0-1007.7
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Suse9 products
- kernel-livepatch-SLE16_Update_1&distro=SUSE Linux Enterprise Server 16.0< 5-160000.1.1
- kernel-livepatch-SLE16_Update_1&distro=SUSE Linux Enterprise Server for SAP applications 16.0< 5-160000.1.1
- kernel-livepatch-SLE16_Update_1&distro=SUSE Linux Micro 6.2< 5-160000.1.1
- kernel-livepatch-SLE16_Update_2&distro=SUSE Linux Enterprise Server 16.0< 3-160000.1.1
- kernel-livepatch-SLE16_Update_2&distro=SUSE Linux Enterprise Server for SAP applications 16.0< 3-160000.1.1
Opensuse2 products
- kernel-livepatch-SLE16_Update_1&distro=openSUSE Leap 16.0< 5-160000.1.1
- kernel-livepatch-SLE16_Update_3&distro=openSUSE Leap 16.0< 2-160000.1.1
Debian1 product
- linuxAll versions (No fix recorded) | < 6.12.115-2 | < 6.17.6-1
Linux1 product
- linux≥ 2777e73fc154e2e87233bdcc0e2402b33815198e, < eee1b13526b8f1e6a2402973d95f9fa854771f57 | ≥ 2777e73fc154e2e87233bdcc0e2402b33815198e, < d9df61afb8d23c475f1be3c714da2c34c156ab01 | ≥ 2777e73fc154e2e87233bdcc0e2402b33815198e, < 79dde5f7dc7c038eec903745dc1550cd4139980e | 6.9
5 vendors · 117 products