Skip to content
High 7.8

Linux kernelのucount処理に脆弱性、権限のないユーザーに影響のおそれ

CVE-2026-99950 First seen on SecPulse

Summary

Linux kernelのucount処理には、参照の取得順序の不備により、解放済みの領域が使われるおそれのある脆弱性があります。影響を受けるのは5.14.15から5.15系、5.15.226より前、6.1.193より前、6.6.163より前、6.12.117より前、6.18.63より前、7.3.4より前の各版です。修正版が公開されているため、利用中のカーネルを修正版へ更新してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Linux kernelのucount処理には、参照の取得順序の不備により、解放済みの領域が使われるおそれのある脆弱性があります。影響を受けるのは5.14.15から5.15系、5.15.226より前、6.1.193より前、6.6.163より前、6.12.117より前、6.18.63より前、7.3.4より前の各版です。修正版が公開されているため、利用中のカーネルを修正版へ更新してください。

Affected packages

PackageAffected → Fixed
LinuxLinux —
LinuxKernel
≥ 5.14.15, < 5.15→ 5.15
≥ 5.15.0, < 5.15.226→ 5.15.226
≥ 5.16.0, < 6.1.193→ 6.1.193
≥ 6.2.0, < 6.6.163→ 6.6.163
≥ 6.7.0, < 6.12.117→ 6.12.117
≥ 6.13.0, < 6.18.63→ 6.18.63
≥ 6.19.0, < 7.3.4→ 7.3.4

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

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,…

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details