CVE-2024-26686

fs/proc: do_task_stat: use sig->stats_lock to gather the threads/children stats

published April 3, 2024

CVSS
—
EPSS
0%
Percentile
11.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00213 · 11.0th percentile
Published
2024-04-03T14:54Z
EPSS history
Timeline
  • 03 APR 14:54Z
    fs/proc: do_task_stat: use sig->stats_lock to gather the threads/children stats
    cvelistv5