CVE-2026-98983
unshare: don't drop active namespace references that were never taken
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= a98621a0f187a934c115dcfe79a49520ae892111, < 56fe03a0c05dba4c5f6a23c391f96de1614a098c; >= a98621a0f187a934c115dcfe79a49520ae892111, < 0b6f31a3c0b16066f812e94b52a704174a6f23cd; 27ae6b17c9ba7ff353ab0906297f08aa845782b4; 297261b343371c4f0b31055d53d285138ec21565; 813a47b0309097da71781ee4ac11922e39b67d55; 6e608e3e5ce12ce7fd21e46212eccca37f917d0e; a261fccdb4ac58ec5ba6aa1d92a6cc418fff301f; 665dc1ed16357988d439fc5bbc860ee36f540d81; >= 5.15.209, < 5.16; >= 6.1.175, < 6.2; …
- Anyone running Linux 7.1
Vulnerability facts
- Affected
- Linux >= a98621a0f187a934c115dcfe79a49520ae892111, < 56fe03a0c05dba4c5f6a23c391f96de1614a098c; >= a98621a0f187a934c115dcfe79a49520ae892111, < 0b6f31a3c0b16066f812e94b52a704174a6f23cd; 27ae6b17c9ba7ff353ab0906297f08aa845782b4; 297261b343371c4f0b31055d53d285138ec21565; 813a47b0309097da71781ee4ac11922e39b67d55; 6e608e3e5ce12ce7fd21e46212eccca37f917d0e; a261fccdb4ac58ec5ba6aa1d92a6cc418fff301f; 665dc1ed16357988d439fc5bbc860ee36f540d81; >= 5.15.209, < 5.16; >= 6.1.175, < 6.2; …; Linux 7.1
- Fixed in
- Linux 56fe03a0c05dba4c5f6a23c391f96de1614a098c, Linux 0b6f31a3c0b16066f812e94b52a704174a6f23cd, Linux 5.16, Linux 6.2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.20% chance of exploitation in 30 days (percentile 5, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: unshare: don't drop active namespace references that were never taken Active references on the namespaces of an nsproxy are taken when the nsproxy is installed into a task in switch_task_namespaces() and copy_namespaces() and dropped again by put_nsproxy() through deactivate_nsproxy(). But ksys_unshare() calls put_nsproxy() on an nsproxy that was never installed when set_cred_ucounts() fails. The new namespaces of that nsproxy go from zero to minus one and the namespaces shared with the caller lose a reference that belongs to the nsproxy the caller keeps using: WARNING: kernel/nscommon.c:171 at __ns_ref_active_put+0x1cd/0x230 nsproxy_ns_active_put deactivate_nsproxy ksys_unshare Afterwards the namespaces the caller lives in aren't listed by listns() anymore. set_cred_ucounts() only fails when alloc_ucounts() can't allocate and it only allocates when the real uid of the caller differs from its effective uid. Commit cefd55bd2159 ("nsproxy: fix free_nsproxy() and simplify create_new_namespaces()") separated the two cases on purpose. nsproxy_free() frees an nsproxy that was prepared but never installed and that's what a failed setns() uses in put_nsset(). Export it and use it for a failed unshare() as well.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= a98621a0f187a934c115dcfe79a49520ae892111, < 56fe03a0c05dba4c5f6a23c391f96de1614a098c; >= a98621a0f187a934c115dcfe79a49520ae892111, < 0b6f31a3c0b16066f812e94b52a704174a6f23cd; 27ae6b17c9ba7ff353ab0906297f08aa845782b4; 297261b343371c4f0b31055d53d285138ec21565; 813a47b0309097da71781ee4ac11922e39b67d55; 6e608e3e5ce12ce7fd21e46212eccca37f917d0e; a261fccdb4ac58ec5ba6aa1d92a6cc418fff301f; 665dc1ed16357988d439fc5bbc860ee36f540d81; >= 5.15.209, < 5.16; >= 6.1.175, < 6.2; … | — | cvelist |
| Linux | 7.1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-98983. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-98983.md Affected: Linux >= a98621a0f187a934c115dcfe79a49520ae892111, < 56fe03a0c05dba4c5f6a23c391f96de1614a098c; >= a98621a0f187a934c115dcfe79a49520ae892111, < 0b6f31a3c0b16066f812e94b52a704174a6f23cd; 27ae6b17c9ba7ff353ab0906297f08aa845782b4; 297261b343371c4f0b31055d53d285138ec21565; 813a47b0309097da71781ee4ac11922… Fixed in: Linux 56fe03a0c05dba4c5f6a23c391f96de1614a098c, Linux 0b6f31a3c0b16066f812e94b52a704174a6f23cd, Linux 5.16, Linux 6.2 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2026-98983 being exploited?
There is no confirmed exploitation: CVE-2026-98983 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-98983?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-98983?
Linux >= a98621a0f187a934c115dcfe79a49520ae892111, < 56fe03a0c05dba4c5f6a23c391f96de1614a098c; >= a98621a0f187a934c115dcfe79a49520ae892111, < 0b6f31a3c0b16066f812e94b52a704174a6f23cd; 27ae6b17c9ba7ff353ab0906297f08aa845782b4; 297261b343371c4f0b31055d53d285138ec21565; 813a47b0309097da71781ee4ac11922e39b67d55; 6e608e3e5ce12ce7fd21e46212eccca37f917d0e; a261fccdb4ac58ec5ba6aa1d92a6cc418fff301f; 665dc1ed16357988d439fc5bbc860ee36f540d81; >= 5.15.209, < 5.16; >= 6.1.175, < 6.2; …; Linux 7.1.
Is there a fix for CVE-2026-98983?
Yes. Fixed in Linux 56fe03a0c05dba4c5f6a23c391f96de1614a098c, Linux 0b6f31a3c0b16066f812e94b52a704174a6f23cd, Linux 5.16, Linux 6.2. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2026-98983?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.