CVE-2024-26686

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

MEDIUM
5.5
CVSS Score
Published: April 3, 2024 at 02:54 PM UTC
Updated: June 17, 2026 at 07:18 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 6.1.822.6.12 ≤ v < 5.10.2372.6.12 ≤ v < 5.15.1812.6.12 ≤ v < 6.1.822.6.12 ≤ v < 6.6.642.6.12 ≤ v < 6.7.62.6.12 ≤ v < 6.86.2 ≤ v < 6.7.61da177e4c3f41524e886b7f1b8a0c1fc7321cac26.8 rc16.8 rc26.8 rc3
Vendor states this is fixed in 0c35d1914353799c54fa1843fe7dea6fcbcdbac5 (fixed)
Vendor states this is fixed in 27978243f165b44e342f28f449b91327944ea071 (fixed)
Vendor states this is fixed in 3820b0fac7732a653bcc6f6ac20c1d72e697f8f6 (fixed)
Vendor states this is fixed in 4fe85bdaabd63f8f8579b24a10ed597c9c482164 (fixed)
Vendor states this is fixed in 7601df8031fd67310af891897ef6cc0df4209305 (fixed)
Vendor states this is fixed in cf4b8c39b9a0bd81c47afc7ef62914a62dd5ec4d (fixed)
Vendor states this is fixed in 2.6.12 (unaffected)
Vendor states this is fixed in 5.10.237 (unaffected)
Vendor states this is fixed in 5.15.181 (unaffected)
Vendor states this is fixed in 6.1.82 (unaffected)
Vendor states this is fixed in 6.6.64 (unaffected)
Vendor states this is fixed in 6.7.6 (unaffected)
Vendor states this is fixed in 6.8 (unaffected)

References (7)

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-667

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card