CVE-2026-139131

High

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.

Package Linux Kernel
Published 2026-11-30
Last modified 2026-12-01
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

7.0

out of 10
High
Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Vector string
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected versions

Linux kernel versions 6.2 and later are affected. Fixed in 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1 and their respective stable series.

Affected from
≥ 6.2
Fixed in
✓ 6.6.163 6.6.x ✓ 6.12.119 6.12.x ✓ 6.18.65 6.18.x ✓ 7.3.6 7.3.x ✓ 7.4-rc1

Frequently asked questions

  • What is CVE-2026-139131?

    CVE-2026-139131 is a High severity Linux kernel vulnerability with a CVSS score of 7.0 out of 10 . It affects Linux kernel versions from 6.2 onward and has been patched in 6.6.163, 6.12.119, 6.18.65 and others. CVE-2026-139131 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • What is the CVSS score for CVE-2026-139131?

    CVE-2026-139131 has a CVSS score of 7.0 out of 10, rated High severity (CVSS 3.1). The vector string is CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H .

  • Is there a patch available for CVE-2026-139131?

    Yes. CVE-2026-139131 has been patched. Fixed versions include 6.6.163, 6.12.119, 6.18.65 and others. If you are running Linux kernel 6.2 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2026-139131 actively exploited?

    No. CVE-2026-139131 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.