{"answers":{"affected":"It affects 2 products.","exploited":"Yes. Attackers have exploited CVE-2025-38352 in the wild since at least 4 Sep 2025.","fix":"Apply the vendor's patch. US federal agencies must fix it by 25 Sep 2025.","what":"CVE-2025-38352 is a high-severity vulnerability in Debian Debian Linux, published on 22 Jul 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-38352 and fix it if it is affected.\n\nWhat it is: CVE-2025-38352 is a high-severity vulnerability in Debian Debian Linux, published on 22 Jul 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2025-38352 in the wild since at least 4 Sep 2025.\n\nAffected product: Debian Debian 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-38352/ (Markdown: https://insights.sbomify.com/CVE-2025-38352/index.md)","id":"CVE-2025-38352","markdown":"https://insights.sbomify.com/CVE-2025-38352/index.md","name":"CVE-2025-38352","record":{"aliases":["A-425282960","ALSA-2025:15662","ASB-A-425282960","BELL-CVE-2025-38352","DEBIAN-CVE-2025-38352","GHSA-mr4j-mh66-4679","RHSA-2025:15662","RLSA-2025:15662","ROOT-OS-DEBIAN-11-CVE-2025-38352","ROOT-OS-DEBIAN-12-CVE-2025-38352","ROOT-OS-UBUNTU-2204-CVE-2025-38352","ROOT-OS-UBUNTU-2404-CVE-2025-38352","UBUNTU-CVE-2025-38352"],"analysis":{"component_type":"kernel","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Linux kernel","requires_auth":"low_privilege","summary":"A race condition in Linux kernel posix-cpu-timers allows a local attacker to cause a denial of service by triggering a use-after-free scenario during task exit.","user_interaction":"not_required","vuln_class":"race_condition"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Linux","cpe":[{"product":"debian_linux","vendor":"debian"},{"product":"linux_kernel","vendor":"linux"}],"cvss":{"score":7.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-367","name":"Time-of-check Time-of-use (TOCTOU) Race Condition"}],"description":"In the Linux kernel, the following vulnerability has been resolved:\n\nposix-cpu-timers: fix race between handle_posix_cpu_timers() and posix_cpu_timer_del()\n\nIf an exiting non-autoreaping task has already passed exit_notify() and\ncalls handle_posix_cpu_timers() from IRQ, it can be reaped by its parent\nor debugger right after unlock_task_sighand().\n\nIf a concurrent posix_cpu_timer_del() runs at that moment, it won't be\nable to detect timer-\u003eit.cpu.firing != 0: cpu_timer_task_rcu() and/or\nlock_task_sighand() will fail.\n\nAdd the tsk-\u003eexit_state check into run_posix_cpu_timers() to fix this.\n\nThis fix is not needed if CONFIG_POSIX_CPU_TIMERS_TASK_WORK=y, because\nexit_task_work() is called before exit_notify(). But the check still\nmakes sense, task_work_add(\u0026tsk-\u003eposix_cputimers_work.work) will fail\nanyway in this case.","ecosystems":["AlmaLinux:10","Red Hat:enterprise_linux:10.0","Rocky Linux:10"],"exploits":{"exploitdb":0,"first_seen":"2025-12-21","github_poc":6,"max_poc_stars":312,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-01-03T16:52:18Z","kind":"github_poc","ref":"https://github.com/farazsth98/chronomaly","stars":312,"title":"Android kernel exploit for CVE-2025-38352, previously exploited in-the-wild. Targets vulnerable x86_64 Linux kernels v5.10.x."},{"date":"2025-12-21T23:59:18Z","kind":"github_poc","ref":"https://github.com/farazsth98/poc-CVE-2025-38352","stars":119,"title":"This is a proof of concept for CVE-2025-38352, a vulnerability in the Linux kernel's POSIX CPU timers implementation. The September 2025 Android Bulletin mentions that this vulnerability has been used in limited, targeted exploitation in the wild."},{"date":"2026-05-30T02:37:10Z","kind":"github_poc","ref":"https://github.com/AnalyticETH/chronomaly-webos","stars":17,"title":"CVE-2025-38352 kernel exploit for LG webOS Smart TVs (ARM64). Achieves persistent root on real consumer hardware with novel exploitation techniques. Responsibly disclosed to LG."},{"date":"2026-02-24T05:25:05Z","kind":"github_poc","ref":"https://github.com/jordelmir/Elysium-Vanguard-Sentinel-Audit","stars":2,"title":"The official Sentinel Edition v7.11 - Hypervisor Detection \u0026 Kernel Memory Audit Suite for Honor Magic V2. Investigating CVE-2025-38352 and EL2 RKP defenses."},{"date":"2026-01-08T14:14:19Z","kind":"github_poc","ref":"https://github.com/Crime2/poc-CVE-2025-38352","stars":0,"title":null},{"date":"2026-09-13T10:12:06Z","kind":"github_poc","ref":"https://github.com/longwasu/CVE-2025-38352-PoC","stars":0,"title":"PoC and GDB script assists in triggering CVE-2025-38352"}],"tier":"exploited"},"has_fix":true,"headline":"Linux Kernel Time-of-Check Time-of-Use (TOCTOU) Race Condition","id":"CVE-2025-38352","indexable":true,"kev":{"dateAdded":"2025-09-04","dueDate":"2025-09-25","knownRansomwareCampaignUse":"Unknown","product":"Kernel","requiredAction":"Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.","vendorProject":"Linux","vulnerabilityName":"Linux Kernel Time-of-Check Time-of-Use (TOCTOU) Race Condition Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":"debian:debian_linux","products":["debian:debian_linux","linux:linux_kernel"],"type":"race_condition","year":"2025"},"n_packages":93,"n_references":8,"next":{"headline":"drm/xe: Fix taking invalid lock on wedge","id":"CVE-2025-38353"},"packages":[{"ecosystem":"AlmaLinux:10","fixed":["6.12.0-55.32.1.el10_0"],"introduced":["0"],"last_affected":[],"package":"kernel-abi-stablelists","purl":"pkg:rpm/almalinux/kernel-abi-stablelists","source":"ALSA-2025:15662"},{"ecosystem":"AlmaLinux:10","fixed":["6.12.0-55.32.1.el10_0"],"introduced":["0"],"last_affected":[],"package":"kernel-doc","purl":"pkg:rpm/almalinux/kernel-doc","source":"ALSA-2025:15662"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:6.12.0-55.32.1.el10_0"],"introduced":["0"],"last_affected":[],"package":"kernel","purl":"pkg:rpm/redhat/kernel","source":"RHSA-2025:15662"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:6.12.0-55.32.1.el10_0"],"introduced":["0"],"last_affected":[],"package":"kernel-64k","purl":"pkg:rpm/redhat/kernel-64k","source":"RHSA-2025:15662"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:6.12.0-55.32.1.el10_0"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-core","purl":"pkg:rpm/redhat/kernel-64k-core","source":"RHSA-2025:15662"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:6.12.0-55.32.1.el10_0"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-debug","purl":"pkg:rpm/redhat/kernel-64k-debug","source":"RHSA-2025:15662"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:6.12.0-55.32.1.el10_0"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-debug-core","purl":"pkg:rpm/redhat/kernel-64k-debug-core","source":"RHSA-2025:15662"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:6.12.0-55.32.1.el10_0"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-debug-debuginfo","purl":"pkg:rpm/redhat/kernel-64k-debug-debuginfo","source":"RHSA-2025:15662"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:6.12.0-55.32.1.el10_0"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-debug-devel","purl":"pkg:rpm/redhat/kernel-64k-debug-devel","source":"RHSA-2025:15662"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:6.12.0-55.32.1.el10_0"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-debug-devel-matched","purl":"pkg:rpm/redhat/kernel-64k-debug-devel-matched","source":"RHSA-2025:15662"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:6.12.0-55.32.1.el10_0"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-debug-modules","purl":"pkg:rpm/redhat/kernel-64k-debug-modules","source":"RHSA-2025:15662"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:6.12.0-55.32.1.el10_0"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-debug-modules-core","purl":"pkg:rpm/redhat/kernel-64k-debug-modules-core","source":"RHSA-2025:15662"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:6.12.0-55.32.1.el10_0"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-debug-modules-extra","purl":"pkg:rpm/redhat/kernel-64k-debug-modules-extra","source":"RHSA-2025:15662"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:6.12.0-55.32.1.el10_0"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-debuginfo","purl":"pkg:rpm/redhat/kernel-64k-debuginfo","source":"RHSA-2025:15662"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:6.12.0-55.32.1.el10_0"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-devel","purl":"pkg:rpm/redhat/kernel-64k-devel","source":"RHSA-2025:15662"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:6.12.0-55.32.1.el10_0"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-devel-matched","purl":"pkg:rpm/redhat/kernel-64k-devel-matched","source":"RHSA-2025:15662"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:6.12.0-55.32.1.el10_0"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-modules","purl":"pkg:rpm/redhat/kernel-64k-modules","source":"RHSA-2025:15662"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:6.12.0-55.32.1.el10_0"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-modules-core","purl":"pkg:rpm/redhat/kernel-64k-modules-core","source":"RHSA-2025:15662"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:6.12.0-55.32.1.el10_0"],"introduced":["0"],"last_affected":[],"package":"kernel-64k-modules-extra","purl":"pkg:rpm/redhat/kernel-64k-modules-extra","source":"RHSA-2025:15662"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:6.12.0-55.32.1.el10_0"],"introduced":["0"],"last_affected":[],"package":"kernel-abi-stablelists","purl":"pkg:rpm/redhat/kernel-abi-stablelists","source":"RHSA-2025:15662"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:6.12.0-55.32.1.el10_0"],"introduced":["0"],"last_affected":[],"package":"kernel-core","purl":"pkg:rpm/redhat/kernel-core","source":"RHSA-2025:15662"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:6.12.0-55.32.1.el10_0"],"introduced":["0"],"last_affected":[],"package":"kernel-debug","purl":"pkg:rpm/redhat/kernel-debug","source":"RHSA-2025:15662"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:6.12.0-55.32.1.el10_0"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-core","purl":"pkg:rpm/redhat/kernel-debug-core","source":"RHSA-2025:15662"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:6.12.0-55.32.1.el10_0"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-debuginfo","purl":"pkg:rpm/redhat/kernel-debug-debuginfo","source":"RHSA-2025:15662"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:6.12.0-55.32.1.el10_0"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-devel","purl":"pkg:rpm/redhat/kernel-debug-devel","source":"RHSA-2025:15662"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:6.12.0-55.32.1.el10_0"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-devel-matched","purl":"pkg:rpm/redhat/kernel-debug-devel-matched","source":"RHSA-2025:15662"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:6.12.0-55.32.1.el10_0"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-modules","purl":"pkg:rpm/redhat/kernel-debug-modules","source":"RHSA-2025:15662"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:6.12.0-55.32.1.el10_0"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-modules-core","purl":"pkg:rpm/redhat/kernel-debug-modules-core","source":"RHSA-2025:15662"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:6.12.0-55.32.1.el10_0"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-modules-extra","purl":"pkg:rpm/redhat/kernel-debug-modules-extra","source":"RHSA-2025:15662"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:6.12.0-55.32.1.el10_0"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-uki-virt","purl":"pkg:rpm/redhat/kernel-debug-uki-virt","source":"RHSA-2025:15662"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:6.12.0-55.32.1.el10_0"],"introduced":["0"],"last_affected":[],"package":"kernel-debuginfo","purl":"pkg:rpm/redhat/kernel-debuginfo","source":"RHSA-2025:15662"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:6.12.0-55.32.1.el10_0"],"introduced":["0"],"last_affected":[],"package":"kernel-debuginfo-common-aarch64","purl":"pkg:rpm/redhat/kernel-debuginfo-common-aarch64","source":"RHSA-2025:15662"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:6.12.0-55.32.1.el10_0"],"introduced":["0"],"last_affected":[],"package":"kernel-debuginfo-common-ppc64le","purl":"pkg:rpm/redhat/kernel-debuginfo-common-ppc64le","source":"RHSA-2025:15662"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:6.12.0-55.32.1.el10_0"],"introduced":["0"],"last_affected":[],"package":"kernel-debuginfo-common-s390x","purl":"pkg:rpm/redhat/kernel-debuginfo-common-s390x","source":"RHSA-2025:15662"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:6.12.0-55.32.1.el10_0"],"introduced":["0"],"last_affected":[],"package":"kernel-debuginfo-common-x86_64","purl":"pkg:rpm/redhat/kernel-debuginfo-common-x86_64","source":"RHSA-2025:15662"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:6.12.0-55.32.1.el10_0"],"introduced":["0"],"last_affected":[],"package":"kernel-devel","purl":"pkg:rpm/redhat/kernel-devel","source":"RHSA-2025:15662"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:6.12.0-55.32.1.el10_0"],"introduced":["0"],"last_affected":[],"package":"kernel-devel-matched","purl":"pkg:rpm/redhat/kernel-devel-matched","source":"RHSA-2025:15662"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:6.12.0-55.32.1.el10_0"],"introduced":["0"],"last_affected":[],"package":"kernel-modules","purl":"pkg:rpm/redhat/kernel-modules","source":"RHSA-2025:15662"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:6.12.0-55.32.1.el10_0"],"introduced":["0"],"last_affected":[],"package":"kernel-modules-core","purl":"pkg:rpm/redhat/kernel-modules-core","source":"RHSA-2025:15662"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:6.12.0-55.32.1.el10_0"],"introduced":["0"],"last_affected":[],"package":"kernel-modules-extra","purl":"pkg:rpm/redhat/kernel-modules-extra","source":"RHSA-2025:15662"}],"prev":{"headline":"KVM: x86/hyper-v: Skip non-canonical addresses during PV TLB flush","id":"CVE-2025-38351"},"products":["Linux"],"published":"2025-07-22","related":[{"cvss_score":10,"headline":"ProFTPD Improper Access Control","id":"CVE-2015-3306","kev_date_added":"2026-10-08","published":"2015-05-18"},{"cvss_score":9.9,"headline":"RoundCube Webmail Deserialization of Untrusted Data","id":"CVE-2025-49113","kev_date_added":"2026-02-20","published":"2025-06-02"},{"cvss_score":9.8,"headline":"GNU InetUtils Argument Injection","id":"CVE-2026-24061","kev_date_added":"2026-01-26","published":"2026-01-21"},{"cvss_score":9.8,"headline":"Linux Kernel Improper Check for Unusual or Exceptional Conditions","id":"CVE-2025-39682","kev_date_added":"2026-09-18","published":"2025-09-05"},{"cvss_score":9.8,"headline":"Mozilla Firefox Use-After-Free","id":"CVE-2024-9680","kev_date_added":"2024-10-15","published":"2024-10-09"},{"cvss_score":9.8,"headline":"RARLAB UnRAR Directory Traversal","id":"CVE-2022-30333","kev_date_added":"2022-08-09","published":"2022-05-09"},{"cvss_score":9.8,"headline":"Roundcube Webmail SQL Injection","id":"CVE-2021-44026","kev_date_added":"2023-06-22","published":"2021-11-19"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-09-08","vendors":["Linux"]},"summary":"A race condition in Linux kernel posix-cpu-timers allows a local attacker to cause a denial of service by triggering a use-after-free scenario during task exit.","url":"https://insights.sbomify.com/CVE-2025-38352/"}