0.0
NA
CVE-2026-139089
ucount: read the parent ucounts before dropping the rlimit count
Description

In the Linux kernel, the following vulnerability has been resolved: ucount: read the parent ucounts before dropping the rlimit count do_dec_rlimit_put_ucounts() drops its share of iter->rlimit[type] and only then loads iter->ns->ucounts. If the decrement leaves the count non-zero, a concurrent caller can take it to zero and put the last reference, which frees the ucounts and possibly its user namespace with kfree_rcu(). An exiting task frees its pending signals without siglock or any RCU read-side section, so when it is preempted between the decrement and the load for a grace period it reads freed memory and then decrements a counter through the pointer it found there. A pending signal holds no reference on its ucounts: the reference is taken by whoever moves the count from 0 to 1 and dropped by whoever moves it back to 0, so the caller's share of the count is all that keeps iter alive, and only until it is dropped. Load the parent first; it stays pinned by the caller's share of its own count.

INFO

Published Date :

Nov. 30, 2026, 2:18 p.m.

Last Modified :

Nov. 30, 2026, 2:18 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-139089 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
Solution
Apply kernel updates to fix a race condition in ucount handling and prevent memory corruption.
  • Update the Linux kernel to the latest version.
  • Apply the specific patch for the ucount vulnerability.
  • Reboot the system after applying updates.
  • Verify the patch is successfully installed.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-139089 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-139089 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-139089 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-139089 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Nov. 30, 2026

    Action Type Old Value New Value
    Added Description In the Linux kernel, the following vulnerability has been resolved: ucount: read the parent ucounts before dropping the rlimit count do_dec_rlimit_put_ucounts() drops its share of iter->rlimit[type] and only then loads iter->ns->ucounts. If the decrement leaves the count non-zero, a concurrent caller can take it to zero and put the last reference, which frees the ucounts and possibly its user namespace with kfree_rcu(). An exiting task frees its pending signals without siglock or any RCU read-side section, so when it is preempted between the decrement and the load for a grace period it reads freed memory and then decrements a counter through the pointer it found there. A pending signal holds no reference on its ucounts: the reference is taken by whoever moves the count from 0 to 1 and dropped by whoever moves it back to 0, so the caller's share of the count is all that keeps iter alive, and only until it is dropped. Load the parent first; it stays pinned by the caller's share of its own count.
    Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/139xxx/CVE-2026-139089.json">CVE-2026-139089</a>
    Added Reference https://git.kernel.org/stable/c/0aa5576a9836d68e4e6fa92d5bf6b95bad1fd697
    Added Reference https://git.kernel.org/stable/c/38bf603d1ea5d5a65a9cb277df75327ffec01ff1
    Added Reference https://git.kernel.org/stable/c/41e644f89e556db08b535108e27dcc62859da443
    Added Reference https://git.kernel.org/stable/c/64b45e9ef33b037a66b3ffafeb8909c00272b4a1
    Added Reference https://git.kernel.org/stable/c/a81dc6acbdbe145b7e5776fd317002a7cfbd769f
    Added Reference https://git.kernel.org/stable/c/cb10fa39723fdfd1b7a7c1e6c33bec5ab98cf1d3
    Added Reference https://git.kernel.org/stable/c/f43528c980b17aef3ee03368afe30e50ec47e2f6
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.