fs/proc: do_task_stat: use sig->stats_lock to gather the threads/children stats
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0c35d1914353799c54fa1843fe7dea6fcbcdbac5, Kernel 27978243f165b44e342f28f449b91327944ea071, Kernel 3820b0fac7732a653bcc6f6ac20c1d72e697f8f6 and 3 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =2.6.12, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <0c35d1914353799c54fa1843fe7dea6fcbcdbac5, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <27978243f165b44e342f28f449b91327944ea071, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <3820b0fac7732a653bcc6f6ac20c1d72e697f8f6, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <4fe85bdaabd63f8f8579b24a10ed597c9c482164, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <7601df8031fd67310af891897ef6cc0df4209305, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <cf4b8c39b9a0bd81c47afc7ef62914a62dd5ec4d | 0c35d1914353799c54fa1843fe7dea6fcbcdbac5, 27978243f165b44e342f28f449b91327944ea071, 3820b0fac7732a653bcc6f6ac20c1d72e697f8f6, 4fe85bdaabd63f8f8579b24a10ed597c9c482164, 7601df8031fd67310af891897ef6cc0df4209305, cf4b8c39b9a0bd81c47afc7ef62914a62dd5ec4d |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket