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.
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
ubuntu | 18.04 | noarch | linux | < any | UNKNOWN |
ubuntu | 20.04 | noarch | linux | < any | UNKNOWN |
ubuntu | 22.04 | noarch | linux | < any | UNKNOWN |
ubuntu | 23.10 | noarch | linux | < any | UNKNOWN |
ubuntu | 24.04 | noarch | linux | < any | UNKNOWN |
ubuntu | 14.04 | noarch | linux | < any | UNKNOWN |
ubuntu | 16.04 | noarch | linux | < any | UNKNOWN |
ubuntu | 18.04 | noarch | linux-aws | < any | UNKNOWN |
ubuntu | 20.04 | noarch | linux-aws | < any | UNKNOWN |
ubuntu | 22.04 | noarch | linux-aws | < any | UNKNOWN |
git.kernel.org/linus/7601df8031fd67310af891897ef6cc0df4209305 (6.8-rc4)
git.kernel.org/stable/c/27978243f165b44e342f28f449b91327944ea071
git.kernel.org/stable/c/7601df8031fd67310af891897ef6cc0df4209305
git.kernel.org/stable/c/cf4b8c39b9a0bd81c47afc7ef62914a62dd5ec4d
launchpad.net/bugs/cve/CVE-2024-26686
nvd.nist.gov/vuln/detail/CVE-2024-26686
security-tracker.debian.org/tracker/CVE-2024-26686
www.cve.org/CVERecord?id=CVE-2024-26686