{"id":"CVE-2024-26686","summary":"fs/proc: do_task_stat: use sig-\u003estats_lock to gather the threads/children stats","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/proc: do_task_stat: use sig-\u003estats_lock to gather the threads/children stats\n\nlock_task_sighand() can trigger a hard lockup.  If NR_CPUS threads call\ndo_task_stat() at the same time and the process has NR_THREADS, it will\nspin with irqs disabled O(NR_CPUS * NR_THREADS) time.\n\nChange do_task_stat() to use sig-\u003estats_lock to gather the statistics\noutside of -\u003esiglock protected section, in the likely case this code will\nrun lockless.","modified":"2026-04-02T10:05:33.421527Z","published":"2024-04-03T14:54:48.530Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26686.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0c35d1914353799c54fa1843fe7dea6fcbcdbac5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/27978243f165b44e342f28f449b91327944ea071"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3820b0fac7732a653bcc6f6ac20c1d72e697f8f6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4fe85bdaabd63f8f8579b24a10ed597c9c482164"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7601df8031fd67310af891897ef6cc0df4209305"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cf4b8c39b9a0bd81c47afc7ef62914a62dd5ec4d"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26686.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-26686"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2"},{"fixed":"4fe85bdaabd63f8f8579b24a10ed597c9c482164"},{"fixed":"0c35d1914353799c54fa1843fe7dea6fcbcdbac5"},{"fixed":"cf4b8c39b9a0bd81c47afc7ef62914a62dd5ec4d"},{"fixed":"3820b0fac7732a653bcc6f6ac20c1d72e697f8f6"},{"fixed":"27978243f165b44e342f28f449b91327944ea071"},{"fixed":"7601df8031fd67310af891897ef6cc0df4209305"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-26686.json"}}],"schema_version":"1.7.5"}