What’s Vulnerable › Vulnerabilities
CVE-2024-26686: fs/proc: do_task_stat: use sig->stats_lock to gather the threads/children stats
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-04-03 · updated 2026-06-17
- Weakness: 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 products
- Linux kernel: before 6.1.82; from 6.2 before 6.7.6; 6.8-rc1, 6.8-rc2, 6.8-rc3 — fixed in 6.1.82, 6.7.6
How to fix
Upgrade to a fixed version: Linux kernel 6.1.82, 6.7.6. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/0c35d1914353799c54fa1843fe7dea6fcbcdbac5
- https://git.kernel.org/stable/c/27978243f165b44e342f28f449b91327944ea071
- https://git.kernel.org/stable/c/3820b0fac7732a653bcc6f6ac20c1d72e697f8f6
- https://git.kernel.org/stable/c/4fe85bdaabd63f8f8579b24a10ed597c9c482164
- https://git.kernel.org/stable/c/7601df8031fd67310af891897ef6cc0df4209305
- https://git.kernel.org/stable/c/cf4b8c39b9a0bd81c47afc7ef62914a62dd5ec4d
- https://git.kernel.org/stable/c/27978243f165b44e342f28f449b91327944ea071
- https://git.kernel.org/stable/c/7601df8031fd67310af891897ef6cc0df4209305
- https://git.kernel.org/stable/c/cf4b8c39b9a0bd81c47afc7ef62914a62dd5ec4d
- https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html
Get alerted when CVE-2024-26686 or the next vulnerability affects your stack