{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-38352","id":"CVE-2025-38352","title":"posix-cpu-timers: fix race between handle_posix_cpu_timers() and posix_cpu_timer_del()","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","descriptionLong":"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->it.cpu.firing != 0: cpu_timer_task_rcu() and/or\nlock_task_sighand() will fail.\n\nAdd the tsk->exit_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(&tsk->posix_cputimers_work.work) will fail\nanyway in this case.","published":"2025-07-22T08:04:25.277Z","updated":"2026-10-28T02:30:54.036788950Z","reserved":"2025-04-16T04:51:24.006Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"0bdd2ed4138ec04e09b4f8165981efc99e439f55","lessThan":"78a4b8e3795b31dae58762bc091bb0f4f74a2200","status":"affected","versionType":"git"},{"version":"0bdd2ed4138ec04e09b4f8165981efc99e439f55","lessThan":"c076635b3a42771ace7d276de8dc3bc76ee2ba1b","status":"affected","versionType":"git"},{"version":"0bdd2ed4138ec04e09b4f8165981efc99e439f55","lessThan":"2f3daa04a9328220de46f0d5c919a6c0073a9f0b","status":"affected","versionType":"git"},{"version":"0bdd2ed4138ec04e09b4f8165981efc99e439f55","lessThan":"764a7a5dfda23f69919441f2eac2a83e7db6e5bb","status":"affected","versionType":"git"},{"version":"0bdd2ed4138ec04e09b4f8165981efc99e439f55","lessThan":"2c72fe18cc5f9f1750f5bc148cf1c94c29e106ff","status":"affected","versionType":"git"},{"version":"0bdd2ed4138ec04e09b4f8165981efc99e439f55","lessThan":"c29d5318708e67ac13c1b6fc1007d179fb65b4d7","status":"affected","versionType":"git"},{"version":"0bdd2ed4138ec04e09b4f8165981efc99e439f55","lessThan":"460188bc042a3f40f72d34b9f7fc6ee66b0b757b","status":"affected","versionType":"git"},{"version":"0bdd2ed4138ec04e09b4f8165981efc99e439f55","lessThan":"f90fff1e152dedf52b932240ebbd670d83330eca","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.36","status":"affected"},{"version":"0","lessThan":"2.6.36","status":"unaffected","versionType":"semver"},{"version":"5.4.295","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.239","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.186","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.142","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.94","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.34","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.15.3","lessThanOrEqual":"6.15.*","status":"unaffected","versionType":"semver"},{"version":"6.16","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-367"],"aliases":["A-425282960","ASB-A-425282960"],"references":[{"url":"https://git.kernel.org/stable/c/78a4b8e3795b31dae58762bc091bb0f4f74a2200","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/c076635b3a42771ace7d276de8dc3bc76ee2ba1b","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/2f3daa04a9328220de46f0d5c919a6c0073a9f0b","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/764a7a5dfda23f69919441f2eac2a83e7db6e5bb","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/2c72fe18cc5f9f1750f5bc148cf1c94c29e106ff","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/c29d5318708e67ac13c1b6fc1007d179fb65b4d7","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/460188bc042a3f40f72d34b9f7fc6ee66b0b757b","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/f90fff1e152dedf52b932240ebbd670d83330eca","tags":["Patch","web"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-38352","tags":["government-resource","US Government Resource","web"]},{"url":"https://github.com/farazsth98/chronomaly","tags":["exploit","Exploit","evidence"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":["Mailing List","Third Party Advisory","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html","tags":["Mailing List","Third Party Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38352.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38352","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":true,"kevAdded":"2025-09-04","kevDue":"2025-09-25","kevEntry":{"cveID":"CVE-2025-38352","vendorProject":"Linux","product":"Kernel","vulnerabilityName":"Linux Kernel Time-of-Check Time-of-Use (TOCTOU) Race Condition Vulnerability","dateAdded":"2025-09-04","shortDescription":"Linux kernel contains a time-of-check time-of-use (TOCTOU) race condition vulnerability that has a high impact on confidentiality, integrity, and availability.","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.","dueDate":"2025-09-25","knownRansomwareCampaignUse":"Unknown","notes":"This vulnerability affects a common open-source component, third-party library, or a protocol used by different products. Please check with specific vendors for information on patching status. For more information, please see: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=2c72fe18cc5f9f1750f5bc148cf1c94c29e106ff ; https://source.android.com/docs/security/bulletin/2025-09-01 ; https://nvd.nist.gov/vuln/detail/CVE-2025-38352","cwes":["CWE-367"]},"ssvc":{"exploitation":"active","automatable":"no","technicalImpact":"total"},"epss":0.01357,"epssPercentile":0.72229,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-38352","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38352","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-38352","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"added 2025-09-04"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-38352","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":["Exploited in the wild (CISA KEV)"],"attention":null}