CVE-2024-26686

Source
https://cve.org/CVERecord?id=CVE-2024-26686
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-26686.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-26686
Downstream
Published
2024-04-03T14:54:48.530Z
Modified
2026-03-14T12:29:55.861707Z
Summary
fs/proc: do_task_stat: use sig->stats_lock to gather the threads/children stats
Details

In the Linux kernel, the following vulnerability has been resolved:

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

locktasksighand() can trigger a hard lockup. If NRCPUS threads call dotaskstat() at the same time and the process has NRTHREADS, it will spin with irqs disabled O(NRCPUS * NRTHREADS) time.

Change dotaskstat() to use sig->stats_lock to gather the statistics outside of ->siglock protected section, in the likely case this code will run lockless.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26686.json"
}
References

Affected packages

Git / 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"