CVE-2026-99950
ucount: take the rlimit reference before checking the limit
No exploitation reported by the sources we read.
- Published2026-11-30
- Fixed in7.3.4 · 6.18.63 · 6.12.117 · 6.6.163 · 6.1.193 · 5.15.226
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
In the Linux kernel, the following vulnerability has been resolved: ucount: take the rlimit reference before checking the limit inc_rlimit_get_ucounts() takes the reference that pins a ucounts level while its rlimit count is non-zero only in the walk whose increment is the 0 -> 1 transition, and only after that walk passed the limit check. A walk that raises the count from zero and then fails the limit backs out without the reference, while a concurrent walk that raised it past one keeps its increment and never takes one either: CPU0 (obeys the limit) CPU1 (overrides it) new = add_return(1) -> 1 new = add_return(1) -> 2 new != 1, no get_ucounts() new > max -> dec_unwind sub_return(1) -> 1 (no put) The count is 1 with no reference held. When CPU1 drops its charge, dec_rlimit_put_ucounts() takes the count to 0 and puts a reference nobody took, which frees the live struct ucounts, and the user_namespace it pins, with kfree_rcu(). The mirror interleaving leaks the reference instead. An unprivileged user reaches this on a kernel with CONFIG_USER_NS=y: in a user namespace with RLIMIT_SIGPENDING 0, one process taking synchronous SIGSEGVs (forced, so override_rlimit is set) races a second process in the same namespace and uid that queues real-time signals, which obey the limit. The two hold different sighand->siglock but charge the same per-namespace SIGPENDING ucounts. Unpatched, with rcuref debugging: rcuref - imbalanced put() WARNING: lib/rcuref.c:266 at rcuref_put_slowpath+0xf4/0x120 put_ucounts+0x5a/0x180 do_dec_rlimit_put_ucounts+0x70/0x90 __sigqueue_free+0x33/0xc0 get_signal+0x56f/0xd20 arch_do_signal_or_restart+0x87/0x380 irqentry_exit+0x243/0x650 asm_exc_page_fault+0x26/0x30 Take the reference on the 0 -> 1 transition before the limit is checked, so the walk that raises the count from zero owns that level's reference even when its request is rejected, and unwind a rejected level through do_dec_rlimit_put_ucounts(), which releases the reference when the count returns to 0. The get_ucounts() failure path is unchanged. With the patch the same interleaving, forced some 80000 times in a KASAN build, produces no warning and no KASAN report.
Timeline
dates in UTC- 2026-11-3013:18CVE publishedCNA
Versions per branch
OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 7.3 | ≥ 6.19.0, < 7.3.4 | 7.3.4 | OSV |
| 6.x | ≥ 6.13.0, < 6.18.63 | 6.18.63 | OSV |
| 6.x | ≥ 6.7.0, < 6.12.117 | 6.12.117 | OSV |
| 6.x | ≥ 6.2.0, < 6.6.163 | 6.6.163 | OSV |
| 6.1 | ≥ 5.16.0, < 6.1.193 | 6.1.193 | OSV |
| 5.15 | ≥ 5.15.0, < 5.15.226 | 5.15.226 | OSV |
| 5.x | ≥ 5.14.15, < 5.15 | 5.15 | OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA2 products
As Linux, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- Linuxother versions: not affected
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Affected- ≥ 15bc01effefe97757ef02ca09e9d1b927ab22725, < 7c9610bdd63f8f5dce3f18d83e63a2fd9e2f1b0ffixed in 7c9610bdd63f8f5dce3f18d83e63a2fd9e2f1b0fgit
- ≥ 15bc01effefe97757ef02ca09e9d1b927ab22725, < c8124930acec2dda2b157982aa245ca2d2f5474bfixed in c8124930acec2dda2b157982aa245ca2d2f5474bgit
- ≥ 15bc01effefe97757ef02ca09e9d1b927ab22725, < 20fef6cd188b1f584e98a607a78166b3ff745a69fixed in 20fef6cd188b1f584e98a607a78166b3ff745a69git
- ≥ 15bc01effefe97757ef02ca09e9d1b927ab22725, < b505e2bf49547930fa89f7ffeaed7ccb6737a93bfixed in b505e2bf49547930fa89f7ffeaed7ccb6737a93bgit
- ≥ 15bc01effefe97757ef02ca09e9d1b927ab22725, < 4429d405124e6199092f029afd5630c84019d6f9fixed in 4429d405124e6199092f029afd5630c84019d6f9git
- ≥ 15bc01effefe97757ef02ca09e9d1b927ab22725, < 98813eecf7555d35031ad8103c6a4eb14836e61cfixed in 98813eecf7555d35031ad8103c6a4eb14836e61cgit
- ≥ 15bc01effefe97757ef02ca09e9d1b927ab22725, < b14fcabd34e02c40f72d3cd1e9bd4fd18df40ff1fixed in b14fcabd34e02c40f72d3cd1e9bd4fd18df40ff1git
- = e8735e2e306f1c9c8b3a4b9218a349f7d96e3df6no fix statedgit
1 more version line in the CVE record.
- Linuxother versions: affected
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Affected- = 5.15no fix stated
Not affected < 5.15 · ≥ 5.15.226, ≤ 5.15.* · ≥ 6.1.193, ≤ 6.1.* · ≥ 6.6.163, ≤ 6.6.* · ≥ 6.12.117, ≤ 6.12.* · ≥ 6.18.63, ≤ 6.18.* · ≥ 7.3.4, ≤ 7.3.*
1 more version line in the CVE record.
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-11-30
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- linuxDebian:14all versions · fixed in 7.3.4-1
- linuxDebian:13all versions · fixed in 6.12.117-1
- linuxDebian:12all versions · no fixed version listed
Fix
- Update Linux kernel to 7.3.4 · 6.18.63 · 6.12.117 · 6.6.163 · 6.1.193 · 5.15.226 · 5.15
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-12-01
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVE recordread 2026-11-30
- CNACVSS 3.17.82026-12-01
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- EUVD-2026-138438same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-5mc7-wmvp-gj89same flawGitHub Advisory Database · CC-BY-4.0
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Published
- 2026-11-30
- Last modified
- 2026-11-30
- NVD status
- Received
- GitHub advisory
- GHSA-5mc7-wmvp-gj89
Frequently asked questions
What is CVE-2026-99950?
Is CVE-2026-99950 actively exploited?
What is the CVSS score for CVE-2026-99950?
Running Linux kernel? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-5mc7-wmvp-gj89
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served