CVE-2026-139089

Not scored yetLast modified Nov 30, 2026

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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Nov 30, 2026
Last modified
Nov 30, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-139099.6Insufficient policy enforcement in DevTools in Google Chrome prior to 150.0.7871.47 allowed a remote attacker who had compromised the renderCVE-2026-139090In the Linux kernel, the following vulnerability has been resolved: watch_queue: keep info_id separate from rcu_head struct watch overlaysCVE-2026-139091In the Linux kernel, the following vulnerability has been resolved: tun: drop batched packets while the device is down tun_sendmsg() handlCVE-2026-139092In the Linux kernel, the following vulnerability has been resolved: netlink: check sk_rcvbuf before charging the dump skb Since commit ae8CVE-2026-139093In the Linux kernel, the following vulnerability has been resolved: openvswitch: use eth_type_trans_careful() in internal_dev_recv() OVS aCVE-2026-139094In the Linux kernel, the following vulnerability has been resolved: net: use eth_type_trans_careful() in __dev_forward_skb2() A tc egress CVE-2026-139095In the Linux kernel, the following vulnerability has been resolved: loopback: use eth_type_trans_careful() tc egress actions can leave an CVE-2026-139096In the Linux kernel, the following vulnerability has been resolved: tcp: initialize mapped children before route lookup IPv4 passive opensCVE-2026-139097In the Linux kernel, the following vulnerability has been resolved: apparmor: fix check SCTP bind, and connect permission checks SCTP mediCVE-2026-1390987.8In the Linux kernel, the following vulnerability has been resolved: tcp: avoid double destroy in tcp_abort() of an unaccepted child tcp_abCVE-2026-139099In the Linux kernel, the following vulnerability has been resolved: net: bgmac: fix TX DMA unmapping and slot cleanup When mapping a fragmCVE-2026-13915.3The Vzaar Media Management plugin for WordPress is vulnerable to Reflected Cross-Site Scripting in all versions up to, and including, 1.2 du
CVE-2026-139089: Unscored | Vulnix