BreachSpiderVerified, not vibes

CVE-2025-38352 in Debian Linux and 2 more products

Known-exploited (CISA) since 2025-09-04 High 7.8

In the Linux kernel, the following vulnerability has been resolved: posix-cpu-timers: fix race between handle_posix_cpu_timers() and posix_cpu_timer_del() If an exiting non-autoreaping task has already passed exit_notify() and calls handle_posix_cpu_timers() from IRQ, it can be reaped by its parent or debugger rig...

Affects 3 products from 2 vendors. Facts below cite their sources.

CVSS 3.17.8
EPSS0.7%
EPSS percentile47th
FixUnknown

Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Debian Debian Linux 11.0
Linux Linux Kernel 6.16 ≥ 2.6.36, < 5.4.295 ≥ 5.5, < 5.10.239 ≥ 5.11, < 5.15.186 ≥ 5.16, < 6.1.142 ≥ 6.2, < 6.6.94
+2 more≥ 6.7, < 6.12.34 ≥ 6.13, < 6.15.3
Linux Linux 2.6.36

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedYes added 2025-09-04
Public exploitNot confirmed

Official description

In the Linux kernel, the following vulnerability has been resolved: posix-cpu-timers: fix race between handle_posix_cpu_timers() and posix_cpu_timer_del() If an exiting non-autoreaping task has already passed exit_notify() and calls handle_posix_cpu_timers() from IRQ, it can be reaped by its parent or debugger right after unlock_task_sighand(). If a concurrent posix_cpu_timer_del() runs at that moment, it won't be able to detect timer->it.cpu.firing != 0: cpu_timer_task_rcu() and/or lock_task_sighand() will fail. Add the tsk->exit_state check into run_posix_cpu_timers() to fix this. This fix is not needed if CONFIG_POSIX_CPU_TIMERS_TASK_WORK=y, because exit_task_work() is called before exit_notify(). But the check still makes sense, task_work_add(&tsk->posix_cputimers_work.work) will fail anyway in this case.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2025-38352
BreachSpider IDBS-2025-GLOBAL-269772-H
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published2025-07-22
Last modified2026-09-08
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-367: CWE-367

Related attack patterns (CAPEC)

CAPEC-27 Leveraging Race Conditions via Symbolic Links via CWE-367

CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions via CWE-367

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A race condition exists in the Linux kernel's posix-cpu-timers, which could lead to a use-after-free scenario when an exiting task is reaped by its parent or debugger. This issue affects systems where CONFIG_POSIX_CPU_TIMERS_TASK_WORK is not enabled. The vulnerability has a CVSS score of 7.4, indicating a high severity level, but the exploitation likelihood is low due to the complexity of the attack vector and the lack of known exploits.

The vulnerability arises from a race condition between the handle_posix_cpu_timers() function and the posix_cpu_timer_del() function. If an exiting non-autoreaping task calls handle_posix_cpu_timers() from an interrupt context, it can be reaped by its parent or debugger immediately after the task's signal handler is unlocked. A concurrent call to posix_cpu_timer_del() may then fail to detect that the timer is firing, leading to potential use-after-free conditions.

Compensating controls AI-drafted, review before use

Ensure that all affected systems are running the latest kernel version with the necessary patches applied. Implement monitoring and logging to detect any unusual behavior related to task reaping and timer handling.

NERC CIP: CIP-007 CIP-007-R2

IEC 62443: SR 7.6

Not validated for your network. A compensating control does not replace the vendor fix.

Questions

What is CVE-2025-38352?

A race condition exists in the Linux kernel's posix-cpu-timers, which could lead to a use-after-free scenario when an exiting task is reaped by its parent or debugger. This issue affects systems where CONFIG_POSIX_CPU_TIMERS_TASK_WORK is not enabled. The vulnerability has a CVSS score of 7.4, indicating a high severity level, but the exploitation likelihood is low due to the complexity of the attack vector and the lack of known exploits.

What is the CVSS score for CVE-2025-38352?

CVE-2025-38352 has CVSS 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.7%.

Is CVE-2025-38352 actively exploited?

Yes. CVE-2025-38352 is in the CISA known-exploited catalog (added 2025-09-04). Active exploitation confirmed. Immediate patching required.

How do I remediate CVE-2025-38352?

Priority: MEDIUM.

What systems are affected by CVE-2025-38352?

CVE-2025-38352 affects Debian Debian Linux; Linux Linux Kernel, Linux.

What NERC-CIP standard applies to CVE-2025-38352?

NERC CIP CIP-007 CIP-007-R2: This CVE could potentially allow an attacker to cause a denial of service or execute arbitrary code, which would violate the requirement for protection against unauthorized access and control system integrity.

What IEC 62443 requirement maps to CVE-2025-38352?

IEC 62443 SR 7.6: This CVE involves a race condition that could lead to a use-after-free scenario, which is a security risk that needs to be mitigated to ensure the reliability and safety of industrial control systems as per the secure requirements for software development.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Debian","product":"Debian Linux","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-09-08.