Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain local unprivileged access
-
DeliveryAdmin BPF stores early task reference
-
ExploitForce fork failure via cgroup pids.max
-
Executioncopy_process frees partial task_struct
-
ImpactTrigger kernel use-after-free and escalate
Vulnerability Assessment
| Exploitation Conditions | Exploitation requires a specific non-default configuration: an administrator-loaded eBPF program that calls bpf_task_acquire() on a new task and retains the reference in a BPF map, reached through either the task_alloc LSM hook or sched_ext's ops.init_task() during fork. Given that, any local unprivileged user triggers the bug by forcing copy_process() to fail after dup_task_struct() - for example by exceeding a cgroup's pids.max limit. Limiting factors: this is local-only (AV:L), requires low-privilege local access (PR:L) plus the presence of such a BPF program, and the input rates attack complexity high (AC:H); default systems without the relevant BPF/sched_ext program are not exposed, and no user interaction is needed. |
| Impact | Signals point to a genuine but conditional local-privilege-escalation risk rather than a mass-exploitation emergency. The provided CVSS 3.1 vector (AV:L/AC:H/PR:L/UI:N, C:H/I:H/A:H, score 7.0 High) describes a locally-reachable use-after-free with high attack complexity and low-privilege prerequisites - consistent with the description, where any unprivileged user can force a fork to fail (e.g., hitting a cgroup pids.max) but successful exploitation depends on an administrator having loaded a BPF program that acquires a trusted task pointer early and stores it in a map. EPSS is low (0.16%, 5th percentile), and the CVE is NOT in CISA KEV and shows no public exploit reference, so there is no evidence of active or imminent widespread exploitation. The vendor-priority 'Decision label: this_week' and a patch being available indicate this should be scheduled for prompt remediation, not emergency out-of-band patching. Note two caveats: CWE is 'N/A' in the input though the mechanism is clearly a use-after-free (CWE-416-class); and the 'Information Disclosure' tag understates the issue - a kernel UAF with C:H/I:H/A:H more plausibly enables memory corruption and privilege escalation, which weighs heavier than pure disclosure. |
| Exploit ScenarioDerived | On a system where an administrator has loaded a BPF program (via the task_alloc LSM hook or sched_ext's ops.init_task()) that calls bpf_task_acquire() and stashes the task reference in a BPF map, a local unprivileged user deliberately makes a fork fail - for instance by exceeding a cgroup's pids.max. copy_process() then frees the still-uncommitted task_struct while the BPF map retains a reference, yielding a use-after-free (observed as 'KASAN: slab-use-after-free in put_task_struct_rcu_user') that a skilled attacker could shape into kernel memory corruption and privilege escalation. No public exploit code is identified at time of analysis, and the high attack complexity plus the required non-default BPF configuration limit practical weaponization. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
A use-after-free in the Linux kernel fork path lets a local user with low privileges crash or potentially corrupt kernel memory when an administrator-loaded eBPF program holds a reference to a task that never becomes live. Affected systems are those running a kernel from the 6.2 series onward and that also load a BPF program calling bpf_task_acquire() on new tasks via the task_alloc LSM hook or sched_ext's ops.init_task(); any unprivileged user can then force copy_process() to fail - for example by hitting a cgroup's pids.max limit - leaving the BPF program with a dangling pointer. No public exploit code has been identified at time of analysis, EPSS is low at 0.16% (5th percentile), the issue is not in CISA KEV, and the vendor has released patched kernel versions in the 6.6, 6.12, 6.18 and 7.3 stable branches.
RemediationAI
Vendor-released patches are available: upgrade to Linux 6.6.163, 6.12.119, 6.18.65, 7.3.6 or 7.4-rc1 (or later) on the matching stable branch, applying the specific fix commit for your kernel line from the git.kernel.org/stable references above; distributions should pick up the corresponding backported kernel update. For systems that cannot be patched immediately, note that the flaw is only reachable while a non-default eBPF program calling bpf_task_acquire() on newly forked tasks - via the task_alloc LSM hook or sched_ext ops.init_task() - is loaded and keeps those references in a BPF map, so unloading or not loading such programs removes the exposure, at the cost of losing whatever monitoring or scheduling functionality they provide; disabling sched_ext scheduling classes has the same caveat. Removing the ability for unprivileged users to force fork failures (for example by revisiting aggressive cgroup pids.max limits on containers) reduces the ease of triggering the error path but does not fix the underlying use-after-free, so kernel updates remain the only complete resolution.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw lives in the kernel task-creation machinery. dup_task_struct() initialises the new task's rcu_users reference count to 2, and from that point bpf_task_acquire() will hand out references to the not-yet-live task - which BPF programs treat as a trusted pointer - including from the task_alloc LSM hook and from sched_ext's ops.init_task(). If copy_process() subsequently fails (a condition any local user can induce, e.g. by exceeding a cgroup's pids.max), the error path unwinds and frees the task without consulting that count, producing a slab-use-after-free reported by KASAN in put_task_struct_rcu_user(). Simply honouring the count was rejected upstream because a surviving task would remain with its mm, files and credentials already freed; instead rcu_users is left at zero until copy_process() can no longer fail, bpf_task_acquire() returns NULL in that window (a return value callers must handle, as they already do for init_task), and the remaining rcu_users users only ever deal with tasks that have run. The trigger depends on a specific non-default BPF or sched_ext program being loaded by an administrator; default kernels without such a program are not exposed. The CVSS vector is AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H, reflecting local access, high attack complexity and no user interaction.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Local unprivileged user triggers the fork failure (AV:L/PR:L), but success depends on a specific admin-loaded BPF program and precise failure timing (AC:H); a kernel UAF yields full C/I/A impact.
Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).
CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Lifecycle Timeline
4DescriptionCVE.org
In the Linux kernel, the following vulnerability has been resolved:
fork: Let nobody keep a task that may not come to life
dup_task_struct() sets rcu_users to 2. From then on bpf_task_acquire() hands out references to the new task, which BPF programs see as a trusted pointer long before it is sure to live: in the task_alloc LSM hook and in ops.init_task() of sched_ext.
If copy_process() fails later on, it undoes what it has done and frees the task without a look at the count. A program that has stored its reference in a map is left with a pointer to freed memory:
BUG: KASAN: slab-use-after-free in put_task_struct_rcu_user+0x22/0x90
The program is loaded by the administrator, but any user can make a fork fail, for example at the pids.max of a cgroup.
Honouring the count would not do: the task would stay behind with its mm, files and credentials freed. Leave rcu_users at zero until copy_process() cannot fail any more. bpf_task_acquire() returns NULL until then, which its callers have to be prepared for, and which they get for init_task, whose count has always been zero. The other users of rcu_users deal with tasks that have run.
Executive ViewAI
CVE-2026-139131 is a high-severity Linux kernel vulnerability that can be triggered by any local user on systems where administrators have loaded specific eBPF programs (via LSM hooks or sched_ext). An unprivileged user can force a denial-of-service or potentially corrupt kernel memory, affecting availability and integrity of critical infrastructure. Leadership should prioritize patching because exploitation requires low privileges, though no public exploit code is currently known.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-138685
GHSA-8vv6-9p6c-x52j
NVD
CVE.org
EPSS
Exploit-DB