CVE-2024-26686
fs/proc: do_task_stat: use sig->stats_lock to gather the threads/children stats
Check your servers for CVE-2024-26686
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-26686 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 12.0% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 3 Apr 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 4fe85bdaabd63f8f8579b24a10ed597c9c482164 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 0c35d1914353799c54fa1843fe7dea6fcbcdbac5 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before cf4b8c39b9a0bd81c47afc7ef62914a62dd5ec4d affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 3820b0fac7732a653bcc6f6ac20c1d72e697f8f6 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 27978243f165b44e342f28f449b91327944ea071 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 7601df8031fd67310af891897ef6cc0df4209305
Other versions: unaffected
|
| Linux |
affected 2.6.12 unaffected before 2.6.12 unaffected from 5.10.237 up to and including 5.10.* unaffected from 5.15.181 up to and including 5.15.* unaffected from 6.1.82 up to and including 6.1.* unaffected from 6.6.64 up to and including 6.6.* unaffected from 6.7.6 up to and including 6.7.* unaffected 6.8 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-26686 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-26686
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-26686
trivy image --scanners vuln IMAGE | grep CVE-2024-26686
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/4fe85bdaabd63f8f8579b24a10ed597c9c482164 git.kernel.org
- https://git.kernel.org/stable/c/0c35d1914353799c54fa1843fe7dea6fcbcdbac5 git.kernel.org
- https://git.kernel.org/stable/c/cf4b8c39b9a0bd81c47afc7ef62914a62dd5ec4d git.kernel.org
- https://git.kernel.org/stable/c/3820b0fac7732a653bcc6f6ac20c1d72e697f8f6 git.kernel.org
- https://git.kernel.org/stable/c/27978243f165b44e342f28f449b91327944ea071 git.kernel.org
- https://git.kernel.org/stable/c/7601df8031fd67310af891897ef6cc0df4209305 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html lists.debian.org
Source: the record CVE-2024-26686 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse