CVE-2024-26686
fs/proc: do_task_stat: use sig->stats_lock to gather the threads/children stats
Reported by linux · Published April 3, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-tools | Amazon Linux | 6.1.82-99.168.amzn2023 |
| perf | Amazon Linux | 6.1.82-99.168.amzn2023 |
| kernel-libbpf | Amazon Linux | 6.1.82-99.168.amzn2023 |
| kernel-libbpf-static | Amazon Linux | 6.1.82-99.168.amzn2023 |
| kernel-libbpf-devel | Amazon Linux | 6.1.82-99.168.amzn2023 |
| kernel-modules-extra-common | Amazon Linux | 6.1.82-99.168.amzn2023 |
| kernel-tools-devel | Amazon Linux | 6.1.82-99.168.amzn2023 |
| kernel-livepatch-6.1.82-99.168 | Amazon Linux | 1.0-0.amzn2023 |
| kernel-headers | Amazon Linux | 6.1.82-99.168.amzn2023 |
| kernel-modules-extra | Amazon Linux | 6.1.82-99.168.amzn2023 |
| kernel-devel | Amazon Linux | 6.1.82-99.168.amzn2023 |
| linux_kernel | linux | 6.7.6, 6.1.82 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 |
| Linux | Linux | 2.6.12, 0, 5.10.237 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-livepatch-6.1.82-99.168 | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel-devel | 0 |
| linux | linux_kernel | 2.6.12, 2.6.12, 2.6.12 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel | 0 |
| Linux | Linux | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 |
Timeline
- Apr 3, 2024 CVE Published
- Apr 4, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (13 in total, the first dated here)
- Oct 24, 2025 PoC Published (7 in total, the first dated here)
- Nov 3, 2025 CVE Updated
- Jan 15, 2026 Security Advisory (349 in total, the first dated here)
- Mar 30, 2026 Distribution Patch (309 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-26686
vulnetix vdb fixes CVE-2024-26686
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-26686/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart