CVEvulnerability

CVE-2024-26686

5.5 MEDIUM Published 2024-04-03 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2024-04-03
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-667

Description

In the Linux kernel, the following vulnerability has been resolved: fs/proc: do_task_stat: use sig->stats_lock to gather the threads/children stats lock_task_sighand() can trigger a hard lockup. If NR_CPUS threads call do_task_stat() at the same time and the process has NR_THREADS, it will spin with irqs disabled O(NR_CPUS * NR_THREADS) time. Change do_task_stat() to use sig->stats_lock to gather the statistics outside of ->siglock protected section, in the likely case this code will run lockless.

Affected configurations

• linux linux kernel (< 6.1.82) • linux linux kernel (>= 6.2 < 6.7.6) • linux linux kernel 6.8

Related

Weakness · CWE (1)

  • CWE-667 Improper Locking weakness

References