CVE-2026-139089
not scored yetucount: read the parent ucounts before dropping the rlimit count
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.
- Published
- 30 Nov 2026
- Last modified
- 30 Nov 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Received
- Sources
- NVDJSONCVE ListJSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Linux | Linux | >= 15bc01effefe97757ef02ca09e9d1b927ab22725, < 64b45e9ef33b037a66b3ffafeb8909c00272b4a1; >= 15bc01effefe97757ef02ca09e9d1b927ab22725, < f43528c980b17aef3ee03368afe30e50ec47e2f6; >= 15bc01effefe97757ef02ca09e9d1b927ab22725, < 41e644f89e556db08b535108e27dcc62859da443; >= 15bc01effefe97757ef02ca09e9d1b927ab22725, < a81dc6acbdbe145b7e5776fd317002a7cfbd769f; >= 15bc01effefe97757ef02ca09e9d1b927ab22725, < cb10fa39723fdfd1b7a7c1e6c33bec5ab98cf1d3; >= 15bc01effefe97757ef02ca09e9d1b927ab22725, < 0aa5576a9836d68e4e6fa92d5bf6b95bad1fd697; >= 15bc01effefe97757ef02ca09e9d1b927ab22725, < 38bf603d1ea5d5a65a9cb277df75327ffec01ff1; = e8735e2e306f1c9c8b3a4b9218a349f7d96e3df6; >= 5.14.15, < 5.15 | 64b45e9ef33b037a66b3ffafeb8909c00272b4a1, f43528c980b17aef3ee03368afe30e50ec47e2f6, 41e644f89e556db08b535108e27dcc62859da443, a81dc6acbdbe145b7e5776fd317002a7cfbd769f, cb10fa39723fdfd1b7a7c1e6c33bec5ab98cf1d3, 0aa5576a9836d68e4e6fa92d5bf6b95bad1fd697, 38bf603d1ea5d5a65a9cb277df75327ffec01ff1, 5.15 |
| CVE List | Linux | Linux | = 5.15 |
References
- https://git.kernel.org/stable/c/0aa5576a9836d68e4e6fa92d5bf6b95bad1fd697
- https://git.kernel.org/stable/c/38bf603d1ea5d5a65a9cb277df75327ffec01ff1
- https://git.kernel.org/stable/c/41e644f89e556db08b535108e27dcc62859da443
- https://git.kernel.org/stable/c/64b45e9ef33b037a66b3ffafeb8909c00272b4a1
- https://git.kernel.org/stable/c/a81dc6acbdbe145b7e5776fd317002a7cfbd769f
- https://git.kernel.org/stable/c/cb10fa39723fdfd1b7a7c1e6c33bec5ab98cf1d3
- https://git.kernel.org/stable/c/f43528c980b17aef3ee03368afe30e50ec47e2f6
History
- 30 Nov 2026 14:45 UTC · NVD: first stored (published 30 Nov 2026)
- 30 Nov 2026 13:58 UTC · CVE List: first stored (published 30 Nov 2026)