Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-139089

published

ucount: read the parent ucounts before dropping the rlimit count

Published
30 Nov 2026, 13:31:28 UTC
Updated
30 Nov 2026, 13:31:28 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux15bc01effefe97757ef02ca09e9d1b927ab22725 to < 64b45e9ef33b037a66b3ffafeb8909c00272b4a1 · 15bc01effefe97757ef02ca09e9d1b927ab22725 to < f43528c980b17aef3ee03368afe30e50ec47e2f6 · 15bc01effefe97757ef02ca09e9d1b927ab22725 to < 41e644f89e556db08b535108e27dcc62859da443 · 15bc01effefe97757ef02ca09e9d1b927ab22725 to < a81dc6acbdbe145b7e5776fd317002a7cfbd769f · 15bc01effefe97757ef02ca09e9d1b927ab22725 to < cb10fa39723fdfd1b7a7c1e6c33bec5ab98cf1d3 · 15bc01effefe97757ef02ca09e9d1b927ab22725 to < 0aa5576a9836d68e4e6fa92d5bf6b95bad1fd697 · 15bc01effefe97757ef02ca09e9d1b927ab22725 to < 38bf603d1ea5d5a65a9cb277df75327ffec01ff1 · e8735e2e306f1c9c8b3a4b9218a349f7d96e3df6 · 5.14.15 to < 5.15 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.15 (affected) · 0 to < 5.15 (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 15bc01effefe97757ef02ca09e9d1b927ab22725 to < 64b45e9ef33b037a66b3ffafeb8909c00272b4a1 (affected · git)15bc01effefe97757ef02ca09e9d1b927ab22725 to < f43528c980b17aef3ee03368afe30e50ec47e2f6 (affected · git)15bc01effefe97757ef02ca09e9d1b927ab22725 to < 41e644f89e556db08b535108e27dcc62859da443 (affected · git)15bc01effefe97757ef02ca09e9d1b927ab22725 to < a81dc6acbdbe145b7e5776fd317002a7cfbd769f (affected · git)15bc01effefe97757ef02ca09e9d1b927ab22725 to < cb10fa39723fdfd1b7a7c1e6c33bec5ab98cf1d3 (affected · git)15bc01effefe97757ef02ca09e9d1b927ab22725 to < 0aa5576a9836d68e4e6fa92d5bf6b95bad1fd697 (affected · git)15bc01effefe97757ef02ca09e9d1b927ab22725 to < 38bf603d1ea5d5a65a9cb277df75327ffec01ff1 (affected · git)e8735e2e306f1c9c8b3a4b9218a349f7d96e3df6 (affected · git)5.14.15 to < 5.15 (affected · semver)Default: unaffected Linux · cna
Linux Linux 5.15 (affected)0 to < 5.15 (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

7

Provider assertions

1

Linux · cna

ucount: read the parent ucounts before dropping the rlimit count

Provenance

Schema
5.2
Searchable
yes
Content hash
ef71246bb0f9eaa24bce7d4e30e3629c0714b411cabf53a3daeb956f215f1dc9
Ingested
30 Nov 2026, 13:36:40 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected