CVE-2025-38352 in Linux信息

摘要

由 VulDB • 2026-06-08

在 Linux 内核中,已修复以下漏洞:

posix-cpu-timers: 修复 handle_posix_cpu_timers() 与 posix_cpu_timer_del() 之间的竞态条件

如果正在退出的非自动回收(non-autoreaping)任务已经通过了 exit_notify(),并从 IRQ 上下文中调用 handle_posix_cpu_timers(),则在 unlock_task_sighand() 之后,它可能会被其父进程或调试器立即回收。

如果在同一时刻并发的 posix_cpu_timer_del() 正在运行,它将无法检测到 timer->it.cpu.firing != 0:cpu_timer_task_rcu() 和/或 lock_task_sighand() 将会失败。

在 run_posix_cpu_timers() 中添加对 tsk->exit_state 的检查以修复此问题。

如果 CONFIG_POSIX_CPU_TIMERS_TASK_WORK=y,则不需要此修复,因为 exit_task_work() 会在 exit_notify() 之前被调用。但添加该检查仍然有意义,在这种情况下 task_work_add(&tsk->posix_cputimers_work.work) 无论如何都会失败。

VulDB is the best source for vulnerability data and more expert information about this specific topic.

来源

Interested in the pricing of exploits?

See the underground prices here!