{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2025-40130 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2025-40130 is a vulnerability in Linux, published on 12 Nov 2025. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-40130 and fix it if it is affected.\n\nWhat it is: CVE-2025-40130 is a vulnerability in Linux, published on 12 Nov 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-40130 in the wild and no public exploit code.\n\nAffected product: Linux. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-40130/ (Markdown: https://insights.sbomify.com/CVE-2025-40130/index.md)","id":"CVE-2025-40130","markdown":"https://insights.sbomify.com/CVE-2025-40130/index.md","name":"CVE-2025-40130","record":{"aliases":["BELL-CVE-2025-40130","DEBIAN-CVE-2025-40130","GHSA-95p9-9rrc-wpx4","ROOT-OS-DEBIAN-13-CVE-2025-40130","SUSE-SU-2026:20634-1","SUSE-SU-2026:20636-1","SUSE-SU-2026:20637-1","SUSE-SU-2026:20643-1","SUSE-SU-2026:20646-1","SUSE-SU-2026:20648-1","UBUNTU-CVE-2025-40130"],"analysis":{"component_type":"kernel","fix_type":"patch","impacts":["denial_of_service","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Linux kernel","requires_auth":"none","summary":"A data race in the Linux kernel's UFS driver can lead to memory corruption, allowing local attackers to cause denial of service or potentially execute code.","user_interaction":"not_required","vuln_class":"race_condition"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Linux","cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: ufs: core: Fix data race in CPU latency PM QoS request handling\n\nThe cpu_latency_qos_add/remove/update_request interfaces lack internal\nsynchronization by design, requiring the caller to ensure thread safety.\nThe current implementation relies on the 'pm_qos_enabled' flag, which is\ninsufficient to prevent concurrent access and cannot serve as a proper\nsynchronization mechanism. This has led to data races and list\ncorruption issues.\n\nA typical race condition call trace is:\n\n[Thread A]\nufshcd_pm_qos_exit()\n  --\u003e cpu_latency_qos_remove_request()\n    --\u003e cpu_latency_qos_apply();\n      --\u003e pm_qos_update_target()\n        --\u003e plist_del              \u003c--(1) delete plist node\n    --\u003e memset(req, 0, sizeof(*req));\n  --\u003e hba-\u003epm_qos_enabled = false;\n\n[Thread B]\nufshcd_devfreq_target\n  --\u003e ufshcd_devfreq_scale\n    --\u003e ufshcd_scale_clks\n      --\u003e ufshcd_pm_qos_update     \u003c--(2) pm_qos_enabled is true\n        --\u003e cpu_latency_qos_update_request\n          --\u003e pm_qos_update_target\n            --\u003e plist_del          \u003c--(3) plist node use-after-free\n\nIntroduces a dedicated mutex to serialize PM QoS operations, preventing\ndata races and ensuring safe access to PM QoS resources, including sysfs\ninterface reads.","ecosystems":["SUSE:Linux Enterprise Server 16.0","SUSE:Linux Enterprise Server for SAP applications 16.0","SUSE:Linux Micro 6.2"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"scsi: ufs: core: Fix data race in CPU latency PM QoS request handling","id":"CVE-2025-40130","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"race_condition","year":"2025"},"n_packages":9,"n_references":3,"next":{"headline":"wifi: ath12k: Fix peer lookup in ath12k_dp_mon_rx_deliver_msdu()","id":"CVE-2025-40131"},"packages":[{"ecosystem":"SUSE:Linux Enterprise Server 16.0","fixed":["5-160000.1.1"],"introduced":["0"],"last_affected":[],"package":"kernel-livepatch-SLE16_Update_1","purl":"pkg:rpm/suse/kernel-livepatch-SLE16_Update_1\u0026distro=SUSE%20Linux%20Enterprise%20Server%2016.0","source":"SUSE-SU-2026:20636-1"},{"ecosystem":"SUSE:Linux Enterprise Server 16.0","fixed":["3-160000.1.1"],"introduced":["0"],"last_affected":[],"package":"kernel-livepatch-SLE16_Update_2","purl":"pkg:rpm/suse/kernel-livepatch-SLE16_Update_2\u0026distro=SUSE%20Linux%20Enterprise%20Server%2016.0","source":"SUSE-SU-2026:20634-1"},{"ecosystem":"SUSE:Linux Enterprise Server 16.0","fixed":["2-160000.1.1"],"introduced":["0"],"last_affected":[],"package":"kernel-livepatch-SLE16_Update_3","purl":"pkg:rpm/suse/kernel-livepatch-SLE16_Update_3\u0026distro=SUSE%20Linux%20Enterprise%20Server%2016.0","source":"SUSE-SU-2026:20637-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP applications 16.0","fixed":["5-160000.1.1"],"introduced":["0"],"last_affected":[],"package":"kernel-livepatch-SLE16_Update_1","purl":"pkg:rpm/suse/kernel-livepatch-SLE16_Update_1\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20applications%2016.0","source":"SUSE-SU-2026:20636-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP applications 16.0","fixed":["3-160000.1.1"],"introduced":["0"],"last_affected":[],"package":"kernel-livepatch-SLE16_Update_2","purl":"pkg:rpm/suse/kernel-livepatch-SLE16_Update_2\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20applications%2016.0","source":"SUSE-SU-2026:20634-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP applications 16.0","fixed":["2-160000.1.1"],"introduced":["0"],"last_affected":[],"package":"kernel-livepatch-SLE16_Update_3","purl":"pkg:rpm/suse/kernel-livepatch-SLE16_Update_3\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20applications%2016.0","source":"SUSE-SU-2026:20637-1"},{"ecosystem":"SUSE:Linux Micro 6.2","fixed":["5-160000.1.1"],"introduced":["0"],"last_affected":[],"package":"kernel-livepatch-SLE16_Update_1","purl":"pkg:rpm/suse/kernel-livepatch-SLE16_Update_1\u0026distro=SUSE%20Linux%20Micro%206.2","source":"SUSE-SU-2026:20646-1"},{"ecosystem":"SUSE:Linux Micro 6.2","fixed":["3-160000.1.1"],"introduced":["0"],"last_affected":[],"package":"kernel-livepatch-SLE16_Update_2","purl":"pkg:rpm/suse/kernel-livepatch-SLE16_Update_2\u0026distro=SUSE%20Linux%20Micro%206.2","source":"SUSE-SU-2026:20643-1"},{"ecosystem":"SUSE:Linux Micro 6.2","fixed":["2-160000.1.1"],"introduced":["0"],"last_affected":[],"package":"kernel-livepatch-SLE16_Update_3","purl":"pkg:rpm/suse/kernel-livepatch-SLE16_Update_3\u0026distro=SUSE%20Linux%20Micro%206.2","source":"SUSE-SU-2026:20648-1"}],"prev":{"headline":"sunrpc: fix null pointer dereference on zero-length checksum","id":"CVE-2025-40129"},"products":["Linux"],"published":"2025-11-12","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2026-10-21","vendors":["Linux"]},"summary":"A data race in the Linux kernel's UFS driver can lead to memory corruption, allowing local attackers to cause denial of service or potentially execute code.","url":"https://insights.sbomify.com/CVE-2025-40130/"}